Open main menu

Changes

Documentation/Engine/Sound/TruckTransmission

52 bytes removed, 15:06, 15 October 2020
no edit summary
=== Sounds - The truck transmission and the retarder ===
The next group of the sounds of the truck are sounds of the transmission and the retarder.
== Retarder ==
Event "retarder" plays sound of the retarder.<br>It have has to be 3D event. The event should be routed to the "truck_effects" audio bus.<br> The event must be looped.<br><br>These and following event parameters must exist:* retadred<br>retarder - the value is in the range <0 - 1><br>value and represents the retarder activity* trans_rpm<br>- the value is in the range <0 - 3000><br>value and represents the rpm of the transmission
== Gear grind ==
Sound of grinding of the transmission gears.It have has to be 3D event. The event should be routed to the "truck_effects" audio bus.<br> The event must be looped. There are no parameters.<br>
== Gear wrong ==
Sound effect of incorrect gearbox engagement.It have has to be 3D event. The event should be routed to the "truck_effects" audio bus.<br> 
This is a simple ("one shot") event.
== Sound Configuration ==
The group of sounds configuration is stored in the "accessory_transmission_data" data.<br> There are not is no mandatory events but there are not is no default events tooeither. Only the defined sounds will be played.<br>There is array "sounds" which contents specification for the events:
* retarder
* gear_grind
* gear_wrong
<br>== Example:<br>== There are configuration files of for transmissions for the "Peterbilt 579" at the inside folder "\/def\/vehicle\/truck\/peterbilt.579\/transmission".<br> 
Each accessory include ''@include "sound.sui" '' file which contents indirect definition of the events:
<pre>