AI dont follow a path

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
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

AI dont follow a path

Post by 501st_commander »

As i have been working on my project, i have noticed one major problem. The AI get stuck a tunnel entrance. They hardly ever follow the path that go through it.

Screen of the area:
Image
(red they get stuck at, black they are not going though)


Please coment on how i can fix this.

thanks.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: AI dont follow a path

Post by Maveritchell »

Better barrierwork.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: AI dont follow a path

Post by Caleb1117 »

Maveritchell wrote:Better barrierwork.
Correct.

Are you even using Barriers? Cause you pretty much have to use them in conjunction with planning for it to work.

If you already are using them, then try making the path through the tunnel a little thinner.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: AI dont follow a path

Post by 501st_commander »

I am using them. I dont know if i am correctly, though.
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: AI dont follow a path

Post by Maveritchell »

501st_commander wrote:I am using them. I dont know if i am correctly, though.
For a really tight spot, run your barriers flush against the side of the path you want the AI to walk on.
User avatar
SW_elite
Filthy Thief
Filthy Thief
Posts: 507
Joined: Sat Jan 02, 2010 6:43 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: Australia!!!

Re: AI dont follow a path

Post by SW_elite »

Hmmmm.... I rekon thats it too, or id just make the path smaller.
bonecrusher160
Recruit Womprat Killer
Posts: 9
Joined: Mon Apr 26, 2010 9:55 pm

Re: AI dont follow a path

Post by bonecrusher160 »

i make barriers but AI still run through them and jump of the cliff.
is there somthing to barriers besides placing them in zeroeditor???
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: AI dont follow a path

Post by 501st_commander »

is your map using the .bar file?
Post Reply