handling.dat

From GTAMods Wiki
Revision as of 21:02, 22 October 2010 by Gentry (talk | contribs) ((D) nPercentSubmerged)
Jump to navigation Jump to search

handling.dat file in GTA IV, like in previous versions, controls the physics of vehicles in-game.

Contents

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 describes the wind resistance of a vehicle

(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 ).

(B) Enter1

(C) Enter2

(D) Jack1

(E) Jack2

(F) Drive1

(G) Drive2

(H) JumpOutTime

(I) GetInTime

(J) GetOutTime

(K) JkdOutTime

(L) FallTime

(M) OpenOutStart

(N) OpenOutStop

(O) CloseInStart

(P) CloseInStop

(Q) OpenInStart

(R) OpenInStop

(S) CloseOutStart

(T) CloseOutStop

(U) SpecialFlag