Page 1 of 1

Problems with AI Pathing

Posted: Sat Sep 05, 2009 10:16 am
by Fierfek
I'm not a noob at pathing, just to make that clear. I know how to do it.
I am making a tunnels map, and the paths are going THROUGH the tunnels, not into them or anything. But inside the map, the AI are always running along the walls. It's extremely annoying, as they hardly ever use the paths. How do I fix this?

Re: Problems with AI Pathing

Posted: Sat Sep 05, 2009 10:28 am
by Xavious
Put barriers along the walls.

Re: Problems with AI Pathing

Posted: Sat Sep 05, 2009 10:35 am
by Fierfek
Okay, I will.
And is it possible to have different layers of pathing, if you know what I mean? My tunnel map is 2 stories, one on top of the other.

Re: Problems with AI Pathing

Posted: Sat Sep 05, 2009 10:36 am
by Xavious
Nope, planning and barriers have indefinite height. Unless the two levels of your map are exactly the same in layout, it won't work.

Re: Problems with AI Pathing

Posted: Sat Sep 05, 2009 11:03 am
by YaNkFaN
also a word about pathing in general pathing tells AI where to go barriers tells AI where not to go. It's kind of a subtle difference but it makes a big impact. If an AI is attacked it will ignore pathing and try to avoid the attack and counter. If there are no barriers it will go anywhere regardless of where objects are or not. However AI will never disobey barriers. Technically you should be able to make a level with only using barriers and without planning but I've never tried it. Anyways the short answer is put in barriers