diff --git a/CHANGE LOG 1.0.6.1.txt b/CHANGE LOG 1.0.6.1.txt index 7ec0fd664..9438a02f2 100644 --- a/CHANGE LOG 1.0.6.1.txt +++ b/CHANGE LOG 1.0.6.1.txt @@ -10,6 +10,7 @@ [CHANGED] Removed drink from hands at ponds due to client FPS impact. Players can still fill drinks at ponds by right clicking a container. @ebayShopper [CHANGED] Added point of interest and infectious waterhole map objects are disabled by default due to FPS impact. They can be enabled in init.sqf. [CHANGED] Added shadow to dayz_rollingMessages white text so it is visible on light colored backgrounds and looks like cutText. +[CHANGED] Reverted pain to old violent shaking effect instead of subtle gun sway. #1839 @AirwavesMan @schwanzkopfhegel [FIXED] Wrong texture for z_hunter zombie. #1805 @schwanzkopfhegel @ebayShopper [FIXED] Refuel with generator at gas station not working. #1806 @Helios27 @ebayShopper diff --git a/SQF/dayz_code/system/scheduler/sched_medical.sqf b/SQF/dayz_code/system/scheduler/sched_medical.sqf index 7d1057955..793216bf7 100644 --- a/SQF/dayz_code/system/scheduler/sched_medical.sqf +++ b/SQF/dayz_code/system/scheduler/sched_medical.sqf @@ -126,18 +126,16 @@ sched_medical_effectsSlow = { HIDE_FSM_VARS if ((r_player_inpain or dayz_thirst >= SleepWater) and !r_player_unconscious and (1 > random 9) and (0 == player getVariable["startcombattimer",0])) then { - _blurTask = [] spawn { - _strength = 0.5 + (random 1); - _duration = 8 + (random 10); + _duration = 10 + (random 10); + _blurTask = [1 + (random 2), _duration] spawn { + _strength = _this select 0; + _duration = _this select 1; enableCamShake true; - - //[posCoef, vertCoef, horzCoef, bankCoef, interpolation] - setCamShakeParams [0.02, 0.05, 0.1, 0.3, true]; - addCamShake [_strength, _duration, 0.4]; + //[posCoef, vertCoef, horzCoef, bankCoef, interpolation] + setCamShakeParams [0.02, 0.2, 1, 2, true]; + addCamShake [3 * _strength, _duration, 0.4]; //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; + uiSleep _duration; }; };