mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-21 23:50:48 +03:00
Change R3F weight overburden to break legs
Also BAF_L110A1_Aim_DZE wasn't in 1051, so no need to swap it in DB.
This commit is contained in:
@@ -88,8 +88,8 @@ while {true} do {
|
||||
|
||||
[_level] call R3F_TIRED_FNCT_Voile_Noir;
|
||||
|
||||
if (R3F_TIRED_Accumulator > R3F_TIRED_BLACKOUT_LEVEL && scriptDone R3F_TIRED_Handle_Blackout_Effect && scriptDone R3F_TIRED_Handle_Blur_Effect) then {
|
||||
R3F_TIRED_Handle_Blackout_Effect = [] spawn R3F_TIRED_FNCT_DoBlackVanish;
|
||||
if (R3F_TIRED_Accumulator > R3F_TIRED_BLACKOUT_LEVEL && scriptDone R3F_TIRED_Handle_Blur_Effect) then {
|
||||
call R3F_TIRED_FNCT_DoBlackVanish;
|
||||
};
|
||||
} else {
|
||||
R3F_TIRED_Accumulator = 0;
|
||||
|
||||
@@ -23,9 +23,10 @@ R3F_TIRED_FNCT_Voile_Noir = {
|
||||
|
||||
};
|
||||
R3F_TIRED_FNCT_DoBlackVanish = {
|
||||
[player,0.1] call fnc_usec_damageUnconscious;
|
||||
_refObj = player;
|
||||
[_refObj,"scream",3,false] call dayz_zombieSpeak;
|
||||
"You are overburdened." call dayz_rollingMessages;
|
||||
if (!r_fracture_legs) then {
|
||||
player setHit["legs",1];
|
||||
r_fracture_legs = true;
|
||||
};
|
||||
localize "STR_R3F_WEIGHT_Overburdened" call dayz_rollingMessages;
|
||||
};
|
||||
|
||||
|
||||
@@ -16,8 +16,7 @@ R3F_Weight = 0;
|
||||
|
||||
R3F_TIRED_Ratio_Position = 0;
|
||||
R3F_TIRED_Accumulator = 0;
|
||||
R3F_TIRED_Handle_Blur_Effect = [] spawn {};
|
||||
R3F_TIRED_Handle_Blackout_Effect = [] spawn {};
|
||||
R3F_TIRED_Handle_Blur_Effect = [] spawn {};
|
||||
R3F_TIRED_Counter_Time = 0;
|
||||
R3F_TIRED_Ratio_Recovery = R3F_TIRED_RATIO_RECOVERING;
|
||||
R3F_TIRED_Ratio_Overweight = 1;
|
||||
|
||||
@@ -13791,6 +13791,15 @@
|
||||
<French>Kg</French>
|
||||
<Czech>Kg</Czech>
|
||||
</Key>
|
||||
<Key ID="STR_R3F_WEIGHT_Overburdened">
|
||||
<English>You are overburdened.</English>
|
||||
<German>Sie sind überfordert.</German>
|
||||
<Russian>Вы перегружена.</Russian>
|
||||
<Spanish>Usted está sobrecargado.</Spanish>
|
||||
<Dutch>Je bent overbelast.</Dutch>
|
||||
<French>Vous êtes surchargé.</French>
|
||||
<Czech>Jste přetížené.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_autojoin_warning">
|
||||
<English>You will auto-join the game in %1 seconds. Press ESC to cancel and leave the lobby.</English>
|
||||
<German>Sie werden automatisch in das Spiel in %1 Sekunden. Drücken Sie ESC, um den Vorgang abzubrechen und lassen Sie die Lobby.</German>
|
||||
|
||||
Reference in New Issue
Block a user