Difference between revisions of "VehicleScript.powerSlideAccel"

From Empires Wiki
Jump to: navigation, search
 
Line 1: Line 1:
'''scale of speed to acceleration'''
+
"powerSlideAccel" "<value>"
  
Amount of acceleration that gets applied sideways when sliding.
+
'''Description:'''<br />
 +
This decides how the '''Handbrake''' of a vehicle behaves.<br />
 +
As an example, imagine a left turn with a vehicle with the handbrake.<br />
 +
If the value is '''positive''', then the vehicle will steer further left while holding the handbrake.<br />
 +
If the value is '''negative''', then the vehicle will steer to the right while holding the handbrake.<br />
 +
The '''higher''' the value, the more it will turn into the specified direction.<br />
  
Set to negative to make tanks slide the right way.
+
'''Example:'''<br />
 +
"powerSlideAccel" "250"<br />
 +
Handbrake turns vehicle into the direction of the turn.

Latest revision as of 06:27, 6 July 2019

"powerSlideAccel" "<value>"

Description:
This decides how the Handbrake of a vehicle behaves.
As an example, imagine a left turn with a vehicle with the handbrake.
If the value is positive, then the vehicle will steer further left while holding the handbrake.
If the value is negative, then the vehicle will steer to the right while holding the handbrake.
The higher the value, the more it will turn into the specified direction.

Example:
"powerSlideAccel" "250"
Handbrake turns vehicle into the direction of the turn.