Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory sound data

184 bytes removed, 09:12, 20 June 2017
no edit summary
The '''accessory_sound_data''' unit class is used to define sounds for the [[Documentation/Engine/Game_data/Player_trucks_definitions|player's vehicle]]. Units of this type are typically found in '''/def/vehicle/truck/<makebrand.model>/sound/<type>/*.sii'''. They are mostly comprised of pointers to [[Documentation/Engine/Units/sound_data|sound_data]], [[Documentation/Engine/Units/sound_engine_data|sound_engine_data]], and [[Documentation/Engine/Units/sound_noise_data|sound_noise_data]] units which may be defined in-line or [[Documentation/Engine/Units#Includes|included]] from other sources. A valid truck configuration will contain two sound accessories: one for exterior sounds and one for interior sounds. The names for these units typically end in <code>.esound</code> for exterior sounds and <code>.isound</code> for interior sounds.
== Attributes ==
|
|style="text-align:center"|No
|Each member points to a '''sound_data''' unit defining one of the gear change sounds. This is defined as a numbered array:<pre> air_gear[0]: .airgear0 // Main Sounds are played randomly during gear change air_gear[1]: .airgear1 // Range change air_gear[2]: .airgear2 // Split change</pre>
|-
|air_brake
|
|style="text-align:center"|No
|Each member points to a '''sound_data''' unit defining one of the air brake sounds. This is defined as a numbered array:<pre> air_brake[0]: Sounds are played randomly during gear change.airbrake0 // air_brake[1]: .airbrake1 // </pre>
|-
|air_cutoff

Navigation menu