AI units just stand around doing nothing

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
rcduggan

AI units just stand around doing nothing

Post by rcduggan »

Okay, I am almost done with my map. But the AI just stands around doing nothing. Not all of it does that though. I have the AI units per team up to 32. Some guys attack, but the rest just stand there unless you get too close. Then the attack, but only then.
Big_rich

Post by Big_rich »

you did the AI pathing right?
rcduggan

Post by rcduggan »

yeah I did. but they just do nothing
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

Did you set an AIGoal? AIGoals are explained in the modding Wiki.

There is a function that tells the AI how long they can stand in one place. SomethingSomethingWaitTime I think... I haven't done anything with it, but it should also be somewhere on the random function list in the modding Wiki. You'll have to mess around with it to figure out the function's parameters.
rcduggan

Post by rcduggan »

[RDH]Zerted wrote:Did you set an AIGoal? AIGoals are explained in the modding Wiki.

There is a function that tells the AI how long they can stand in one place. SomethingSomethingWaitTime I think... I haven't done anything with it, but it should also be somewhere on the random function list in the modding Wiki. You'll have to mess around with it to figure out the function's parameters.
okay I did what you said but it didn't work. most of the clones just stand around, and only attack if you come near them. some do attack though
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Post by [RDH]Zerted »

What AI goal are you using?
rcduggan

Post by rcduggan »

conquest and deathmatch
Post Reply