Open main menu

Changes

Documentation/Engine/Sound/Tires

1,518 bytes added, 12:39, 2 August 2023
Created page with "=== Sounds - Tires === This section is related to the sound of tires on different road substances.<br> <br> == Tire Sound Events == Tire sounds are kept separate for the truc..."
=== Sounds - Tires ===
This section is related to the sound of tires on different road substances.<br>
<br>

== Tire Sound Events ==
Tire sounds are kept separate for the truck tires and trailer tires, but both have the same events and parameters.<br>
Currently there are 4 supported substances each with their own sound event:
* asphalt
* rumble
* gravel
* grass<br>

=== Tire Sound Parameters ===

Sound parameters:
* <name_of_event>/speed<br>The parameter "speed" (km/h) controls the pitch and volume of the substance sound.
* skid_speed<br>The parameter "skid_speed" (m/s) represents the speed of wheel slip in either direction.
* note<br>The parameter "note" is present only for the "rumble" substance<br>It is a frequency multiplier that is applied to the root note G and forming the melody for the singing road.

== Engine Sound Configuration ==

The tire sounds paths are stored in these 4 soundrefs for truck:<br>
<pre>
sound/tires/rumble.soundref
sound/tires/grass.soundref
sound/tires/gravel.soundref
sound/tires/asphalt.soundref
</pre>
and these 4 for trailer:<br>
<pre>
sound/trailer/tires/rumble.soundref
sound/trailer/tires/grass.soundref
sound/trailer/tires/gravel.soundref
sound/trailer/tires/asphalt.soundref
</pre>
<br>
Example:<br>
Content of the "sound/tires/rumble.soundref" is:
<pre>
source="/sound/tires/tires.bank#rumble"
</pre>

The location of the sound bank for the truck: ''"/sound/tires/tires.bank"''<br>
and sound bank for the trailer: ''"/sound/trailer/tires/tires.bank"''<br>
developer
1
edit