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:
ebaydayz
2016-04-23 19:51:56 -04:00
parent 8582e7b97a
commit 6bee7a17f0
6 changed files with 19 additions and 14 deletions

View File

@@ -42,10 +42,11 @@
[CHANGED] Several getPosATL changed to call FNC_GetPos for water compatibility @icomrade
[CHANGED] Trader city objects are now spawned locally on each machine with simulation disabled for better performance. Admins can still override with custom cities in init.sqf. @ebaydayz
[CHANGED] Player zombies are no longer attacked by other zombies. The respawn button is now enabled for them if they wish to suicide. @ebaydayz
[CHANGED] When R3Fweight is enabled overburdened players now get their legs broken instead of being knocked out. The scream was also removed. #1145 @ebaydayz
[FIXED] Zombies now target and attack players correctly with 1.8.7 code
[FIXED] Server position sync bug after falling unconscious #1522 @ebaydayz
[FIXED] Character sometimes failing to sync after changing clothes #1545 @ebaydayz
[FIXED] Character sometimes failing to sync after changing clothes #1545
[FIXED] Backpack wipes when changing clothes. #1361 @icomrade
[FIXED] CH53 gear when locked #1364 @icomrade
[FIXED] Infinite loop when crafting ore into bars #1351 @icomrade

View File

@@ -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;

View File

@@ -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;
};

View File

@@ -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;

View File

@@ -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>

View File

@@ -220,11 +220,6 @@ UPDATE character_data SET Backpack = REPLACE(Backpack, 'G36K_camo', 'G36K_Camo_D
UPDATE character_data SET Inventory = REPLACE(Inventory, 'G36K_camo', 'G36K_Camo_DZ') WHERE INSTR(Inventory, 'G36K_camo') > 0;
UPDATE object_data SET Inventory = REPLACE(Inventory, 'G36K_camo', 'G36K_Camo_DZ') WHERE INSTR(Inventory, 'G36K_camo') > 0;
UPDATE `Traders_DATA` SET `item` = '["L110A1_CCO_DZ",1]' WHERE `item` = '["BAF_L110A1_Aim_DZE",1]';
UPDATE character_data SET Backpack = REPLACE(Backpack, 'BAF_L110A1_Aim_DZE', 'L110A1_CCO_DZ') WHERE INSTR(Backpack, 'BAF_L110A1_Aim_DZE') > 0;
UPDATE character_data SET Inventory = REPLACE(Inventory, 'BAF_L110A1_Aim_DZE', 'L110A1_CCO_DZ') WHERE INSTR(Inventory, 'BAF_L110A1_Aim_DZE') > 0;
UPDATE object_data SET Inventory = REPLACE(Inventory, 'BAF_L110A1_Aim_DZE', 'L110A1_CCO_DZ') WHERE INSTR(Inventory, 'BAF_L110A1_Aim_DZE') > 0;
UPDATE `Traders_DATA` SET `item` = '["L85_Holo_DZ",1]' WHERE `item` = '["BAF_L85A2_RIS_Holo",1]';
UPDATE character_data SET Backpack = REPLACE(Backpack, 'BAF_L85A2_RIS_Holo', 'L85_Holo_DZ') WHERE INSTR(Backpack, 'BAF_L85A2_RIS_Holo') > 0;
UPDATE character_data SET Inventory = REPLACE(Inventory, 'BAF_L85A2_RIS_Holo', 'L85_Holo_DZ') WHERE INSTR(Inventory, 'BAF_L85A2_RIS_Holo') > 0;