Pre-built 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
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Pre-built turrets?? [Solved]

Post by YaNkFaN »

I know this may be a stupid question but how do you get turrets to come in pre built into the game. I put in the turret tur_bldg_laser and it comes in as a turret build spot..what do I add to the .odf or something else so it comes in pre built and when it's destroyed it reverts back to the turret build spot...

thanks
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: turrets??

Post by Fiodis »

Um.....maybe there's assets in the KAS folder? The MYG folder? The YAV folder?

Or maybe you have to add something to the LUA. I'm not sure.
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: turrets??

Post by Aman/Pinguin »

Look at maps like Kamino, Geonosis and Kashyyyk.
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: turrets??

Post by YaNkFaN »

yea i did but i was looking for more of an .odf line can anyone advise on the line to add...?
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: turrets??

Post by Aman/Pinguin »

Not sure but you might just need to remove this line:

Code: Select all

UnbuiltHoloOdf      = "com_holo_turret"
and change this

Code: Select all

UnbuiltGeometryName = "com_prop_buildzone"
to this

Code: Select all

DestroyedGeometryName   = "com_prop_buildzone"
Last edited by Aman/Pinguin on Wed Dec 17, 2008 7:30 pm, edited 1 time in total.
Master_Ben
Lieutenant General
Lieutenant General
Posts: 675
Joined: Wed Nov 12, 2008 9:50 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Watching your PC over your shoulder. No, the other sholder....

Re: turrets??

Post by Master_Ben »

lol how do you chande the line after deleting it? :wink:
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: turrets??

Post by Aman/Pinguin »

Fixed >.<
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Pre-built turrets??

Post by YaNkFaN »

it worked so i think this can be locked as solved
Post Reply