Page 1 of 1
Turret error [solved]
Posted: Mon Jul 12, 2010 1:27 pm
by gcr
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...
Re: Turret error
Posted: Mon Jul 12, 2010 1:51 pm
by Teancum
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.
Re: Turret error
Posted: Mon Jul 12, 2010 1:56 pm
by SAMofBIA
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.
Re: Turret error
Posted: Mon Jul 12, 2010 2:25 pm
by gcr
@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
Re: Turret error
Posted: Mon Jul 12, 2010 2:37 pm
by SAMofBIA
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")
Re: Turret error
Posted: Mon Jul 12, 2010 4:34 pm
by gcr
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
Re: Turret error
Posted: Mon Jul 12, 2010 5:43 pm
by Aman/Pinguin
.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).
Re: Turret error
Posted: Mon Jul 12, 2010 6:32 pm
by gcr
Yep, that did it. There was a typo in the tutorial which confused me