mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
1.0.2.13 developer build
This commit is contained in:
@@ -3129,7 +3129,7 @@ class CfgMagazines {
|
|||||||
neednearby[] = {"workshop"};
|
neednearby[] = {"workshop"};
|
||||||
requiretools[] = {"ItemToolbox"};
|
requiretools[] = {"ItemToolbox"};
|
||||||
output[] = {};
|
output[] = {};
|
||||||
outputWeapon[] = {{"ItemSledge",1}};
|
outputweapons[] = {"ItemSledge"};
|
||||||
input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}};
|
input[] = {{"ItemSledgeHead",1},{"ItemSledgeHandle",1}};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -446,8 +446,8 @@ class CfgLoot {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
0.09,
|
0.09,
|
||||||
0.09,
|
0.10,
|
||||||
0.09,
|
0.10,
|
||||||
0.11,
|
0.11,
|
||||||
0.09,
|
0.09,
|
||||||
0.06,
|
0.06,
|
||||||
@@ -459,7 +459,7 @@ class CfgLoot {
|
|||||||
0.01,
|
0.01,
|
||||||
0.03,
|
0.03,
|
||||||
0.05,
|
0.05,
|
||||||
0.04
|
0.02
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -563,4 +563,16 @@ class CfgLoot {
|
|||||||
0.04
|
0.04
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
tents[] = {
|
||||||
|
{
|
||||||
|
"ItemTentOld",
|
||||||
|
"ItemTentDomed",
|
||||||
|
"ItemTentDomed2",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
0.34,
|
||||||
|
0.33,
|
||||||
|
0.33,
|
||||||
|
}
|
||||||
|
};
|
||||||
};
|
};
|
||||||
@@ -1411,14 +1411,14 @@ class CfgVehicles {
|
|||||||
scope = 2;
|
scope = 2;
|
||||||
destrType = "DestructNo";
|
destrType = "DestructNo";
|
||||||
cost = 100;
|
cost = 100;
|
||||||
offset[] = {0,1.5,0.5};
|
offset[] = {0,1.5,0};
|
||||||
model = "\ca\misc\jezek_kov";
|
model = "\ca\misc\jezek_kov";
|
||||||
icon = "\ca\data\data\Unknown_object.paa";
|
icon = "\ca\data\data\Unknown_object.paa";
|
||||||
mapSize = 2;
|
mapSize = 2;
|
||||||
armor = 400;
|
armor = 400;
|
||||||
displayName = "Hedgehog (Steel)";
|
displayName = "Hedgehog (Steel)";
|
||||||
vehicleClass = "Fortifications";
|
vehicleClass = "Fortifications";
|
||||||
constructioncount = 3;
|
constructioncount = 1;
|
||||||
removeoutput[] = {{"ItemTankTrap",1}};
|
removeoutput[] = {{"ItemTankTrap",1}};
|
||||||
};
|
};
|
||||||
// WorkBench_DZ
|
// WorkBench_DZ
|
||||||
@@ -2466,7 +2466,7 @@ class CfgVehicles {
|
|||||||
displayName = "$STR_EQUIP_NAME_20";
|
displayName = "$STR_EQUIP_NAME_20";
|
||||||
class transportmagazines
|
class transportmagazines
|
||||||
{
|
{
|
||||||
class _xx_ItemTentDomed2
|
class _xx_ItemTentOld
|
||||||
{
|
{
|
||||||
magazine = "ItemTentOld";
|
magazine = "ItemTentOld";
|
||||||
count = 1;
|
count = 1;
|
||||||
@@ -2479,7 +2479,7 @@ class CfgVehicles {
|
|||||||
displayName = "Domed Desert Tent";
|
displayName = "Domed Desert Tent";
|
||||||
class transportmagazines
|
class transportmagazines
|
||||||
{
|
{
|
||||||
class _xx_ItemTentDomed2
|
class _xx_ItemTentDomed
|
||||||
{
|
{
|
||||||
magazine = "ItemTentDomed";
|
magazine = "ItemTentDomed";
|
||||||
count = 1;
|
count = 1;
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ class RscDisplayMain : RscStandardDisplay
|
|||||||
class DAYZ_Version : CA_Version
|
class DAYZ_Version : CA_Version
|
||||||
{
|
{
|
||||||
idc = -1;
|
idc = -1;
|
||||||
text = "DayZ Epoch 1.0.2.1";
|
text = "DayZ Epoch 1.0.2.13 DEV";
|
||||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
||||||
};
|
};
|
||||||
delete CA_TitleMainMenu;
|
delete CA_TitleMainMenu;
|
||||||
|
|||||||
@@ -7,6 +7,9 @@ private ["_location","_dir","_classname","_item","_hasrequireditem","_missing","
|
|||||||
if(TradeInprogress) exitWith { cutText ["Building already in progress." , "PLAIN DOWN"]; };
|
if(TradeInprogress) exitWith { cutText ["Building already in progress." , "PLAIN DOWN"]; };
|
||||||
TradeInprogress = true;
|
TradeInprogress = true;
|
||||||
|
|
||||||
|
// disallow building if too many objects are found within 30m
|
||||||
|
if((count ((position player) nearObjects ["All",30])) >= DZE_BuildingLimit) exitWith {TradeInprogress = false; cutText ["Cannot build, too many objects witin 30m.", "PLAIN DOWN"];};
|
||||||
|
|
||||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||||
_isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming;
|
_isWater = (surfaceIsWater (getPosATL player)) or dayz_isSwimming;
|
||||||
_cancel = false;
|
_cancel = false;
|
||||||
|
|||||||
@@ -13,6 +13,14 @@ s_player_maint_build = 1;
|
|||||||
// get cursortarget from addaction
|
// get cursortarget from addaction
|
||||||
_obj = _this select 3;
|
_obj = _this select 3;
|
||||||
|
|
||||||
|
// Find objectID
|
||||||
|
_objectID = _obj getVariable ["ObjectID","0"];
|
||||||
|
|
||||||
|
// Find objectUID
|
||||||
|
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||||
|
|
||||||
|
if(_objectID == "0" && _objectUID == "0") exitWith {TradeInprogress = false; s_player_maint_build = -1; cutText ["Not setup yet.", "PLAIN DOWN"];};
|
||||||
|
|
||||||
// Get classname
|
// Get classname
|
||||||
_classname = typeOf _obj;
|
_classname = typeOf _obj;
|
||||||
|
|
||||||
@@ -75,12 +83,6 @@ if (_proceed) then {
|
|||||||
// Get direction
|
// Get direction
|
||||||
_dir = getDir _obj;
|
_dir = getDir _obj;
|
||||||
|
|
||||||
// Find objectID
|
|
||||||
_objectID = _obj getVariable ["ObjectID","0"];
|
|
||||||
|
|
||||||
// Find objectUID
|
|
||||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
|
||||||
|
|
||||||
// Find CharacterID
|
// Find CharacterID
|
||||||
_objectCharacterID = _obj getVariable ["CharacterID","0"];
|
_objectCharacterID = _obj getVariable ["CharacterID","0"];
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
DayZ Base Building Upgrades
|
DayZ Base Building Upgrades
|
||||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
||||||
*/
|
*/
|
||||||
private ["_location","_dir","_classname","_missing","_text","_proceed","_num_removed","_object","_missingQty","_itemIn","_countIn","_qty","_removed","_removed_total","_tobe_removed_total","_objectID","_objectUID","_temp_removed_array","_textMissing","_newclassname","_requirements","_obj","_upgrade","_lockable","_combination_1_Display","_combination_1","_combination_2","_combination_3","_combination","_combinationDisplay","_objectCharacterID"];
|
private ["_location","_dir","_classname","_missing","_text","_proceed","_num_removed","_object","_missingQty","_itemIn","_countIn","_qty","_removed","_removed_total","_tobe_removed_total","_objectID","_objectUID","_temp_removed_array","_textMissing","_newclassname","_requirements","_obj","_upgrade","_lockable","_combination_1","_combination_2","_combination_3","_combination","_objectCharacterID","_canBuildOnPlot","_friendlies","_nearestPole","_ownerID","_distance","_needText","_findNearestPoles","_findNearestPole","_IsNearPlot"];
|
||||||
|
|
||||||
if(TradeInprogress) exitWith { cutText ["Upgrade already in progress." , "PLAIN DOWN"]; };
|
if(TradeInprogress) exitWith { cutText ["Upgrade already in progress." , "PLAIN DOWN"]; };
|
||||||
TradeInprogress = true;
|
TradeInprogress = true;
|
||||||
@@ -10,9 +10,60 @@ TradeInprogress = true;
|
|||||||
player removeAction s_player_upgrade_build;
|
player removeAction s_player_upgrade_build;
|
||||||
s_player_upgrade_build = 1;
|
s_player_upgrade_build = 1;
|
||||||
|
|
||||||
|
|
||||||
|
_distance = 30;
|
||||||
|
_needText = "Plot Pole";
|
||||||
|
|
||||||
|
// check for near plot
|
||||||
|
_findNearestPoles = nearestObjects [(vehicle player), ["Plastic_Pole_EP1_DZ"], _distance];
|
||||||
|
_findNearestPole = [];
|
||||||
|
|
||||||
|
{
|
||||||
|
if (alive _x) then {
|
||||||
|
_findNearestPole set [(count _findNearestPole),_x];
|
||||||
|
};
|
||||||
|
} foreach _findNearestPoles;
|
||||||
|
|
||||||
|
_IsNearPlot = count (_findNearestPole);
|
||||||
|
|
||||||
|
if(_IsNearPlot == 0) then {
|
||||||
|
_canBuildOnPlot = true;
|
||||||
|
} else {
|
||||||
|
|
||||||
|
// check nearby plots ownership and then for friend status
|
||||||
|
_nearestPole = _findNearestPole select 0;
|
||||||
|
|
||||||
|
// Find owner
|
||||||
|
_ownerID = _nearestPole getVariable["CharacterID","0"];
|
||||||
|
|
||||||
|
// diag_log format["DEBUG BUILDING: %1 = %2", dayz_characterID, _ownerID];
|
||||||
|
|
||||||
|
// check if friendly to owner
|
||||||
|
if(dayz_characterID == _ownerID) then {
|
||||||
|
_canBuildOnPlot = true;
|
||||||
|
} else {
|
||||||
|
_friendlies = player getVariable ["friendlyTo",[]];
|
||||||
|
// check if friendly to owner
|
||||||
|
if(_ownerID in _friendlies) then {
|
||||||
|
_canBuildOnPlot = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
// exit if not allowed due to plot pole
|
||||||
|
if(!_canBuildOnPlot) exitWith { TradeInprogress = false; cutText [format["Unable to upgrade %1 nearby.",_needText,_distance] , "PLAIN DOWN"]; };
|
||||||
|
|
||||||
// get cursortarget from addaction
|
// get cursortarget from addaction
|
||||||
_obj = _this select 3;
|
_obj = _this select 3;
|
||||||
|
|
||||||
|
// Find objectID
|
||||||
|
_objectID = _obj getVariable ["ObjectID","0"];
|
||||||
|
|
||||||
|
// Find objectUID
|
||||||
|
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||||
|
|
||||||
|
if(_objectID == "0" && _objectUID == "0") exitWith {TradeInprogress = false; s_player_upgrade_build = -1; cutText ["Not setup yet.", "PLAIN DOWN"];};
|
||||||
|
|
||||||
// Get classname
|
// Get classname
|
||||||
_classname = typeOf _obj;
|
_classname = typeOf _obj;
|
||||||
|
|
||||||
@@ -80,12 +131,6 @@ if ((count _upgrade) > 0) then {
|
|||||||
// Get direction
|
// Get direction
|
||||||
_dir = getDir _obj;
|
_dir = getDir _obj;
|
||||||
|
|
||||||
// Find objectID
|
|
||||||
_objectID = _obj getVariable ["ObjectID","0"];
|
|
||||||
|
|
||||||
// Find objectUID
|
|
||||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
|
||||||
|
|
||||||
// Current charID
|
// Current charID
|
||||||
_objectCharacterID = _obj getVariable ["CharacterID","0"];
|
_objectCharacterID = _obj getVariable ["CharacterID","0"];
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
delete object from db with extra waiting by [VB]AWOL
|
delete object from db with extra waiting by [VB]AWOL
|
||||||
parameters: _obj
|
parameters: _obj
|
||||||
*/
|
*/
|
||||||
private ["_obj","_objectID","_objectUID","_started","_finished","_animState","_isMedic","_isOk","_proceed","_counter","_limit","_objType","_sfx","_dis","_itemOut","_countOut","_selectedRemoveOutput","_friendlies","_nearestPole","_ownerID","_refundpart","_isWreck","_findNearestPoles","_findNearestPole","_IsNearPlot","_brokenTool","_removeTool","_isDestructable","_isRemovable","_objOwnerID","_isOwnerOfObj"];
|
private ["_obj","_objectID","_objectUID","_started","_finished","_animState","_isMedic","_isOk","_proceed","_counter","_limit","_objType","_sfx","_dis","_itemOut","_countOut","_selectedRemoveOutput","_friendlies","_nearestPole","_ownerID","_refundpart","_isWreck","_findNearestPoles","_findNearestPole","_IsNearPlot","_brokenTool","_removeTool","_isDestructable","_isRemovable","_objOwnerID","_isOwnerOfObj","_giveRefund"];
|
||||||
|
|
||||||
if(TradeInprogress) exitWith { cutText ["Remove already in progress." , "PLAIN DOWN"]; };
|
if(TradeInprogress) exitWith { cutText ["Remove already in progress." , "PLAIN DOWN"]; };
|
||||||
TradeInprogress = true;
|
TradeInprogress = true;
|
||||||
@@ -159,15 +159,16 @@ if (_proceed) then {
|
|||||||
|
|
||||||
cutText [format["De-constructing %1.",_objType], "PLAIN DOWN"];
|
cutText [format["De-constructing %1.",_objType], "PLAIN DOWN"];
|
||||||
|
|
||||||
|
_giveRefund = true;
|
||||||
|
|
||||||
_selectedRemoveOutput = [];
|
_selectedRemoveOutput = [];
|
||||||
if(_isWreck) then {
|
if(_isWreck) then {
|
||||||
// Find one random part to give back
|
// Find one random part to give back
|
||||||
_refundpart = ["PartEngine","PartGeneric","PartFueltank","PartWheel","PartGlass","ItemJerrycan"] call BIS_fnc_selectRandom;
|
_refundpart = ["PartEngine","PartGeneric","PartFueltank","PartWheel","PartGlass","ItemJerrycan"] call BIS_fnc_selectRandom;
|
||||||
_selectedRemoveOutput set [count _selectedRemoveOutput,[_refundpart,1]];
|
_selectedRemoveOutput set [count _selectedRemoveOutput,[_refundpart,1]];
|
||||||
_giveRefund = true;
|
|
||||||
} else {
|
} else {
|
||||||
_selectedRemoveOutput = getArray (configFile >> "CfgVehicles" >> _objType >> "removeoutput");
|
_selectedRemoveOutput = getArray (configFile >> "CfgVehicles" >> _objType >> "removeoutput");
|
||||||
_giveRefund = (_objectID != "0" && _objectUID != "0");
|
_giveRefund = !(_objectID == "0" && _objectUID == "0");
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -6,14 +6,17 @@ private ["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_object","_ho
|
|||||||
if(TradeInprogress) exitWith { cutText ["Pack tent already in progress." , "PLAIN DOWN"]; };
|
if(TradeInprogress) exitWith { cutText ["Pack tent already in progress." , "PLAIN DOWN"]; };
|
||||||
TradeInprogress = true;
|
TradeInprogress = true;
|
||||||
|
|
||||||
|
player removeAction s_player_packtent;
|
||||||
|
s_player_packtent = 1;
|
||||||
|
|
||||||
_obj = _this;
|
_obj = _this;
|
||||||
_ownerID = _obj getVariable["CharacterID","0"];
|
_ownerID = _obj getVariable["CharacterID","0"];
|
||||||
_objectID = _obj getVariable["ObjectID","0"];
|
_objectID = _obj getVariable["ObjectID","0"];
|
||||||
_objectUID = _obj getVariable["ObjectUID","0"];
|
_objectUID = _obj getVariable["ObjectUID","0"];
|
||||||
|
|
||||||
player playActionNow "Medic";
|
player playActionNow "Medic";
|
||||||
|
|
||||||
player removeAction s_player_packtent;
|
if(_objectID == "0" && _objectUID == "0") exitWith {TradeInprogress = false; s_player_packtent = -1; cutText ["Tent not setup yet.", "PLAIN DOWN"];};
|
||||||
s_player_packtent = 1;
|
|
||||||
|
|
||||||
if(_ownerID != dayz_characterID) exitWith {TradeInprogress = false; s_player_packtent = -1; cutText [localize "str_fail_tent_pack", "PLAIN DOWN"];};
|
if(_ownerID != dayz_characterID) exitWith {TradeInprogress = false; s_player_packtent = -1; cutText [localize "str_fail_tent_pack", "PLAIN DOWN"];};
|
||||||
|
|
||||||
@@ -36,28 +39,29 @@ sleep 3;
|
|||||||
|
|
||||||
_classname = getText (configFile >> "CfgVehicles" >> (typeOf _obj) >> "create");
|
_classname = getText (configFile >> "CfgVehicles" >> (typeOf _obj) >> "create");
|
||||||
|
|
||||||
_location = _pos;
|
if(!isNull _obj and alive _obj) then {
|
||||||
|
|
||||||
//place tent (local)
|
_location = _pos;
|
||||||
//_bag = createVehicle ["WeaponHolder_ItemTent",_pos,[], 0, "CAN_COLLIDE"];
|
|
||||||
_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
|
|
||||||
_object setdir _dir;
|
|
||||||
player reveal _object;
|
|
||||||
|
|
||||||
_holder = _object;
|
//place tent (local)
|
||||||
|
//_bag = createVehicle ["WeaponHolder_ItemTent",_pos,[], 0, "CAN_COLLIDE"];
|
||||||
|
_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
|
||||||
|
_object setdir _dir;
|
||||||
|
_object setpos _pos;
|
||||||
|
player reveal _object;
|
||||||
|
|
||||||
_weapons = getWeaponCargo _obj;
|
_holder = _object;
|
||||||
_magazines = getMagazineCargo _obj;
|
|
||||||
_backpacks = getBackpackCargo _obj;
|
|
||||||
|
|
||||||
if(_objectID != "0" && _objectUID != "0") then {
|
_weapons = getWeaponCargo _obj;
|
||||||
|
_magazines = getMagazineCargo _obj;
|
||||||
|
_backpacks = getBackpackCargo _obj;
|
||||||
|
|
||||||
|
deleteVehicle _obj;
|
||||||
dayzDeleteObj = [_objectID,_objectUID];
|
dayzDeleteObj = [_objectID,_objectUID];
|
||||||
publicVariableServer "dayzDeleteObj";
|
publicVariableServer "dayzDeleteObj";
|
||||||
if (isServer) then {
|
if (isServer) then {
|
||||||
dayzDeleteObj call server_deleteObj;
|
dayzDeleteObj call server_deleteObj;
|
||||||
};
|
};
|
||||||
deleteVehicle _obj;
|
|
||||||
|
|
||||||
//Add weapons
|
//Add weapons
|
||||||
_objWpnTypes = _weapons select 0;
|
_objWpnTypes = _weapons select 0;
|
||||||
@@ -87,8 +91,7 @@ if(_objectID != "0" && _objectUID != "0") then {
|
|||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
|
|
||||||
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
|
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
|
||||||
} else {
|
|
||||||
deleteVehicle _obj;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
s_player_packtent = -1;
|
s_player_packtent = -1;
|
||||||
TradeInprogress = false;
|
TradeInprogress = false;
|
||||||
@@ -25,6 +25,8 @@ _objectUID = _obj getVariable["ObjectUID","0"];
|
|||||||
player removeAction s_player_packvault;
|
player removeAction s_player_packvault;
|
||||||
s_player_packvault = 1;
|
s_player_packvault = 1;
|
||||||
|
|
||||||
|
if(_objectID == "0" && _objectUID == "0") exitWith {TradeInprogress = false; s_player_packvault = -1; cutText [format["%1 not setup yet.",_text], "PLAIN DOWN"];};
|
||||||
|
|
||||||
if((_ownerID != dayz_combination) and (_ownerID != dayz_playerUID)) exitWith { TradeInprogress = false; s_player_packvault = -1; cutText [format["You cannot pack this %1, you do not know the combination.",_text], "PLAIN DOWN"];};
|
if((_ownerID != dayz_combination) and (_ownerID != dayz_playerUID)) exitWith { TradeInprogress = false; s_player_packvault = -1; cutText [format["You cannot pack this %1, you do not know the combination.",_text], "PLAIN DOWN"];};
|
||||||
|
|
||||||
_alreadyPacking = _obj getVariable["packing",0];
|
_alreadyPacking = _obj getVariable["packing",0];
|
||||||
@@ -57,8 +59,6 @@ if(!isNull _obj and alive _obj) then {
|
|||||||
_magazines = getMagazineCargo _obj;
|
_magazines = getMagazineCargo _obj;
|
||||||
_backpacks = getBackpackCargo _obj;
|
_backpacks = getBackpackCargo _obj;
|
||||||
|
|
||||||
if (_objectID != "0" && _objectUID != "0") then {
|
|
||||||
|
|
||||||
// Remove from database
|
// Remove from database
|
||||||
dayzDeleteObj = [_objectID,_objectUID];
|
dayzDeleteObj = [_objectID,_objectUID];
|
||||||
publicVariableServer "dayzDeleteObj";
|
publicVariableServer "dayzDeleteObj";
|
||||||
@@ -104,9 +104,6 @@ if(!isNull _obj and alive _obj) then {
|
|||||||
} forEach _objWpnTypes;
|
} forEach _objWpnTypes;
|
||||||
|
|
||||||
cutText [format["Your %1 has been packed",_text], "PLAIN DOWN"];
|
cutText [format["Your %1 has been packed",_text], "PLAIN DOWN"];
|
||||||
} else {
|
|
||||||
deleteVehicle _obj;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
s_player_packvault = -1;
|
s_player_packvault = -1;
|
||||||
TradeInprogress = false;
|
TradeInprogress = false;
|
||||||
@@ -41,7 +41,7 @@ class CfgMods
|
|||||||
hidePicture = 0;
|
hidePicture = 0;
|
||||||
hideName = 0;
|
hideName = 0;
|
||||||
action = "http://www.dayzepoch.com";
|
action = "http://www.dayzepoch.com";
|
||||||
version = "1.0.2.1";
|
version = "1.0.2.13";
|
||||||
hiveVersion = 0.96; //0.93
|
hiveVersion = 0.96; //0.93
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -540,9 +540,7 @@ class CfgBuildingLoot {
|
|||||||
{"DZ_TK_Assault_Pack_EP1","object"}, // 16
|
{"DZ_TK_Assault_Pack_EP1","object"}, // 16
|
||||||
{"DZ_British_ACU","object"}, // 18
|
{"DZ_British_ACU","object"}, // 18
|
||||||
{ "Winchester1866","weapon" },
|
{ "Winchester1866","weapon" },
|
||||||
{ "ItemTentOld","magazine" },
|
{ "tents","single" },
|
||||||
{ "ItemTentDomed2","magazine" },
|
|
||||||
{ "ItemTentDomed","magazine" },
|
|
||||||
{ "","military" },
|
{ "","military" },
|
||||||
{ "","trash" },
|
{ "","trash" },
|
||||||
{ "Crossbow_DZ","weapon" },
|
{ "Crossbow_DZ","weapon" },
|
||||||
@@ -576,10 +574,8 @@ class CfgBuildingLoot {
|
|||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
|
||||||
0.01,
|
|
||||||
0.02,
|
0.02,
|
||||||
0.12,
|
0.14,
|
||||||
0.01,
|
0.01,
|
||||||
0.02,
|
0.02,
|
||||||
0.02,
|
0.02,
|
||||||
@@ -617,9 +613,7 @@ class CfgBuildingLoot {
|
|||||||
{"DZ_TK_Assault_Pack_EP1","object"}, // 16
|
{"DZ_TK_Assault_Pack_EP1","object"}, // 16
|
||||||
{"DZ_British_ACU","object"}, // 18
|
{"DZ_British_ACU","object"}, // 18
|
||||||
{ "Winchester1866","weapon" },
|
{ "Winchester1866","weapon" },
|
||||||
{ "ItemTentOld","magazine" },
|
{ "tents","single" },
|
||||||
{ "ItemTentDomed2","magazine" },
|
|
||||||
{ "ItemTentDomed","magazine" },
|
|
||||||
{ "","military" },
|
{ "","military" },
|
||||||
{ "","trash" },
|
{ "","trash" },
|
||||||
{"Crossbow_DZ","weapon"},
|
{"Crossbow_DZ","weapon"},
|
||||||
@@ -653,10 +647,8 @@ class CfgBuildingLoot {
|
|||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
|
||||||
0.01,
|
|
||||||
0.02,
|
0.02,
|
||||||
0.12,
|
0.14,
|
||||||
0.01,
|
0.01,
|
||||||
0.02,
|
0.02,
|
||||||
0.02,
|
0.02,
|
||||||
@@ -837,9 +829,7 @@ class CfgBuildingLoot {
|
|||||||
{"DZ_CompactPack_EP1","object"}, //
|
{"DZ_CompactPack_EP1","object"}, //
|
||||||
{"DZ_TerminalPack_EP1","object"}, //
|
{"DZ_TerminalPack_EP1","object"}, //
|
||||||
{ "Winchester1866","weapon" },
|
{ "Winchester1866","weapon" },
|
||||||
{ "ItemTentOld","magazine" },
|
{ "tents","single" },
|
||||||
{ "ItemTentDomed2","magazine" },
|
|
||||||
{ "ItemTentDomed","magazine" },
|
|
||||||
{ "","food" },
|
{ "","food" },
|
||||||
{ "","trash" },
|
{ "","trash" },
|
||||||
{"Crossbow_DZ","weapon"},
|
{"Crossbow_DZ","weapon"},
|
||||||
@@ -871,10 +861,8 @@ class CfgBuildingLoot {
|
|||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.01,
|
||||||
0.01,
|
0.30,
|
||||||
0.01,
|
0.13,
|
||||||
0.29,
|
|
||||||
0.12,
|
|
||||||
0.01,
|
0.01,
|
||||||
0.05,
|
0.05,
|
||||||
0.02,
|
0.02,
|
||||||
|
|||||||
@@ -429,6 +429,10 @@ if(isNil "dayz_maxpos") then {
|
|||||||
if(isNil "DZE_teleport") then {
|
if(isNil "DZE_teleport") then {
|
||||||
DZE_teleport = [1000,2000,500,200,800];
|
DZE_teleport = [1000,2000,500,200,800];
|
||||||
};
|
};
|
||||||
|
if(isNil "DZE_BuildingLimit") then {
|
||||||
|
DZE_BuildingLimit = 150;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if(isNil "dayz_canBuildInCity") then {
|
if(isNil "dayz_canBuildInCity") then {
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
SQF/dayz_epoch/pictures/equip_sledge_head_ca.paa
Normal file
BIN
SQF/dayz_epoch/pictures/equip_sledge_head_ca.paa
Normal file
Binary file not shown.
@@ -503,7 +503,8 @@ server_cleanDead = {
|
|||||||
_body removeAllEventHandlers "HandleDamage";
|
_body removeAllEventHandlers "HandleDamage";
|
||||||
_body removeAllEventHandlers "Killed";
|
_body removeAllEventHandlers "Killed";
|
||||||
_body removeAllEventHandlers "Fired";
|
_body removeAllEventHandlers "Fired";
|
||||||
_body removeAllEventHandlers "FiredNear";
|
_body removeAllEventHandlers "FiredNear";
|
||||||
|
_x setVariable ["handle",false];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
} forEach allDead;
|
} forEach allDead;
|
||||||
|
|||||||
@@ -1228,6 +1228,10 @@ class CfgWeight
|
|||||||
{
|
{
|
||||||
weight = 1;
|
weight = 1;
|
||||||
};
|
};
|
||||||
|
class ItemSledge
|
||||||
|
{
|
||||||
|
weight = 9.1;
|
||||||
|
};
|
||||||
class ItemCrowbar
|
class ItemCrowbar
|
||||||
{
|
{
|
||||||
weight = 1;
|
weight = 1;
|
||||||
@@ -1244,6 +1248,10 @@ class CfgWeight
|
|||||||
{
|
{
|
||||||
weight = 1;
|
weight = 1;
|
||||||
};
|
};
|
||||||
|
class ItemKeyKit
|
||||||
|
{
|
||||||
|
weight = 1;
|
||||||
|
};
|
||||||
class ItemEtool
|
class ItemEtool
|
||||||
{
|
{
|
||||||
weight = 1;
|
weight = 1;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user