KIND Engine: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[KIND Engine]] assets contain diesel or electric loco engine performance characteristics.
[[KIND Engine]] assets control the engine behaviour of [[KIND_Traincar|traincar]] assets, including power output and braking capabilities.


==KIND Hierarchy==
==KIND Hierarchy==
Line 16: Line 16:
  {
  {
  }
  }
  [[pressure_container|pressure]]
  [[motor_container|motor]]
  {
  {
  }
  }
Line 22: Line 22:
  {
  {
  }
  }
  [[motor_container|motor]]
  [[volume_container|volume]]
  {
  {
  }
  }
  [[flowsize_container|flowsize]]
  [[pressure_container|pressure]]
  {
  {
  }
  }
  [[volume_container|volume]]
  [[flowsize_container|flowsize]]
  {
  {
  }
  }
  scale ""
  throttle-power-extended-notch-range 0
  epbrakes ""
  dynamic-brake-extended-notch-range 0
  autopilot-stop-distance 5.0
  autopilot-stop-distance 5.0
  autopilot-crawl-distance 20.0
  autopilot-crawl-distance 20.0
  autopilot-caution-speed-multiplier 0.5
  autopilot-caution-speed-multiplier 0.5
  throttle-adjustment-rate 0.01
  throttle-adjustment-rate 0.01
  throttle-power-extended-notch-range 0
  scale ""
  dynamic-brake-extended-notch-range 0
  epbrakes ""


====throttle-power====
====throttle-power====
Line 50: Line 50:
====throttle-power-extended-notch-range====
====throttle-power-extended-notch-range====
:Type: Boolean
:Type: Boolean
:Desc: Whether this engine asset specifies more than the default of 8 throttle notches, in the throttle-power graph.
: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
:Vers: Requires a minimum of trainz-version 5.8


====dynamic-brake-extended-notch-range====
====dynamic-brake-extended-notch-range====
:Type: Boolean
:Type: Boolean
:Desc: Whether this engine asset specifies more than the default of 8 throttle notches, in the dynamic-brake graph.
: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
:Vers: Requires a minimum of trainz-version 5.8


====pressure====
====motor====
:Type: [[pressure_container|pressure Container]]
:Type: [[motor_container|motor Container]]
:Desc: TBD
:Desc: Sets various values related to the train motor/engine, along with some resistance values.


====mass====
====mass====
:Type: [[mass_container|mass Container]]
:Type: [[mass_container|mass Container]]
:Desc: TBD
:Desc: Sets various mass values for the train.
 
====volume====
:Type: [[volume_container|volume Container]]
:Desc: Sets various volume values for the train braking system.


====motor====
====pressure====
:Type: [[motor_container|motor Container]]
:Type: [[pressure_container|pressure Container]]
:Desc: TBD
:Desc: Sets various pressure values for the train braking system.


====flowsize====
====flowsize====
:Type: [[flowsize_container|flowsize Container]]
:Type: [[flowsize_container|flowsize Container]]
:Desc: TBD
:Desc: Sets various flow size values for the train braking system.
 
====volume====
:Type: [[volume_container|volume Container]]
:Desc: TBD


====scale====
====scale====

Latest revision as of 23:16, 30 September 2026

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