Talos docs

VehicleDrivetrain

Since 0.6
Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
engineVehicleEngineno
gearsnumber[]noForward gear ratios, first gear first, each greater than zero and strictly descending. Wheel torque is engine torque times the gear times finalDrive. An override REPLACES this array whole.
reverseGearnumbernoReverse gear ratio, a positive number like the forward gears. The direction is the solver's, not a sign here — writing a negative ratio is a vehicle-invalid violation, not a reverse gear.
finalDrivenumbernoDifferential ratio multiplying every gear, greater than zero. Typically 3..4.5.
differentialVehicleDifferentialnoopen, locked, lsd
shiftVehicleShiftnoauto, manual
shiftUpRpmnumberno0Engine speed in rpm at which an automatic gearbox changes up, greater than zero and not above redlineRpm. Defaults to 0.9 x redlineRpm, so an engine that says nothing shifts just short of the limiter. Shifting earlier is what makes a van or a diesel feel like one. Ignored when shift is manual.
shiftDownRpmnumberno1Engine speed in rpm at which an automatic gearbox changes down, greater than zero and not below idleRpm. Defaults to 1.6 x idleRpm. It must sit below shiftUpRpm in the next gear up or the box hunts. Ignored when shift is manual.
shiftTimenumberno0Seconds the gearbox spends with no drive while it changes gear, zero or more. Defaults to 0.25. 0 is an instant shift, which is what an arcade vehicle usually wants; a torque-converter automatic is nearer 0.5.

See also