KIND Engine

From TrainzOnline
Revision as of 23:16, 30 September 2026 by Pw3r (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

KIND Engine assets control the engine behaviour of traincar assets, including power output and braking capabilities.

KIND Hierarchy

Parent Classes

Child Classes

Supported Tags

kind "engine"
throttle-power
{
}
dynamic-brake
{
}
motor
{
}
mass
{
}
volume
{
}
pressure
{
}
flowsize
{
}
throttle-power-extended-notch-range 0
dynamic-brake-extended-notch-range 0
autopilot-stop-distance 5.0
autopilot-crawl-distance 20.0
autopilot-caution-speed-multiplier 0.5
throttle-adjustment-rate 0.01
scale ""
epbrakes ""

throttle-power

Type: throttle-power Container
Desc: Specifies the power output (in kN) of the engine for a given throttle notch and train speed.

dynamic-brake

Type: dynamic-brake Container
Desc: Specifies the power output (in kN) of the dynamic brake for a given throttle notch and train speed.

throttle-power-extended-notch-range

Type: Boolean
Desc: Whether this engine asset specifies more than the default of 8 throttle notches in the throttle-power graph.
Vers: Requires a minimum of trainz-version 5.8

dynamic-brake-extended-notch-range

Type: Boolean
Desc: Whether this engine asset specifies more than the default of 8 throttle notches in the dynamic-brake graph.
Vers: Requires a minimum of trainz-version 5.8

motor

Type: motor Container
Desc: Sets various values related to the train motor/engine, along with some resistance values.

mass

Type: mass Container
Desc: Sets various mass values for the train.

volume

Type: volume Container
Desc: Sets various volume values for the train braking system.

pressure

Type: pressure Container
Desc: Sets various pressure values for the train braking system.

flowsize

Type: flowsize Container
Desc: Sets various flow size values for the train braking system.

scale

Type: Obsolete
Desc: Obsolete

epbrakes

Type: Obsolete
Desc: Obsolete

autopilot-stop-distance

Type: float
Desc: How far (in meters) in front of a typical obstruction (red light, etc.) the AI will attempt to stop the train. Changing this value can help fine-tune the accuracy of the AI's movement, however attempting to make the train stop too close to a target may result in overruns in some cases. This tag is intended for special-case usage only.

autopilot-crawl-distance

Type: float
Desc: Once this distance (in meters) from the intended stopping position has been reached, the AI will 'crawl' rather than attempt to speed up to reach its destination. Changing this value can help fine-tune the accuracy of the AI's movement, however attempting to make the train stop too close to a target may result in overruns in some cases. This tag is intended for special-case usage only.

autopilot-caution-speed-multiplier

Type: float
Desc: The AI will slow to this multiple of the speed limit when operating under caution conditions. This can be set to 1.0 in order to effectively remove caution-speed driving, however this can increase the risk of overruns in some cases

throttle-adjustment-rate

Type: float
Desc: Defines the adjustment rate at which the engine's throttle will adjust to match the train's throttle. Increasing this rate will make the engine more responsive at the possible cost of audio or driving realism. In DCC mode, a minimum value of 0.1 is used.

Example Config.txt

Sample config.txt file for an enginespec asset, with the Standard Tags excluded for brevity:

TBD

Downloads

Attach sample files here?


Categories