mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
2aa0072104
* Fix the issue that SFX variants are not global what means that different players can get different pressure Cookoff sounds to prevent that i split up the sounds in 3 types and used a Weighted select to have the befor used values back * add todo for 1.74 * inherit in CfgSFX from 1 class
19 lines
604 B
C++
19 lines
604 B
C++
|
|
class CfgSFX {
|
|
class GVAR(CookOff_low) {
|
|
name = QGVAR(cookoff_low);
|
|
sound[] = {QPATHTOF(sounds\cookoff_low_pressure.ogg),6,1,400,1,0,0,0};
|
|
sounds[] = {"sound"};
|
|
titles[] = {};
|
|
empty[] = {"",0,0,0,0,0,0,0};
|
|
};
|
|
class GVAR(CookOff_mid): GVAR(CookOff_low) {
|
|
name = QGVAR(cookoff_mid);
|
|
sound[] = {QPATHTOF(sounds\cookoff_mid_pressure.ogg),6,1,400,1,0,0,0};
|
|
};
|
|
class GVAR(CookOff_high): GVAR(CookOff_low) {
|
|
name = QGVAR(cookoff_high);
|
|
sound[] = {QPATHTOF(sounds\cookoff_high_pressure.ogg),6,1,400,1,0,0,0};
|
|
};
|
|
};
|