Impact Dynamics / Configuration
Sounds
Config.Sounds - see Crash sounds.
| Setting | Default | Description |
|---|---|---|
Enabled |
true |
false also stops the passengers' screen effects (they arrive with the crash sound); the driver still gets them. |
Volume |
0.85 |
Overall volume (each player's own volume applies on top). |
Range |
70.0 |
Impacts further away are not heard. |
Glass |
false |
Our own window-smash sound on top of GTA's. Off = GTA plays its own. |
GlassRange |
45.0 |
Range of the glass sound (only with Glass = true). |
Falloff |
1.6 |
How quickly it fades with distance (1 = linear). |
Muffle |
true |
Further away = duller. |
Pan |
0.75 |
How far left / right sounds are placed (0 = centred). |
Files
Lua
Files = {
impact_light = {}, -- light hits: built-in knock
impact_medium = { 'collision_1.wav' }, -- moderate (played at 75 %)
impact_heavy = { 'collision_1.wav' }, -- heavy + severe
glass = {}, -- a side / rear window bursting (Glass = true only)
windscreen = {}, -- the windscreen going (Glass = true only)
door_jam = { 'door_jam.wav' }, -- trying / kicking a jammed door
},
Put .ogg / .wav files in html/sounds/ and list them here. One of the list is picked at random each time. An empty list uses the built-in synthesised sound.
The door sound volume and the range at which people outside hear kicking are in Jammed doors (SoundVolume, Escape.HearRange).
Still stuck? Open a ticket in the Ryan Studios Discord and we'll help you out.