515
edits
Changes
no edit summary
|torque
|float
|0.0
|This defines the maximum torque output of the engine in N·m.
|-
|secondary_torque
|float
|0.0
|If positive and greater than zero, this defines the secondary maximum torque output of the engine in N·m for multi-torque engines. ''(Added in 1.30)''
|-
|secondary_torque_gear_ratio
|float
|1.0
|This defines the transmission gear ratio below which '''secondary_torque''' is used on multi-torque engines. ''(Added in 1.30)''
|-
|torque_curve
</syntaxhighlight>
The torque output is linearly interpolated between data points. For engine speeds outside the domain of the data points, the output is clamped to the values at the highest/lowest rpm points. The valid range for torque output is 0-1.
|-
|secondary_torque_curve
|array<float2>
|''See description''
|This defines the secondary torque output of a multi-torque engine at various engine speeds, relative to the maximum torque defined in '''secondary_torque'''. If unset, '''torque_curve''' is used instead. The syntax is the same as '''torque_curve'''. ''(Added in 1.30)''
|-
|resistance_torque
|float
|550
|This is the engine speed the virtual engine controller will attempt to maintain with no throttle input. Valid range is 500-850 rpm.
|-
|rpm_limit
|float2
|(1000, 1500)
|Defines the downshift and upshift engine speeds in high-range gears- typically peek torque range. (Automatic transmission)
|-
|rpm_range_engine_brake
|float2
|(1500, 2500)
|Defines the downshift and upshift engine speeds while the engine brake is operating.(Automatic transmission)
|-
|rpm_range_power_boost
|float2
|(550, 450)
|Defines the rough rpm range ''change'' to '''rpm_range_low_gear''' and '''rpm_range_high_gear''' at full throttle when if more power is requested - used either in hills or for adaptive automatic shifting, especially power mode. (Automatic transmission is enabled).
{{Tip|Be careful that the resulting values when '''rpm_range_power_boost''' is added to '''rpm_range_*_gear''' don't exceed '''rpm_limit'''. Otherwise, the transmission may fail to shift correctly in adaptive automatic mode.}}
|-
|bool
|true
|When true, automatic transmissions will downshift upon beginning engine brake behavior, to keep rpm within '''rpm_range_engine_brake'''. When false, the regular rpm are kept.
|-
|engine_brake_positions