Changes

Jump to navigation Jump to search

Games/ETS2/Modding guides/1.39

16 bytes added, 22:10, 9 October 2020
Accessories
All core vehicle accessories have new attribute '''sounds'''. It is string array and each item has format of "''sound_name|sound_path''". Sound path could be defined by three ways:
* Empty string or "-" means no sound is played. Also if the item is missing at all no sample will be plaed for given sound.
* Path to sound reference file ("''*.soundref''") file where sound event is written. This indirection suport easier modding if you only need link another sound wihtout actually touching sound banks.* Event "''bank_path#event_name''" which directly specifies event in sound bank. Advantage of this direct approach is simplicity and readability.
Most of the sounds events are former attributes of old sound accessory. For detailed info about all sounds and their names in each accessory see their lists below.
I our data the basic mechanism is that accessories of given type share "''sound.sui''" file that contains mentioned sounds array. In array are links to shared soudrefs or to unique soundrefs, and in them are names of specific banks and events. This can be modded by many ways and on many levels. First, you can directly change the accessory itself (eg make own sound set). Or you can change content of shared "''sound.sui''" (without touching the accessory itself which will make mod more compatible with future updates). Or you can mod a single sound just by modifying its soundref (both shared or unique sounds). Or you can change sample in bank.
== Vehicle Data ==
515
edits

Navigation menu