Handling.cfg

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{| ! Column ! Script Constant ! Description ! Notes |- | A | - | An internal GTA vehicle identifier | Cannot be set via scripts |- | B | HANDLING_MASS | Mass of the vehicle (''fl…')
 
Line 1: Line 1:
{|
+
{{DISPLAYTITLE:handling.cfg}}
 +
 
 +
'''''handling.cfg''''' is a GTA data file which determines many performance and behaviour values for the vehicles in the game. The file is used in GTA III, GTA:VC and GTA:SA. Liberty Unleashed (as well as VU) allows you to modify most of the values server-side and sync the modified handling between all clients. Using [[Squirrel/Server/Functions#Vehicle_Functions|vehicle scripting functions]] it is also possible to modify these values run-time for different vehicle models or even for individual vehicles.
 +
 
 +
This page explains the entries in ''handling.cfg'' briefly. For more info and suggested values, refer back to the original ''handling.cfg''.
 +
 
 +
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse;"
 +
|+align="top" style="color:#e76700;"|'''handling.cfg'''
 
! Column
 
! Column
 
! Script Constant
 
! Script Constant
Line 83: Line 90:
 
| HANDLING_ABS
 
| HANDLING_ABS
 
| Enables or disables ABS (''int'')
 
| Enables or disables ABS (''int'')
| Uses values 0 and 1 - does not seem to have any effect
+
| Does not seem to have any effect
 
|-
 
|-
 
| U
 
| U
 
| HANDLING_STEERINGLOCK
 
| HANDLING_STEERINGLOCK
 
| Maximum rotation of steering arc (''float'')
 
| Maximum rotation of steering arc (''float'')
| Value in degrees; Negative for rear wheel steered vehicles
+
| Degrees; Negative for rear wheel steered vehicles
 
|-
 
|-
 
| V
 
| V
Line 107: Line 114:
 
| Y
 
| Y
 
| HANDLING_COLLISIONDAMAGEMULTIPLIER
 
| HANDLING_COLLISIONDAMAGEMULTIPLIER
| - Defines how much damage does the vehicle engine get from collisions (''float'')
+
| How much damage does the vehicle engine get from collisions (''float'')
 
| -
 
| -
 
|-
 
|-
Line 115: Line 122:
 
| No effect
 
| No effect
 
|-
 
|-
| AA
+
| aa
 
| HANDLING_SUSPENSIONUPPERLIMIT
 
| HANDLING_SUSPENSIONUPPERLIMIT
 
| Max height of the vehicle (''float'')
 
| Max height of the vehicle (''float'')
 
| -
 
| -
 
|-
 
|-
| AB
+
| ab
 
| HANDLING_SUSPENSIONLOWERLIMIT
 
| HANDLING_SUSPENSIONLOWERLIMIT
 
| Ride height of the vehicle (''float'')
 
| Ride height of the vehicle (''float'')
 
| -
 
| -
 
|-
 
|-
| AC
+
| ac
 
| HANDLING_SUSPENSIONBIAS
 
| HANDLING_SUSPENSIONBIAS
 
| Ratio of suspension force to apply at the rear compared to the front (''float'')
 
| Ratio of suspension force to apply at the rear compared to the front (''float'')
 
| -
 
| -
 
|-
 
|-
| AD
+
| ad
 
| HANDLING_FLAGS
 
| HANDLING_FLAGS
 
| Special features (''hex int'')
 
| Special features (''hex int'')
 
| Refer back to handling.cfg for values
 
| Refer back to handling.cfg for values
 
|-
 
|-
| AE
+
| ae
 
| HANDLING_FRONTLIGHTS
 
| HANDLING_FRONTLIGHTS
 
| Defines the type of front lights used (''int'')
 
| Defines the type of front lights used (''int'')
 
| Refer back to handling.cfg for values
 
| Refer back to handling.cfg for values
 
|-
 
|-
| AF
+
| af
 
| HANDLING_REARLIGHTS
 
| HANDLING_REARLIGHTS
 
| Defines the type of rear lights used (''int'')
 
| Defines the type of rear lights used (''int'')
 
| Refer back to handling.cfg for values
 
| Refer back to handling.cfg for values
 
|}
 
|}

Revision as of 03:06, 27 September 2010


handling.cfg is a GTA data file which determines many performance and behaviour values for the vehicles in the game. The file is used in GTA III, GTA:VC and GTA:SA. Liberty Unleashed (as well as VU) allows you to modify most of the values server-side and sync the modified handling between all clients. Using vehicle scripting functions it is also possible to modify these values run-time for different vehicle models or even for individual vehicles.

This page explains the entries in handling.cfg briefly. For more info and suggested values, refer back to the original handling.cfg.

handling.cfg
Column Script Constant Description Notes
A - An internal GTA vehicle identifier Cannot be set via scripts
B HANDLING_MASS Mass of the vehicle (float) Value in kilograms
C, D, E HANDLING_DIMENSIONS Dimensions of the vehicle, used for aerodynamics etc. (Vector) Value in metres
F, G, H HANDLING_CENTREOFMASS Distance from the centre of car towards the centre of mass (Vector) Value in metres
I HANDLING_PERCENTSUBMERGED How much of the vehicle can be submerged under water (int) -
J HANDLING_TRACTIONMULTIPLIER Cornering grip (float) -
K HANDLING_TRACTIONLOSS Accelerating/braking grip (float) -
L HANDLING_TRACTIONBIAS Ratio of front axle grip to rear axle grip (float) -
M HANDLING_NUMBEROFGEARS Number of gears (int) Don't use a higher value than 5
N HANDLING_MAXVELOCITY Max velocity limiter (float) Doesn't change the real max velocity
O HANDLING_ENGINEACCELERATION Vehicle acceleration (float) -
P HANDLING_DRIVETYPE Sets front, rear or 4 wheel drive (int) Uses values 'F', 'R' or '4'
Q HANDLING_ENGINETYPE Sets petrol, diesel or electric engine (int) Uses values 'P', 'D' or 'E'
R HANDLING_BRAKEDECELERATION Brake deceleration power (float) -
S HANDLING_BRAKEBIAS Ratio of braking force of front compared to rear (float) -
T HANDLING_ABS Enables or disables ABS (int) Does not seem to have any effect
U HANDLING_STEERINGLOCK Maximum rotation of steering arc (float) Degrees; Negative for rear wheel steered vehicles
V HANDLING_SUSPENSIONFORCELEVEL - (float) -
W HANDLING_SUSPENSIONDAMPINGLEVEL - (float) -
X HANDLING_SEATOFFSETDISTANCE Distance from seat to door (float) -
Y HANDLING_COLLISIONDAMAGEMULTIPLIER How much damage does the vehicle engine get from collisions (float) -
Z HANDLING_MONETARYVALUE An internal mobetary value (int) No effect
aa HANDLING_SUSPENSIONUPPERLIMIT Max height of the vehicle (float) -
ab HANDLING_SUSPENSIONLOWERLIMIT Ride height of the vehicle (float) -
ac HANDLING_SUSPENSIONBIAS Ratio of suspension force to apply at the rear compared to the front (float) -
ad HANDLING_FLAGS Special features (hex int) Refer back to handling.cfg for values
ae HANDLING_FRONTLIGHTS Defines the type of front lights used (int) Refer back to handling.cfg for values
af HANDLING_REARLIGHTS Defines the type of rear lights used (int) Refer back to handling.cfg for values
Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox