Vehicle's center of gravity is off. :O [Solved]
Posted: Thu Aug 23, 2012 4:18 am
by Marth8880
So uhh, the Mako is being a penguin right now. I dunno what happened. When I added the smaller turret, uhh...this...started to happen...
lolwut.jpg
The vehicle now has this honest, stupid, idiotic belief that its center of gravity is suddenly in the rear-left wheel. I dunno how it happened. Any ideas?
Typically I'm able to figure these things out by myself, but this time...not so much. Collision should be right, I checked it and haven't changed it...
lolindepthnessSSSSss.avi
ssv_tread_mako.odf
lolwut.jpg
Hidden/Spoiler:
lolindepthnessSSSSss.avi
Hidden/Spoiler:
Hidden/Spoiler:
[code][GameObjectClass]
ClassLabel = "hover"
GeometryName = "m35_mako.msh"
[Properties]
HUDModel = "hud_m35_shape"
Label = "M-35 Mako"
FLYERSECTION = "BODY"
VehicleType = "heavy"
AISizeType = "LARGE"
//AvailableForAnyTeam = 1
MapTexture = "mako_icon"
HealthTexture = "HUD_rep_fightertank_icon"
VehiclePosition = "common.vehiclepositions.pilot"
MapScale = 1.5
WaterEffect = "com_sfx_waterwake_lg"
GeometryName = "m35_mako"
//ExplosionName = "rep_hover_fightertank_exp"
//AnimationName = "rep_hover_fightertank"
//FinAnimation = "mako_9pose"
CollisionScale = 0.5
CollisionThreshold = 15.0
MaxHealth = 4600.0
MaxShield = 7200.0
AddShield = 90.0
TimeRequiredToEject = "7.5"
EjectResistance = "0.02"
TimeTilReboard = "5.0"
HealthType = "vehicle"
//FirstPerson = "REP\repftrtk;rep_1st_cockpit_fightertank"
FirstPersonFOV = "55"
SetAltitude = 0.01
GravityScale = 6.0
LiftSpring = 2.0 //Suspension tightness. High is a firm rugged ride, low is floaty and smooth
LiftDamp = 4.5 //Shock Absorber. High corrects quickly, low causes it to bounce and over correct alot.
Acceleration = 40.0
Deceleration = 32.0
Traction = 35.0
ForwardSpeed = 19.0
ReverseSpeed = 15.0
StrafeSpeed = 0.0
EnergyBar = 100
EnergyAutoRestore = 20.0
EnergyBoostDrain = 25.0
//BoostSpeed = 20
//BoostAcceleration = 100.0
//BoostFOV = 60
//////********PHYSICS-START********//////
// Front wheels
AddSpringBody = "-2.6 0.0 2.2 2.3"
BodySpringLength = 1.0
AddSpringBody = "2.6 0.0 2.2 2.3"
BodySpringLength = 1.0
// Middle wheels
AddSpringBody = "-2.6 0.0 -2.0 2.3"
BodySpringLength = 1.0
//BodyOmegaXSpringFactor = 1.2
AddSpringBody = "2.6 0.0 -2.0 2.3"
BodySpringLength = 1.0
//BodyOmegaXSpringFactor = 1.2
// Rear wheels
AddSpringBody = "-2.6 0.0 -4.25 1.4"
BodySpringLength = 1.0
AddSpringBody = "2.6 0.0 -4.25 1.4"
BodySpringLength = 1.0
VelocitySpring = 5
VelocityDamp = 2.5
OmegaXSpring = 3.0
OmegaXDamp = 3.0
OmegaZSpring = 5.0
OmegaZDamp = 1.5
//////********PHYSICS-END********//////
CockpitTension = 20
SpinRate = 0.0
TurnRate = 1.7
TurnFilter = 10.0
PitchRate = 0.5
PitchFilter = 10.0
StrafeRollAngle = 0.01
ThrustPitchAngle = 0.0
BankAngle = -0.01
BankFilter = 3.0 //low is slow - How quickly the bank returns to level
LevelSpring = 5.0 //low is slow - the force the restores level
LevelDamp = 4.0 //low is slow - the force that reduces the momentum of the rotation
JumpTimeMin = 0.05
JumpTimeMax = 0.9
JumpForce = 50.0
JumpMinSpeedMult = 0.0
JumpEnergyPerSec = 70.0
PCPitchRate = "15.0"
PCSpinRate = "25.0"
PCTurnRate = "30.0"
EyePointOffset = "0.0 5.0 -15.0"
TrackCenter = "0.0 6.0 -15.0" // needs to be changed back to 0.0 1.0 -5.0 when artists move center point
TrackOffset = "0.0 0.75 8.5"
TiltValue = "7.0"
PitchLimits = "-8.0 25.0"
YawLimits = "0.0 0.0"
//HitLocation = "p_crithit 4.0"
//TargetableCollision = "p_target"
FLYERSECTION = "TURRET1"
VehiclePosition = "common.vehiclepositions.gunner"
PilotPosition = "hp_gunner"
//Pilot9Pose = "minigun_9pose"
//FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
PitchTurnFactor = "0.0"
EyePointOffset = "0.0 2.0 -3.0"
TrackCenter = "0.0 2.0 -3.0" // 0.0 2.0 -7.0
TrackOffset = "0.0 0.0 5.0"
TiltValue = "3.0"
TurretNodeName = "turret_cannon_root"
PitchLimits = "-15.0 15.0"
YawLimits = "-180.0 180.0"
TurnRate = 1.8
TurnFilter = 10.0
PitchRate = 0.5
PitchFilter = 15.0
WEAPONSECTION = 1
WeaponName = "ssv_weap_tread_mako_cannon"
WeaponAmmo = 0
//HierarchyLevel = 1
AimerNodeName = "turret_aimer_cannon"
AimerPitchLimits = "-18.0 25.0"
AimerYawLimits = "-180.0 180.0"
FireOutsideLimits = "1"
BarrelNodeName = "turret_cannon_barrel"
BarrelRecoil = 0.25
FirePointName = "turret_cannon_fire"
ForceMode = 1
FLYERSECTION = "TURRET2"
VehiclePosition = "common.vehiclepositions.gunner"
PilotPosition = "hp_gunner"
//Pilot9Pose = "minigun_9pose"
//FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
PitchTurnFactor = "0.0"
EyePointOffset = "0.0 1.0 -1.5"
TrackCenter = "0.0 1.0 -1.5" // 0.0 2.0 -7.0
TrackOffset = "0.0 0.0 2.5"
TiltValue = "3.0"
TurretNodeName = "turret_gun_root"
PitchLimits = "-15.0 15.0"
YawLimits = "-180.0 180.0"
TurnRate = 1.8
TurnFilter = 10.0
PitchRate = 0.5
PitchFilter = 15.0
WEAPONSECTION = 1
WeaponName = "ssv_weap_tread_mako_gun"
WeaponAmmo = 0
//HierarchyLevel = 1
AimerNodeName = "turret_aimer_gun"
AimerPitchLimits = "-18.0 25.0"
AimerYawLimits = "-180.0 180.0"
FireOutsideLimits = "1"
BarrelNodeName = "turret_gun_barrel"
BarrelRecoil = 0.25
FirePointName = "turret_gun_fire"
ForceMode = 1
FLYERSECTION = "TURRET3"
VehiclePosition = "common.vehiclepositions.passenger"
ForceMode = 1
ThirdPersonFOV = 59.5
PitchRate = 0.8
PitchFilter = 2.75
TurnRate = 1.3
TurnFilter = 2.75
PitchLimits = "-15.0 25.0"
YawLimits = "-180.0 180.0"
PCPitchTurnFactor = "20.0"
PCYawTurnFactor = "20.0"
PitchTurnFactor = "1.0"
YawTurnFactor = "1.0"
MountPos = "0.0 -0.75 1.75"
EyePointOffset = "0.0 5.0 -15.0"
TrackCenter = "0.0 6.0 -15.0" // needs to be changed back to 0.0 1.0 -5.0 when artists move center point
TrackOffset = "0.0 0.75 8.5"
TiltValue = "7.0"
//ControlsUnit = "1"
//PilotPosition = "hp_passenger1"
//PilotAnimation = "standing"
TurretYawSound = "turret_whir_yaw_lp"
TurretYawSoundPitch = "0.7"
TurretPitchSound = "turret_whir_pitch_lp"
TurretPitchSoundPitch = "0.7"
TurretAmbientSound = ""
TurretActivateSound = "vehicle_equip"
TurretDeactivateSound = ""
TurretStartSound = ""
TurretStopSound = ""
VOUnitType = 124
EngineSound = "interceptorTank_engine_parameterized"
HurtSound = ""
DeathSound = "imp_weap_ord_exp_lg"
VehicleCollisionSound ="com_veh_collision_lg"
TurnOnSound = ""
TurnOffSound = ""
CisMusic = "ssv_amb_03_mid"
RepMusic = "ssv_amb_03_mid"
MusicSpeed = "0.0"
MusicDelay = "3.0"
GroundedSound = ""
GroundedHeight = ""
FoleyFXGroup = "metal_foley"[/code]
ClassLabel = "hover"
GeometryName = "m35_mako.msh"
[Properties]
HUDModel = "hud_m35_shape"
Label = "M-35 Mako"
FLYERSECTION = "BODY"
VehicleType = "heavy"
AISizeType = "LARGE"
//AvailableForAnyTeam = 1
MapTexture = "mako_icon"
HealthTexture = "HUD_rep_fightertank_icon"
VehiclePosition = "common.vehiclepositions.pilot"
MapScale = 1.5
WaterEffect = "com_sfx_waterwake_lg"
GeometryName = "m35_mako"
//ExplosionName = "rep_hover_fightertank_exp"
//AnimationName = "rep_hover_fightertank"
//FinAnimation = "mako_9pose"
CollisionScale = 0.5
CollisionThreshold = 15.0
MaxHealth = 4600.0
MaxShield = 7200.0
AddShield = 90.0
TimeRequiredToEject = "7.5"
EjectResistance = "0.02"
TimeTilReboard = "5.0"
HealthType = "vehicle"
//FirstPerson = "REP\repftrtk;rep_1st_cockpit_fightertank"
FirstPersonFOV = "55"
SetAltitude = 0.01
GravityScale = 6.0
LiftSpring = 2.0 //Suspension tightness. High is a firm rugged ride, low is floaty and smooth
LiftDamp = 4.5 //Shock Absorber. High corrects quickly, low causes it to bounce and over correct alot.
Acceleration = 40.0
Deceleration = 32.0
Traction = 35.0
ForwardSpeed = 19.0
ReverseSpeed = 15.0
StrafeSpeed = 0.0
EnergyBar = 100
EnergyAutoRestore = 20.0
EnergyBoostDrain = 25.0
//BoostSpeed = 20
//BoostAcceleration = 100.0
//BoostFOV = 60
//////********PHYSICS-START********//////
// Front wheels
AddSpringBody = "-2.6 0.0 2.2 2.3"
BodySpringLength = 1.0
AddSpringBody = "2.6 0.0 2.2 2.3"
BodySpringLength = 1.0
// Middle wheels
AddSpringBody = "-2.6 0.0 -2.0 2.3"
BodySpringLength = 1.0
//BodyOmegaXSpringFactor = 1.2
AddSpringBody = "2.6 0.0 -2.0 2.3"
BodySpringLength = 1.0
//BodyOmegaXSpringFactor = 1.2
// Rear wheels
AddSpringBody = "-2.6 0.0 -4.25 1.4"
BodySpringLength = 1.0
AddSpringBody = "2.6 0.0 -4.25 1.4"
BodySpringLength = 1.0
VelocitySpring = 5
VelocityDamp = 2.5
OmegaXSpring = 3.0
OmegaXDamp = 3.0
OmegaZSpring = 5.0
OmegaZDamp = 1.5
//////********PHYSICS-END********//////
CockpitTension = 20
SpinRate = 0.0
TurnRate = 1.7
TurnFilter = 10.0
PitchRate = 0.5
PitchFilter = 10.0
StrafeRollAngle = 0.01
ThrustPitchAngle = 0.0
BankAngle = -0.01
BankFilter = 3.0 //low is slow - How quickly the bank returns to level
LevelSpring = 5.0 //low is slow - the force the restores level
LevelDamp = 4.0 //low is slow - the force that reduces the momentum of the rotation
JumpTimeMin = 0.05
JumpTimeMax = 0.9
JumpForce = 50.0
JumpMinSpeedMult = 0.0
JumpEnergyPerSec = 70.0
PCPitchRate = "15.0"
PCSpinRate = "25.0"
PCTurnRate = "30.0"
EyePointOffset = "0.0 5.0 -15.0"
TrackCenter = "0.0 6.0 -15.0" // needs to be changed back to 0.0 1.0 -5.0 when artists move center point
TrackOffset = "0.0 0.75 8.5"
TiltValue = "7.0"
PitchLimits = "-8.0 25.0"
YawLimits = "0.0 0.0"
//HitLocation = "p_crithit 4.0"
//TargetableCollision = "p_target"
FLYERSECTION = "TURRET1"
VehiclePosition = "common.vehiclepositions.gunner"
PilotPosition = "hp_gunner"
//Pilot9Pose = "minigun_9pose"
//FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
PitchTurnFactor = "0.0"
EyePointOffset = "0.0 2.0 -3.0"
TrackCenter = "0.0 2.0 -3.0" // 0.0 2.0 -7.0
TrackOffset = "0.0 0.0 5.0"
TiltValue = "3.0"
TurretNodeName = "turret_cannon_root"
PitchLimits = "-15.0 15.0"
YawLimits = "-180.0 180.0"
TurnRate = 1.8
TurnFilter = 10.0
PitchRate = 0.5
PitchFilter = 15.0
WEAPONSECTION = 1
WeaponName = "ssv_weap_tread_mako_cannon"
WeaponAmmo = 0
//HierarchyLevel = 1
AimerNodeName = "turret_aimer_cannon"
AimerPitchLimits = "-18.0 25.0"
AimerYawLimits = "-180.0 180.0"
FireOutsideLimits = "1"
BarrelNodeName = "turret_cannon_barrel"
BarrelRecoil = 0.25
FirePointName = "turret_cannon_fire"
ForceMode = 1
FLYERSECTION = "TURRET2"
VehiclePosition = "common.vehiclepositions.gunner"
PilotPosition = "hp_gunner"
//Pilot9Pose = "minigun_9pose"
//FirstPerson = "rep\repsccam;rep_1st_cockpit_securitycam"
PitchTurnFactor = "0.0"
EyePointOffset = "0.0 1.0 -1.5"
TrackCenter = "0.0 1.0 -1.5" // 0.0 2.0 -7.0
TrackOffset = "0.0 0.0 2.5"
TiltValue = "3.0"
TurretNodeName = "turret_gun_root"
PitchLimits = "-15.0 15.0"
YawLimits = "-180.0 180.0"
TurnRate = 1.8
TurnFilter = 10.0
PitchRate = 0.5
PitchFilter = 15.0
WEAPONSECTION = 1
WeaponName = "ssv_weap_tread_mako_gun"
WeaponAmmo = 0
//HierarchyLevel = 1
AimerNodeName = "turret_aimer_gun"
AimerPitchLimits = "-18.0 25.0"
AimerYawLimits = "-180.0 180.0"
FireOutsideLimits = "1"
BarrelNodeName = "turret_gun_barrel"
BarrelRecoil = 0.25
FirePointName = "turret_gun_fire"
ForceMode = 1
FLYERSECTION = "TURRET3"
VehiclePosition = "common.vehiclepositions.passenger"
ForceMode = 1
ThirdPersonFOV = 59.5
PitchRate = 0.8
PitchFilter = 2.75
TurnRate = 1.3
TurnFilter = 2.75
PitchLimits = "-15.0 25.0"
YawLimits = "-180.0 180.0"
PCPitchTurnFactor = "20.0"
PCYawTurnFactor = "20.0"
PitchTurnFactor = "1.0"
YawTurnFactor = "1.0"
MountPos = "0.0 -0.75 1.75"
EyePointOffset = "0.0 5.0 -15.0"
TrackCenter = "0.0 6.0 -15.0" // needs to be changed back to 0.0 1.0 -5.0 when artists move center point
TrackOffset = "0.0 0.75 8.5"
TiltValue = "7.0"
//ControlsUnit = "1"
//PilotPosition = "hp_passenger1"
//PilotAnimation = "standing"
TurretYawSound = "turret_whir_yaw_lp"
TurretYawSoundPitch = "0.7"
TurretPitchSound = "turret_whir_pitch_lp"
TurretPitchSoundPitch = "0.7"
TurretAmbientSound = ""
TurretActivateSound = "vehicle_equip"
TurretDeactivateSound = ""
TurretStartSound = ""
TurretStopSound = ""
VOUnitType = 124
EngineSound = "interceptorTank_engine_parameterized"
HurtSound = ""
DeathSound = "imp_weap_ord_exp_lg"
VehicleCollisionSound ="com_veh_collision_lg"
TurnOnSound = ""
TurnOffSound = ""
CisMusic = "ssv_amb_03_mid"
RepMusic = "ssv_amb_03_mid"
MusicSpeed = "0.0"
MusicDelay = "3.0"
GroundedSound = ""
GroundedHeight = ""
FoleyFXGroup = "metal_foley"[/code]