Problems with AI Pathing

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
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 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: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Problems with AI Pathing

Post 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?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Problems with AI Pathing

Post by Xavious »

Put barriers along the walls.
User avatar
Fierfek
High General
High General
Posts: 805
Joined: Wed Jul 01, 2009 4:38 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: Somewhere in the Galaxy (Most Likely Scrapping Tinnies)

Re: Problems with AI Pathing

Post 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.
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Re: Problems with AI Pathing

Post 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.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Problems with AI Pathing

Post 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
Post Reply