Difference between revisions of "Documentation/Engine/Sound/TruckTransmission"

From SCS Modding Wiki
Jump to navigation Jump to search
(Created page with "aaa")
 
Line 1: Line 1:
aaa
+
=== 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 ==
 +
 
 +
== Gear grind ==
 +
 
 +
== Gear wrong ==
 +
 
 +
 
 +
 
 +
== Engine Sound Configuration ==
 +
 
 +
The group of sounds configuration is stored in the "accessory_transmission_data" data.<br>
 +
There are not mandatory events but there are not default events too. 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 engines for the "Peterbilt 579" at the folder "\def\vehicle\truck\peterbilt.579\transmission".<br>
 +
Each accessory include ''@include "sound.sui" '' file which contents indirect definition of the events:
 +
<pre>
 +
sounds: 3
 +
sounds[]: "retarder|/sound/truck/default/retarder.soundref"
 +
sounds[]: "gear_grind|/sound/truck/default/effects_gear_grind.soundref"
 +
sounds[]: "gear_wrong|/sound/truck/default/effects_gear_wrong.soundref"
 +
<\pre>

Revision as of 12:06, 15 October 2020

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

Gear grind

Gear wrong

Engine Sound Configuration

The group of sounds configuration is stored in the "accessory_transmission_data" data.
There are not mandatory events but there are not default events too. Only the defined sounds will be played.
There is array "sounds" which contents specification for the events:

  • retarder
  • gear_grind
  • gear_wrong


Example:
There are configuration files of engines for the "Peterbilt 579" at the folder "\def\vehicle\truck\peterbilt.579\transmission".
Each accessory include @include "sound.sui" file which contents indirect definition of the events:

	sounds: 3
	sounds[]: "retarder|/sound/truck/default/retarder.soundref"
	sounds[]: "gear_grind|/sound/truck/default/effects_gear_grind.soundref"
	sounds[]: "gear_wrong|/sound/truck/default/effects_gear_wrong.soundref"
<\pre>