Auto turrets not working [Solved]

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
martin105038
First Lance Corporal
First Lance Corporal
Posts: 126
Joined: Wed Jul 15, 2009 2:28 pm
Games I'm Playing :: SWBFII
Location: Argentina

Auto turrets not working [Solved]

Post by martin105038 »

Hi, I´m trying to add those automatic chainguns that can be found inside the rooms of the Star Destroyer. I loaded them in the zeroeditor from the sides folder and added the lines

ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_chaingun_roof")

in my lua file but they only appear and do nothing. Do they need any setup (like telling them which team they belong to)? I have looked in the space lua files but the only setup I found is for linked turrets.

Thanks
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Question about turrets

Post by genaral_mitch »

Select them and under the "teams" tab type 1 or 2 in it.
User avatar
General_Nate
Lieutenant General
Lieutenant General
Posts: 689
Joined: Sun Jun 28, 2009 4:01 pm
Projects :: None because BFII is not working
Games I'm Playing :: Minecraft
xbox live or psn: No gamertag set
Location: 127.0.0.1

Re: Question about turrets

Post by General_Nate »

genaral_mitch wrote:Select them and under the "teams" tab type 1 or 2 in it.
... In Zero Editor.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: Question about turrets

Post by genaral_mitch »

Thanks for correction.
User avatar
martin105038
First Lance Corporal
First Lance Corporal
Posts: 126
Joined: Wed Jul 15, 2009 2:28 pm
Games I'm Playing :: SWBFII
Location: Argentina

Re: Question about turrets

Post by martin105038 »

I just tried this and worked perfectly. Thanks very much for your help.
Post Reply