mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Merge pull request #1627 from SplenectomY/patch-2
Add female coughing sounds
This commit is contained in:
@@ -39,11 +39,10 @@ if (count _this > 4) then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
_isWoman = getText(configFile >> "cfgVehicles" >> (typeOf _unit) >> "TextPlural") == "Women";
|
_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";
|
_type = _type + "_w";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
if ((round(random _chance) == _chance) || (_chance == 0)) then {
|
if ((round(random _chance) == _chance) || (_chance == 0)) then {
|
||||||
_rnd =(round(random _num));
|
_rnd =(round(random _num));
|
||||||
_sound = "z_" + _type + "_" + str(_rnd);
|
_sound = "z_" + _type + "_" + str(_rnd);
|
||||||
|
|||||||
@@ -145,6 +145,21 @@ class CfgSounds {
|
|||||||
sound[] = {"\dayz_sfx\effects\cough_2.ogg",0.3,1,40};
|
sound[] = {"\dayz_sfx\effects\cough_2.ogg",0.3,1,40};
|
||||||
titles[] = {};
|
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 {
|
class z_bandage_0 {
|
||||||
name = "";
|
name = "";
|
||||||
sound[] = {"\dayz_sfx\effects\bandage_0.ogg",0.3,1,40};
|
sound[] = {"\dayz_sfx\effects\bandage_0.ogg",0.3,1,40};
|
||||||
|
|||||||
BIN
SQF/dayz_sfx/effects/cough_w_0.ogg
Normal file
BIN
SQF/dayz_sfx/effects/cough_w_0.ogg
Normal file
Binary file not shown.
BIN
SQF/dayz_sfx/effects/cough_w_1.ogg
Normal file
BIN
SQF/dayz_sfx/effects/cough_w_1.ogg
Normal file
Binary file not shown.
BIN
SQF/dayz_sfx/effects/cough_w_2.ogg
Normal file
BIN
SQF/dayz_sfx/effects/cough_w_2.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user