Turret error [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
User avatar
gcr
Private
Posts: 43
Joined: Mon Aug 17, 2009 7:44 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: GA

Turret error [solved]

Post 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...
Last edited by gcr on Mon Jul 12, 2010 6:32 pm, edited 1 time 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: Turret error

Post 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.
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Turret error

Post 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.
User avatar
gcr
Private
Posts: 43
Joined: Mon Aug 17, 2009 7:44 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: GA

Re: Turret error

Post 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
Last edited by gcr on Mon Jul 12, 2010 3:57 pm, edited 2 times in total.
User avatar
SAMofBIA
Major General
Major General
Posts: 649
Joined: Tue Jun 15, 2010 3:38 pm
Projects :: Nothing....nothing at all.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: MIA and not stopping in often anymore.

Re: Turret error

Post 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")
User avatar
gcr
Private
Posts: 43
Joined: Mon Aug 17, 2009 7:44 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: GA

Re: Turret error

Post 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
Aman/Pinguin
Jedi
Jedi
Posts: 1104
Joined: Tue Jan 30, 2007 6:04 am
Projects :: Inactive
Location: Germany

Re: Turret error

Post 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).
User avatar
gcr
Private
Posts: 43
Joined: Mon Aug 17, 2009 7:44 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: GA

Re: Turret error

Post by gcr »

Yep, that did it. There was a typo in the tutorial which confused me
Post Reply