Skip to main content
Table of Contents
Print

Sound

Flashbang audio also uses distance-based falloff.

The default configuration includes:

sound-radius: 32.0
full-volume-distance: 5.0
sound-falloff-exponent: 1.0
sound-volume: 4.0
sound-pitch: 1.0

Players close to the detonation receive the configured maximum volume.

As the distance increases, the volume progressively decreases until the sound radius is reached.

The initial detonation cue can also be configured independently:

detonation-cue-volume: 8.0
detonation-cue-pitch: 1.6

Leave a Reply

MrDino Dev Cave
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.