handling.dat
handling.dat file in GTA IV, like in previous versions of the game, controls the physics and animations of vehicles in-game. This file can be edited with any text editor (after removing read-only attribute).
Contents
- 1 Parameters
- 2 Special Parameters
- 2.1 Extended Boat Data
- 2.1.1 ID
- 2.1.2 BBoxFwd
- 2.1.3 BBoxBack
- 2.1.4 BBoxSide
- 2.1.5 SampleTop
- 2.1.6 SampleBottom
- 2.1.7 AqPlaneForce
- 2.1.8 AqPlaneWfMult
- 2.1.9 AqPlaneWfCap
- 2.1.10 AqPlaneWfApp
- 2.1.11 RudderF
- 2.1.12 RudderOSet
- 2.1.13 WaveAudioMult
- 2.1.14 MoveResXY
- 2.1.15 MoveResZUp
- 2.1.16 MoveResZDown
- 2.1.17 TurnResX
- 2.1.18 TurnResY
- 2.1.19 TurnResZ
- 2.1.20 Look_L_R_BehindCamHeight
- 2.2 Extended Bike Data
- 2.2.1 (A) ID
- 2.2.2 (B) LeanFwdCOM
- 2.2.3 (C) LeanFwdForce
- 2.2.4 (D) LeanBakCOM
- 2.2.5 (E) LeanBackForce
- 2.2.6 (F) MaxLean
- 2.2.7 (G) FullAnimLean
- 2.2.8 (H) DesLean
- 2.2.9 (I) StickLean
- 2.2.10 (J) BrakeStabil
- 2.2.11 (K) InAirSteer
- 2.2.12 (L) WheelieAng
- 2.2.13 (M) StoppieAng
- 2.2.14 (N) WheelieSteer
- 2.2.15 (O) WheelieStabMult
- 2.2.16 (P) StoppieStabMult
- 2.3 Extended Aircraft Data
- 2.3.1 (A) ID
- 2.3.2 (B) Thrust
- 2.3.3 (C) ThrustFallOff
- 2.3.4 (D) ThrustVec
- 2.3.5 (E) Yaw
- 2.3.6 (F) YawStab
- 2.3.7 (G) SideSlip
- 2.3.8 (H) Roll
- 2.3.9 (I) RollStab
- 2.3.10 (J) Pitch
- 2.3.11 (K) PitchStab
- 2.3.12 (L) FormLift
- 2.3.13 (M) AttackLift
- 2.3.14 (N) GearUpR
- 2.3.15 (O) GearDownL
- 2.3.16 (P) WindMult
- 2.3.17 (Q) MoveRes
- 2.3.18 (R) TurnRes.x
- 2.3.19 (S) TurnRes.y
- 2.3.20 (T) TurnRes.z
- 2.3.21 (U) SpeedRes.x
- 2.3.22 (V) SpeedRes.y
- 2.3.23 (W) SpeedRes.z
- 2.4 Animation Group Data
- 2.4.1 (A) Group ID
- 2.4.2 (B) Enter1
- 2.4.3 (C) Enter2
- 2.4.4 (D) Jack1
- 2.4.5 (E) Jack2
- 2.4.6 (F) Drive1
- 2.4.7 (G) Drive2
- 2.4.8 (H) JumpOutTime
- 2.4.9 (I) GetInTime
- 2.4.10 (J) GetOutTime
- 2.4.11 (K) JkdOutTime
- 2.4.12 (L) FallTime
- 2.4.13 (M) OpenOutStart
- 2.4.14 (N) OpenOutStop
- 2.4.15 (O) CloseInStart
- 2.4.16 (P) CloseInStop
- 2.4.17 (Q) OpenInStart
- 2.4.18 (R) OpenInStop
- 2.4.19 (S) CloseOutStart
- 2.4.20 (T) CloseOutStop
- 2.4.21 (U) SpecialFlag
- 2.1 Extended Boat Data
Parameters
There are 37 parameters in 6 groups.
Physical Attributes
(A) vehicle identifier
This is used by the vehicles.ide file to identify the handling line of the vehicle.
(B) fMass
This is the weight of the vehicle in kilograms.
(C) fDragMult
This value describes the wind resistance of a vehicle. As with other parameters, the value is a multiplier, meaning it takes what the game has calculated for wind resistance and multiplies it against this number.
Value: 0.0 - 2.0 and above. 1.0 means that the game will use what it has already calculated. 0.01 - 0.99 will reduce wind resistance; 1.01 - 1.99 will increase wind resistance.
(D) nPercentSubmerged
A percentage of vehicle height in the water before vehicle "floats". So as the vehicle falls into the water, at 85% vehicle height (seemingly the default for road vehicles) it will stop sinking to float for a moment before it sinks (boats excluded).
Value: any percentage expressed as a decimal (eg., 85% = 0.85)
(E) CentreOfMass.x
(F) CentreOfMass.y
(G) CentreOfMass.z
Transmission Attributes
(Tt) m_nDriveBias
(Tg) m_nDriveGears
(Tf) m_fDriveForce
(Ti) m_fDriveInertia
(Tv) m_fV
(Tb) m_fBrakeForce
(Tbb) m_fBrakeBias
(Ts) m_fSteeringLock
Wheel Traction Attributes
(Wc+) m_fTractionCurveMax
(Wc-) m_fTractionCurveMin
(Wc-) m_fTractionCurveLateral
(Wc|) m_fTractionCurveLongitudinal
(Ws+) m_fTractionSpringDeltaMax
(Wh) m_fTractionBias
Suspension Attributes
(Sf) m_fSuspensionForce
(Scd) m_fSuspensionCompDamp
(Srd) m_fSuspensionReboundDamp
(Su) m_fSuspensionUpperLimit
(Sl) m_fSuspensionLowerLimit
(Sr) m_fSuspensionRaise
(Sb) m_fSuspensionBias
Damage Attributes
(Dc) m_fCollisionDamageMult
(Dw) m_fWeaponDamageMult
(Dd) m_fDeformationDamageMult
(De) m_fEngineDamageMult
Miscellaneous Attributes
(Ms) m_fSeatOffsetDist
(Mv) m_nMonetaryValue
(Mmf) mFlags
(Mhf) hFlags
(Ma) m_nAnimGroup
Special Parameters
Extended Boat Data
ID
This should be the same as the main handling section ID.
BBoxFwd
BBoxBack
BBoxSide
SampleTop
SampleBottom
AqPlaneForce
AqPlaneWfMult
AqPlaneWfCap
AqPlaneWfApp
RudderF
RudderOSet
WaveAudioMult
MoveResXY
MoveResZUp
MoveResZDown
TurnResX
TurnResY
TurnResZ
Look_L_R_BehindCamHeight
Extended Bike Data
(A) ID
This should be the same as the main handling section ID.
(B) LeanFwdCOM
(C) LeanFwdForce
(D) LeanBakCOM
(E) LeanBackForce
(F) MaxLean
(G) FullAnimLean
(H) DesLean
(I) StickLean
(J) BrakeStabil
(K) InAirSteer
(L) WheelieAng
(M) StoppieAng
(N) WheelieSteer
(O) WheelieStabMult
(P) StoppieStabMult
Extended Aircraft Data
(A) ID
This should be the same as the main handling section ID.
(B) Thrust
(C) ThrustFallOff
(D) ThrustVec
(E) Yaw
(F) YawStab
(G) SideSlip
(H) Roll
(I) RollStab
(J) Pitch
(K) PitchStab
(L) FormLift
(M) AttackLift
(N) GearUpR
(O) GearDownL
(P) WindMult
(Q) MoveRes
(R) TurnRes.x
(S) TurnRes.y
(T) TurnRes.z
(U) SpeedRes.x
(V) SpeedRes.y
(W) SpeedRes.z
Animation Group Data
(A) Group ID
This identifies the line, so it can be used by the main handling section ( (Ma) m_nAnimGroup ).