Turret troubles

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
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Turret troubles

Post by Eggman »

I'm having trouble getting a certain turret to fire. While playing the map it will follow targets, but it won't fire at them. I'm guessing the problem is somewhere in the .odf, so here it is:
Hidden/Spoiler:
[GameObjectClass]
ClassLabel = "armedbuilding"
GeometryName = "spa2_prop_shipturret1.msh"

[Properties]

BUILDINGSECTION = "BODY"

MapTexture = "turret_icon"
IconTexture = "HUD_all_lascannon_icon"

MapScale = "1.2"
HealthTexture = "HUD_kam_turret_icon"

GeometryName = "spa2_prop_shipturret1"
ExplosionName = "spa2_prop_antenna_descruct_exp"
DestroyedGeometryName = "spa1_prop_imp_shipturret_dam1"

MaxHealth = "15000.0"
RespawnTime = "999999"

BUILDINGSECTION = "TURRET1"

Pilottype = "self"

TurretNodeName = "aimer_y"

PitchLimits = "-15 40"
YawLimits = "-85 85"

PitchTurnFactor = "0.0"

//FirstPerson = "com\comviewf;com_1st_cockpit_viewfinder"
ThirdPersonFOV = "65"
WeaponName = "imp_weap_bldg_boxturret"
WeaponAmmo = "0"

MaxTurnSpeed = "4.8"
MaxPitchSpeed = "4.8"
PitchRate = "2.0"
TurnRate = "2.5"
PCMaxPitchSpeed = "3.0"
PCMaxTurnSpeed = "3.0"
EyePointOffset = "0.0 6.2 -8.3"
TrackCenter = "0.0 15.0 -5.0"
TrackOffset = "0.0 -3.0 10.0"

TURRETSECTION = "TURRET1"

AimerNodeName = "aimer_x"
AimerPitchLimits = "0 75"
AimerYawLimits = "0 0"


BarrelNodeName = "spa2_prop_shipturret1_L_GunBarrel_ZaxisRecoil"
BarrelRecoil = "1.5"
FirePointName = "hp_LGun"

NextBarrel = "-"

BarrelNodeName = "spa2_prop_shipturret1_R_GunBarrel_ZaxisRecoil"
BarrelRecoil = "1.5"
FirePointName = "hp_RGun"

TurretYawSound = "turret_whir_yaw_lp"
TurretYawSoundPitch = "0.7"
TurretPitchSound = "turret_whir_pitch_lp"
TurretPitchSoundPitch = "0.7"
TurretAmbientSound = ""
TurretActivateSound = "vehicle_equip"
TurretDeactivateSound = "vehicle_equip"
TurretStartSound = ""
TurretStopSound = ""

FoleyFXGroup = "metal_foley"

DamageStartPercent = 50.0
DamageStopPercent = 30.0
DamageEffect = "com_sfx_vehiclespark"

DamageStartPercent = 30.0
DamageStopPercent = 0.0
DamageEffect = "com_sfx_smokeplume"
DamageAttachPoint = "hp_smoke_1"
My initial thought was that the problem could also be with the weapon .odf it's using (imp_weap_bldg_boxturret) but some other turrets in the map are using that and working perfectly fine. Any ideas?
Death_Commando

Re: Turret troubles

Post by Death_Commando »

Post your error log
User avatar
Eggman
Master Bounty Hunter
Master Bounty Hunter
Posts: 1516
Joined: Mon Jul 16, 2007 1:30 pm
Projects :: Battlefront Chronicles
Location: Las Vegas

Re: Turret troubles

Post by Eggman »

Whoa, I had completely forgotten to look at my error log. Thanks for the reminder! Now that I did, I think I picked out the problem though, and it looks like a simple fix.
Post Reply