Making the AI to repair things

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
baumerindustries
Lance Corporal
Posts: 96
Joined: Mon Apr 11, 2011 8:24 am
Games I'm Playing :: Bf2 EAW EAWFOC[SI]
xbox live or psn: No gamertag set
Location: In front of my english vocab and translating my confused thinkings into English....

Making the AI to repair things

Post by baumerindustries »

I saw the ai often building or rebuilding turrets. So My question: Is it pissible to make the ai rebuilding things like the auto-defense-mainframe or the shield-generator? And if Yes, how?
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Making the AI to repair things

Post by Bob »

Try adding

Code: Select all

RespawnTime		= "999999.9"
to the object's odf.
baumerindustries
Lance Corporal
Posts: 96
Joined: Mon Apr 11, 2011 8:24 am
Games I'm Playing :: Bf2 EAW EAWFOC[SI]
xbox live or psn: No gamertag set
Location: In front of my english vocab and translating my confused thinkings into English....

Re: Making the AI to repair things

Post by baumerindustries »

this makes the object rebuilding, i know.
Bot i want a UNIT to repair it using a fusioncutter.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: Making the AI to repair things

Post by Bob »

at this number it won't repair itself, but i noticed that any building that gets repaired by AI has this odf line, while the ones ignored by AI don't.
baumerindustries
Lance Corporal
Posts: 96
Joined: Mon Apr 11, 2011 8:24 am
Games I'm Playing :: Bf2 EAW EAWFOC[SI]
xbox live or psn: No gamertag set
Location: In front of my english vocab and translating my confused thinkings into English....

Re: Making the AI to repair things

Post by baumerindustries »

the autoturrets aren't repaired by bots and respawn because this line after 60 or 120 seconds (not sure with the number).
But I'll try this out.
Post Reply