mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-10 02:02:54 +03:00
0.996a
+ [REVERT] Removed a bunch of force gear saves that should no longer be needed. + [FIXED] Removed auto refuel from lingor gas stations. + [FIXED] Removed auto refuel and repair lingor hangars. + [REMOVED] Bear Traps and Land Mines. + [FIXED] Removed radar from chinhook with _DZ variant. + [FIXED] Possible fix for extra intel in heliocopters.
This commit is contained in:
@@ -19,8 +19,8 @@ if (_ammo != "") then {
|
||||
_vehicle addMagazineTurret [_ammo,_turret];
|
||||
player removeMagazine _ammo;
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
cutText [format["You have successfully loaded %1 ammunition.",_ammoType], "PLAIN DOWN"];
|
||||
} else {
|
||||
|
||||
@@ -36,8 +36,8 @@ if (_hasbottleitem and _hastinitem) then {
|
||||
player addMagazine "ItemWaterbottleBoiled";
|
||||
|
||||
};
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
|
||||
cutText [format[(localize "str_player_01"),_qty], "PLAIN DOWN"];
|
||||
|
||||
@@ -85,8 +85,8 @@ if(!_cancel) then {
|
||||
|
||||
player removeMagazine _item;
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
@@ -26,8 +26,8 @@ _cookedmeat = meatcooked;
|
||||
player addMagazine _meatcooked;
|
||||
if !(_meat in magazines player) exitWith {cutText [format[(localize "str_player_31"),_text,"cook"] , "PLAIN DOWN"]};
|
||||
};
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
cutText [format[(localize "str_success_cooked"),_qty,_text], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
@@ -10,8 +10,8 @@ if ("ItemJerrycanEmpty" in magazines player) then {
|
||||
player removeMagazine "ItemJerrycanEmpty";
|
||||
player addMagazine "ItemJerrycan";
|
||||
};
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
|
||||
@@ -91,8 +91,8 @@ if (_hasrequireditem or _bypass) then {
|
||||
_dir = getDir player;
|
||||
player removeMagazine _item;
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
player playActionNow "Medic";
|
||||
sleep 1;
|
||||
|
||||
@@ -16,8 +16,8 @@ _newFuel = (_newFuel / _capacity);
|
||||
player removeMagazine "ItemJerrycan";
|
||||
player addMagazine "ItemJerrycanEmpty";
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
player playActionNow "Medic";
|
||||
_dis=10;
|
||||
|
||||
@@ -28,8 +28,8 @@ if (_section and _hasToolbox) then {
|
||||
|
||||
player removeMagazine _part;
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
//Fix the part
|
||||
_selection = getText(configFile >> "cfgVehicles" >> _type >> "HitPoints" >> _hitpoint >> "name");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
private["_vehicle","_part","_hitpoint","_type","_selection","_array"];
|
||||
|
||||
disableSerialization;
|
||||
//disableSerialization;
|
||||
|
||||
_id = _this select 2;
|
||||
_array = _this select 3;
|
||||
@@ -44,7 +44,7 @@ if (_hasToolbox) then {
|
||||
_brokenPart = false;
|
||||
|
||||
|
||||
call dayz_forceSave;
|
||||
//call dayz_forceSave;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ if (_newFuel > 0) then {
|
||||
player removeMagazine "ItemJerrycanEmpty";
|
||||
player addMagazine "ItemJerrycan";
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
player playActionNow "Medic";
|
||||
[player,"refuel",0,false] call dayz_zombieSpeak;
|
||||
|
||||
@@ -46,8 +46,8 @@ if (_qty >= _qty_in) then {
|
||||
player removeMagazine _part_in;
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
_dir = round(random 360);
|
||||
|
||||
@@ -75,8 +75,8 @@ if (_qty >= _qty_in) then {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
_obj = _obj select 0;
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
|
||||
@@ -47,8 +47,8 @@ if (_qty >= _qty_in) then {
|
||||
player removeMagazine _part_in;
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
_dir = round(random 360);
|
||||
|
||||
@@ -81,8 +81,8 @@ if (_qty >= _qty_in) then {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
_obj = _obj select 0;
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
|
||||
@@ -44,8 +44,8 @@ if (_bulkqty >= 1) then {
|
||||
_part_in = "bulk_" + _part_in;
|
||||
player removeMagazine _part_in;
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
diag_log format["DEBUG remove magazine %1", _part_in];
|
||||
|
||||
@@ -99,8 +99,8 @@ if (_bulkqty >= 1) then {
|
||||
};
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
|
||||
@@ -140,8 +140,8 @@ if (_bulkqty >= 1) then {
|
||||
// player addBackpack _part_out;
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
|
||||
|
||||
@@ -37,8 +37,8 @@ if (_bulkqty >= 1) then {
|
||||
_part_in = "bulk_" + _part_in;
|
||||
player removeMagazine _part_in;
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
// diag_log format["DEBUG remove magazine %1", _part_in];
|
||||
|
||||
@@ -100,8 +100,8 @@ if (_bulkqty >= 1) then {
|
||||
};
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
|
||||
@@ -142,8 +142,8 @@ if (_bulkqty >= 1) then {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
// [player,"repair",0,false] call dayz_zombieSpeak;
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),(_qty_in*_qty),_textPartIn,(_qty_out*_qty),_textPartOut], "PLAIN DOWN"];
|
||||
|
||||
@@ -72,8 +72,8 @@ if (_qty >= _qty_in) then {
|
||||
};
|
||||
if(_total_out > 0) then {
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_total_in,_textPartIn,_total_out,_textPartOut], "PLAIN DOWN"];
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
@@ -97,8 +97,8 @@ if (_bulkqty >= 1) then {
|
||||
};
|
||||
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
dayzTradeResult = nil;
|
||||
|
||||
@@ -138,8 +138,8 @@ if (_bulkqty >= 1) then {
|
||||
|
||||
// [player,"repair",0,false] call dayz_zombieSpeak;
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
disableSerialization;
|
||||
call dayz_forceSave;
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
s_player_parts_crtl = -1;
|
||||
|
||||
@@ -4,7 +4,7 @@ private["_position","_tent","_location","_isOk","_backpack","_tentType","_trg","
|
||||
if(TradeInprogress) exitWith { cutText ["Vault pitching already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
disableSerialization;
|
||||
//disableSerialization;
|
||||
|
||||
_playerPos = getPosATL player;
|
||||
_item = _this;
|
||||
@@ -110,7 +110,7 @@ if(!_cancel) then {
|
||||
|
||||
player removeMagazine _item;
|
||||
|
||||
call dayz_forceSave;
|
||||
//call dayz_forceSave;
|
||||
|
||||
_dir = round(direction player);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user