mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
Fix dramatic recoil camera shake bug
As reported in:
https://epochmod.com/forum/topic/43817-horrible-visual-recoil-bug-since-1061/
Vanilla commit:
1d80da5813
This commit is contained in:
@@ -89,7 +89,8 @@ fnc_usec_bulletHit = {
|
||||
if (!r_player_unconscious) then {
|
||||
"colorCorrections" ppEffectEnable true; "colorCorrections" ppEffectAdjust [1, 1.1, -0.02, [0.4,-0.2,-0.2, .04], [1,1,1,0], [1,1,1, 0]]; "colorCorrections" ppEffectCommit 0;
|
||||
"dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [1]; "dynamicBlur" ppEffectCommit 0;
|
||||
setCamShakeParams [0.05, 4, 1, 3, true]; addCamShake [5, 0.5, 25];
|
||||
//setCamShakeParams [0.05, 4, 1, 3, true];
|
||||
addCamShake [5, 0.5, 25];
|
||||
"colorCorrections" ppEffectAdjust [1, 1, 0, [0,0,0,0], [1, 1, 1, 1], [1, 1, 1, 1]]; "colorCorrections" ppEffectCommit _commit;
|
||||
"dynamicBlur" ppEffectAdjust [0]; "dynamicBlur" ppEffectCommit _commit;
|
||||
};
|
||||
@@ -241,8 +242,6 @@ fnc_usec_playerHandleBlood = {
|
||||
if (_elapsedTime > _bleedTime) then {
|
||||
r_player_injured = false;
|
||||
_id = [player,player] execVM "\z\addons\dayz_code\medical\publicEH\medBandaged.sqf";
|
||||
dayz_sourceBleeding = objNull;
|
||||
call fnc_usec_resetWoundPoints;
|
||||
};
|
||||
|
||||
_bloodDiff = r_player_blood - (player getVariable["USEC_BloodQty", r_player_bloodTotal]);
|
||||
|
||||
Reference in New Issue
Block a user