Changes

Jump to navigation Jump to search

Documentation/Engine/Units/accessory sound data

180 bytes removed, 20:35, 12 July 2017
Air brake sounds don't play during gear changes. :P
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 always end in with <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 Sounds are played randomly when the service brake is defined as a numbered array:<pre> air_brake[0]: released.airbrake0 // air_brake[1]: .airbrake1 // </pre>
|-
|air_cutoff
|
|style="text-align:center"|'''Yes'''
|Each member points to a '''sound_noise_datasound_data''' unit collectively defining the sound of the drivetraingears when damaged.
|-
|gear_grind_loop
309
edits

Navigation menu