I seem to have a thing with invisible objects...
Using the adding turrets tutorial, I placed and scripted two dish turrets. They appear in ZE, but not when munged and played. Since the turrets were already in the /sides/tur folder, i would think that all the ODFs, meshes, and textures would be there already. But apparently, something is amiss...
Turret error [solved]
Moderator: Moderators
- gcr
- Private
- Posts: 43
- Joined: Mon Aug 17, 2009 7:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: GA
Turret error [solved]
Last edited by gcr on Mon Jul 12, 2010 6:32 pm, edited 1 time in total.
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Turret error
There are a small handful of turrets that never got munged into the original game, even though the files are there. Your best bet is to build a custom side, as the /TUR side won't be very big.
- SAMofBIA
- Major General

- Posts: 649
- Joined: Tue Jun 15, 2010 3:38 pm
- Projects :: Nothing....nothing at all.
- xbox live or psn: No gamertag set
- Location: MIA and not stopping in often anymore.
Re: Turret error
hmmm, i dont know if this helps, but whenever i want turrets, i just take the odf and msh folders out of the side file (copy them) and put them in with all of my other object files. they work just fine too.
- gcr
- Private
- Posts: 43
- Joined: Mon Aug 17, 2009 7:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: GA
Re: Turret error
@SamofBIA-I tried that, they appear in the game but when you try to use them it crashes.
@Teancum-No idea how to do that. I'll probably have to soon, though, so I might as well learn it now.
Edit: Nah, I'll wait until after I finish my map. I'll try to find a turret that works for now
@Teancum-No idea how to do that. I'll probably have to soon, though, so I might as well learn it now.
Edit: Nah, I'll wait until after I finish my map. I'll try to find a turret that works for now
Last edited by gcr on Mon Jul 12, 2010 3:57 pm, edited 2 times in total.
- SAMofBIA
- Major General

- Posts: 649
- Joined: Tue Jun 15, 2010 3:38 pm
- Projects :: Nothing....nothing at all.
- xbox live or psn: No gamertag set
- Location: MIA and not stopping in often anymore.
Re: Turret error
hmmm you might also have to add them in your lua file. (under the thing that says:
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")
- gcr
- Private
- Posts: 43
- Joined: Mon Aug 17, 2009 7:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: GA
Re: Turret error
I did that as part of the tutorial.
EDIT
I tried it again with the turret used in the tutorial and the same thing happened, and again it made the game crash if I try putting it in the world folder.
Edit: I might have scripted wrong. Which files ware you supposed to edit? I did ***c_con.lua and ***c_con.lua.bak.
Double posting is against the RULES, please EDIT your post instead -Staff
EDIT
I tried it again with the turret used in the tutorial and the same thing happened, and again it made the game crash if I try putting it in the world folder.
Edit: I might have scripted wrong. Which files ware you supposed to edit? I did ***c_con.lua and ***c_con.lua.bak.
Double posting is against the RULES, please EDIT your post instead -Staff
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Turret error
.bak files are just backups of the original lua and can be deleted.
If your editing Clone Wars Conquest then it's ***c_con.lua. Galactic Civil War would be ***g_con.lua.
It could also help when you post your Debuglog (Bfront2.log).
If your editing Clone Wars Conquest then it's ***c_con.lua. Galactic Civil War would be ***g_con.lua.
It could also help when you post your Debuglog (Bfront2.log).
- gcr
- Private
- Posts: 43
- Joined: Mon Aug 17, 2009 7:44 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: GA
Re: Turret error
Yep, that did it. There was a typo in the tutorial which confused me
