mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
1.0.2.1
This commit is contained in:
@@ -2368,12 +2368,12 @@ class CfgMagazines {
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Cinder Block Wall";
|
||||
text = "Craft Half Wall";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"cinder_wall_kit",1}};
|
||||
input[] = {{"CinderBlocks",3}};
|
||||
input[] = {{"CinderBlocks",3},{"MortarBucket",1}};
|
||||
};
|
||||
|
||||
};
|
||||
@@ -2395,7 +2395,7 @@ class CfgMagazines {
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Plywood Pack";
|
||||
model = "\dayz_equip\models\plywood_pack.p3d";
|
||||
model = "\z\addons\dayz_epoch\models\plywood_pack.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_plywood_pack_CA.paa";
|
||||
descriptionShort = "Plywood in a stack";
|
||||
weight = 12;
|
||||
@@ -2547,9 +2547,6 @@ class CfgMagazines {
|
||||
descriptionShort = "$STR_EQUIP_DESC_30";
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
// Skins
|
||||
class SkinBase: CA_Magazine
|
||||
{
|
||||
|
||||
@@ -438,8 +438,8 @@ class CfgLoot {
|
||||
"ItemComboLock"
|
||||
},
|
||||
{
|
||||
0.14,
|
||||
0.12,
|
||||
0.1,
|
||||
0.1,
|
||||
0.09,
|
||||
0.11,
|
||||
0.09,
|
||||
@@ -447,11 +447,11 @@ class CfgLoot {
|
||||
0.06,
|
||||
0.06,
|
||||
0.06,
|
||||
0.12,
|
||||
0.1,
|
||||
0.06,
|
||||
0.01,
|
||||
0.01,
|
||||
0.01
|
||||
0.03,
|
||||
0.07
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1608,12 +1608,12 @@ class CfgVehicles {
|
||||
scope = 2;
|
||||
destrType = "DestructBuilding";
|
||||
cost = 100;
|
||||
offset[] = {0,4,0};
|
||||
model="\z\addons\dayz_epoch\models\Cinder_Wall_Half.p3d";
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\cinder_wall_half.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 800;
|
||||
displayName = "Cinder Block Wall 1/2";
|
||||
armor = 1600;
|
||||
displayName = "Half Cinder Block Wall";
|
||||
vehicleClass = "Fortifications";
|
||||
upgradeBuilding[] = {"CinderWall_DZ",{{"CinderBlocks",4},{"MortarBucket",1}}};
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
@@ -1624,11 +1624,11 @@ class CfgVehicles {
|
||||
scope = 2;
|
||||
destrType = "DestructBuilding";
|
||||
cost = 100;
|
||||
offset[] = {0,4,0};
|
||||
model="\z\addons\dayz_epoch\models\Cinder_Wall.p3d";
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\cinder_wall_full.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 800;
|
||||
armor = 1600;
|
||||
displayName = "Cinder Block Wall";
|
||||
vehicleClass = "Fortifications";
|
||||
maintainBuilding[] = {{"MortarBucket",1}};
|
||||
@@ -1850,7 +1850,7 @@ class CfgVehicles {
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\Cinder_Wall_Half_ghost.p3d";
|
||||
model="\z\addons\dayz_epoch\models\cinder_wall_half_ghost.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 1000;
|
||||
@@ -1863,7 +1863,7 @@ class CfgVehicles {
|
||||
destrType = "DestructNo";
|
||||
cost = 100;
|
||||
offset[] = {0,1.5,0};
|
||||
model="\z\addons\dayz_epoch\models\Cinder_Wall_ghost.p3d";
|
||||
model="\z\addons\dayz_epoch\models\cinder_wall_full_ghost.p3d";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
armor = 1000;
|
||||
|
||||
@@ -149,7 +149,7 @@ class RscDisplayMain : RscStandardDisplay
|
||||
class DAYZ_Version : CA_Version
|
||||
{
|
||||
idc = -1;
|
||||
text = "DayZ Epoch 1.0.2";
|
||||
text = "DayZ Epoch 1.0.2.1";
|
||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
||||
};
|
||||
delete CA_TitleMainMenu;
|
||||
|
||||
@@ -1,119 +0,0 @@
|
||||
private ["_location","_isOk","_dir","_classname","_item","_cancel","_location3","_location4","_location1","_location2","_counter","_hasbuilditem","_dis","_sfx","_object","_onLadder","_isWater","_text","_offset_x","_offset_y","_offset_z","_offset_z_attach","_tmpbuilt","_built_location"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Building already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_location = player modeltoworld [0,1,0];
|
||||
_location set [2,0];
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
_isWater = (surfaceIsWater _location) or dayz_isSwimming;
|
||||
|
||||
if(_isWater) exitWith {cutText [localize "str_player_26", "PLAIN DOWN"];};
|
||||
if(_onLadder) exitWith {cutText [localize "str_player_21", "PLAIN DOWN"];};
|
||||
|
||||
if (vehicle player != player) exitWith {cutText ["You may not build while in a vehicle", "PLAIN DOWN"]};
|
||||
|
||||
_item = _this;
|
||||
_classname = getText (configFile >> "CfgMagazines" >> _item >> "ItemActions" >> "Build" >> "create");
|
||||
_text = getText (configFile >> "CfgVehicles" >> _classname >> "displayName");
|
||||
|
||||
_hasbuilditem = _this in magazines player;
|
||||
|
||||
if (!_hasbuilditem) exitWith {cutText [format[(localize "str_player_31"),_text,"build"] , "PLAIN DOWN"]};
|
||||
|
||||
_dir = getDir player;
|
||||
|
||||
_offset_x = 0;
|
||||
_offset_y = 1.5;
|
||||
_offset_z = 0;
|
||||
_offset_z_attach = 0.5;
|
||||
|
||||
// Start Preview loop
|
||||
_tmpbuilt = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
|
||||
_tmpbuilt setdir _dir;
|
||||
_tmpbuilt attachTo [player,[_offset_x,_offset_y,_offset_z_attach]];
|
||||
|
||||
_cancel = false;
|
||||
_counter = 0;
|
||||
_isOk = true;
|
||||
|
||||
while {_isOk} do {
|
||||
|
||||
if(_counter == 0) then {
|
||||
cutText ["Planning construction stand still 5 seconds to build.", "PLAIN DOWN"];
|
||||
sleep 5;
|
||||
_location1 = getPosATL player;
|
||||
sleep 5;
|
||||
_location2 = getPosATL player;
|
||||
|
||||
if(_location1 distance _location2 < 0.1) exitWith {
|
||||
|
||||
cutText ["Started construction move within 5 seconds to cancel.", "PLAIN DOWN"];
|
||||
_location3 = getPosATL player;
|
||||
sleep 5;
|
||||
_location4 = getPosATL player;
|
||||
|
||||
if(_location3 distance _location4 > 0.1) exitWith {
|
||||
_isOk = false;
|
||||
_cancel = true;
|
||||
};
|
||||
|
||||
_isOk = false;
|
||||
};
|
||||
};
|
||||
if(_counter >= 1) exitWith {
|
||||
_isOk = false;
|
||||
_cancel = true;
|
||||
};
|
||||
_counter = _counter + 1;
|
||||
};
|
||||
|
||||
detach _tmpbuilt;
|
||||
|
||||
// Get location of detached tmp built
|
||||
_built_location = (getPosATL _tmpbuilt);
|
||||
|
||||
// force to ground
|
||||
_built_location set [2,0];
|
||||
|
||||
if(!_cancel) then {
|
||||
|
||||
_hasbuilditem = _this in magazines player;
|
||||
if (!_hasbuilditem) exitWith {cutText [format[(localize "str_player_31"),_text,"build"] , "PLAIN DOWN"]};
|
||||
|
||||
_dir = getDir player;
|
||||
|
||||
player removeMagazine _item;
|
||||
|
||||
//disableSerialization;
|
||||
//call dayz_forceSave;
|
||||
|
||||
|
||||
player playActionNow "Medic";
|
||||
sleep 1;
|
||||
|
||||
_dis=20;
|
||||
_sfx = "repair";
|
||||
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
|
||||
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
sleep 5;
|
||||
|
||||
player allowDamage false;
|
||||
_object = createVehicle [_classname, _built_location, [], 0, "CAN_COLLIDE"];
|
||||
_object setDir _dir;
|
||||
player reveal _object;
|
||||
|
||||
cutText [format[localize "str_build_01",_text], "PLAIN DOWN"];
|
||||
|
||||
//["dayzPublishObj",[dayz_characterID,_object,[_dir,_location],_classname]] call callRpcProcedure;
|
||||
dayzPublishObj = [dayz_characterID,_object,[_dir,_location],_classname];
|
||||
publicVariableServer "dayzPublishObj";
|
||||
|
||||
sleep 2;
|
||||
player allowDamage true;
|
||||
|
||||
} else {
|
||||
cutText [format["Canceled construction of %1.",_text], "PLAIN DOWN"];
|
||||
};
|
||||
TradeInprogress = false;
|
||||
@@ -174,7 +174,7 @@ if (_hasrequireditem) then {
|
||||
_object attachTo [player];
|
||||
};
|
||||
|
||||
cutText ["Planning construction numpad 8 = up, numpad 2 = down, and numpad 5 to start building.", "PLAIN DOWN"];
|
||||
cutText ["Planning construction: PgUp = raise, PgDn = lower, Q or E = flip 180, and Space-Bar to start building.", "PLAIN DOWN"];
|
||||
|
||||
sleep 1;
|
||||
|
||||
@@ -289,6 +289,9 @@ if (_hasrequireditem) then {
|
||||
if (r_interrupt or (player getVariable["combattimeout", 0] >= time)) then {
|
||||
r_doLoop = false;
|
||||
};
|
||||
if (DZE_cancelBuilding) exitWith {
|
||||
r_doLoop = false;
|
||||
};
|
||||
sleep 0.1;
|
||||
};
|
||||
r_doLoop = false;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
private ["_isOk","_i","_objName","_objInfo","_lenInfo","_started","_finished","_animState","_isMedic","_proceed","_counter","_itemOut","_countOut","_tree","_distance2d","_distance3d","_trees","_findNearestTree"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Harvest wood already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nHarvest wood already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
// allowed trees list move this later
|
||||
@@ -90,7 +90,7 @@ if (count(_findNearestTree) >= 1) then {
|
||||
_counter = _counter + 1;
|
||||
};
|
||||
|
||||
cutText [format["Chopping down tree, walk away at anytime to cancel. (%1/%2)", _counter, _countOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\nChopping down tree, walk away at anytime to cancel. (%1/%2)", _counter, _countOut], "PLAIN DOWN"];
|
||||
|
||||
if(_counter == _countOut) exitWith {
|
||||
_isOk = false;
|
||||
@@ -115,7 +115,7 @@ if (count(_findNearestTree) >= 1) then {
|
||||
};
|
||||
//diag_log format["DEBUG TREE DAMAGE: %1", _tree];
|
||||
|
||||
cutText [format["%1 piles of wood has been successfully added in front of you.", _countOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\n%1 piles of wood has been successfully added in front of you.", _countOut], "PLAIN DOWN"];
|
||||
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
@@ -123,7 +123,7 @@ if (count(_findNearestTree) >= 1) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled Harvesting Wood.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled Harvesting Wood.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
private ["_item","_config","_onLadder","_create","_started","_finished","_animState","_isMedic","_qty","_box","_num_removed","_text","_haskey","_hastoolweapon","_isNear","_hasTinBar"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Copy key already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nCopy key already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_item = _this;
|
||||
@@ -14,16 +14,16 @@ _haskey = _this in weapons player;
|
||||
if (!_haskey) exitWith {TradeInprogress = false; cutText [format[(localize "str_player_30"),_text] , "PLAIN DOWN"]};
|
||||
|
||||
_hastoolweapon = "ItemKeyKit" in weapons player;
|
||||
if (!_hastoolweapon) exitWith {TradeInprogress = false; cutText ["Need Keymakers kit to make a copy of a key." , "PLAIN DOWN"]};
|
||||
if (!_hastoolweapon) exitWith {TradeInprogress = false; cutText ["\n\nNeed Keymakers kit to make a copy of a key." , "PLAIN DOWN"]};
|
||||
|
||||
_isNear = {inflamed _x} count (position player nearObjects 2);
|
||||
if(_isNear == 0) exitWith {TradeInprogress = false; cutText ["Key crafting needs a fire within 2 meters." , "PLAIN DOWN"]};
|
||||
_isNear = {inflamed _x} count (position player nearObjects 3);
|
||||
if(_isNear == 0) exitWith {TradeInprogress = false; cutText ["\n\nKey crafting needs a fire within 3 meters." , "PLAIN DOWN"]};
|
||||
|
||||
call gear_ui_init;
|
||||
|
||||
// require one tin bar per key
|
||||
_hasTinBar = "ItemTinBar" in magazines player;
|
||||
if(!_hasTinBar) exitWith {TradeInprogress = false; cutText ["Key crafting requires a 1oz Tin Bar." , "PLAIN DOWN"]};
|
||||
if(!_hasTinBar) exitWith {TradeInprogress = false; cutText ["\n\nKey crafting requires a 1oz Tin Bar." , "PLAIN DOWN"]};
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
@@ -63,9 +63,9 @@ if(_finished) then {
|
||||
_qty = 1;
|
||||
_box = unitBackpack player;
|
||||
_box addWeaponCargoGlobal [_create,_qty];
|
||||
cutText ["Copied key has been added to your backpack." , "PLAIN DOWN"];
|
||||
cutText ["\n\nCopied key has been added to your backpack." , "PLAIN DOWN"];
|
||||
} else {
|
||||
cutText ["Canceled Key Crafting." , "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled Key Crafting." , "PLAIN DOWN"];
|
||||
};
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
@@ -73,6 +73,6 @@ if(_finished) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled Key Crafting." , "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled Key Crafting." , "PLAIN DOWN"];
|
||||
};
|
||||
TradeInprogress = false;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
Usage: spawn player_goFishing;
|
||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item"];
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item","_craft_doLoop"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nCrafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
// temp array of removed parts
|
||||
@@ -40,7 +40,7 @@ if("workshop" in _needNear) then {
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
};
|
||||
|
||||
@@ -55,11 +55,15 @@ if (_canDo) then {
|
||||
_selectedRecipeTools = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "requiretools");
|
||||
_consumeweapons = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "consumeweapons");
|
||||
|
||||
_craft_doLoop = true;
|
||||
|
||||
while {_craft_doLoop} do {
|
||||
|
||||
_missing = "";
|
||||
_missingTools = false;
|
||||
{
|
||||
_hastoolweapon = _x in weapons player;
|
||||
if(!_hastoolweapon) exitWith { _missingTools = true; _missing = _x; };
|
||||
if(!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; };
|
||||
} forEach _selectedRecipeTools;
|
||||
|
||||
if(!_missingTools) then {
|
||||
@@ -88,7 +92,7 @@ if (_canDo) then {
|
||||
// If all parts proceed
|
||||
if (_proceed) then {
|
||||
|
||||
cutText ["Crafting started", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting started", "PLAIN DOWN"];
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
@@ -170,7 +174,7 @@ if (_canDo) then {
|
||||
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
|
||||
|
||||
// Add crafted item
|
||||
cutText [format["Crafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
|
||||
} forEach _selectedRecipeOutput;
|
||||
|
||||
@@ -178,7 +182,7 @@ if (_canDo) then {
|
||||
// Refund parts since we failed
|
||||
{player addMagazine _x;} forEach _temp_removed_array;
|
||||
|
||||
cutText [format["Missing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
} else {
|
||||
@@ -187,19 +191,23 @@ if (_canDo) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled crafting.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled crafting.", "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName");
|
||||
cutText [format["Missing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgWeapons" >> _missing >> "displayName");
|
||||
cutText [format["Missing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
};
|
||||
} else {
|
||||
cutText ["Crafting needs a fire within 2 meters.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting needs a fire within 3 meters.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -3,9 +3,9 @@
|
||||
Usage: spawn player_goFishing;
|
||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item"];
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item","_craft_doLoop"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nCrafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
// temp array of removed parts
|
||||
@@ -40,7 +40,7 @@ if("workshop" in _needNear) then {
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
};
|
||||
|
||||
@@ -55,11 +55,15 @@ if (_canDo) then {
|
||||
_selectedRecipeTools = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "requiretools");
|
||||
_consumeweapons = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "consumeweapons");
|
||||
|
||||
_craft_doLoop = true;
|
||||
|
||||
while {_craft_doLoop} do {
|
||||
|
||||
_missing = "";
|
||||
_missingTools = false;
|
||||
{
|
||||
_hastoolweapon = _x in weapons player;
|
||||
if(!_hastoolweapon) exitWith { _missingTools = true; _missing = _x; };
|
||||
if(!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; };
|
||||
} forEach _selectedRecipeTools;
|
||||
|
||||
if(!_missingTools) then {
|
||||
@@ -88,7 +92,7 @@ if (_canDo) then {
|
||||
// If all parts proceed
|
||||
if (_proceed) then {
|
||||
|
||||
cutText ["Crafting started", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting started", "PLAIN DOWN"];
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
@@ -170,7 +174,7 @@ if (_canDo) then {
|
||||
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
|
||||
|
||||
// Add crafted item
|
||||
cutText [format["Crafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
|
||||
} forEach _selectedRecipeOutput;
|
||||
|
||||
@@ -178,7 +182,7 @@ if (_canDo) then {
|
||||
// Refund parts since we failed
|
||||
{player addMagazine _x;} forEach _temp_removed_array;
|
||||
|
||||
cutText [format["Missing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
} else {
|
||||
@@ -187,19 +191,23 @@ if (_canDo) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled crafting.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled crafting.", "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName");
|
||||
cutText [format["Missing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgWeapons" >> _missing >> "displayName");
|
||||
cutText [format["Missing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
};
|
||||
} else {
|
||||
cutText ["Crafting needs a fire within 2 meters.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting needs a fire within 3 meters.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -3,9 +3,9 @@
|
||||
Usage: spawn player_goFishing;
|
||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item"];
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item","_craft_doLoop"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nCrafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
// temp array of removed parts
|
||||
@@ -40,7 +40,7 @@ if("workshop" in _needNear) then {
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
};
|
||||
|
||||
@@ -55,11 +55,15 @@ if (_canDo) then {
|
||||
_selectedRecipeTools = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "requiretools");
|
||||
_consumeweapons = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "consumeweapons");
|
||||
|
||||
_craft_doLoop = true;
|
||||
|
||||
while {_craft_doLoop} do {
|
||||
|
||||
_missing = "";
|
||||
_missingTools = false;
|
||||
{
|
||||
_hastoolweapon = _x in weapons player;
|
||||
if(!_hastoolweapon) exitWith { _missingTools = true; _missing = _x; };
|
||||
if(!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; };
|
||||
} forEach _selectedRecipeTools;
|
||||
|
||||
if(!_missingTools) then {
|
||||
@@ -88,7 +92,7 @@ if (_canDo) then {
|
||||
// If all parts proceed
|
||||
if (_proceed) then {
|
||||
|
||||
cutText ["Crafting started", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting started", "PLAIN DOWN"];
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
@@ -170,7 +174,7 @@ if (_canDo) then {
|
||||
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
|
||||
|
||||
// Add crafted item
|
||||
cutText [format["Crafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
|
||||
} forEach _selectedRecipeOutput;
|
||||
|
||||
@@ -178,7 +182,7 @@ if (_canDo) then {
|
||||
// Refund parts since we failed
|
||||
{player addMagazine _x;} forEach _temp_removed_array;
|
||||
|
||||
cutText [format["Missing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
} else {
|
||||
@@ -187,19 +191,23 @@ if (_canDo) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled crafting.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled crafting.", "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName");
|
||||
cutText [format["Missing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgWeapons" >> _missing >> "displayName");
|
||||
cutText [format["Missing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
};
|
||||
} else {
|
||||
cutText ["Crafting needs a fire within 2 meters.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting needs a fire within 3 meters.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -3,9 +3,9 @@
|
||||
Usage: spawn player_goFishing;
|
||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item"];
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item","_craft_doLoop"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nCrafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
// temp array of removed parts
|
||||
@@ -40,7 +40,7 @@ if("workshop" in _needNear) then {
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
};
|
||||
|
||||
@@ -55,11 +55,15 @@ if (_canDo) then {
|
||||
_selectedRecipeTools = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "requiretools");
|
||||
_consumeweapons = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "consumeweapons");
|
||||
|
||||
_craft_doLoop = true;
|
||||
|
||||
while {_craft_doLoop} do {
|
||||
|
||||
_missing = "";
|
||||
_missingTools = false;
|
||||
{
|
||||
_hastoolweapon = _x in weapons player;
|
||||
if(!_hastoolweapon) exitWith { _missingTools = true; _missing = _x; };
|
||||
if(!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; };
|
||||
} forEach _selectedRecipeTools;
|
||||
|
||||
if(!_missingTools) then {
|
||||
@@ -88,7 +92,7 @@ if (_canDo) then {
|
||||
// If all parts proceed
|
||||
if (_proceed) then {
|
||||
|
||||
cutText ["Crafting started", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting started", "PLAIN DOWN"];
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
@@ -170,7 +174,7 @@ if (_canDo) then {
|
||||
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
|
||||
|
||||
// Add crafted item
|
||||
cutText [format["Crafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
|
||||
} forEach _selectedRecipeOutput;
|
||||
|
||||
@@ -178,7 +182,7 @@ if (_canDo) then {
|
||||
// Refund parts since we failed
|
||||
{player addMagazine _x;} forEach _temp_removed_array;
|
||||
|
||||
cutText [format["Missing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
} else {
|
||||
@@ -187,19 +191,23 @@ if (_canDo) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled crafting.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled crafting.", "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName");
|
||||
cutText [format["Missing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgWeapons" >> _missing >> "displayName");
|
||||
cutText [format["Missing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
};
|
||||
} else {
|
||||
cutText ["Crafting needs a fire within 2 meters.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting needs a fire within 3 meters.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -3,9 +3,9 @@
|
||||
Usage: spawn player_goFishing;
|
||||
Made for DayZ Epoch please ask permission to use/edit/distrubute email vbawol@veteranbastards.com.
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item"];
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_consumeweapons","_item","_craft_doLoop"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nCrafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
// temp array of removed parts
|
||||
@@ -40,7 +40,7 @@ if("workshop" in _needNear) then {
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
};
|
||||
|
||||
@@ -55,11 +55,15 @@ if (_canDo) then {
|
||||
_selectedRecipeTools = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "requiretools");
|
||||
_consumeweapons = getArray (configFile >> "cfgMagazines" >> _item >> "ItemActions" >> _crafting >> "consumeweapons");
|
||||
|
||||
_craft_doLoop = true;
|
||||
|
||||
while {_craft_doLoop} do {
|
||||
|
||||
_missing = "";
|
||||
_missingTools = false;
|
||||
{
|
||||
_hastoolweapon = _x in weapons player;
|
||||
if(!_hastoolweapon) exitWith { _missingTools = true; _missing = _x; };
|
||||
if(!_hastoolweapon) exitWith { _craft_doLoop = false; _missingTools = true; _missing = _x; };
|
||||
} forEach _selectedRecipeTools;
|
||||
|
||||
if(!_missingTools) then {
|
||||
@@ -88,7 +92,7 @@ if (_canDo) then {
|
||||
// If all parts proceed
|
||||
if (_proceed) then {
|
||||
|
||||
cutText ["Crafting started", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting started", "PLAIN DOWN"];
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
@@ -170,7 +174,7 @@ if (_canDo) then {
|
||||
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
|
||||
|
||||
// Add crafted item
|
||||
cutText [format["Crafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\nCrafted Item: %1 x %2",_textCreate,_countOut], "PLAIN DOWN"];
|
||||
|
||||
} forEach _selectedRecipeOutput;
|
||||
|
||||
@@ -178,7 +182,7 @@ if (_canDo) then {
|
||||
// Refund parts since we failed
|
||||
{player addMagazine _x;} forEach _temp_removed_array;
|
||||
|
||||
cutText [format["Missing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
} else {
|
||||
@@ -187,19 +191,23 @@ if (_canDo) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled crafting.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled crafting.", "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName");
|
||||
cutText [format["Missing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing %1 more of %2",_missingQty, _textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
} else {
|
||||
_textMissing = getText(configFile >> "CfgWeapons" >> _missing >> "displayName");
|
||||
cutText [format["Missing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
cutText [format["\n\nMissing Tool: %1",_textMissing], "PLAIN DOWN"];
|
||||
_craft_doLoop = false;
|
||||
};
|
||||
};
|
||||
} else {
|
||||
cutText ["Crafting needs a fire within 2 meters.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCrafting needs a fire within 3 meters.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -6,7 +6,7 @@ call gear_ui_init;
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
if (_onLadder) exitWith {cutText [(localize "str_player_21") , "PLAIN DOWN"]};
|
||||
|
||||
if (vehicle player != player) exitWith {cutText ["You may not drink while in a vehicle", "PLAIN DOWN"]};
|
||||
if (vehicle player != player) exitWith {cutText ["\n\nYou may not drink while in a vehicle", "PLAIN DOWN"]};
|
||||
|
||||
//Force players to wait 3 mins to drink again
|
||||
//if (dayz_lastDrink < 180) exitWith {cutText ["You may not drink, your not thirsty", "PLAIN DOWN"]};
|
||||
|
||||
@@ -4,7 +4,7 @@ call gear_ui_init;
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
if (_onLadder) exitWith {cutText [(localize "str_player_21") , "PLAIN DOWN"]};
|
||||
|
||||
if (vehicle player != player) exitWith {cutText ["You may not eat while in a vehicle", "PLAIN DOWN"]};
|
||||
if (vehicle player != player) exitWith {cutText ["\n\nYou may not eat while in a vehicle", "PLAIN DOWN"]};
|
||||
|
||||
//Force players to wait 3 mins to eat again
|
||||
//if (dayz_lastMeal < 180) exitWith {cutText ["You may not eat, you're already full", "PLAIN DOWN"]};
|
||||
|
||||
@@ -5,17 +5,17 @@
|
||||
*/
|
||||
private ["_itemOut","_position","_isOk","_counter","_rnd","_item","_itemtodrop","_vehicle","_inVehicle"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Fishing already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nFishing already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
call gear_ui_init;
|
||||
|
||||
// find position 5m in front of player
|
||||
_position = player modeltoworld [0,5,0];
|
||||
if(!(surfaceIsWater _position)) exitWith {TradeInprogress = false; cutText ["Must be near a shore or on a boat to fish." , "PLAIN DOWN"]; };
|
||||
if(!(surfaceIsWater _position)) exitWith {TradeInprogress = false; cutText ["\n\nMust be near a shore or on a boat to fish." , "PLAIN DOWN"]; };
|
||||
|
||||
if(dayz_isSwimming) exitWith {TradeInprogress = false; cutText [localize "str_player_26", "PLAIN DOWN"]; };
|
||||
if(player getVariable["combattimeout", 0] >= time) exitWith {TradeInprogress = false; cutText ["Canceled Fishing.", "PLAIN DOWN"];};
|
||||
if(player getVariable["combattimeout", 0] >= time) exitWith {TradeInprogress = false; cutText ["\n\nCanceled Fishing.", "PLAIN DOWN"];};
|
||||
|
||||
_isOk = true;
|
||||
_counter = 0;
|
||||
@@ -31,7 +31,7 @@ while {_isOk} do {
|
||||
|
||||
if (r_interrupt or (player getVariable["combattimeout", 0] >= time)) then {
|
||||
_isOk = false;
|
||||
cutText ["Canceled Fishing.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled Fishing.", "PLAIN DOWN"];
|
||||
} else {
|
||||
|
||||
sleep 2;
|
||||
@@ -60,15 +60,15 @@ while {_isOk} do {
|
||||
player addMagazine _itemOut;
|
||||
};
|
||||
|
||||
cutText ["You caught a fish.", "PLAIN DOWN"];
|
||||
cutText ["\n\nYou caught a fish.", "PLAIN DOWN"];
|
||||
_isOk = false;
|
||||
} else {
|
||||
cutText ["Nibble... Nibble...", "PLAIN DOWN"];
|
||||
cutText ["\n\nNibble... Nibble...", "PLAIN DOWN"];
|
||||
_counter = _counter + 1;
|
||||
if(_counter == 5) then {
|
||||
_isOk = false;
|
||||
sleep 2;
|
||||
cutText ["You didn't catch anything.", "PLAIN DOWN"];
|
||||
cutText ["\n\nYou didn't catch anything.", "PLAIN DOWN"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
private ["_isOk","_i","_objName","_objInfo","_lenInfo","_started","_finished","_animState","_isMedic","_proceed","_counter","_itemOut","_countOut","_tree","_distance2d","_distance3d","_trees","_findNearestTree"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Harvest already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nHarvest already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
// allowed trees list move this later
|
||||
@@ -103,7 +103,7 @@ if (count(_findNearestTree) >= 1) then {
|
||||
};
|
||||
//diag_log format["DEBUG TREE DAMAGE: %1", _tree];
|
||||
|
||||
cutText [format["%1 of %2 has been successfully added to your inventory.", _countOut,_itemOut], "PLAIN DOWN"];
|
||||
cutText [format["\n\n%1 of %2 has been successfully added to your inventory.", _countOut,_itemOut], "PLAIN DOWN"];
|
||||
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
@@ -111,12 +111,12 @@ if (count(_findNearestTree) >= 1) then {
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
};
|
||||
cutText ["Canceled Harvesting.", "PLAIN DOWN"];
|
||||
cutText ["\n\nCanceled Harvesting.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
cutText [localize "str_player_23", "PLAIN DOWN"];
|
||||
cutText ["\n\nYou must be close to a plant to harvest.", "PLAIN DOWN"];
|
||||
};
|
||||
TradeInprogress = false;
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
private ["_dir","_classname","_box","_location","_item","_config","_create_raw","_create","_qty","_type","_hasCrate","_hasTool"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Open Crate already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nOpen Crate already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_hasTool = "ItemCrowbar" in items player;
|
||||
if(!_hasTool) exitWith {
|
||||
cutText ["You need a crowbar to open this.", "PLAIN DOWN"];
|
||||
cutText ["\n\nYou need a crowbar to open this.", "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
};
|
||||
|
||||
_item = _this;
|
||||
_hasCrate = _item in magazines player;
|
||||
if (!_hasCrate) then {
|
||||
cutText ["Missing supply crate.", "PLAIN DOWN"];
|
||||
cutText ["\n\nMissing supply crate.", "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
};
|
||||
|
||||
@@ -51,6 +51,6 @@ if(_type == "backpack") then {
|
||||
|
||||
player reveal _box;
|
||||
|
||||
cutText ["Opened supply crate.", "PLAIN DOWN"];
|
||||
cutText ["\n\nOpened supply crate.", "PLAIN DOWN"];
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -4,7 +4,7 @@ Added Female skin changes - DayZ Epoch - vbawol
|
||||
*/
|
||||
private ["_item","_onLadder","_hasclothesitem","_config","_text","_myModel","_itemNew","_currentSex","_newSex","_model"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Changing clothes already in progress." , "PLAIN DOWN"] };
|
||||
if(TradeInprogress) exitWith { cutText ["\n\nChanging clothes already in progress." , "PLAIN DOWN"] };
|
||||
TradeInprogress = true;
|
||||
|
||||
_item = _this;
|
||||
@@ -19,7 +19,7 @@ _text = getText (_config >> _item >> "displayName");
|
||||
|
||||
if (!_hasclothesitem) exitWith {TradeInprogress = false; cutText [format[(localize "str_player_31"),_text,"wear"] , "PLAIN DOWN"]};
|
||||
|
||||
if (vehicle player != player) exitWith {TradeInprogress = false; cutText ["You may not change clothes while in a vehicle", "PLAIN DOWN"]};
|
||||
if (vehicle player != player) exitWith {TradeInprogress = false; cutText ["\n\nYou may not change clothes while in a vehicle", "PLAIN DOWN"]};
|
||||
|
||||
_myModel = (typeOf player);
|
||||
_itemNew = "Skin_" + _myModel;
|
||||
@@ -46,7 +46,7 @@ if ( (isClass(_config >> _itemNew)) ) then {
|
||||
};
|
||||
|
||||
} else {
|
||||
cutText ["You cannot wear a skin of the opposite sex.", "PLAIN DOWN"];
|
||||
cutText ["\n\nYou cannot wear a skin of the opposite sex.", "PLAIN DOWN"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -41,7 +41,7 @@ class CfgMods
|
||||
hidePicture = 0;
|
||||
hideName = 0;
|
||||
action = "http://www.dayzepoch.com";
|
||||
version = "1.0.2";
|
||||
version = "1.0.2.1";
|
||||
hiveVersion = 0.96; //0.93
|
||||
};
|
||||
};
|
||||
|
||||
@@ -312,24 +312,28 @@ if (!isDedicated) then {
|
||||
dayz_lastCheckBit = time;
|
||||
_nill = execvm "\z\addons\dayz_code\actions\playerstats.sqf";
|
||||
};
|
||||
//
|
||||
if (_dikCode == 0x48) then {
|
||||
// numpad 8 0x48 now pgup 0xC9
|
||||
if (_dikCode == 0xC9 or (_dikCode in actionKeys "User15")) then {
|
||||
DZE_Q = true;
|
||||
};
|
||||
if (_dikCode == 0x50) then {
|
||||
// numpad 2 0x50 now pgdn 0xD1
|
||||
if (_dikCode == 0xD1 or (_dikCode in actionKeys "User16")) then {
|
||||
DZE_Z = true;
|
||||
};
|
||||
if (_dikCode == 0x4B) then {
|
||||
// numpad 4 0x4B now Q 0x10
|
||||
if (_dikCode == 0x10 or (_dikCode in actionKeys "User17")) then {
|
||||
DZE_4 = true;
|
||||
};
|
||||
if (_dikCode == 0x4D) then {
|
||||
// numpad 6 0x4D now E 0x12
|
||||
if (_dikCode == 0x12 or (_dikCode in actionKeys "User18")) then {
|
||||
DZE_6 = true;
|
||||
};
|
||||
|
||||
if (_dikCode == 0x4C) then {
|
||||
// numpad 5 0x4C now space 0x39
|
||||
if (_dikCode == 0x39 or (_dikCode in actionKeys "User19")) then {
|
||||
DZE_5 = true;
|
||||
};
|
||||
|
||||
// esc
|
||||
if (_dikCode == 0x01) then {
|
||||
DZE_cancelBuilding = true;
|
||||
};
|
||||
|
||||
@@ -247,14 +247,14 @@
|
||||
<Czech>Stan zde nelze postavit. Plocha musí být rovná a být dostatečně velká.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_consumed">
|
||||
<Original>You have consumed a %1</Original>
|
||||
<English>You have consumed a %1</English>
|
||||
<German>Sie haben ein(e) %1 verbraucht</German>
|
||||
<Russian>Вы употребили: %1</Russian>
|
||||
<Spanish>Consumiste: %1</Spanish>
|
||||
<Dutch>Je hebt %1 genuttigd</Dutch>
|
||||
<French>Vous avez consommé un(e) %1</French>
|
||||
<Czech>Snědl jsi %1</Czech>
|
||||
<Original>\n\nYou have consumed a %1</Original>
|
||||
<English>\n\nYou have consumed a %1</English>
|
||||
<German>\n\nSie haben ein(e) %1 verbraucht</German>
|
||||
<Russian>\n\nВы употребили: %1</Russian>
|
||||
<Spanish>\n\nConsumiste: %1</Spanish>
|
||||
<Dutch>\n\nJe hebt %1 genuttigd</Dutch>
|
||||
<French>\n\nVous avez consommé un(e) %1</French>
|
||||
<Czech>\n\nSnědl jsi %1</Czech>
|
||||
</Key>
|
||||
<Key ID="str_fireplace_01">
|
||||
<Original>You have created a fireplace</Original>
|
||||
@@ -327,24 +327,24 @@
|
||||
<Czech>Jste uzdravováni.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_01">
|
||||
<Original>You have filled %1 bottles with water</Original>
|
||||
<English>You have filled %1 bottles with water</English>
|
||||
<German>Sie haben %1 Flasche(n) mit Wasser gefüllt</German>
|
||||
<Russian>Наполнено фляжек с водой: %1</Russian>
|
||||
<Spanish>Llenaste %1 cantimplora(s) con agua</Spanish>
|
||||
<Dutch>Je hebt %1 flessen gevuld met water</Dutch>
|
||||
<French>Vous avez rempli %1 bouteille(s) avec de l'eau.</French>
|
||||
<Czech>Naplnil jsi %1 lahví vodou.</Czech>
|
||||
<Original>\n\nYou have filled %1 bottles with water</Original>
|
||||
<English>\n\nYou have filled %1 bottles with water</English>
|
||||
<German>\n\nSie haben %1 Flasche(n) mit Wasser gefüllt</German>
|
||||
<Russian>\n\nНаполнено фляжек с водой: %1</Russian>
|
||||
<Spanish>\n\nLlenaste %1 cantimplora(s) con agua</Spanish>
|
||||
<Dutch>\n\nJe hebt %1 flessen gevuld met water</Dutch>
|
||||
<French>\n\nVous avez rempli %1 bouteille(s) avec de l'eau.</French>
|
||||
<Czech>\n\nNaplnil jsi %1 lahví vodou.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_02">
|
||||
<Original>You have no empty water bottles</Original>
|
||||
<English>You have no empty water bottles</English>
|
||||
<German>Sie haben keine leeren Wasserflaschen</German>
|
||||
<Russian>У вас нет пустых фляжек.</Russian>
|
||||
<Spanish>No tienes cantimploras vacías</Spanish>
|
||||
<Dutch>Je hebt geen lege waterflessen</Dutch>
|
||||
<French>Vous n'avez aucune bouteille vide.</French>
|
||||
<Czech>Nemáš žádné prázdné láhve na vodu.</Czech>
|
||||
<Original>\n\nYou have no empty water bottles</Original>
|
||||
<English>\n\nYou have no empty water bottles</English>
|
||||
<German>\n\nSie haben keine leeren Wasserflaschen</German>
|
||||
<Russian>\n\nУ вас нет пустых фляжек.</Russian>
|
||||
<Spanish>\n\nNo tienes cantimploras vacías</Spanish>
|
||||
<Dutch>\n\nJe hebt geen lege waterflessen</Dutch>
|
||||
<French>\n\nVous n'avez aucune bouteille vide.</French>
|
||||
<Czech>\n\nNemáš žádné prázdné láhve na vodu.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_03">
|
||||
<Original>You need a %1 to repair this</Original>
|
||||
@@ -507,24 +507,24 @@
|
||||
<Czech>Máte nesprávnou verzi DAYZ_CODE, stáhněte si prosím aktuální soubor z dayzepoch.com (Vaše verze je %1 a na serveru běží verze %2)</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_20">
|
||||
<Original>You must be near a water-source such as a pond or well to refill your water bottles</Original>
|
||||
<English>You must be near a water-source such as a pond or well to refill your water bottles</English>
|
||||
<German>Sie müssen in der nähe einer Wasserquelle wie einem Teich oder Brunnen sein um Wasserflaschen zu füllen</German>
|
||||
<Russian>Вы должны находиться возле водоема или источника воды, чтобы наполнить свои фляги.</Russian>
|
||||
<Spanish>Necesitas estar cerca de una fuente de agua como un pozo para rellenar tu cantimplora</Spanish>
|
||||
<Dutch>Je moet in de buurt van een waterbron zijn, zoals een meer of pomp, om je waterflessen bij te vullen</Dutch>
|
||||
<French>Vous devez être à côté d'une source d'eau comme un bassin ou un puits pour remplir vos bouteilles d'eau.</French>
|
||||
<Czech>Pro plnění láhve na vodu je nutné být poblíž studny nebo rybníka.</Czech>
|
||||
<Original>\n\nYou must be near a water-source such as a pond or well to refill your water bottles</Original>
|
||||
<English>\n\nYou must be near a water-source such as a pond or well to refill your water bottles</English>
|
||||
<German>\n\nSie müssen in der nähe einer Wasserquelle wie einem Teich oder Brunnen sein um Wasserflaschen zu füllen</German>
|
||||
<Russian>\n\nВы должны находиться возле водоема или источника воды, чтобы наполнить свои фляги.</Russian>
|
||||
<Spanish>\n\nNecesitas estar cerca de una fuente de agua como un pozo para rellenar tu cantimplora</Spanish>
|
||||
<Dutch>\n\nJe moet in de buurt van een waterbron zijn, zoals een meer of pomp, om je waterflessen bij te vullen</Dutch>
|
||||
<French>\n\nVous devez être à côté d'une source d'eau comme un bassin ou un puits pour remplir vos bouteilles d'eau.</French>
|
||||
<Czech>\n\nPro plnění láhve na vodu je nutné být poblíž studny nebo rybníka.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_21">
|
||||
<Original>You cannot do this while you are on a ladder</Original>
|
||||
<English>You cannot do this while you are on a ladder</English>
|
||||
<German>Sie können dies nicht tun, während Sie an einer Leiter sind</German>
|
||||
<Russian>Вы не можете этого делать, пока поднимаетесь по лестнице.</Russian>
|
||||
<Spanish>No puedes hacer esto mientras estás en una escalera</Spanish>
|
||||
<Dutch>Je kunt deze actie op een ladder niet uitvoeren</Dutch>
|
||||
<French>Vous ne pouvez pas faire cela en étant sur une échelle.</French>
|
||||
<Czech>Akci nelze provést, jelikož jste na žebříku.</Czech>
|
||||
<Original>\n\nYou cannot do this while you are on a ladder</Original>
|
||||
<English>\n\nYou cannot do this while you are on a ladder</English>
|
||||
<German>\n\nSie können dies nicht tun, während Sie an einer Leiter sind</German>
|
||||
<Russian>\n\nВы не можете этого делать, пока поднимаетесь по лестнице.</Russian>
|
||||
<Spanish>\n\nNo puedes hacer esto mientras estás en una escalera</Spanish>
|
||||
<Dutch>\n\nJe kunt deze actie op een ladder niet uitvoeren</Dutch>
|
||||
<French>\n\nVous ne pouvez pas faire cela en étant sur une échelle.</French>
|
||||
<Czech>\n\nAkci nelze provést, jelikož jste na žebříku.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_22">
|
||||
<Original>You must have wood in your inventory in order to create a fireplace</Original>
|
||||
@@ -537,14 +537,14 @@
|
||||
<Czech>Pro vytvoření ohniště je nutné mít v inventáři dřevo.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_23">
|
||||
<Original>You must be close to a tree to harvest wood.</Original>
|
||||
<English>You must be close to a tree to harvest wood.</English>
|
||||
<German>Sie müssen Nähe eines Baums sein, um Holz zu sammeln.</German>
|
||||
<Russian>Вы должны находится в лесу и подойти к дереву, чтобы нарубить дров.</Russian>
|
||||
<Spanish>Debes estar en el bosque y cerca de un árbol para recoger leña.</Spanish>
|
||||
<Dutch>Je moet in een bos en in de buurt van een boom zijn om hout te hakken.</Dutch>
|
||||
<French>Vous devez être en forêt et proche d'un arbre pour couper du bois.</French>
|
||||
<Czech>Pro získání dřeva musíš být v lese blízko stromu.</Czech>
|
||||
<Original>\n\nYou must be close to a tree to harvest wood.</Original>
|
||||
<English>\n\nYou must be close to a tree to harvest wood.</English>
|
||||
<German>\n\nSie müssen Nähe eines Baums sein, um Holz zu sammeln.</German>
|
||||
<Russian>\n\nВы должны находится в лесу и подойти к дереву, чтобы нарубить дров.</Russian>
|
||||
<Spanish>\n\nDebes estar en el bosque y cerca de un árbol para recoger leña.</Spanish>
|
||||
<Dutch>\n\nJe moet in een bos en in de buurt van een boom zijn om hout te hakken.</Dutch>
|
||||
<French>\n\nVous devez être en forêt et proche d'un arbre pour couper du bois.</French>
|
||||
<Czech>\n\nPro získání dřeva musíš být v lese blízko stromu.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_24">
|
||||
<Original>You do not have enough room in your inventory to do that.</Original>
|
||||
@@ -567,14 +567,14 @@
|
||||
<Czech>Hromádka dřeva byla úspěšně přidána do tvého inventáře.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_26">
|
||||
<Original>You cannot do this while you are in the water.</Original>
|
||||
<English>You cannot do this while you are in the water.</English>
|
||||
<German>Sie können dies nicht tun, während Sie sich im Wasser befinden..</German>
|
||||
<Russian>Это действие невозможно пока вы в воде.</Russian>
|
||||
<Spanish>No puedes hacer esto mientras estás en el agua.</Spanish>
|
||||
<Dutch>Je kunt deze actie niet in het water uitvoeren</Dutch>
|
||||
<French>Vous ne pouvez pas faire cela lorsque vous êtes dans l'eau.</French>
|
||||
<Czech>Tuto akci nelze provést pokud jste ve vodě.</Czech>
|
||||
<Original>\n\nYou cannot do this while you are in the water.</Original>
|
||||
<English>\n\nYou cannot do this while you are in the water.</English>
|
||||
<German>\n\nSie können dies nicht tun, während Sie sich im Wasser befinden..</German>
|
||||
<Russian>\n\nЭто действие невозможно пока вы в воде.</Russian>
|
||||
<Spanish>\n\nNo puedes hacer esto mientras estás en el agua.</Spanish>
|
||||
<Dutch>\n\nJe kunt deze actie niet in het water uitvoeren</Dutch>
|
||||
<French>\n\nVous ne pouvez pas faire cela lorsque vous êtes dans l'eau.</French>
|
||||
<Czech>\n\nTuto akci nelze provést pokud jste ve vodě.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_27">
|
||||
<Original>You have applied a heatpack to your body successfully.</Original>
|
||||
@@ -607,24 +607,24 @@
|
||||
<Czech>Úspěšně jsi nabil zásobníky %1 %2. </Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_30">
|
||||
<Original>%1 must be on your person to move it to/from your toolbelt.</Original>
|
||||
<English>%1 must be on your person to move it to/from your toolbelt.</English>
|
||||
<German>%1 muss in ihrem Inventar sein um es aus/in ihren Werkzeuggürtel zu packen.</German>
|
||||
<Russian>Для перемещения с/на пояс, предмет %1 должен быть у вас.</Russian>
|
||||
<Spanish>%1 debe estar en tu persona para moverlo hacia/desde el cinturon.</Spanish>
|
||||
<Dutch>Je moet %1 op je persoon hebben om het van/naar je gereedschapsriem te verplaatsen</Dutch>
|
||||
<French>%1 doit être sur vous pour pouvoir le déplacer de/vers votre ceinture à outils.</French>
|
||||
<Czech>TO DECIDE</Czech>
|
||||
<Original>\n\n%1 must be on your person to move it to/from your toolbelt.</Original>
|
||||
<English>\n\n%1 must be on your person to move it to/from your toolbelt.</English>
|
||||
<German>\n\n%1 muss in ihrem Inventar sein um es aus/in ihren Werkzeuggürtel zu packen.</German>
|
||||
<Russian>\n\nДля перемещения с/на пояс, предмет %1 должен быть у вас.</Russian>
|
||||
<Spanish>\n\n%1 debe estar en tu persona para moverlo hacia/desde el cinturon.</Spanish>
|
||||
<Dutch>\n\nJe moet %1 op je persoon hebben om het van/naar je gereedschapsriem te verplaatsen</Dutch>
|
||||
<French>\n\n%1 doit être sur vous pour pouvoir le déplacer de/vers votre ceinture à outils.</French>
|
||||
<Czech>\n\n%1 must be on your person to move it to/from your toolbelt.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_31">
|
||||
<Original>%1 must be in your main inventory to %2 it.</Original>
|
||||
<English>%1 must be in your main inventory to %2 it.</English>
|
||||
<German>%1 muss sich in Ihrem Inventar befinden um es zu %2.</German>
|
||||
<Russian>Предмет %1 должен находиться в основном инвентаре чтобы %2 его.</Russian>
|
||||
<Spanish>%1 debe estar en tu inventario principal para: %2</Spanish>
|
||||
<Dutch>%1 moet zich in je hoofdinventaris bevinden om het te %2.</Dutch>
|
||||
<French>%1 doit être dans votre inventaire principal pour pouvoir le %2</French>
|
||||
<Czech>%1 musí být ve tvém hlavním inventáři pro %2.</Czech>
|
||||
<Original>\n\n%1 must be in your main inventory to %2 it.</Original>
|
||||
<English>\n\n%1 must be in your main inventory to %2 it.</English>
|
||||
<German>\n\n%1 muss sich in Ihrem Inventar befinden um es zu %2.</German>
|
||||
<Russian>\n\nПредмет %1 должен находиться в основном инвентаре чтобы %2 его.</Russian>
|
||||
<Spanish>\n\n%1 debe estar en tu inventario principal para: %2</Spanish>
|
||||
<Dutch>\n\n%1 moet zich in je hoofdinventaris bevinden om het te %2.</Dutch>
|
||||
<French>\n\n%1 doit être dans votre inventaire principal pour pouvoir le %2</French>
|
||||
<Czech>\n\n%1 musí být ve tvém hlavním inventáři pro %2.</Czech>
|
||||
</Key>
|
||||
<Key ID="str_player_beinglooted">
|
||||
<Original>%1 is already being looted by someone else.</Original>
|
||||
|
||||
@@ -30,7 +30,7 @@ while {true} do {
|
||||
_bloodChanged = false;
|
||||
|
||||
_size = (sizeOf typeOf _refObj) * _factor;
|
||||
_vel = velocity _refObj;
|
||||
_vel = velocity player;
|
||||
_speed = round((_vel distance [0,0,0]) * 3.5);
|
||||
|
||||
//reset position
|
||||
|
||||
Binary file not shown.
Binary file not shown.
BIN
SQF/dayz_epoch/models/cinder_wall_full.p3d
Normal file
BIN
SQF/dayz_epoch/models/cinder_wall_full.p3d
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/models/cinder_wall_full_ghost.p3d
Normal file
BIN
SQF/dayz_epoch/models/cinder_wall_full_ghost.p3d
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/models/cinder_wall_half.p3d
Normal file
BIN
SQF/dayz_epoch/models/cinder_wall_half.p3d
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/models/cinder_wall_half_ghost.p3d
Normal file
BIN
SQF/dayz_epoch/models/cinder_wall_half_ghost.p3d
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/models/mortar.p3d
Normal file
BIN
SQF/dayz_epoch/models/mortar.p3d
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
SQF/dayz_epoch/pictures/equip_mortar_CA.paa
Normal file
BIN
SQF/dayz_epoch/pictures/equip_mortar_CA.paa
Normal file
Binary file not shown.
@@ -1,8 +1,8 @@
|
||||
ambient[]={1,1,1,0.5};
|
||||
diffuse[]={1,1,1,0.5};
|
||||
ambient[]={0.48627451,0.48627451,0.48627451,0.63999999};
|
||||
diffuse[]={0.48627451,0.48627451,0.48627451,0.63999999};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.24313726,0.24313726,0.24313726,1};
|
||||
specular[]={0.34117648,0.34117648,0.34117648,1};
|
||||
specularPower=100;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
|
||||
BIN
SQF/dayz_epoch/textures/cinder_ghost_ca.paa
Normal file
BIN
SQF/dayz_epoch/textures/cinder_ghost_ca.paa
Normal file
Binary file not shown.
68
SQF/dayz_epoch/textures/mortar.rvmat
Normal file
68
SQF/dayz_epoch/textures/mortar.rvmat
Normal file
@@ -0,0 +1,68 @@
|
||||
ambient[]={1,1,1,0.5};
|
||||
diffuse[]={1,1,1,0.5};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.24313726,0.24313726,0.24313726,1};
|
||||
specularPower=100;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="z\addons\dayz_epoch\textures\mortar_nohq.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage2
|
||||
{
|
||||
texture="CA\data\detail_maps\concrete1_512_dt.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage3
|
||||
{
|
||||
texture="#(argb,8,8,3)color(0,0,0,0,MC)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="#(argb,8,8,3)color(1,1,1,1,AS)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="CA\data\detail_maps\concrete1_512_dtsmdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
BIN
SQF/dayz_epoch/textures/mortar_co.paa
Normal file
BIN
SQF/dayz_epoch/textures/mortar_co.paa
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/textures/mortar_ghost_ca.paa
Normal file
BIN
SQF/dayz_epoch/textures/mortar_ghost_ca.paa
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/textures/mortar_nohq.paa
Normal file
BIN
SQF/dayz_epoch/textures/mortar_nohq.paa
Normal file
Binary file not shown.
92
SQF/dayz_epoch/textures/mortar_pail.rvmat
Normal file
92
SQF/dayz_epoch/textures/mortar_pail.rvmat
Normal file
@@ -0,0 +1,92 @@
|
||||
ambient[]={0.51372552,0.51372552,0.51372552,0.83999997};
|
||||
diffuse[]={0.51372552,0.51372552,0.51372552,0.83999997};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.05882353,0.05882353,0.05882353,0.73699999};
|
||||
specularPower=100;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="z\addons\dayz_epoch\textures\mortar_pail_nohq.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage2
|
||||
{
|
||||
texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage3
|
||||
{
|
||||
texture="#(argb,8,8,3)color(0,0,0,0,MC)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="#(argb,8,8,3)color(1,1,1,1,AS)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="z\addons\dayz_epoch\textures\mortar_pail_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,32,128,1)fresnel(0.3,0.35)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="ca\data\env_land_co.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
BIN
SQF/dayz_epoch/textures/mortar_pail_co.paa
Normal file
BIN
SQF/dayz_epoch/textures/mortar_pail_co.paa
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/textures/mortar_pail_nohq.paa
Normal file
BIN
SQF/dayz_epoch/textures/mortar_pail_nohq.paa
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/textures/mortar_pail_smdi.paa
Normal file
BIN
SQF/dayz_epoch/textures/mortar_pail_smdi.paa
Normal file
Binary file not shown.
BIN
SQF/dayz_epoch/textures/mortar_smdi.paa
Normal file
BIN
SQF/dayz_epoch/textures/mortar_smdi.paa
Normal file
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
DayZ Epoch 1.0.2
|
||||
DayZ Epoch 1.0.2.1
|
||||
*/
|
||||
|
||||
SET FOREIGN_KEY_CHECKS=0;
|
||||
|
||||
Reference in New Issue
Block a user