Changes

Jump to navigation Jump to search
m
Attributes
{{Note|The info attribute has no effect on the engine simulation. Rather, it is used for UI display and for attaching to World of Trucks profile truck uploads.}}
{{Tip|The strings surrounded by ''@'' are for localization &mdash; <code>@@hp@@</code> displays the localized shorthand for horsepower, <code>@@dg@@</code> displays the localized thousands separator, etc.}}
|-
|type
|token
|diesel
|This defines type and behavior of engine, powertrain, and few other aspects of the vehicle. Acceptable values are '''diesel''' or '''electric'''. ''(Added in 1.50)''
|-
|torque
|array&lt;float3&gt;
|
|When set, this overrides the engine brake control so that it controls both the engine brake and retarder (if present). The components are (engine brake strength, forced downshift, retarder strengthsstrength). The value of '''engine_brake_positions''' must match the number of members in auxiliary_brakes. (''Added in 1.40'') For example:
<pre> engine_brake_positions: 5
auxiliary_brakes[]: (0.3, 0, 0) // 30% engine brake only
|float
|0.0
|The volumetric displacement of the engine in liters. It is used in base fuel consumption calculation, engine mass & inertia calculations, and also default '''resistance_torque''' calculations. Minimum acceptable engine volume is 6.
|-
|consumption_coef
75
edits

Navigation menu