Skip to content

AccelerationFactor

The amount a vehicle's throttle climbs by on each movement step while it is speeding up.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
floating point
When omitted
.03

A vehicle’s throttle runs from 0, stopped, to 1, its top speed. While the throttle is below the vehicle’s target speed, each movement step adds this figure to it, up to the target. A vehicle takes one movement step per frame, and one more on a frame when it starts into a new cell. At .03, a vehicle needs 34 steps to climb from a standstill to full speed.

Only a vehicle with Accelerates=yes that the drive locomotor moves is affected, and not a Passive=yes one. The throttle does not climb while the vehicle is within SlowdownDistance of its destination, is crushing something, or is sinking.

rules.ini
[MYTANK] ; a UnitType registered in [VehicleTypes]
AccelerationFactor=.06 ; reaches full speed in 17 steps, half as many as at .03