core.plugins.vehicles.sh_sounds
Vehicle engine sound volume.
Engine loops, gear changes and start/stop sounds of prop_vehicle_jeep are
played by the engine itself through CSoundPatch, which GM:EntityEmitSound
never sees, so their volume can only be lowered where the sound is defined. The
State blocks in scripts/vehicles/ therefore name the sound scripts below
instead of a raw .wav, and this file registers them at ENGINE_VOLUME of the
volume they used to play at.
Sounds a vehicle addon or the base game already defines (ATV_engine_idle and
friends) are re-registered with their existing properties and a scaled volume
instead.
Generated by src/vehicle-engine-sounds.py - regenerate it rather than editing
the tables below by hand.
- SharedCITYRP_VEHICLE_ENGINE_VOLUMESSource ☍
-
Volumes the inherited sounds were defined with, kept outside the file scope so that re-running it - a Lua refresh, a plugin reload - scales from the original volume again instead of compounding on top of the scaled one.