Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory engine data

275 bytes added, 02:59, 11 October 2020
no edit summary
|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 eventually.
|-
|consumption_coef
|Path to the truck [[Documentation/Engine/Sound/TruckEngine|engine sound bank.]] (format like "/sound/truck/engine.bank")
{{Note|The default engine bank has been removed (1.38+). You must explicitly specify a bank from one of the base game vehicles, or specify your own bank.}}
|-
|sounds
|array<string>
|
|Each member assigns an FMOD event to an engine function, using the "''<nowiki>sound_name|sound_path</nowiki>''" [[Games/ETS2/Modding_guides/1.39#Accessories|format]]. ''Added in 1.39''
 
Expected event names are: engine, exhaust, start_bad, and turbo.
|}
309
edits

Navigation menu