Planning through barriers??

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Planning through barriers??

Post by lucasfart »

I noticed that on the stock Kashyyk map, the barriers totally blot out the seawall but the ai can still move around up there. Does ai planning allow the ai to move through any barriers???

If the answer is no, as i think it is, how would i go about getting the ai to maneuver the whole way along, whilst not getting them crashing into the walls?
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Planning through barriers??

Post by Coley »

Maybe they aren´t setted up for all uit types?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Planning through barriers??

Post by lucasfart »

but if i don't set them up to block out normal troops, they will just run into the seawall....
Coley
Sergeant Major
Sergeant Major
Posts: 249
Joined: Sun Aug 09, 2009 11:27 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany

Re: Planning through barriers??

Post by Coley »

Just an idea xD
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Planning through barriers??

Post by Teancum »

You might check the LUA files for that map. It's possible they disable and enable certain barriers and planning based on programmatically
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Planning through barriers??

Post by lucasfart »

i've been right through the conquest lua and the only disabling of barriers is for the raised gate and destroyed outer walls. there is one weird barrier called disableme though...would that be how they did it? i'm pretty sure that barrier is up the back of the REP base, where the last mission is for defending the oil refineries....
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Planning through barriers??

Post by FragMe! »

Just to reiterate, what you are saying is that there are barriers that stop the AI from trying to run though the bottom of the sea wall but they can still run along the top of it to get to the turrets or snipe and stuff like that correct.

One thing you can do in bfmodtools.exe* is render the barriers as well as show what the AI is doing, can't remember all the commands of the top of my head, but that will at least show you if there are gaps in the barriers that are allowing AI to do what they are.



*there are some really great commands that can help figure out planning and AI movement as well as finding out why the dumbheads just decide to stop and do nothing.
Post Reply