Page 1 of 1

Turret troubles

Posted: Sat Dec 29, 2007 3:46 pm
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?

Re: Turret troubles

Posted: Sat Dec 29, 2007 4:02 pm
by Death_Commando
Post your error log

Re: Turret troubles

Posted: Sat Dec 29, 2007 4:19 pm
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.