Page 1 of 1
planning over planning
Posted: Wed Nov 12, 2008 8:03 pm
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
thx in advance
Re: planning over planning
Posted: Wed Nov 12, 2008 8:26 pm
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.
Re: planning over planning
Posted: Wed Nov 12, 2008 8:35 pm
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 ...
Re: planning over planning
Posted: Wed Nov 12, 2008 8:48 pm
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.
Re: planning over planning
Posted: Thu Nov 13, 2008 6:07 pm
by philomen
if i do that will they still snipe ? or just like at a range of 10 feet ?