VehicleHandlingScripts: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
Line 9: Line 9:


===body===
===body===
[[VehicleScript.massCenterOverride | massCenterOverride]]<br>
*[[VehicleScript.massCenterOverride | massCenterOverride]]
[[VehicleScript.massoverride | massOverride]]<br>
*[[VehicleScript.massoverride | massOverride]]
[[VehicleScript.addgravity | addGravity]]<br>
*[[VehicleScript.addgravity | addGravity]]
[[VehicleScript.tiltForce | tiltForce]]<br>
*[[VehicleScript.tiltForce | tiltForce]]
[[VehicleScript.tiltForceHeight | tiltForceHeight]]<br>
*[[VehicleScript.tiltForceHeight | tiltForceHeight]]
[[VehicleScript.counterTorqueFactor | counterTorqueFactor]]<br>
*[[VehicleScript.counterTorqueFactor | counterTorqueFactor]]
[[VehicleScript.keepUprightTorque | keepUprightTorque]]<br>
*[[VehicleScript.keepUprightTorque | keepUprightTorque]]
[[VehicleScript.maxangularvelocity | maxAngularVelocity]]<br>
*[[VehicleScript.maxangularvelocity | maxAngularVelocity]]


===engine===
===engine===
[[VehicleScript.horsepower | horsepower]]<br>
*[[VehicleScript.horsepower | horsepower]]
[[VehicleScript.maxrpm | maxRpm]]<br>
*[[VehicleScript.maxrpm | maxRpm]]
[[VehicleScript.maxspeed | maxSpeed]]<br>
*[[VehicleScript.maxspeed | maxSpeed]]
[[VehicleScript.maxRevSpeed | maxRevSpeed]]<br>
*[[VehicleScript.maxRevSpeed | maxRevSpeed]]
[[VehicleScript.axleRatio | axleRatio]]<br>
*[[VehicleScript.axleRatio | axleRatio]]
[[VehicleScript.throttleTime | throttleTime]]<br>
*[[VehicleScript.throttleTime | throttleTime]]
[[VehicleScript.gearCount | gearCount]]<br>
*[[VehicleScript.gearCount | gearCount]]
[[VehicleScript.gearRatio | gearRatio]]<br>
*[[VehicleScript.gearRatio | gearRatio]]
[[VehicleScript.shiftUpRPM | shiftUpRPM]]<br>
*[[VehicleScript.shiftUpRPM | shiftUpRPM]]
[[VehicleScript.shiftDownRPM | shiftDownRPM]]<br>
*[[VehicleScript.shiftDownRPM | shiftDownRPM]]
[[VehicleScript.boostForce | boostForce]]<br>
*[[VehicleScript.boostForce | boostForce]]
[[VehicleScript.boostDuration | boostDuration]]<br>
*[[VehicleScript.boostDuration | boostDuration]]
[[VehicleScript.boostDelay | boostDelay]]<br>
*[[VehicleScript.boostDelay | boostDelay]]
[[VehicleScript.boostMaxSpeed | boostMaxSpeed]]<br>
*[[VehicleScript.boostMaxSpeed | boostMaxSpeed]]
[[VehicleScript.autobrakeSpeedGain | autobrakeSpeedGain]]<br>
*[[VehicleScript.autobrakeSpeedGain | autobrakeSpeedGain]]
[[VehicleScript.autobrakeSpeedFactor | autobrakeSpeedFactor]]<br>
*[[VehicleScript.autobrakeSpeedFactor | autobrakeSpeedFactor]]
[[VehicleScript.torqueBoost | torqueBoost]]<br>
*[[VehicleScript.torqueBoost | torqueBoost]]
[[VehicleScript.isAutoTransmission | isAutoTransmission]]<br>
*[[VehicleScript.isAutoTransmission | isAutoTransmission]]


===steering===
===steering===
[[VehicleScript.degreesSlow | degreesSlow]]<br>
*[[VehicleScript.degreesSlow | degreesSlow]]
[[VehicleScript.degreesFast | degreesFast]]<br>
*[[VehicleScript.degreesFast | degreesFast]]
[[VehicleScript.degreesBoost | degreesBoost]]<br>
*[[VehicleScript.degreesBoost | degreesBoost]]
[[VehicleScript.steeringRateSlow | steeringRateSlow]]<br>
*[[VehicleScript.steeringRateSlow | steeringRateSlow]]
[[VehicleScript.steeringRateFast | steeringRateFast]]<br>
*[[VehicleScript.steeringRateFast | steeringRateFast]]
[[VehicleScript.steeringRestRateSlow | steeringRestRateSlow]]<br>
*[[VehicleScript.steeringRestRateSlow | steeringRestRateSlow]]
[[VehicleScript.steeringRestRateFast | steeringRestRateFast]]<br>
*[[VehicleScript.steeringRestRateFast | steeringRestRateFast]]
[[VehicleScript.speedSlow | speedSlow]]<br>
*[[VehicleScript.speedSlow | speedSlow]]
[[VehicleScript.speedFast | speedFast]]<br>
*[[VehicleScript.speedFast | speedFast]]
[[VehicleScript.turnThrottleReduceSlow | turnThrottleReduceSlow]]<br>
*[[VehicleScript.turnThrottleReduceSlow | turnThrottleReduceSlow]]
[[VehicleScript.turnThrottleReduceFast | turnThrottleReduceFast]]<br>
*[[VehicleScript.turnThrottleReduceFast | turnThrottleReduceFast]]
[[VehicleScript.brakeSteeringRateFactor | brakeSteeringRateFactor]]<br>
*[[VehicleScript.brakeSteeringRateFactor | brakeSteeringRateFactor]]
[[VehicleScript.throttleSteeringRestRateFactor | throttleSteeringRestRateFactor]]<br>
*[[VehicleScript.throttleSteeringRestRateFactor | throttleSteeringRestRateFactor]]
[[VehicleScript.powerSlideAccel | powerSlideAccel]]<br>
*[[VehicleScript.powerSlideAccel | powerSlideAccel]]
[[VehicleScript.boostSteeringRestRateFactor | boostSteeringRestRateFactor]]<br>
*[[VehicleScript.boostSteeringRestRateFactor | boostSteeringRestRateFactor]]
[[VehicleScript.boostSteeringRateFactor | boostSteeringRateFactor]]<br>
*[[VehicleScript.boostSteeringRateFactor | boostSteeringRateFactor]]
[[VehicleScript.steeringExponent | steeringExponent]]<br>
*[[VehicleScript.steeringExponent | steeringExponent]]
[[VehicleScript.isSkidAllowed | isSkidAllowed]]<br>
*[[VehicleScript.isSkidAllowed | isSkidAllowed]]
[[VehicleScript.dustCloud | dustCloud]]<br>
*[[VehicleScript.dustCloud | dustCloud]]


===axle===
===axle===

Revision as of 09:01, 10 August 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

engine

steering

axle

A vehicle can have multiple axle definitions.

wheels

suspension

vehicle_sounds Properties

A vehicle_sounds entry can have multiple of the following sections:

state

Name