VehicleHandlingScripts: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
Line 10: Line 10:
===body===
===body===
[[VehicleScript.massCenterOverride | massCenterOverride]]<br>
[[VehicleScript.massCenterOverride | massCenterOverride]]<br>
[[VehicleScript.massoverride | massoverride]]<br>
[[VehicleScript.addgravity | addgravity]]<br>
[[VehicleScript.maxangularvelocity | maxangularvelocity]]<br>


===engine===
===engine===

Revision as of 10:00, 4 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
maxangularvelocity

engine

horsepower
maxrpm
maxspeed

steering

degreesSlow

axle

A vehicle can have multiple axle definitions.

torquefactor

vehicle_sounds Properties

A vehicle_sounds entry can have multiple of the following sections:

state

Name