Turret Problems

Started by Calrissian97, January 19, 2018, 02:17:48 PM

Previous topic - Next topic
So I'm making a turret outside a capital ship and for some reason when I'm aiming directly ahead it's sticking almost straight up?
Screenie: [spoiler][/spoiler]

Fragme's Tutorial is too vague without the images, and there aren't any other detailed tutorials on modeling turrets.
Here is how it looks in XSI: [spoiler][/spoiler]

The hierarchy: [spoiler][/spoiler]

And then here's the odf: [GameObjectClass]
ClassLabel              = "armedbuilding"
GeometryName            = "for_ship_left_turret.msh"

[Properties]

Pilottype               = "remote"
BUILDINGSECTION         = "BODY"

MapTexture              = "turret_icon"
IconTexture             = "HUD_all_lascannon_icon"

MapScale                = "0.0"
HealthTexture           = "HUD_kam_turret_icon"

GeometryName            = "for_ship_left_turret"
ExplosionName           = "all_bldg_moncal_roundturret_exp"
DestroyedGeometryName   = "all_bldg_moncal_roundturret_chunk1"

MaxHealth               = "2500.0"
RespawnTime = "120"

BUILDINGSECTION         = "TURRET1"

Pilottype               = "remote"

TurretNodeName          = "turret_body"

PitchLimits             = "-180 180"
YawLimits               = "-5 90"

TrackCenter   = "3.0 -54.0 343.0" //x y z

PitchTurnFactor         = "0.0"

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

MaxTurnSpeed            = "90.8"
MaxPitchSpeed           = "90.8"
PitchRate               = "90.0"
TurnRate                = "90.5"
PCMaxPitchSpeed         = "90.0"
PCMaxTurnSpeed          = "90.0"   


TURRETSECTION           = "TURRET1"

AimerNodeName           = "hp_aimer"
AimerPitchLimits         = "-5 75"
AimerYawLimits           = "-5 75"

BarrelNodeName          = "barrel_body"
BarrelRecoil            = "0.5"
FirePointName           = "hp_fire"

//Sound
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"


Any help would be greatly appreciated!