mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-06-13 21:31:56 +03:00
Update pain sound effect
Vanilla commit: https://github.com/DayZMod/DayZ/commit/7cdb2e67fde01bb1cff9be98eb76af199c7c065b
This commit is contained in:
@@ -348,6 +348,11 @@ while {1 == 1} do {
|
||||
//clearGroupIcons group player;
|
||||
|
||||
uiSleep 2;
|
||||
|
||||
//Pain Effects
|
||||
if (r_player_inpain and !r_player_unconscious) then {
|
||||
playSound "breath_1";
|
||||
};
|
||||
|
||||
_myPos = player getVariable["lastPos",[]];
|
||||
if (count _myPos > 0) then {
|
||||
|
||||
@@ -140,7 +140,7 @@ sched_medical_effectsSlow = {
|
||||
//[posCoef, vertCoef, horzCoef, bankCoef, interpolation]
|
||||
setCamShakeParams [0.02, 0.05, 0.1, 0.3, true];
|
||||
addCamShake [_strength, _duration, 0.4];
|
||||
playSound "breath_1";
|
||||
//playSound "breath_1";
|
||||
|
||||
//Lets make sure the spawn ends 1 sec after the _duration timer this should provide a smooth transtion rather then a snap to focus.
|
||||
uiSleep _duration + 1;
|
||||
|
||||
Reference in New Issue
Block a user