Académique Documents
Professionnel Documents
Culture Documents
cfg
I use the column letters and names in the comments of the GTA San
Andreas\data\handling.cfg file to describe what they do. This file changes some physics and
animation properties of the cars, not just the handling.
Some of these settings have an unknown purpose and many have not been tested completely.
Standard Settings
Official Name
Description
vehicle identifier
fMass
fTurnMass
fDragMult
CentreOfMass.x
CentreOfMass.y
CentreOfMass.z
nPercentSubmerged
fTractionMultiplier
fTractionLoss
fTractionBias
M TransmissionData.nNumberOfGears
TransmissionData.fMaxVelocity
TransmissionData.fEngineAcceleration
Official Name
Description
tutorial.
TransmissionData.fEngineInertia
TransmissionData.nDriveType
TransmissionData.nEngineType
fBrakeDeceleration
fBrakeBias
bABS
Needs testing.
fSteeringLock
fSuspensionForceLevel
fSuspensionDampingLevel
fSuspensionHighSpdComDamp
a
a
fSeatOffsetDistance
a
b
fCollisionDamageMultiplier
ac nMonetaryValue
Official Name
Description
af modelFlags
a
g
handlingFlags
a
h
front lights
ai rear lights
modelFlags
The easiest way to alter flag data is to use an editor like CFG Studio 2.
Byt Valu
e
e
Official Name
Description
IS_VAN
IS_BUS
IS_LOW
IS_BIG
REVERSE_BONNET
HANGING_BOOT
TAILGATE_BOOT
NOSWING_BOOT
NO_DOORS
TANDEM_SEATS
SIT_IN_BOAT
CONVERTIBLE
NO_EXHAUST
Byt Valu
e
e
Official Name
Description
DBL_EXHAUST
NO1FPS_LOOK_BEHIND
FORCE_DOOR_CHECK
Needs testing.
AXLE_F_NOTILT
AXLE_F_SOLID
AXLE_F_MCPHERSON
AXLE_F_REVERSE
AXLE_R_NOTILT
AXLE_R_SOLID
AXLE_R_MCPHERSON
AXLE_R_REVERSE
IS_BIKE
IS_HELI
IS_PLANE
IS_BOAT
BOUNCE_PANELS
Needs testing.
DOUBLE_RWHEELS
Byt Valu
e
e
8
Official Name
IS_HATCHBACK
Description
Needs testing.
handlingFlags
The easiest way to alter flag data is to use an editor like CFG Studio 2.
Byt Valu
e
e
Official Name
Description
1G_BOOST
2G_BOOST
NPC_ANTI_ROLL
NPC_NEUTRAL_HAN
DL
Less likely to spin out when driven by AI characters.
NO_HANDBRAKE
STEER_REARWHEE
LS
HB_REARWHEEL_ST Handbrake makes the rear wheels steer as well as front, like
EER
the monster truck.
ALT_STEER_OPT
WHEEL_F_NARROW
2
Very narrow front wheels.
WHEEL_F_WIDE
WHEEL_F_WIDE2
WHEEL_R_NARROW
2
Very narrow rear wheels.
WHEEL_R_WIDE
Needs testing.
Byt Valu
e
e
Official Name
Description
WHEEL_R_WIDE2
HYDRAULIC_GEOM
Needs testing.
HYDRAULIC_INST
HYDRAULIC_NONE
NOS_INST
OFFROAD_ABILITY
HALOGEN_LIGHTS
PROC_REARWHEEL
_1ST
Needs testing.
USE_MAXSP_LIMIT
LOW_RIDER
STREET_RACER
UNDEFINED
No effect.
SWINGING_CHASSI
S
Lets the car body move from side to side on the suspension.
UNDEFINED
No effect.
UNDEFINED
No effect.
UNDEFINED
No effect.
Wheels
To set the wheel scaling method, use the GTA San Andreas\data\vehicles.ide file. The visual
model for the wheel is included in the DFF for most GTA San Andreas vehicles.
Boat Data
The following Global parameters are different for boats.
Official Name
J
Description
e Sideslip Force
Official Name
Description
A ID
B ThrustY
C ThrustZ
D ThrustAppZ
Needs testing.
E AqPlaneForce
F AqPlaneLimit
G AqPlaneOffset
H WaveAudioMult
MoveResX
Official Name
Description
MoveResY
K MoveResZ
L TurnResX
M TurnResY
N TurnResZ
Look_L_R_BehindCamHeig
O ht
Bike Data
Additional parameters are applied when using the IS_BIKE flag.
Official Name
Description
ID
LeanFwdCOM
LeanFwdForce
LeanBakCOM
LeanBackForce
MaxLean
FullAnimLean
DesLean
SpeedSteer
NoPlayerCOMz
SlipSteer
Official Name
Description
StoppieAng
M WheelieAng
WheelieStabMult
O WheelieSteer
P
StoppieStabMult
Planes
Planes use the following additional parameters.
Official Name
Description
A id
B Thrust
C ThrustFallOff
D Yaw
E YawStab
F SideSlip
G Roll
H RollStab
Pitch
PitchStab
K FormLift
L AttackLift
Official Name
Description
GearUpR[esistance Global drag is multiplied by this value when landing gear is retracted.
When gear is down, the drag value is used by itself.
M ]
N GearDownL[ift]
O WindMult
P MoveRes
Q TurnRes.x
R TurnRes.y
S TurnRes.z
T SpeedRes.x
U SpeedRes.y
V SpeedRes.z
Helicopters
I havent tested how the settings affect helicopters.
Animation Data
The additional parameters in the animations section set the timing of the animation data files when
entering, exiting a car and stealing a vehicle. Each animation line is combined with a second line
using the2nd group setting. This is a weird relationship and I havn't tried to find out what effect it
has.
I havent done any testing with these but here are my best guesses about what they mean.
Official Name
Description
A ID
B 1st group
C 2nd group
Official Name
Description
D Align
Needs testing.
E OpenOutF
F OpenOutR
G GetInF
H GetInR
Jack
CloseInsF
K CloseInsR
L Shuffle
Needs testing.
M GetOutF
N GetOutR
O BeJacked
P CloseOutF
Q CloseOutR
R JumpOut
S CloseRoll
Something to do with closing the door and the window being rolled down?
T FallDie
U OpenLocked
V GetInTime
W JumpOutTime
X GetOutTime
Y JkdOutTime
Official Name
Z FallTime
Description
c CloseInStart
d CloseInStop
e OpenInStart
OpenInStop
SpecialFlag
SpecialFlags
Byt
e
Value
Official Name
Description
Defines itself.
Defines itself.
Defines itself.
Needs testing.
Credits
Fred Bohl
Glen Winstein
GTAgamer
Ofer Porat
Various people in the Editing Discussion > Vehicles and Mod Showroom > Vehicles areas
ofGTAForums.
These authors gave full permission for their discoveries to be used on this site. Many thanks to
them! You can send your own tests to me.