VehicleHandlingScripts: Difference between revisions
Jump to navigation
Jump to search
(→body) |
No edit summary |
||
Line 10: | Line 10: | ||
===body=== | ===body=== | ||
[[VehicleScript.massCenterOverride | massCenterOverride]]<br> | [[VehicleScript.massCenterOverride | massCenterOverride]]<br> | ||
[[VehicleScript.massoverride | | [[VehicleScript.massoverride | massOverride]]<br> | ||
[[VehicleScript.addgravity | | [[VehicleScript.addgravity | addGravity]]<br> | ||
[[VehicleScript.maxangularvelocity | | [[VehicleScript.tiltForce | tiltForce]]<br> | ||
[[VehicleScript.tiltForceHeight | tiltForceHeight]]<br> | |||
[[VehicleScript.counterTorqueFactor | counterTorqueFactor]]<br> | |||
[[VehicleScript.keepUprightTorque | keepUprightTorque]]<br> | |||
[[VehicleScript.maxangularvelocity | maxAngularVelocity]]<br> | |||
===engine=== | ===engine=== | ||
[[VehicleScript.horsepower | horsepower]]<br> | [[VehicleScript.horsepower | horsepower]]<br> | ||
[[VehicleScript.maxrpm | | [[VehicleScript.maxrpm | maxRpm]]<br> | ||
[[VehicleScript.maxspeed | | [[VehicleScript.maxspeed | maxSpeed]]<br> | ||
[[VehicleScript.maxRevSpeed | maxRevSpeed]]<br> | |||
[[VehicleScript.axleRatio | axleRatio]]<br> | |||
[[VehicleScript.throttleTime | throttleTime]]<br> | |||
[[VehicleScript.gearCount | gearCount]]<br> | |||
[[VehicleScript.gearRatio | gearRatio]]<br> | |||
[[VehicleScript.shiftUpRPM | shiftUpRPM]]<br> | |||
[[VehicleScript.shiftDownRPM | shiftDownRPM]]<br> | |||
[[VehicleScript.boostForce | boostForce]]<br> | |||
[[VehicleScript.boostDuration | boostDuration]]<br> | |||
[[VehicleScript.boostDelay | boostDelay]]<br> | |||
[[VehicleScript.boostMaxSpeed | boostMaxSpeed]]<br> | |||
[[VehicleScript.autobrakeSpeedGain | autobrakeSpeedGain]]<br> | |||
[[VehicleScript.autobrakeSpeedFactor | autobrakeSpeedFactor]]<br> | |||
[[VehicleScript.torqueBoost | torqueBoost]]<br> | |||
[[VehicleScript.isAutoTransmission | isAutoTransmission]]<br> | |||
===steering=== | ===steering=== |
Revision as of 10:50, 9 March 2017
Empires Scripting Documentation |
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials |
Overview
Vehicle handling scripts have quite a few variables. This tries to describe the parameters you can use to fine tune vehicle handling.
Also see: https://developer.valvesoftware.com/wiki/Vehicles_(Scripting_Parameters)
vehicle Properties
body
massCenterOverride
massOverride
addGravity
tiltForce
tiltForceHeight
counterTorqueFactor
keepUprightTorque
maxAngularVelocity
engine
horsepower
maxRpm
maxSpeed
maxRevSpeed
axleRatio
throttleTime
gearCount
gearRatio
shiftUpRPM
shiftDownRPM
boostForce
boostDuration
boostDelay
boostMaxSpeed
autobrakeSpeedGain
autobrakeSpeedFactor
torqueBoost
isAutoTransmission
steering
axle
A vehicle can have multiple axle definitions.
vehicle_sounds Properties
A vehicle_sounds entry can have multiple of the following sections: