Merge pull request #1627 from SplenectomY/patch-2

Add female coughing sounds
This commit is contained in:
vbawol
2015-04-03 22:53:51 -05:00
5 changed files with 17 additions and 3 deletions

View File

@@ -39,11 +39,10 @@ if (count _this > 4) then {
};
_isWoman = getText(configFile >> "cfgVehicles" >> (typeOf _unit) >> "TextPlural") == "Women";
if (_isWoman && (_type in ["scream","panic"])) then {
if (_isWoman && (_type in ["scream","panic","cough"])) then {
_type = _type + "_w";
};
if ((round(random _chance) == _chance) || (_chance == 0)) then {
_rnd =(round(random _num));
_sound = "z_" + _type + "_" + str(_rnd);

View File

@@ -145,6 +145,21 @@ class CfgSounds {
sound[] = {"\dayz_sfx\effects\cough_2.ogg",0.3,1,40};
titles[] = {};
};
class z_cough_w_0 {
name = "";
sound[] = {"\dayz_sfx\effects\cough_w_0.ogg",0.5,1.5,40};
titles[] = {};
};
class z_cough_w_1 {
name = "";
sound[] = {"\dayz_sfx\effects\cough_w_1.ogg",0.4,1.5,40};
titles[] = {};
};
class z_cough_w_2 {
name = "";
sound[] = {"\dayz_sfx\effects\cough_w_2.ogg",0.3,1.5,40};
titles[] = {};
};
class z_bandage_0 {
name = "";
sound[] = {"\dayz_sfx\effects\bandage_0.ogg",0.3,1,40};

Binary file not shown.

Binary file not shown.

Binary file not shown.