How do you add turrets? [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
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

How do you add turrets? [Solved]

Post by Marth8880 »

In SWBF2, how do you add turrets to maps? I have tried many things, but cannot seem to find a way. In Fierfek's Mapmaking Guide he said he would later add a tutorial on how to do so but that's not here yet.

I would like a complete tutorial please and don't just say something like "Find the turret files in another map's folder".

I am tired of waiting and need to know how to do this!!

Thanks
As per the site rules, do not sign your posts. -Staff

P.S. Would adding the Yavin tower turrets be the same way?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: How do you add turrets?

Post by AQT »

1) You place turrets in your map just like you would with any object. I assume you already know how to do that. Browse for the turret ODF in Object mode. Turrets are located in the directory data_***\Sides\tur\odf where *** is your map ID.

2) Load the turret type in your LUA where you would load sides. Usually looks something like this:
Hidden/Spoiler:
[code] ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")[/code]
Turret names should be the same as the ones you placed in ZE in order for them to show up in-game.
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: How do you add turrets?

Post by Marth8880 »

Got it, thanks a lot for the help!
Post Reply