Sound: SoundShader – Arma 3
Jump to navigation
Jump to search
Dusa_bi_wiki (talk | contribs) (Created page with "== SoundShader == SoundShader is the lowest level of sound configuration. It contains wave files definition and basic set of parameters. All SoundShaders have to be defined...") |
Dusa_bi_wiki (talk | contribs) No edit summary |
||
Line 51: | Line 51: | ||
|- | |- | ||
!''rangeCurve'' | |||
| {{d0, v0}, {d1, v1}, ... } or Class name | | {{d0, v0}, {d1, v1}, ... } or Class name | ||
| none | | none | ||
Line 58: | Line 58: | ||
* if shader is not used in submix (only one SoundShader in SoundSet), this parameter is currently ignored | * if shader is not used in submix (only one SoundShader in SoundSet), this parameter is currently ignored | ||
|- | |||
!''limitation'' | |||
| bool | |||
| false | |||
| | |||
* adds SoundShader to the group of SoundShaders, where number of simultaneously playing SoundShaders will be limited (within single SoundSet) | * adds SoundShader to the group of SoundShaders, where number of simultaneously playing SoundShaders will be limited (within single SoundSet) | ||
Revision as of 15:31, 21 September 2016
SoundShader
SoundShader is the lowest level of sound configuration. It contains wave files definition and basic set of parameters.
All SoundShaders have to be defined in the base class CfgSoundShaders.
For single SoundShader (SoundSet respectively), use wave files with the same frequency. |
parameter | unit/values | default | descriptions |
---|---|---|---|
sound | {["path/sound",p], ...} | none |
|
volume | float (0..n) or [dBFS]} | 1 (= db0) |
|
frequency | (0.5..2) | 1 |
|
range | (0..n) [m] | 0 |
|
rangeCurve | {{d0, v0}, {d1, v1}, ... } or Class name | none |
|
limitation | bool | false |
|
class CfgSoundShaders
{
class ACPC2_closeShot_SoundShader
{
samples[] =
{
{ "A3\Sounds_F\arsenal\weapons\Pistols\Acpc2\ACPC2_closeShot_01", 1 },
{ "A3\Sounds_F\arsenal\weapons\Pistols\Acpc2\ACPC2_closeShot_02", 1 },
{ "A3\Sounds_F\arsenal\weapons\Pistols\Acpc2\ACPC2_closeShot_03", 1 }
};
volume = db0;
range = 50;
rangeCurve = closeShotCurve;
};
};