Changes

Jump to navigation Jump to search

Documentation/Engine/Sound/TruckEngine

3 bytes removed, 08:38, 18 October 2020
m
no edit summary
Event "engine" plays sound of the engine.<br>
It have has to be 3D event. The event should be routed to the "truck_engine" audio bus.<br>
The event must be looped and its living cycle is controlled by "play" parameter (see bellow).<br>
<br>
Event "exhaust" plays sound of the exhaust.<br>
It have has to be 3D event. The event should be routed to the "truck_exhaust" audio bus.<br>
The event must be looped and its living cycle is controlled by "play" parameter.<br>
<br>
Event "turbo" plays sound of the turbo.<br>
It have has to be 3D event. The event should be routed to the "truck_turbo" audio bus.<br>
The event must be looped and its living cycle is controlled by "play" parameter.<br>
<br>
=== Event "start_bad" ===
Event "start_bad" plays sound of unsuccessful starting of the engine.<br>
It have has to be 3D event. The event should be routed to the "truck_engine" audio bus.<br>
The event is one-shot sound (without loop).<br>
There are no other parameters for the event.<br>
Each engine include ''@include "sound.sui" '' file which contents indirect definition of the events:
<pre>
sounds:4
sounds[]: "engine|/def/vehicle/truck/peterbilt.579/engine/sound_engine.soundref"
sounds[]: "exhaust|/def/vehicle/truck/peterbilt.579/engine/sound_exhaust.soundref"
507
edits

Navigation menu