Arma 3: Sound: cfgSoundCurves
(Redirected from Arma 3 Sound: cfgSoundCurves)Jump to navigation Jump to search
Instead of having to define many points every time you need to define a curve (for example for the rangeCurve in a SoundShader) you can use the class CfgSoundCurves to define specific sound curves and then just use the names of these soundCurves in your sound configurations. Let's look at an example CfgSoundCurves entry:
This entry uses relative distance values (0=0m, 1=maximum range) and is called "closureVolumeCurve". So in an example SoundShader we can use: rangeCurve = closureVolumeCurve because we have defined it in cfgSoundCurves.