Little Modding help on Turrets

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
Y2g2006

Little Modding help on Turrets

Post by Y2g2006 »

Ok... I've been fiddling around with this awhile now... I have been slowly improving as far as making a decent map goes... and obviously have a long way to go before I get even half as good as some of these other talented modders.

With that said... I am having a problem trying to add turrets to my map(s). I know I'm missing a setup, but I'm pretty much a lost soul on this one. I found the ODF of the actual turret... but I'm almost sure I need to add more then just that. I know this because the turret is on the map, but it never appears. And I've managed to add health and ammo droids, but continue to be without a working turret.

Sorry for the babbling... any help would be greatly appreciated.

EDIT: Also... How do you get ramps added like on the Mos Eisley map?

EDIT: Thanks Teancum
Last edited by Y2g2006 on Thu Mar 02, 2006 1:28 am, edited 2 times in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Little Modding help on Turrets

Post by Teancum »

Moved to modding.
CCC-Ranger

RE: Little Modding help on Turrets

Post by CCC-Ranger »

take the turret ODF`s from the Common/sides/tur Folder of the Data-Idmymap :)
Y2g2006

RE: Little Modding help on Turrets

Post by Y2g2006 »

Well thanks for the reply. My problem is that I know where to find it, but I'm unsure as to which ODF is the right one.

I've tried:
com_holo_turret
com_holo_build
tur_weap_built_gunturret

Out of those three, none of them work. The "tur_weap_built_gunturret" shows up in the editor as the turret I want, but then after munging and going in game, theres nothing there.

I have gotten the ammo and health droids working, but I can't seem to tackle this turret ordeal.

Anymore help would be appreciated though. I think I just have the wrong ODF and just need pointed in the right direction.
Talibanman

RE: Little Modding help on Turrets

Post by Talibanman »

have u placed the msh of tur_weap_built_gunturret in ur maps MSH folder?
CCC-Ranger

RE: Little Modding help on Turrets

Post by CCC-Ranger »

take the com_prop_buildzone.odf from Common/odf Folder
for a building turret
or the tur_bldg_hoth_dishturret.odf for a hoth dishturret from the Sides/tur/odf Folder
Y2g2006

RE: Little Modding help on Turrets

Post by Y2g2006 »

Is there something I have to do to the file to make a gun turret appear? Because I have the buildzone appearing now, but it wouldn't let me use a fusion cutter on the build zone.

Do I have to edit the ODF file or something?
Y2g2006

RE: Little Modding help on Turrets

Post by Y2g2006 »

Can anyone answer my last question? I know I'm close to getting it working. I just dunno what I need to be doing that I'm missing.
Captain_Mazda

RE: Little Modding help on Turrets

Post by Captain_Mazda »

It's very simple. You don't need to place any ODF's or MSH files in your folders. Here's what you do:

1. Select "objects" in the Editor and locate the Sides/tur/ folder in your map's XXX folder.
2. Find the turret you wish to place. Let's use the Concussion Cannon (recoilless Kashyyyk) as an example. It's best to add it in the Conquest layer.
3. After placing it on your map, save it and open your LUA. Let's use the XXXc_con for now, for Clone Wars.
4. Scroll down to this part:

ReadDataFile("SIDE\\tur.lvl",

This is where the turret actually starts to exist on your map.

5. Add the turret name, in this case, "tur_bldg_recoilless_kas".

It should now look like this:

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

6. Save your LUA, clean, munge, and check out your turrets.
Post Reply