Changes

Jump to navigation Jump to search

Documentation/Engine/Sound/TruckEngine

873 bytes added, 11:39, 15 October 2020
Engine Sound Configuration
== Engine Sound Configuration ==
The sound bank specification configuration of the engine sounds is stored in the "accessory_engine_data" data.<br>There is item array "soundsounds" which content game relative path to contents specification for the mandatory events of the sound bank to be usedengine.<br>
That means that each type of the engine can have assigned its own sound bank.<br>
<br>
Example:<br>
There are configuration files of engines for the "Peterbilt 579" at the folder "\def\vehicle\truck\peterbilt.579\engine".<br>
Each engine include ''@include "sound.sui" '' file which contents indirect definition of the events:
[[User:Lubos.scs|Lubos.scs]] ([[User talk:Lubos.scs|talk]])
sounds:4
sounds[]: "engine|/def/vehicle/truck/peterbilt.579/engine/sound_engine.soundref"
sounds[]: "exhaust|/def/vehicle/truck/peterbilt.579/engine/sound_exhaust.soundref"
sounds[]: "start_bad|/def/vehicle/truck/peterbilt.579/engine/sound_start_bad.soundref"
sounds[]: "turbo|/def/vehicle/truck/peterbilt.579/engine/sound_turbo.soundref"
[[User:Lubos.scs|Lubos.scs]] ([[User talk:Lubos.scs|talk]])
There are .soundref file (for each event) to specify bank end FMOD event of the sound.
 
Content of the sound_engine.soundref is:
[[User:Lubos.scs|Lubos.scs]] ([[User talk:Lubos.scs|talk]])
source="/sound/truck/peterbilt_579.bank#engine/engine"
[[User:Lubos.scs|Lubos.scs]] ([[User talk:Lubos.scs|talk]])
 
The record<br>sound: ''"/sound/truck/peterbilt_579.bank"''<br>at the any engine configuration file assigns the sound bank to the engine.
255
edits

Navigation menu