planning over planning

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
philomen
Second Lance Corporal
Second Lance Corporal
Posts: 117
Joined: Tue Jul 08, 2008 8:25 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Here

planning over planning

Post by philomen »

ok one quick question ... i have a little problem with planning... i have alot of bridges one over the other and the planning works fine on the but whenever units of the other team pass underneath or overhead, the just stop and keep looking at the floor or look at the ceiling or jump of the bridges and fall to their doom ... is their a way to stop that or i just have to make my map like this ___ rather than this = lol i mean like all on one level :P

thx in advance
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: planning over planning

Post by AceMastermind »

AI think in 2 dimensions, therefore path planning has infinite height and will confuse AI if the planning intersects on different levels(over and under). You need a hub at intersecting connections, but if you encounter a situation where you aren't capable of using a hub to connect the intersecting planning then you should either scrap the idea or deal with it.
philomen
Second Lance Corporal
Second Lance Corporal
Posts: 117
Joined: Tue Jul 08, 2008 8:25 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Here

Re: planning over planning

Post by philomen »

no that i have it ok ... its that the ai detect the ai over them and get out of the planning instead of continuing on it to go one level higher where the other ai are ... i need to know how to make them only attack when the other units r at the same level ...
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

Re: planning over planning

Post by RepSharpshooter »

You could try an ai visibility region of some ridiculously small number, close to zero, if not zero. Look up ai vis regions in the docs. I still doubt that it would work. I performed an experiment similar to what you are doing, but they always ended up trying to fight through the ground.
philomen
Second Lance Corporal
Second Lance Corporal
Posts: 117
Joined: Tue Jul 08, 2008 8:25 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Here

Re: planning over planning

Post by philomen »

if i do that will they still snipe ? or just like at a range of 10 feet ?
Post Reply