mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
1.0.0.9 Developer Build
+ [FIXED] Player position was saved to [] in certain areas of Taviana forcing random spawn. Override variables added dayz_minpos (default: -20000) and dayz_maxpos (default: 20000). To better support Taviana use dayz_minpos = -26000; dayz_maxpos = 26000; Thanks to dayzforever.com admin for the heads up. + [ADDED] Small Desert Camo Net - desert_net_kit - Recipe: 4 x tent + 4 x metal pole + [ADDED] Large Desert Camo Net - desert_large_net_kit - Recipe: 3 x desert_net_kit + [ADDED] Small Forest Camo Net - forest_net_kit - Recipe: 4 x tent + 4 x metal pole + [ADDED] Large Forest Camo Net - forest_large_net_kit - Recipe: 3 x forest_net_kit + [CHANGED] changed out ItemSodaRbull with ItemSodaR4z0r due to glitching with rbull model. + [ADDED] New Heavy Duty SUV with camo skin (Armor: 50) +25 increase in armor and holds 100 magazines, 10 weapons, 5 backpacks. Camo skin from here: http://www.404games.co.uk/forum/index.php?/topic/1243-camo-suv-skin-code-here/ + [ADDED] Sandbag Nest (sandbag_nest_kit) Required Tools: ItemEtool, ItemToolbox. Recipe: ItemSandbag x 4, PartWoodPlywood x 2, PartWoodLumber x 4. + [CHANGED] When selling multiple magazine items traders should now always give highest denomination back. + [CHANGED] workshop is now required for most crafting. Currently a Nice Wood Shed or a Wooden Shack will work. + [CHANGED] Updated camo female texture thanks to http://www.twitch.tv/miss_alejandria + [ADDED] New vehicle ownership is now tied to vehicle keys. When you purchase a new vehicle you will get a key added to your toolbelt. Do not drop on the ground as they are easy to loose. + [ADDED] Server admins can now change default fresh spawn loadout within mission init.sqf. DefaultMagazines = ["ItemBandage","ItemPainkiller"]; DefaultWeapons = ["ItemFlashlight"]; DefaultBackpack = ""; DefaultBackpackWeapon = ""; + [ADDED] added override variable for to change the distance for selling vehicles. dayz_sellDistance = 20; in the missions init.sqf + [REVERT] Re-enabled old refuel sources and added (TODO: ability to fill 55 gallon barrels off them). + [ADDED] More internal code locks and addaction locks to prevent bugged menus. + [CHANGED] Can no longer drop "MeleeHatchet","MeleeCrowbar","MeleeMachete","MeleeFishingPole" from primary slot, you must add it to your toolbelt first. + [ADDED] Fishing now requires casting and waiting to catch a fish (currently only trout). + [FIXED] Incorrect TradeInprogress message for Open Crate code. + [FIXED] Boat dealers can now use ["HeliHCivil","HeliHempty"] as alternate spawn locations for new vehicles. + [FIXED] Fixed spawning of Skin_TK_INS_Warlord_EP1 needed to be Skin_TK_INS_Warlord_EP1_DZ in loot table instead. + [ADDED] Gain 1 humanity for each zed you gut. only after body is cleared and the body disappears. + [REMOVED] Removed m240 nest crafting for now too many problems still. + [ADDED] You now get a key when purchasing a vehicle, + [ADDED] Have your pen and paper handy for this one... When placing a personal safe you will now get a 4 digit pin code that you will need to use gain access to your safe. + [FIXED] Issues with Arma 2 free and ArmA 2 X users when purchasing vehicles and placing vaults have now been resolved. + [CHANGED] Namalsk Plane vendor moved inside building, Medical vendor moved to adjacent building.
This commit is contained in:
@@ -229,7 +229,7 @@ if (true) then
|
||||
_this setDir 135.79054;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_13 = objNull;
|
||||
@@ -240,7 +240,7 @@ if (true) then
|
||||
_this setDir -104.7984;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_17 = objNull;
|
||||
@@ -251,7 +251,7 @@ if (true) then
|
||||
_this setDir 122.84246;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_vehicle_73 = objNull;
|
||||
@@ -261,7 +261,6 @@ if (true) then
|
||||
_vehicle_73 = _this;
|
||||
_this setDir -50.076622;
|
||||
_this setPos [11453.854, 11372.707, 3.0517578e-005];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_74 = objNull;
|
||||
@@ -344,7 +343,7 @@ if (true) then
|
||||
_this setDir 160.21169;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_57 = objNull;
|
||||
@@ -355,7 +354,7 @@ if (true) then
|
||||
_this setDir 167.6983;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_58 = objNull;
|
||||
@@ -366,7 +365,7 @@ if (true) then
|
||||
_this setDir 248.47894;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_59 = objNull;
|
||||
@@ -377,7 +376,7 @@ if (true) then
|
||||
_this setDir 394.84546;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_60 = objNull;
|
||||
@@ -388,7 +387,7 @@ if (true) then
|
||||
_this setDir 159.16132;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_61 = objNull;
|
||||
@@ -399,7 +398,7 @@ if (true) then
|
||||
_this setDir 452.00577;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_62 = objNull;
|
||||
@@ -410,7 +409,7 @@ if (true) then
|
||||
_this setDir 504.14603;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_vehicle_92 = objNull;
|
||||
@@ -725,7 +724,6 @@ if (true) then
|
||||
_vehicle_187 = _this;
|
||||
_this setDir -13.399387;
|
||||
_this setPos [4075.5295, 11688.932, -0.00051879883];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_195 = objNull;
|
||||
@@ -744,7 +742,6 @@ if (true) then
|
||||
_vehicle_197 = _this;
|
||||
_this setDir -6.2451982;
|
||||
_this setPos [4076.6787, 11687.93];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_198 = objNull;
|
||||
@@ -754,7 +751,6 @@ if (true) then
|
||||
_vehicle_198 = _this;
|
||||
_this setDir -36.714691;
|
||||
_this setPos [4070.8406, 11688.412, -6.1035156e-005];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_200 = objNull;
|
||||
@@ -1063,7 +1059,6 @@ if (true) then
|
||||
_vehicle_278 = _this;
|
||||
_this setDir -98.808823;
|
||||
_this setPos [4040.293, 11671.288, -6.1035156e-005];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_281 = objNull;
|
||||
@@ -1073,7 +1068,6 @@ if (true) then
|
||||
_vehicle_281 = _this;
|
||||
_this setDir 149.93571;
|
||||
_this setPos [4047.7837, 11680.796, 3.0517578e-005];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_283 = objNull;
|
||||
@@ -1082,7 +1076,6 @@ if (true) then
|
||||
_this = createVehicle ["Land_Chair_EP1", [4043.9524, 11679.923], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_283 = _this;
|
||||
_this setPos [4043.9524, 11679.923];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_286 = objNull;
|
||||
@@ -1092,7 +1085,6 @@ if (true) then
|
||||
_vehicle_286 = _this;
|
||||
_this setDir 274.44189;
|
||||
_this setPos [4046.6113, 11677.413];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_289 = objNull;
|
||||
@@ -1111,7 +1103,6 @@ if (true) then
|
||||
_vehicle_291 = _this;
|
||||
_this setDir -33.169563;
|
||||
_this setPos [4046.1511, 11678.553, -3.0517578e-005];
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_292 = objNull;
|
||||
@@ -1229,7 +1220,7 @@ if (true) then
|
||||
_this setDir 248.77701;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_74 = objNull;
|
||||
@@ -1240,7 +1231,7 @@ if (true) then
|
||||
_this setDir -48.52689;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_75 = objNull;
|
||||
@@ -1251,7 +1242,7 @@ if (true) then
|
||||
_this setDir -47.533646;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_78 = objNull;
|
||||
@@ -1262,7 +1253,7 @@ if (true) then
|
||||
_this setDir -52.978313;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_79 = objNull;
|
||||
@@ -1273,7 +1264,7 @@ if (true) then
|
||||
_this setDir 125.74001;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_82 = objNull;
|
||||
@@ -1284,7 +1275,7 @@ if (true) then
|
||||
_this setDir 107.12319;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_84 = objNull;
|
||||
@@ -1295,7 +1286,7 @@ if (true) then
|
||||
_this setDir 390.10486;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_vehicle_417 = objNull;
|
||||
@@ -1579,7 +1570,7 @@ if (true) then
|
||||
_this setDir 356.23874;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_90 = objNull;
|
||||
@@ -1590,7 +1581,7 @@ if (true) then
|
||||
_this setDir 102.75758;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_91 = objNull;
|
||||
@@ -1601,7 +1592,7 @@ if (true) then
|
||||
_this setDir 196.69872;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_vehicle_513 = objNull;
|
||||
@@ -1629,7 +1620,7 @@ if (true) then
|
||||
_this setDir 116.04359;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_unit_95 = objNull;
|
||||
@@ -1640,7 +1631,7 @@ if (true) then
|
||||
_this setDir -50.756989;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
_vehicle_520 = objNull;
|
||||
@@ -1859,7 +1850,7 @@ if (true) then
|
||||
_unit_97 = _this;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
};
|
||||
|
||||
processInitCommands;
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
/*
|
||||
=====================================================================================================================
|
||||
Get Loot Pos - by VBAWOL
|
||||
Version: 1.0
|
||||
Date: 10.19.2012
|
||||
|
||||
Parameter: nul = [] execVM "Make_lootPos.sqf";
|
||||
=====================================================================================================================
|
||||
*/
|
||||
private ["_target","_type","_pos","_ppos","_veh","_worldPos"];
|
||||
|
||||
|
||||
|
||||
if (count _this > 2) then
|
||||
{
|
||||
_doSave = (_this select 3) select 0;
|
||||
|
||||
if (_doSave == "save") then {
|
||||
|
||||
_target = nearestObject [player, "HouseBase"];
|
||||
|
||||
if (_target isKindOf "All") then {
|
||||
|
||||
if (!(isNil ("_target"))) then {
|
||||
|
||||
_type = typeOf _target;
|
||||
_pos = getPosATL _target;
|
||||
|
||||
_ppos = _target worldToModel (getPosATL player);
|
||||
|
||||
_worldPos = _target modelToWorld _ppos;
|
||||
|
||||
diag_log text format ["%1 : %2", _type,_ppos];
|
||||
_veh = createVehicle ["Sign_arrow_down_EP1", _worldPos, [], 0, "CAN_COLLIDE"];
|
||||
_veh setPos _worldPos;
|
||||
|
||||
} else {
|
||||
diag_log text format ["Target nil: %1", _target];
|
||||
};
|
||||
|
||||
} else {
|
||||
diag_log text format ["Failed to get target: %1", _target];
|
||||
};
|
||||
|
||||
|
||||
} else {
|
||||
diag_log text format ["Save not passed: %1", _doSave];
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
s_aveact = -1;
|
||||
_sleep = 1;
|
||||
sleep 60;
|
||||
|
||||
While {true} do {
|
||||
if (s_aveact < 0) then {
|
||||
s_aveact = player addAction ["Save to arma2.rpt", "Make_lootPos.sqf", ["save"], 99, false, true, "",""];
|
||||
};
|
||||
sleep _sleep;
|
||||
};
|
||||
|
||||
};
|
||||
@@ -1208,10 +1208,18 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class MeleeFishingPole
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemHatchet
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemFishingPole
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemCrowbar
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1228,8 +1236,43 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class Skin_FR_OHara_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_FR_Rodriguez_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_CZ_Soldier_Sniper_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Graves_Light_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_MG_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_Sniper_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_Crew_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_CO_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Survivor2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1278,14 +1321,30 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker3_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker4_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Bandit1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Bandit2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_BanditW1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1385,7 +1444,7 @@ class CfgWeight
|
||||
};
|
||||
class PartWoodPile
|
||||
{
|
||||
weight = 0.5;
|
||||
weight = 1;
|
||||
};
|
||||
class PartWheel
|
||||
{
|
||||
@@ -1427,6 +1486,14 @@ class CfgWeight
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemTentDomed
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemTentDomed2
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class TrapBear
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1550,7 +1617,131 @@ class CfgWeight
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class ItemCanvas
|
||||
{
|
||||
weight = 4;
|
||||
};
|
||||
class ItemBurlap
|
||||
{
|
||||
weight = 8;
|
||||
};
|
||||
class ItemLightBulb
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class ItemPole
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class ItemCorrugated
|
||||
{
|
||||
weight = 29;
|
||||
};
|
||||
class PartWoodPlywood
|
||||
{
|
||||
weight = 4;
|
||||
};
|
||||
class PartWoodLumber
|
||||
{
|
||||
weight = 2;
|
||||
};
|
||||
|
||||
class 30m_plot_kit
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class fuel_pump_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class light_pole_kit
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class stick_fence_kit
|
||||
{
|
||||
weight = 6;
|
||||
};
|
||||
class park_bench_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class wood_shack_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class storage_shed_kit
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
class outhouse_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class wooden_shed_kit
|
||||
{
|
||||
weight = 75;
|
||||
};
|
||||
class rusty_gate_kit
|
||||
{
|
||||
weight = 80;
|
||||
};
|
||||
class sun_shade_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class m240_nest_kit
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
class ItemFuelBarrel
|
||||
{
|
||||
weight = 167;
|
||||
};
|
||||
class ItemFuelBarrelEmpty
|
||||
{
|
||||
weight = 20;
|
||||
};
|
||||
class ItemOilBarrel
|
||||
{
|
||||
weight = 140;
|
||||
};
|
||||
|
||||
class bulk_NVGoggles
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_DZ_Backpack_EP1
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_15Rnd_9x19_M9SD
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_30Rnd_556x45_StanagSD
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemSandbag
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemGPS
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemMap
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemEtool
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_17Rnd_9x19_glock17
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -53,9 +53,9 @@ AllowedVehiclesList = [
|
||||
["Fishing_Boat",3],
|
||||
["Smallboat_1",3],
|
||||
["Smallboat_2",4],
|
||||
["KamazRefuel",1],
|
||||
["UralRefuel_TK_EP1",1],
|
||||
["MtvrRefuel_DES_EP1",1],
|
||||
["KamazRefuel_DZ",1],
|
||||
["UralRefuel_TK_EP1_DZ",1],
|
||||
["MtvrRefuel_DES_EP1_DZ",1],
|
||||
["Ural_UN_EP1",3],
|
||||
["Ural_TK_CIV_EP1",3],
|
||||
["Ural_CDF",3],
|
||||
|
||||
@@ -25,6 +25,16 @@ MaxDynamicDebris = 700; // Default = 100
|
||||
dayz_MapArea = 20000; // Default = 10000
|
||||
dayz_maxLocalZombies = 40; // Default = 40
|
||||
|
||||
// new stuff
|
||||
spawnMarkerCount = 10; // Default: 4
|
||||
dayz_tameDogs = true;
|
||||
|
||||
dayz_minpos = -26000;
|
||||
dayz_maxpos = 26000;
|
||||
|
||||
DynamicVehicleDamageLow = 0; // Default: 0
|
||||
DynamicVehicleDamageHigh = 100; // Default: 100
|
||||
|
||||
// DZEdebug = true;
|
||||
|
||||
//Load in compiled functions
|
||||
|
||||
@@ -190,7 +190,7 @@ if (true) then
|
||||
_this setDir -145.22078;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_42 = objNull;
|
||||
@@ -199,7 +199,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [11886.055, 21036.699, -6.3896179e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_42 = _this;
|
||||
_this setDir 50.418365;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false";
|
||||
_this setPos [11886.055, 21036.699, -6.3896179e-005];
|
||||
};
|
||||
|
||||
@@ -238,7 +238,7 @@ if (true) then
|
||||
_this setDir 113.89225;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_52 = objNull;
|
||||
@@ -391,7 +391,7 @@ if (true) then
|
||||
_this setDir -113.04073;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_88 = objNull;
|
||||
@@ -501,7 +501,7 @@ if (true) then
|
||||
_this setDir 176.94569;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_104 = objNull;
|
||||
@@ -553,7 +553,7 @@ if (true) then
|
||||
_unit_39 = _this;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_113 = objNull;
|
||||
@@ -1056,7 +1056,7 @@ if (true) then
|
||||
_this setDir 169.93163;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_45 = objNull;
|
||||
@@ -1067,7 +1067,7 @@ if (true) then
|
||||
_this setDir 266.48651;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_49 = objNull;
|
||||
@@ -1078,7 +1078,7 @@ if (true) then
|
||||
_this setDir 175.08258;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_243 = objNull;
|
||||
@@ -1989,7 +1989,7 @@ if (true) then
|
||||
_this setDir -92.519264;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_466 = objNull;
|
||||
@@ -2193,7 +2193,7 @@ if (true) then
|
||||
_this setDir 123.30173;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_510 = objNull;
|
||||
@@ -2374,7 +2374,7 @@ if (true) then
|
||||
_this setDir -81.309258;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_85 = objNull;
|
||||
@@ -2385,7 +2385,7 @@ if (true) then
|
||||
_this setDir -63.655689;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_548 = objNull;
|
||||
@@ -2450,7 +2450,7 @@ if (true) then
|
||||
_this setDir -64.708405;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_570 = objNull;
|
||||
@@ -2478,7 +2478,7 @@ if (true) then
|
||||
_this setDir 184.15884;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_117 = objNull;
|
||||
@@ -2489,7 +2489,7 @@ if (true) then
|
||||
_this setDir 79.300804;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_575 = objNull;
|
||||
@@ -2596,7 +2596,7 @@ if (true) then
|
||||
_vehicle_586 = _this;
|
||||
_this setDir -86.933929;
|
||||
_this setVehicleLock "LOCKED";
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [16160.226, 13579.342, 0.048036814];
|
||||
};
|
||||
|
||||
@@ -3180,7 +3180,7 @@ if (true) then
|
||||
_this setDir 173.20691;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_754 = objNull;
|
||||
@@ -3324,7 +3324,7 @@ if (true) then
|
||||
_this setDir 53.360485;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_777 = objNull;
|
||||
@@ -3478,7 +3478,7 @@ if (true) then
|
||||
_this setDir 128.78096;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_165 = objNull;
|
||||
@@ -3489,7 +3489,7 @@ if (true) then
|
||||
_this setDir 96.361519;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_806 = objNull;
|
||||
@@ -3545,7 +3545,7 @@ if (true) then
|
||||
_this setDir 170.22168;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_812 = objNull;
|
||||
@@ -3869,7 +3869,7 @@ if (true) then
|
||||
_this setDir 46.824566;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_173 = objNull;
|
||||
@@ -3880,7 +3880,7 @@ if (true) then
|
||||
_this setDir 26.874998;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_175 = objNull;
|
||||
@@ -3891,7 +3891,7 @@ if (true) then
|
||||
_this setDir 187.10107;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_176 = objNull;
|
||||
@@ -3901,7 +3901,7 @@ if (true) then
|
||||
_unit_176 = _this;
|
||||
_this setDir 196.82994;
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_898 = objNull;
|
||||
@@ -3992,7 +3992,7 @@ if (true) then
|
||||
_this setDir -85.271355;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_918 = objNull;
|
||||
@@ -4453,7 +4453,7 @@ if (true) then
|
||||
_this setDir 3.3161948;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_unit_195 = objNull;
|
||||
@@ -4464,7 +4464,7 @@ if (true) then
|
||||
_this setDir -174.58798;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0; _this enableSimulation false;
|
||||
};
|
||||
|
||||
_vehicle_1010 = objNull;
|
||||
@@ -4473,7 +4473,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [10172.08, 18716.92, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1010 = _this;
|
||||
_this setDir -29.006971;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [10172.08, 18716.92, 3.8146973e-005];
|
||||
};
|
||||
|
||||
@@ -4483,7 +4483,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [8125.7231, 21316.494, 4.5776367e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1012 = _this;
|
||||
_this setDir -12.10274;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [8125.7231, 21316.494, 4.5776367e-005];
|
||||
};
|
||||
|
||||
@@ -4502,7 +4502,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [10399.53, 16856.883, -1.1444092e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1016 = _this;
|
||||
_this setDir -4.3650527;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [10399.53, 16856.883, -1.1444092e-005];
|
||||
};
|
||||
|
||||
@@ -4530,7 +4530,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [16159.999, 13585.844, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1021 = _this;
|
||||
_this setDir -88.974411;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [16159.999, 13585.844, 7.6293945e-006];
|
||||
};
|
||||
|
||||
@@ -4549,7 +4549,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [16438.418, 11485.899, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1025 = _this;
|
||||
_this setDir 184.43353;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [16438.418, 11485.899, 3.8146973e-006];
|
||||
};
|
||||
|
||||
@@ -4568,7 +4568,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [15314.632, 9367.6123, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1028 = _this;
|
||||
_this setDir 92.250443;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [15314.632, 9367.6123, 2.0980835e-005];
|
||||
};
|
||||
|
||||
@@ -4587,7 +4587,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [16449.633, 8330.2139, -1.5258789e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1031 = _this;
|
||||
_this setDir -0.3754791;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [16449.633, 8330.2139, -1.5258789e-005];
|
||||
};
|
||||
|
||||
@@ -4606,7 +4606,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [6995.0059, 8294.9717], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1034 = _this;
|
||||
_this setDir 219.52061;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [6995.0059, 8294.9717];
|
||||
};
|
||||
|
||||
@@ -4616,7 +4616,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [5556.7646, 8750.1543], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1036 = _this;
|
||||
_this setDir 217.35687;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [5556.7646, 8750.1543];
|
||||
};
|
||||
|
||||
@@ -4626,7 +4626,7 @@ if (true) then
|
||||
_this = createVehicle ["Info_Board_EP1", [3223.3574, 7563.1914, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_1038 = _this;
|
||||
_this setDir 64.711594;
|
||||
_this setVehicleInit "this allowDammage false;";
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [3223.3574, 7563.1914, 3.8146973e-006];
|
||||
};
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ class Mission
|
||||
items=100;
|
||||
class Item0
|
||||
{
|
||||
position[]={1180.8942,46.423904,13993.506};
|
||||
position[]={968.82538,1.8870479,25021.938};
|
||||
azimut=-17.0839;
|
||||
id=11;
|
||||
side="WEST";
|
||||
@@ -60,7 +60,7 @@ class Mission
|
||||
};
|
||||
class Item1
|
||||
{
|
||||
position[]={1182.4371,46.397659,13993.057};
|
||||
position[]={970.36835,1.8777902,25021.488};
|
||||
azimut=-17.0839;
|
||||
id=0;
|
||||
side="WEST";
|
||||
@@ -73,7 +73,7 @@ class Mission
|
||||
};
|
||||
class Item2
|
||||
{
|
||||
position[]={1181.3942,46.416546,13993.346};
|
||||
position[]={969.32538,1.8840479,25021.777};
|
||||
azimut=-17.083944;
|
||||
id=5;
|
||||
side="WEST";
|
||||
@@ -84,7 +84,7 @@ class Mission
|
||||
};
|
||||
class Item3
|
||||
{
|
||||
position[]={1180.5231,46.48782,13992.893};
|
||||
position[]={968.45428,1.8892744,25021.324};
|
||||
azimut=-17.083944;
|
||||
id=8;
|
||||
side="WEST";
|
||||
@@ -95,7 +95,7 @@ class Mission
|
||||
};
|
||||
class Item4
|
||||
{
|
||||
position[]={1182.2965,46.277039,13994.639};
|
||||
position[]={970.22772,1.8786336,25023.07};
|
||||
azimut=-17.083944;
|
||||
id=18;
|
||||
side="WEST";
|
||||
@@ -106,7 +106,7 @@ class Mission
|
||||
};
|
||||
class Item5
|
||||
{
|
||||
position[]={1182.2848,46.400269,13993.1};
|
||||
position[]={970.216,1.8787041,25021.531};
|
||||
azimut=-17.083944;
|
||||
id=2;
|
||||
side="WEST";
|
||||
@@ -117,7 +117,7 @@ class Mission
|
||||
};
|
||||
class Item6
|
||||
{
|
||||
position[]={1181.652,46.409325,13993.307};
|
||||
position[]={969.58319,1.8825012,25021.738};
|
||||
azimut=-17.083937;
|
||||
id=9;
|
||||
side="WEST";
|
||||
@@ -128,7 +128,7 @@ class Mission
|
||||
};
|
||||
class Item7
|
||||
{
|
||||
position[]={1182.9918,46.343403,13993.455};
|
||||
position[]={970.92303,1.8744617,25021.887};
|
||||
azimut=-17.083944;
|
||||
id=21;
|
||||
side="WEST";
|
||||
@@ -139,7 +139,7 @@ class Mission
|
||||
};
|
||||
class Item8
|
||||
{
|
||||
position[]={1182.3903,46.489307,13991.932};
|
||||
position[]={970.32147,1.8780712,25020.363};
|
||||
azimut=-17.083944;
|
||||
id=13;
|
||||
side="WEST";
|
||||
@@ -150,7 +150,7 @@ class Mission
|
||||
};
|
||||
class Item9
|
||||
{
|
||||
position[]={1183.1051,46.361977,13993.166};
|
||||
position[]={971.03632,1.8737819,25021.598};
|
||||
azimut=-17.083944;
|
||||
id=7;
|
||||
side="WEST";
|
||||
@@ -161,7 +161,7 @@ class Mission
|
||||
};
|
||||
class Item10
|
||||
{
|
||||
position[]={1180.9293,46.46146,13993.018};
|
||||
position[]={968.86053,1.8868368,25021.449};
|
||||
azimut=-17.0839;
|
||||
id=36;
|
||||
side="WEST";
|
||||
@@ -172,7 +172,7 @@ class Mission
|
||||
};
|
||||
class Item11
|
||||
{
|
||||
position[]={1180.7848,46.443047,13993.322};
|
||||
position[]={968.716,1.8877043,25021.754};
|
||||
azimut=-17.083944;
|
||||
id=25;
|
||||
side="WEST";
|
||||
@@ -183,7 +183,7 @@ class Mission
|
||||
};
|
||||
class Item12
|
||||
{
|
||||
position[]={1178.8492,46.602634,13992.299};
|
||||
position[]={966.78046,1.8993171,25020.73};
|
||||
azimut=-17.083944;
|
||||
id=43;
|
||||
side="WEST";
|
||||
@@ -194,7 +194,7 @@ class Mission
|
||||
};
|
||||
class Item13
|
||||
{
|
||||
position[]={1182.2203,46.394463,13993.205};
|
||||
position[]={970.15155,1.8790909,25021.637};
|
||||
azimut=-17.083944;
|
||||
id=30;
|
||||
side="WEST";
|
||||
@@ -205,7 +205,7 @@ class Mission
|
||||
};
|
||||
class Item14
|
||||
{
|
||||
position[]={1182.2614,46.416557,13992.908};
|
||||
position[]={970.19257,1.8788449,25021.34};
|
||||
azimut=-17.083944;
|
||||
id=33;
|
||||
side="WEST";
|
||||
@@ -216,7 +216,7 @@ class Mission
|
||||
};
|
||||
class Item15
|
||||
{
|
||||
position[]={1182.9059,46.321411,13993.775};
|
||||
position[]={970.8371,1.8749772,25022.207};
|
||||
azimut=-17.083944;
|
||||
id=1;
|
||||
side="WEST";
|
||||
@@ -227,7 +227,7 @@ class Mission
|
||||
};
|
||||
class Item16
|
||||
{
|
||||
position[]={1182.2496,46.330318,13993.994};
|
||||
position[]={970.18085,1.8789152,25022.426};
|
||||
azimut=-17.083944;
|
||||
id=4;
|
||||
side="WEST";
|
||||
@@ -238,7 +238,7 @@ class Mission
|
||||
};
|
||||
class Item17
|
||||
{
|
||||
position[]={1180.6813,46.541969,13992.135};
|
||||
position[]={968.61249,1.8883251,25020.566};
|
||||
azimut=-17.083944;
|
||||
id=3;
|
||||
side="WEST";
|
||||
@@ -249,7 +249,7 @@ class Mission
|
||||
};
|
||||
class Item18
|
||||
{
|
||||
position[]={1181.3981,46.327244,13994.463};
|
||||
position[]={969.32928,1.8840244,25022.895};
|
||||
azimut=-17.083944;
|
||||
id=6;
|
||||
side="WEST";
|
||||
@@ -260,7 +260,7 @@ class Mission
|
||||
};
|
||||
class Item19
|
||||
{
|
||||
position[]={1181.1071,46.361984,13994.174};
|
||||
position[]={969.03827,1.8857708,25022.605};
|
||||
azimut=-17.083944;
|
||||
id=10;
|
||||
side="WEST";
|
||||
@@ -271,7 +271,7 @@ class Mission
|
||||
};
|
||||
class Item20
|
||||
{
|
||||
position[]={1182.6168,46.384815,13993.127};
|
||||
position[]={970.54803,1.8767116,25021.559};
|
||||
azimut=-17.083944;
|
||||
id=16;
|
||||
side="WEST";
|
||||
@@ -282,7 +282,7 @@ class Mission
|
||||
};
|
||||
class Item21
|
||||
{
|
||||
position[]={1182.3668,46.404148,13993.01};
|
||||
position[]={970.29803,1.878212,25021.441};
|
||||
azimut=-17.083944;
|
||||
id=19;
|
||||
side="WEST";
|
||||
@@ -293,7 +293,7 @@ class Mission
|
||||
};
|
||||
class Item22
|
||||
{
|
||||
position[]={1182.2711,46.377434,13993.393};
|
||||
position[]={970.20233,1.8787858,25021.824};
|
||||
azimut=-17.083944;
|
||||
id=15;
|
||||
side="WEST";
|
||||
@@ -304,7 +304,7 @@ class Mission
|
||||
};
|
||||
class Item23
|
||||
{
|
||||
position[]={1182.4235,46.388836,13993.174};
|
||||
position[]={970.35468,1.8778721,25021.605};
|
||||
azimut=-17.083944;
|
||||
id=23;
|
||||
side="WEST";
|
||||
@@ -315,7 +315,7 @@ class Mission
|
||||
};
|
||||
class Item24
|
||||
{
|
||||
position[]={1182.3239,46.350468,13993.705};
|
||||
position[]={970.25507,1.8784695,25022.137};
|
||||
azimut=-17.083944;
|
||||
id=26;
|
||||
side="WEST";
|
||||
@@ -326,7 +326,7 @@ class Mission
|
||||
};
|
||||
class Item25
|
||||
{
|
||||
position[]={1181.6793,46.414433,13993.229};
|
||||
position[]={969.61053,1.882337,25021.66};
|
||||
azimut=-17.083944;
|
||||
id=29;
|
||||
side="WEST";
|
||||
@@ -337,7 +337,7 @@ class Mission
|
||||
};
|
||||
class Item26
|
||||
{
|
||||
position[]={1182.0641,46.400757,13993.205};
|
||||
position[]={969.9953,1.8800281,25021.637};
|
||||
azimut=-17.083944;
|
||||
id=31;
|
||||
side="WEST";
|
||||
@@ -348,7 +348,7 @@ class Mission
|
||||
};
|
||||
class Item27
|
||||
{
|
||||
position[]={1182.6832,46.326244,13993.826};
|
||||
position[]={970.61444,1.8763133,25022.258};
|
||||
azimut=-17.083944;
|
||||
id=28;
|
||||
side="WEST";
|
||||
@@ -359,7 +359,7 @@ class Mission
|
||||
};
|
||||
class Item28
|
||||
{
|
||||
position[]={1182.6246,46.282204,13994.408};
|
||||
position[]={970.55585,1.8766652,25022.84};
|
||||
azimut=-17.083944;
|
||||
id=35;
|
||||
side="WEST";
|
||||
@@ -370,7 +370,7 @@ class Mission
|
||||
};
|
||||
class Item29
|
||||
{
|
||||
position[]={1181.943,46.486137,13992.197};
|
||||
position[]={969.87421,1.8807548,25020.629};
|
||||
azimut=-17.083944;
|
||||
id=27;
|
||||
side="WEST";
|
||||
@@ -381,7 +381,7 @@ class Mission
|
||||
};
|
||||
class Item30
|
||||
{
|
||||
position[]={1180.777,46.461388,13993.096};
|
||||
position[]={968.70819,1.8877512,25021.527};
|
||||
azimut=-17.083937;
|
||||
id=34;
|
||||
side="WEST";
|
||||
@@ -392,7 +392,7 @@ class Mission
|
||||
};
|
||||
class Item31
|
||||
{
|
||||
position[]={1182.3356,46.474701,13992.143};
|
||||
position[]={970.26678,1.8783996,25020.574};
|
||||
azimut=-17.083944;
|
||||
id=46;
|
||||
side="WEST";
|
||||
@@ -403,7 +403,7 @@ class Mission
|
||||
};
|
||||
class Item32
|
||||
{
|
||||
position[]={1181.8883,46.434631,13992.869};
|
||||
position[]={969.81952,1.8810833,25021.301};
|
||||
azimut=-17.083944;
|
||||
id=38;
|
||||
side="WEST";
|
||||
@@ -414,7 +414,7 @@ class Mission
|
||||
};
|
||||
class Item33
|
||||
{
|
||||
position[]={1180.6539,46.542461,13992.143};
|
||||
position[]={968.58514,1.8884894,25020.574};
|
||||
azimut=-17.083944;
|
||||
id=32;
|
||||
side="WEST";
|
||||
@@ -425,7 +425,7 @@ class Mission
|
||||
};
|
||||
class Item34
|
||||
{
|
||||
position[]={1182.0074,46.351891,13993.846};
|
||||
position[]={969.93866,1.880368,25022.277};
|
||||
azimut=-17.083944;
|
||||
id=47;
|
||||
side="WEST";
|
||||
@@ -436,7 +436,7 @@ class Mission
|
||||
};
|
||||
class Item35
|
||||
{
|
||||
position[]={1180.6188,46.465935,13993.119};
|
||||
position[]={968.54999,1.8887005,25021.551};
|
||||
azimut=-17.083944;
|
||||
id=41;
|
||||
side="WEST";
|
||||
@@ -447,7 +447,7 @@ class Mission
|
||||
};
|
||||
class Item36
|
||||
{
|
||||
position[]={1182.691,46.399853,13992.9};
|
||||
position[]={970.62225,1.8762665,25021.332};
|
||||
azimut=-17.083944;
|
||||
id=40;
|
||||
side="WEST";
|
||||
@@ -458,7 +458,7 @@ class Mission
|
||||
};
|
||||
class Item37
|
||||
{
|
||||
position[]={1181.4957,46.483578,13992.455};
|
||||
position[]={969.42694,1.8834385,25020.887};
|
||||
azimut=-17.083944;
|
||||
id=44;
|
||||
side="WEST";
|
||||
@@ -469,7 +469,7 @@ class Mission
|
||||
};
|
||||
class Item38
|
||||
{
|
||||
position[]={1180.025,46.574623,13992.057};
|
||||
position[]={967.95624,1.8922625,25020.488};
|
||||
azimut=-17.083944;
|
||||
id=48;
|
||||
side="WEST";
|
||||
@@ -480,7 +480,7 @@ class Mission
|
||||
};
|
||||
class Item39
|
||||
{
|
||||
position[]={1180.3649,46.49675,13992.861};
|
||||
position[]={968.29608,1.8902236,25021.293};
|
||||
azimut=-17.083944;
|
||||
id=39;
|
||||
side="WEST";
|
||||
@@ -491,7 +491,7 @@ class Mission
|
||||
};
|
||||
class Item40
|
||||
{
|
||||
position[]={1180.7731,46.561043,13991.85};
|
||||
position[]={968.70428,1.8877746,25020.281};
|
||||
azimut=-17.083944;
|
||||
id=37;
|
||||
side="WEST";
|
||||
@@ -502,7 +502,7 @@ class Mission
|
||||
};
|
||||
class Item41
|
||||
{
|
||||
position[]={1179.5739,46.514252,13993.041};
|
||||
position[]={967.50507,1.8949696,25021.473};
|
||||
azimut=-17.083944;
|
||||
id=45;
|
||||
side="WEST";
|
||||
@@ -513,7 +513,7 @@ class Mission
|
||||
};
|
||||
class Item42
|
||||
{
|
||||
position[]={1181.4996,46.466614,13992.666};
|
||||
position[]={969.43085,1.883415,25021.098};
|
||||
azimut=-17.0839;
|
||||
id=49;
|
||||
side="WEST";
|
||||
@@ -524,7 +524,7 @@ class Mission
|
||||
};
|
||||
class Item43
|
||||
{
|
||||
position[]={1181.8395,46.481293,13992.311};
|
||||
position[]={969.77069,1.8813763,25020.742};
|
||||
azimut=-17.083944;
|
||||
id=42;
|
||||
side="WEST";
|
||||
@@ -535,7 +535,7 @@ class Mission
|
||||
};
|
||||
class Item44
|
||||
{
|
||||
position[]={1182.3004,46.398788,13993.111};
|
||||
position[]={970.23163,1.8786103,25021.543};
|
||||
azimut=-17.083944;
|
||||
id=22;
|
||||
side="WEST";
|
||||
@@ -546,7 +546,7 @@ class Mission
|
||||
};
|
||||
class Item45
|
||||
{
|
||||
position[]={1181.8668,46.394455,13993.385};
|
||||
position[]={969.79803,1.881212,25021.816};
|
||||
azimut=-17.083944;
|
||||
id=12;
|
||||
side="WEST";
|
||||
@@ -557,7 +557,7 @@ class Mission
|
||||
};
|
||||
class Item46
|
||||
{
|
||||
position[]={1182.441,46.293377,13994.361};
|
||||
position[]={970.37225,1.8777667,25022.793};
|
||||
azimut=-17.083944;
|
||||
id=14;
|
||||
side="WEST";
|
||||
@@ -568,7 +568,7 @@ class Mission
|
||||
};
|
||||
class Item47
|
||||
{
|
||||
position[]={1182.4567,46.321365,13994.002};
|
||||
position[]={970.38788,1.8776729,25022.434};
|
||||
azimut=-17.0839;
|
||||
id=24;
|
||||
side="WEST";
|
||||
@@ -579,7 +579,7 @@ class Mission
|
||||
};
|
||||
class Item48
|
||||
{
|
||||
position[]={1182.9137,46.304169,13993.986};
|
||||
position[]={970.84491,1.8749309,25022.418};
|
||||
azimut=-17.083944;
|
||||
id=20;
|
||||
side="WEST";
|
||||
@@ -590,7 +590,7 @@ class Mission
|
||||
};
|
||||
class Item49
|
||||
{
|
||||
position[]={1180.1813,46.391254,13994.275};
|
||||
position[]={968.11249,1.8913251,25022.707};
|
||||
azimut=-17.083944;
|
||||
id=17;
|
||||
side="WEST";
|
||||
@@ -601,7 +601,7 @@ class Mission
|
||||
};
|
||||
class Item50
|
||||
{
|
||||
position[]={1182.5621,46.369484,13993.346};
|
||||
position[]={970.49335,1.87704,25021.777};
|
||||
azimut=-17.0839;
|
||||
id=51;
|
||||
side="WEST";
|
||||
@@ -612,7 +612,7 @@ class Mission
|
||||
};
|
||||
class Item51
|
||||
{
|
||||
position[]={1182.3981,46.409828,13992.924};
|
||||
position[]={970.32928,1.8780242,25021.355};
|
||||
azimut=-17.0839;
|
||||
id=52;
|
||||
side="WEST";
|
||||
@@ -623,7 +623,7 @@ class Mission
|
||||
};
|
||||
class Item52
|
||||
{
|
||||
position[]={1183.0543,46.355618,13993.271};
|
||||
position[]={970.98553,1.8740869,25021.703};
|
||||
azimut=-17.0839;
|
||||
id=55;
|
||||
side="WEST";
|
||||
@@ -634,7 +634,7 @@ class Mission
|
||||
};
|
||||
class Item53
|
||||
{
|
||||
position[]={1181.4879,46.467087,13992.666};
|
||||
position[]={969.41913,1.8834854,25021.098};
|
||||
azimut=-17.0839;
|
||||
id=53;
|
||||
side="WEST";
|
||||
@@ -645,7 +645,7 @@ class Mission
|
||||
};
|
||||
class Item54
|
||||
{
|
||||
position[]={1181.9215,46.422699,13993.002};
|
||||
position[]={969.85272,1.8808836,25021.434};
|
||||
azimut=-17.0839;
|
||||
id=54;
|
||||
side="WEST";
|
||||
@@ -656,7 +656,7 @@ class Mission
|
||||
};
|
||||
class Item55
|
||||
{
|
||||
position[]={1182.4371,46.39011,13993.15};
|
||||
position[]={970.36835,1.8777902,25021.582};
|
||||
azimut=-17.0839;
|
||||
id=70;
|
||||
side="WEST";
|
||||
@@ -667,7 +667,7 @@ class Mission
|
||||
};
|
||||
class Item56
|
||||
{
|
||||
position[]={1180.8356,46.417862,13993.611};
|
||||
position[]={968.76678,1.8873993,25022.043};
|
||||
azimut=-17.0839;
|
||||
id=60;
|
||||
side="WEST";
|
||||
@@ -678,7 +678,7 @@ class Mission
|
||||
};
|
||||
class Item57
|
||||
{
|
||||
position[]={1180.8668,46.450947,13993.182};
|
||||
position[]={968.79803,1.8872122,25021.613};
|
||||
azimut=-17.0839;
|
||||
id=68;
|
||||
side="WEST";
|
||||
@@ -689,7 +689,7 @@ class Mission
|
||||
};
|
||||
class Item58
|
||||
{
|
||||
position[]={1181.3082,46.397846,13993.623};
|
||||
position[]={969.23944,1.8845634,25022.055};
|
||||
azimut=-17.0839;
|
||||
id=66;
|
||||
side="WEST";
|
||||
@@ -700,7 +700,7 @@ class Mission
|
||||
};
|
||||
class Item59
|
||||
{
|
||||
position[]={1181.6051,46.451038,13992.807};
|
||||
position[]={969.53632,1.8827821,25021.238};
|
||||
azimut=-17.0839;
|
||||
id=61;
|
||||
side="WEST";
|
||||
@@ -711,7 +711,7 @@ class Mission
|
||||
};
|
||||
class Item60
|
||||
{
|
||||
position[]={1181.3434,46.423584,13993.283};
|
||||
position[]={969.2746,1.8843523,25021.715};
|
||||
azimut=-17.0839;
|
||||
id=63;
|
||||
side="WEST";
|
||||
@@ -722,7 +722,7 @@ class Mission
|
||||
};
|
||||
class Item61
|
||||
{
|
||||
position[]={1182.6559,46.263165,13994.631};
|
||||
position[]={970.5871,1.8764776,25023.063};
|
||||
azimut=-17.0839;
|
||||
id=72;
|
||||
side="WEST";
|
||||
@@ -733,7 +733,7 @@ class Mission
|
||||
};
|
||||
class Item62
|
||||
{
|
||||
position[]={1182.3317,46.454884,13992.393};
|
||||
position[]={970.26288,1.8784231,25020.824};
|
||||
azimut=-17.0839;
|
||||
id=57;
|
||||
side="WEST";
|
||||
@@ -744,7 +744,7 @@ class Mission
|
||||
};
|
||||
class Item63
|
||||
{
|
||||
position[]={1182.3551,46.431408,13992.674};
|
||||
position[]={970.28632,1.8782823,25021.105};
|
||||
azimut=-17.0839;
|
||||
id=58;
|
||||
side="WEST";
|
||||
@@ -755,7 +755,7 @@ class Mission
|
||||
};
|
||||
class Item64
|
||||
{
|
||||
position[]={1180.2594,46.452892,13993.463};
|
||||
position[]={968.19061,1.8908565,25021.895};
|
||||
azimut=-17.0839;
|
||||
id=62;
|
||||
side="WEST";
|
||||
@@ -766,7 +766,7 @@ class Mission
|
||||
};
|
||||
class Item65
|
||||
{
|
||||
position[]={1181.3903,46.419266,13993.314};
|
||||
position[]={969.32147,1.8840714,25021.746};
|
||||
azimut=-17.0839;
|
||||
id=75;
|
||||
side="WEST";
|
||||
@@ -777,7 +777,7 @@ class Mission
|
||||
};
|
||||
class Item66
|
||||
{
|
||||
position[]={1181.6012,46.452534,13992.791};
|
||||
position[]={969.53241,1.8828056,25021.223};
|
||||
azimut=-17.0839;
|
||||
id=56;
|
||||
side="WEST";
|
||||
@@ -788,7 +788,7 @@ class Mission
|
||||
};
|
||||
class Item67
|
||||
{
|
||||
position[]={1180.4918,46.512215,13992.604};
|
||||
position[]={968.42303,1.8894621,25021.035};
|
||||
azimut=-17.0839;
|
||||
id=73;
|
||||
side="WEST";
|
||||
@@ -799,7 +799,7 @@ class Mission
|
||||
};
|
||||
class Item68
|
||||
{
|
||||
position[]={1182.4489,46.48877,13991.908};
|
||||
position[]={970.38007,1.8777199,25020.34};
|
||||
azimut=-17.0839;
|
||||
id=69;
|
||||
side="WEST";
|
||||
@@ -810,7 +810,7 @@ class Mission
|
||||
};
|
||||
class Item69
|
||||
{
|
||||
position[]={1181.5309,46.470348,13992.604};
|
||||
position[]={969.4621,1.8832273,25021.035};
|
||||
azimut=-17.0839;
|
||||
id=67;
|
||||
side="WEST";
|
||||
@@ -821,7 +821,7 @@ class Mission
|
||||
};
|
||||
class Item70
|
||||
{
|
||||
position[]={1180.7887,46.524487,13992.299};
|
||||
position[]={968.71991,1.8876808,25020.73};
|
||||
azimut=-17.0839;
|
||||
id=65;
|
||||
side="WEST";
|
||||
@@ -832,7 +832,7 @@ class Mission
|
||||
};
|
||||
class Item71
|
||||
{
|
||||
position[]={1181.8981,46.398193,13993.322};
|
||||
position[]={969.82928,1.8810244,25021.754};
|
||||
azimut=-17.0839;
|
||||
id=74;
|
||||
side="WEST";
|
||||
@@ -843,7 +843,7 @@ class Mission
|
||||
};
|
||||
class Item72
|
||||
{
|
||||
position[]={1180.0211,46.45129,13993.604};
|
||||
position[]={967.95233,1.8922859,25022.035};
|
||||
azimut=-17.0839;
|
||||
id=71;
|
||||
side="WEST";
|
||||
@@ -854,7 +854,7 @@ class Mission
|
||||
};
|
||||
class Item73
|
||||
{
|
||||
position[]={1181.6696,46.417263,13993.197};
|
||||
position[]={969.60077,1.8823954,25021.629};
|
||||
azimut=-17.0839;
|
||||
id=59;
|
||||
side="WEST";
|
||||
@@ -865,7 +865,7 @@ class Mission
|
||||
};
|
||||
class Item74
|
||||
{
|
||||
position[]={1180.3492,46.463642,13993.283};
|
||||
position[]={968.28046,1.8903176,25021.715};
|
||||
azimut=-17.0839;
|
||||
id=64;
|
||||
side="WEST";
|
||||
@@ -876,7 +876,7 @@ class Mission
|
||||
};
|
||||
class Item75
|
||||
{
|
||||
position[]={1182.5992,46.307583,13994.104};
|
||||
position[]={970.53046,1.8768175,25022.535};
|
||||
azimut=-17.0839;
|
||||
id=81;
|
||||
side="WEST";
|
||||
@@ -887,7 +887,7 @@ class Mission
|
||||
};
|
||||
class Item76
|
||||
{
|
||||
position[]={1179.986,46.477066,13993.299};
|
||||
position[]={967.91718,1.8924971,25021.73};
|
||||
azimut=-17.0839;
|
||||
id=83;
|
||||
side="WEST";
|
||||
@@ -898,7 +898,7 @@ class Mission
|
||||
};
|
||||
class Item77
|
||||
{
|
||||
position[]={1180.0035,46.513134,13992.838};
|
||||
position[]={967.93475,1.8923918,25021.27};
|
||||
azimut=-17.0839;
|
||||
id=82;
|
||||
side="WEST";
|
||||
@@ -909,7 +909,7 @@ class Mission
|
||||
};
|
||||
class Item78
|
||||
{
|
||||
position[]={1180.4,46.486565,13992.971};
|
||||
position[]={968.33124,1.8900125,25021.402};
|
||||
azimut=-17.0839;
|
||||
id=84;
|
||||
side="WEST";
|
||||
@@ -920,7 +920,7 @@ class Mission
|
||||
};
|
||||
class Item79
|
||||
{
|
||||
position[]={1180.9723,46.507713,13992.416};
|
||||
position[]={968.9035,1.8865793,25020.848};
|
||||
azimut=-17.0839;
|
||||
id=85;
|
||||
side="WEST";
|
||||
@@ -931,7 +931,7 @@ class Mission
|
||||
};
|
||||
class Item80
|
||||
{
|
||||
position[]={1180.1989,46.49028,13993.025};
|
||||
position[]={968.13007,1.8912199,25021.457};
|
||||
azimut=-17.0839;
|
||||
id=77;
|
||||
side="WEST";
|
||||
@@ -942,7 +942,7 @@ class Mission
|
||||
};
|
||||
class Item81
|
||||
{
|
||||
position[]={1179.1012,46.502728,13993.424};
|
||||
position[]={967.03241,1.8978053,25021.855};
|
||||
azimut=-17.0839;
|
||||
id=78;
|
||||
side="WEST";
|
||||
@@ -953,7 +953,7 @@ class Mission
|
||||
};
|
||||
class Item82
|
||||
{
|
||||
position[]={1179.65,46.563549,13992.385};
|
||||
position[]={967.58124,1.8945129,25020.816};
|
||||
azimut=-17.0839;
|
||||
id=79;
|
||||
side="WEST";
|
||||
@@ -964,7 +964,7 @@ class Mission
|
||||
};
|
||||
class Item83
|
||||
{
|
||||
position[]={1181.7848,46.42017,13993.104};
|
||||
position[]={969.716,1.8817041,25021.535};
|
||||
azimut=-17.0839;
|
||||
id=76;
|
||||
side="WEST";
|
||||
@@ -975,7 +975,7 @@ class Mission
|
||||
};
|
||||
class Item84
|
||||
{
|
||||
position[]={1181.3922,46.407249,13993.463};
|
||||
position[]={969.32343,1.8840593,25021.895};
|
||||
azimut=-17.0839;
|
||||
id=80;
|
||||
side="WEST";
|
||||
@@ -986,7 +986,7 @@ class Mission
|
||||
};
|
||||
class Item85
|
||||
{
|
||||
position[]={1182.1012,46.306099,13994.373};
|
||||
position[]={970.03241,1.8798056,25022.805};
|
||||
azimut=-17.0839;
|
||||
id=97;
|
||||
side="WEST";
|
||||
@@ -997,7 +997,7 @@ class Mission
|
||||
};
|
||||
class Item86
|
||||
{
|
||||
position[]={1179.5973,46.472752,13993.549};
|
||||
position[]={967.5285,1.8948294,25021.98};
|
||||
azimut=-17.0839;
|
||||
id=98;
|
||||
side="WEST";
|
||||
@@ -1008,7 +1008,7 @@ class Mission
|
||||
};
|
||||
class Item87
|
||||
{
|
||||
position[]={1182.0074,46.321442,13994.229};
|
||||
position[]={969.93866,1.880368,25022.66};
|
||||
azimut=-17.0839;
|
||||
id=99;
|
||||
side="WEST";
|
||||
@@ -1019,7 +1019,7 @@ class Mission
|
||||
};
|
||||
class Item88
|
||||
{
|
||||
position[]={1181.275,46.359604,13994.119};
|
||||
position[]={969.20624,1.8847625,25022.551};
|
||||
azimut=-17.0839;
|
||||
id=100;
|
||||
side="WEST";
|
||||
@@ -1030,7 +1030,7 @@ class Mission
|
||||
};
|
||||
class Item89
|
||||
{
|
||||
position[]={1181.4606,46.358089,13994.045};
|
||||
position[]={969.39178,1.8836496,25022.477};
|
||||
azimut=-17.0839;
|
||||
id=96;
|
||||
side="WEST";
|
||||
@@ -1041,7 +1041,7 @@ class Mission
|
||||
};
|
||||
class Item90
|
||||
{
|
||||
position[]={1180.902,46.49995,13992.549};
|
||||
position[]={968.83319,1.887001,25020.98};
|
||||
azimut=-17.0839;
|
||||
id=87;
|
||||
side="WEST";
|
||||
@@ -1052,7 +1052,7 @@ class Mission
|
||||
};
|
||||
class Item91
|
||||
{
|
||||
position[]={1180.2614,46.498363,13992.893};
|
||||
position[]={968.19257,1.8908445,25021.324};
|
||||
azimut=-17.0839;
|
||||
id=92;
|
||||
side="WEST";
|
||||
@@ -1063,7 +1063,7 @@ class Mission
|
||||
};
|
||||
class Item92
|
||||
{
|
||||
position[]={1181.9645,46.377975,13993.541};
|
||||
position[]={969.89569,1.8806261,25021.973};
|
||||
azimut=-17.0839;
|
||||
id=88;
|
||||
side="WEST";
|
||||
@@ -1074,7 +1074,7 @@ class Mission
|
||||
};
|
||||
class Item93
|
||||
{
|
||||
position[]={1181.3824,46.408978,13993.447};
|
||||
position[]={969.31366,1.8841182,25021.879};
|
||||
azimut=-17.0839;
|
||||
id=89;
|
||||
side="WEST";
|
||||
@@ -1085,7 +1085,7 @@ class Mission
|
||||
};
|
||||
class Item94
|
||||
{
|
||||
position[]={1181.818,46.367683,13993.744};
|
||||
position[]={969.74921,1.881505,25022.176};
|
||||
azimut=-17.0839;
|
||||
id=90;
|
||||
side="WEST";
|
||||
@@ -1096,7 +1096,7 @@ class Mission
|
||||
};
|
||||
class Item95
|
||||
{
|
||||
position[]={1182.0289,46.30682,13994.4};
|
||||
position[]={969.96014,1.8802392,25022.832};
|
||||
azimut=-17.0839;
|
||||
id=86;
|
||||
side="WEST";
|
||||
@@ -1107,7 +1107,7 @@ class Mission
|
||||
};
|
||||
class Item96
|
||||
{
|
||||
position[]={1181.0348,46.469753,13992.861};
|
||||
position[]={968.966,1.8862039,25021.293};
|
||||
azimut=-17.0839;
|
||||
id=93;
|
||||
side="WEST";
|
||||
@@ -1118,7 +1118,7 @@ class Mission
|
||||
};
|
||||
class Item97
|
||||
{
|
||||
position[]={1182.1598,46.342339,13993.889};
|
||||
position[]={970.091,1.8794543,25022.32};
|
||||
azimut=-17.0839;
|
||||
id=94;
|
||||
side="WEST";
|
||||
@@ -1129,7 +1129,7 @@ class Mission
|
||||
};
|
||||
class Item98
|
||||
{
|
||||
position[]={1182.4996,46.306602,13994.166};
|
||||
position[]={970.43085,1.8774148,25022.598};
|
||||
azimut=-17.0839;
|
||||
id=91;
|
||||
side="WEST";
|
||||
@@ -1140,7 +1140,7 @@ class Mission
|
||||
};
|
||||
class Item99
|
||||
{
|
||||
position[]={1181.0055,46.417835,13993.525};
|
||||
position[]={968.93671,1.8863796,25021.957};
|
||||
azimut=-17.0839;
|
||||
id=95;
|
||||
side="WEST";
|
||||
@@ -1175,7 +1175,7 @@ class Mission
|
||||
items=8;
|
||||
class Item0
|
||||
{
|
||||
position[]={1176.318,47.922104,13977.045};
|
||||
position[]={964.24921,1.9145046,25005.477};
|
||||
id=101;
|
||||
side="EMPTY";
|
||||
vehicle="Base_WarfareBBarrier10xTall";
|
||||
@@ -1183,7 +1183,7 @@ class Mission
|
||||
};
|
||||
class Item1
|
||||
{
|
||||
position[]={1186.8082,47.51622,13976.834};
|
||||
position[]={974.73944,1.8515632,25005.266};
|
||||
id=102;
|
||||
side="EMPTY";
|
||||
vehicle="Base_WarfareBBarrier10xTall";
|
||||
@@ -1191,7 +1191,7 @@ class Mission
|
||||
};
|
||||
class Item2
|
||||
{
|
||||
position[]={1174.2145,44.911186,14007.955};
|
||||
position[]={962.14569,1.9271257,25036.387};
|
||||
id=103;
|
||||
side="EMPTY";
|
||||
vehicle="Base_WarfareBBarrier10xTall";
|
||||
@@ -1199,7 +1199,7 @@ class Mission
|
||||
};
|
||||
class Item3
|
||||
{
|
||||
position[]={1188.2965,44.347401,14007.932};
|
||||
position[]={976.22772,1.8174521,25036.363};
|
||||
id=104;
|
||||
side="EMPTY";
|
||||
vehicle="Base_WarfareBBarrier10xTall";
|
||||
@@ -1207,7 +1207,7 @@ class Mission
|
||||
};
|
||||
class Item4
|
||||
{
|
||||
position[]={1167.527,46.449081,13999.939};
|
||||
position[]={955.45819,1.9672511,25028.371};
|
||||
azimut=90.394051;
|
||||
id=105;
|
||||
side="EMPTY";
|
||||
@@ -1216,7 +1216,7 @@ class Mission
|
||||
};
|
||||
class Item5
|
||||
{
|
||||
position[]={1167.3922,47.556293,13986.135};
|
||||
position[]={955.32343,1.9680595,25014.566};
|
||||
azimut=90.394051;
|
||||
id=106;
|
||||
side="EMPTY";
|
||||
@@ -1225,7 +1225,7 @@ class Mission
|
||||
};
|
||||
class Item6
|
||||
{
|
||||
position[]={1193.8707,45.46236,13999.002};
|
||||
position[]={981.80194,1.7907171,25027.434};
|
||||
azimut=90.6903;
|
||||
id=107;
|
||||
side="EMPTY";
|
||||
@@ -1235,7 +1235,7 @@ class Mission
|
||||
};
|
||||
class Item7
|
||||
{
|
||||
position[]={1193.7809,46.493599,13986.127};
|
||||
position[]={981.7121,1.8097277,25014.559};
|
||||
azimut=90.690323;
|
||||
id=108;
|
||||
side="EMPTY";
|
||||
@@ -1254,49 +1254,49 @@ class Mission
|
||||
};
|
||||
class Item1
|
||||
{
|
||||
position[]={1213.0133,44.142292,13993.686};
|
||||
position[]={991.23602,1.7280371,25021.037};
|
||||
name="respawn_west";
|
||||
type="Empty";
|
||||
};
|
||||
class Item2
|
||||
{
|
||||
position[]={18350.172,41.921146,4901.4009};
|
||||
position[]={18412.973,29.409279,5039.0776};
|
||||
name="spawn0";
|
||||
type="Empty";
|
||||
};
|
||||
class Item3
|
||||
{
|
||||
position[]={15851.949,0.61670142,13122.187};
|
||||
position[]={16312.345,0.4150846,12987.927};
|
||||
name="spawn2";
|
||||
type="Empty";
|
||||
};
|
||||
class Item4
|
||||
{
|
||||
position[]={16045.784,6.8227205,16122.401};
|
||||
position[]={17059.658,11.43257,14031.331};
|
||||
name="spawn3";
|
||||
type="Empty";
|
||||
};
|
||||
class Item5
|
||||
{
|
||||
position[]={11750.324,7.7436366,19052.457};
|
||||
position[]={13423.838,3.2652423,19609.988};
|
||||
name="spawn4";
|
||||
type="Empty";
|
||||
};
|
||||
class Item6
|
||||
{
|
||||
position[]={7755.6416,33.006847,22267.805};
|
||||
position[]={7668.604,30.730097,22224.299};
|
||||
name="spawn5";
|
||||
type="Empty";
|
||||
};
|
||||
class Item7
|
||||
{
|
||||
position[]={17099.744,8.0088444,12710.068};
|
||||
position[]={10846.631,10.674826,6139.9468};
|
||||
name="spawn6";
|
||||
type="Empty";
|
||||
};
|
||||
class Item8
|
||||
{
|
||||
position[]={15049.569,13.219341,11967.482};
|
||||
position[]={10826.21,0.55783975,14006.479};
|
||||
name="spawn7";
|
||||
type="Empty";
|
||||
};
|
||||
@@ -1308,13 +1308,13 @@ class Mission
|
||||
};
|
||||
class Item10
|
||||
{
|
||||
position[]={14219.854,3.9481196,19232.398};
|
||||
position[]={16254.966,1.0251714,15891.556};
|
||||
name="spawn9";
|
||||
type="Empty";
|
||||
};
|
||||
class Item11
|
||||
{
|
||||
position[]={16015.399,3.9154196,11679.694};
|
||||
position[]={11999.425,11.306746,1080.9792};
|
||||
name="spawn10";
|
||||
type="Empty";
|
||||
};
|
||||
|
||||
@@ -472,7 +472,10 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.3;
|
||||
};
|
||||
|
||||
class AKS_GOLD
|
||||
{
|
||||
weight = 4.0;
|
||||
};
|
||||
class AKS_74
|
||||
{
|
||||
weight = 2.7;
|
||||
@@ -1098,6 +1101,30 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.2;
|
||||
};
|
||||
class FoodCanUnlabeled
|
||||
{
|
||||
weight = 0.2;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodMRE
|
||||
{
|
||||
weight = 0.4;
|
||||
};
|
||||
class FoodPistachio
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class FoodNutmix
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class FoodSteakCooked
|
||||
{
|
||||
weight = 0.25;
|
||||
@@ -1181,10 +1208,18 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class MeleeMachete
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemHatchet
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemCrowbar
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemMatchbox
|
||||
{
|
||||
weight = 0.005;
|
||||
@@ -1197,8 +1232,43 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class Skin_FR_OHara_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_FR_Rodriguez_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_CZ_Soldier_Sniper_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Graves_Light_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_MG_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_Sniper_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_Crew_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_CO_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Survivor2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1211,6 +1281,126 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocket_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_RU_Policeman_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Pilot_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Haris_Press_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Ins_Soldier_GL_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Commander_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Functionary1_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Priest_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker3_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker4_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Bandit1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Bandit2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_BanditW1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_BanditW2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorW2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWpink_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWcombat_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWdesert_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWurban_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorW3_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier_TL_PMC_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier_Sniper_PMC_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier_Bodyguard_AA12_PMC_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Drake_Light_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_CZ_Special_Forces_GL_DES_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_TK_INS_Soldier_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_TK_INS_Warlord_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
|
||||
class HandRoadFlare
|
||||
{
|
||||
@@ -1228,29 +1418,29 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.1;
|
||||
};
|
||||
|
||||
class ItemBandage
|
||||
{
|
||||
weight = 0.005;
|
||||
};
|
||||
|
||||
class Hatchet_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
class Machete_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
class Crowbar_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
|
||||
class ItemVault
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
|
||||
class PartWoodPile
|
||||
{
|
||||
weight = 0.5;
|
||||
weight = 1;
|
||||
};
|
||||
class PartWheel
|
||||
{
|
||||
@@ -1292,6 +1482,14 @@ class CfgWeight
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemTentDomed
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemTentDomed2
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class TrapBear
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1348,10 +1546,31 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.08;
|
||||
};
|
||||
class WoodenArrow
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class Quiver
|
||||
{
|
||||
weight = 0.08;
|
||||
};
|
||||
class TrashTinCan
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class FoodCanUnlabeledEmpty
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class ItemTrashRazor
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class ItemTrashToiletpaper
|
||||
{
|
||||
weight = 0.001;
|
||||
};
|
||||
|
||||
class 7Rnd_45ACP_1911
|
||||
{
|
||||
weight = 0.02;
|
||||
@@ -1376,13 +1595,149 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class ItemSodaCokeEmpty
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class ItemSodaPepsiEmpty
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class ItemSodaMdewEmpty
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class TrashJackDaniels
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class ItemCanvas
|
||||
{
|
||||
weight = 4;
|
||||
};
|
||||
class ItemBurlap
|
||||
{
|
||||
weight = 8;
|
||||
};
|
||||
class ItemLightBulb
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class ItemPole
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class ItemCorrugated
|
||||
{
|
||||
weight = 29;
|
||||
};
|
||||
class PartWoodPlywood
|
||||
{
|
||||
weight = 4;
|
||||
};
|
||||
class PartWoodLumber
|
||||
{
|
||||
weight = 2;
|
||||
};
|
||||
|
||||
class 30m_plot_kit
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class fuel_pump_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class light_pole_kit
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class stick_fence_kit
|
||||
{
|
||||
weight = 6;
|
||||
};
|
||||
class park_bench_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class wood_shack_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class storage_shed_kit
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
class outhouse_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class wooden_shed_kit
|
||||
{
|
||||
weight = 75;
|
||||
};
|
||||
class rusty_gate_kit
|
||||
{
|
||||
weight = 80;
|
||||
};
|
||||
class sun_shade_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class m240_nest_kit
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
class ItemFuelBarrel
|
||||
{
|
||||
weight = 167;
|
||||
};
|
||||
class ItemFuelBarrelEmpty
|
||||
{
|
||||
weight = 20;
|
||||
};
|
||||
class ItemOilBarrel
|
||||
{
|
||||
weight = 140;
|
||||
};
|
||||
|
||||
class bulk_NVGoggles
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_DZ_Backpack_EP1
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_15Rnd_9x19_M9SD
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_30Rnd_556x45_StanagSD
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemSandbag
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemGPS
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemMap
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemEtool
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_17Rnd_9x19_glock17
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -19,4 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define R3F_WEIGHT_SHOW_WEIGHT
|
||||
|
||||
//show or not classes not found in arma.rpt
|
||||
#define R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||
//#define R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||
@@ -91,7 +91,7 @@ AllowedVehiclesList = [
|
||||
["Ural_UN_EP1",2],
|
||||
["V3S_Open_TK_CIV_EP1",2],
|
||||
["V3S_Open_TK_EP1",5],
|
||||
["V3S_Refuel_TK_GUE_EP1",1],
|
||||
["V3S_Refuel_TK_GUE_EP1_DZ",1],
|
||||
["VolhaLimo_TK_CIV_EP1",2],
|
||||
["Volha_1_TK_CIV_EP1",3],
|
||||
["Volha_2_TK_CIV_EP1",3],
|
||||
|
||||
@@ -9,10 +9,11 @@ if (true) then
|
||||
|
||||
_vehicle_2 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
{
|
||||
_this = createVehicle ["sad_target", [5761.0767, 10775.953], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_2 = _this;
|
||||
_this setDir 3.0928693;
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [5761.0767, 10775.953];
|
||||
};
|
||||
|
||||
@@ -216,8 +217,8 @@ if (true) then
|
||||
_this = createVehicle ["FoldTable", [5776.3779, 10776.735, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_42 = _this;
|
||||
_this setDir 3.486232;
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [5776.3779, 10776.735, 1.5258789e-005];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_43 = objNull;
|
||||
@@ -227,7 +228,6 @@ if (true) then
|
||||
_vehicle_43 = _this;
|
||||
_this setDir 168.04138;
|
||||
_this setPos [5777.0171, 10775.549, 4.196167e-005];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_44 = objNull;
|
||||
@@ -245,8 +245,8 @@ if (true) then
|
||||
_this = createVehicle ["Park_bench1", [5772.2446, 10777.618, -7.2479248e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_46 = _this;
|
||||
_this setDir 185.13194;
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [5772.2446, 10777.618, -7.2479248e-005];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_48 = objNull;
|
||||
@@ -273,8 +273,8 @@ if (true) then
|
||||
_this = createVehicle ["SmallTable", [5771.9692, 10775.985, 5.531311e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_51 = _this;
|
||||
_this setDir 94.418816;
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [5771.9692, 10775.985, 5.531311e-005];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_53 = objNull;
|
||||
@@ -283,8 +283,8 @@ if (true) then
|
||||
_this = createVehicle ["FoldChair", [5772.7681, 10775.761, 6.1035156e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_53 = _this;
|
||||
_this setDir 113.3124;
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [5772.7681, 10775.761, 6.1035156e-005];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_55 = objNull;
|
||||
@@ -293,8 +293,8 @@ if (true) then
|
||||
_this = createVehicle ["FoldChair", [5771.1138, 10775.968, -3.8146973e-006], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_55 = _this;
|
||||
_this setDir 210.47275;
|
||||
_this setVehicleInit "this allowDammage false; this enableSimulation false;";
|
||||
_this setPos [5771.1138, 10775.968, -3.8146973e-006];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_57 = objNull;
|
||||
@@ -400,7 +400,7 @@ if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel_burning", [5763.7881, 10779.476, 1.1444092e-005], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_74 = _this;
|
||||
_this setDir 293.86002;
|
||||
_this setDir 479.37637;
|
||||
_this setPos [5763.7881, 10779.476, 1.1444092e-005];
|
||||
};
|
||||
|
||||
@@ -485,7 +485,6 @@ if (true) then
|
||||
_vehicle_85 = _this;
|
||||
_this setDir -5.6631036;
|
||||
_this setPos [4705.1978, 8925.2207, 0.10253087];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_93 = objNull;
|
||||
@@ -504,7 +503,6 @@ if (true) then
|
||||
_vehicle_94 = _this;
|
||||
_this setDir 166.24194;
|
||||
_this setPos [4704.752, 8923.8262, 0.078517102];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_96 = objNull;
|
||||
@@ -514,7 +512,6 @@ if (true) then
|
||||
_vehicle_96 = _this;
|
||||
_this setDir 225.09821;
|
||||
_this setPos [4699.5386, 8918.2539, 3.8950038];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_98 = objNull;
|
||||
@@ -537,9 +534,9 @@ if (true) then
|
||||
_unit_96 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_2 createUnit ["Dr_Hladik_EP1", [5552.9082, 10357.344, 0.39922252], [], 0, "CAN_COLLIDE"];
|
||||
_this = _group_2 createUnit ["Dr_Hladik_EP1", [5564, 10344.479, 0.064233989], [], 0, "CAN_COLLIDE"];
|
||||
_unit_96 = _this;
|
||||
_this setDir 190.65311;
|
||||
_this setDir 276.83997;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
@@ -548,53 +545,55 @@ if (true) then
|
||||
_vehicle_100 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel_burning", [5558.1733, 10354.138, -6.1035156e-005], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["Land_Fire_barrel_burning", [5553.8311, 10338.899, 0.0033684745], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_100 = _this;
|
||||
_this setPos [5558.1733, 10354.138, -6.1035156e-005];
|
||||
_this setDir 86.186882;
|
||||
_this setPos [5553.8311, 10338.899, 0.0033684745];
|
||||
};
|
||||
|
||||
_vehicle_103 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Bag_EP1", [5554.5879, 10355.283, 0.24485525], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["Land_Bag_EP1", [5562.0571, 10342.658, -0.0080585517], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_103 = _this;
|
||||
_this setPos [5554.5879, 10355.283, 0.24485525];
|
||||
_this setDir 86.186882;
|
||||
_this setPos [5562.0571, 10342.658, -0.0080585517];
|
||||
};
|
||||
|
||||
_vehicle_104 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Bucket_EP1", [5552.1455, 10350.794, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["Land_Bucket_EP1", [5557.4199, 10344.813, 0.18805721], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_104 = _this;
|
||||
_this setPos [5552.1455, 10350.794, 7.6293945e-006];
|
||||
_this setDir 86.186882;
|
||||
_this setPos [5557.4199, 10344.813, 0.18805721];
|
||||
};
|
||||
|
||||
_vehicle_105 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["WoodChair", [5554.2085, 10357.669, 0.60609627], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["WoodChair", [5564.418, 10343.204, 0.79790455], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_105 = _this;
|
||||
_this setDir 25.439491;
|
||||
_this setPos [5554.2085, 10357.669, 0.60609627];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
_this setDir 111.6264;
|
||||
_this setPos [5564.418, 10343.204, 0.79790455];
|
||||
};
|
||||
|
||||
_vehicle_106 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["FoldTable", [5552.8374, 10356.26, 0.34405845], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["FoldTable", [5562.9209, 10344.481, 0.17676406], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_106 = _this;
|
||||
_this setDir -5.783649;
|
||||
_this setPos [5552.8374, 10356.26, 0.34405845];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
_this setDir 80.403244;
|
||||
_this setPos [5562.9209, 10344.481, 0.17676406];
|
||||
};
|
||||
|
||||
_vehicle_107 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Barrel_water", [5553.1699, 10352.005, 0.34362331], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["Land_Barrel_water", [5556.1304, 10338.709, 0.059160199], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_107 = _this;
|
||||
_this setPos [5553.1699, 10352.005, 0.34362331];
|
||||
_this setDir 86.186882;
|
||||
_this setPos [5556.1304, 10338.709, 0.059160199];
|
||||
};
|
||||
|
||||
_vehicle_108 = objNull;
|
||||
@@ -708,10 +707,10 @@ if (true) then
|
||||
_vehicle_197 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_a_stationhouse", [6284.9966, 9398.1904, 0.12367633], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["Land_a_stationhouse", [6286.0366, 9397.7344, 0.12367633], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_197 = _this;
|
||||
_this setDir 88.726814;
|
||||
_this setPos [6284.9966, 9398.1904, 0.12367633];
|
||||
_this setDir 87.459763;
|
||||
_this setPos [6286.0366, 9397.7344, 0.12367633];
|
||||
};
|
||||
|
||||
_vehicle_235 = objNull;
|
||||
@@ -952,7 +951,6 @@ if (true) then
|
||||
_this = createVehicle ["FoldTable", [5032.0024, 8231.7559, 4.8737202], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_263 = _this;
|
||||
_this setPos [5032.0024, 8231.7559, 4.8737202];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_264 = objNull;
|
||||
@@ -998,7 +996,6 @@ if (true) then
|
||||
_vehicle_269 = _this;
|
||||
_this setDir -0.13874577;
|
||||
_this setPos [4312.5278, 4777.5376, -5.9604645e-006];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_271 = objNull;
|
||||
@@ -1008,7 +1005,6 @@ if (true) then
|
||||
_vehicle_271 = _this;
|
||||
_this setDir 88.823166;
|
||||
_this setPos [4310.6528, 4779.7397, 4.0531158e-006];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_unit_176 = objNull;
|
||||
@@ -1154,7 +1150,6 @@ if (true) then
|
||||
_vehicle_289 = _this;
|
||||
_this setDir 286.36047;
|
||||
_this setPos [4295.752, 4782.6045, 0.077848651];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_vehicle_291 = objNull;
|
||||
@@ -1164,7 +1159,6 @@ if (true) then
|
||||
_vehicle_291 = _this;
|
||||
_this setDir -178.96597;
|
||||
_this setPos [4299.7778, 4782.8535, 0.083143242];
|
||||
_this setVehicleInit "this enableSimulation false;";
|
||||
};
|
||||
|
||||
_unit_209 = objNull;
|
||||
@@ -1198,9 +1192,9 @@ if (true) then
|
||||
_unit_220 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_1 createUnit ["UN_CDF_Soldier_Pilot_EP1", [6281.9492, 9399.0371, 5.1704836], [], 0, "CAN_COLLIDE"];
|
||||
_this = _group_1 createUnit ["UN_CDF_Soldier_Pilot_EP1", [6280.8374, 9403.417, 0.18137954], [], 0, "CAN_COLLIDE"];
|
||||
_unit_220 = _this;
|
||||
_this setDir -161.84711;
|
||||
_this setDir -235.56369;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
_this setUnitAbility 0.60000002;
|
||||
_this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;
|
||||
@@ -1217,17 +1211,19 @@ if (true) then
|
||||
_vehicle_300 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["FlagCarrierTFKnight_EP1", [6284.2314, 9397.1699, 5.0819116], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["FlagCarrierTFKnight_EP1", [6276.4863, 9401.9229, -0.090618104], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_300 = _this;
|
||||
_this setPos [6284.2314, 9397.1699, 5.0819116];
|
||||
_this setDir 82.953979;
|
||||
_this setPos [6276.4863, 9401.9229, -0.090618104];
|
||||
};
|
||||
|
||||
_vehicle_301 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = createVehicle ["Land_Fire_barrel_burning", [6280.9292, 9401.3848, 5.1017332], [], 0, "CAN_COLLIDE"];
|
||||
_this = createVehicle ["Land_Fire_barrel_burning", [6275.8574, 9406.168, 0.097638205], [], 0, "CAN_COLLIDE"];
|
||||
_vehicle_301 = _this;
|
||||
_this setPos [6280.9292, 9401.3848, 5.1017332];
|
||||
_this setDir -1.1119514;
|
||||
_this setPos [6275.8574, 9406.168, 0.097638205];
|
||||
};
|
||||
|
||||
processInitCommands;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -472,7 +472,10 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.3;
|
||||
};
|
||||
|
||||
class AKS_GOLD
|
||||
{
|
||||
weight = 4.0;
|
||||
};
|
||||
class AKS_74
|
||||
{
|
||||
weight = 2.7;
|
||||
@@ -1098,6 +1101,30 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.2;
|
||||
};
|
||||
class FoodCanUnlabeled
|
||||
{
|
||||
weight = 0.2;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class FoodMRE
|
||||
{
|
||||
weight = 0.4;
|
||||
};
|
||||
class FoodPistachio
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class FoodNutmix
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class FoodSteakCooked
|
||||
{
|
||||
weight = 0.25;
|
||||
@@ -1181,10 +1208,18 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class MeleeMachete
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemHatchet
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemCrowbar
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemMatchbox
|
||||
{
|
||||
weight = 0.005;
|
||||
@@ -1197,8 +1232,43 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class Skin_FR_OHara_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_FR_Rodriguez_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_CZ_Soldier_Sniper_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Graves_Light_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_MG_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_Sniper_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_Crew_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_CO_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Soldier_2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Survivor2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1211,6 +1281,126 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocket_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_RU_Policeman_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Pilot_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Haris_Press_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Ins_Soldier_GL_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_GUE_Commander_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Functionary1_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Priest_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker3_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Rocker4_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Bandit1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Bandit2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_BanditW1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_BanditW2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorW2_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWpink_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWcombat_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWdesert_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorWurban_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_SurvivorW3_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier_TL_PMC_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier_Sniper_PMC_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Soldier_Bodyguard_AA12_PMC_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_Drake_Light_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_CZ_Special_Forces_GL_DES_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_TK_INS_Soldier_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class Skin_TK_INS_Warlord_EP1_DZ
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
|
||||
class HandRoadFlare
|
||||
{
|
||||
@@ -1228,29 +1418,29 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.1;
|
||||
};
|
||||
|
||||
class ItemBandage
|
||||
{
|
||||
weight = 0.005;
|
||||
};
|
||||
|
||||
class Hatchet_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
class Machete_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
class Crowbar_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
|
||||
class ItemVault
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
|
||||
class PartWoodPile
|
||||
{
|
||||
weight = 0.5;
|
||||
weight = 1;
|
||||
};
|
||||
class PartWheel
|
||||
{
|
||||
@@ -1292,6 +1482,14 @@ class CfgWeight
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemTentDomed
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class ItemTentDomed2
|
||||
{
|
||||
weight = 5;
|
||||
};
|
||||
class TrapBear
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1348,10 +1546,31 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.08;
|
||||
};
|
||||
class WoodenArrow
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class Quiver
|
||||
{
|
||||
weight = 0.08;
|
||||
};
|
||||
class TrashTinCan
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class FoodCanUnlabeledEmpty
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class ItemTrashRazor
|
||||
{
|
||||
weight = 0.003;
|
||||
};
|
||||
class ItemTrashToiletpaper
|
||||
{
|
||||
weight = 0.001;
|
||||
};
|
||||
|
||||
class 7Rnd_45ACP_1911
|
||||
{
|
||||
weight = 0.02;
|
||||
@@ -1376,13 +1595,149 @@ class CfgWeight
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class ItemSodaCokeEmpty
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class ItemSodaPepsiEmpty
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class ItemSodaMdewEmpty
|
||||
{
|
||||
weight = 0.002;
|
||||
};
|
||||
class TrashJackDaniels
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class ItemCanvas
|
||||
{
|
||||
weight = 4;
|
||||
};
|
||||
class ItemBurlap
|
||||
{
|
||||
weight = 8;
|
||||
};
|
||||
class ItemLightBulb
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class ItemPole
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class ItemCorrugated
|
||||
{
|
||||
weight = 29;
|
||||
};
|
||||
class PartWoodPlywood
|
||||
{
|
||||
weight = 4;
|
||||
};
|
||||
class PartWoodLumber
|
||||
{
|
||||
weight = 2;
|
||||
};
|
||||
|
||||
class 30m_plot_kit
|
||||
{
|
||||
weight = 0.02;
|
||||
};
|
||||
class fuel_pump_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class light_pole_kit
|
||||
{
|
||||
weight = 10;
|
||||
};
|
||||
class stick_fence_kit
|
||||
{
|
||||
weight = 6;
|
||||
};
|
||||
class park_bench_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class wood_shack_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class storage_shed_kit
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
class outhouse_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class wooden_shed_kit
|
||||
{
|
||||
weight = 75;
|
||||
};
|
||||
class rusty_gate_kit
|
||||
{
|
||||
weight = 80;
|
||||
};
|
||||
class sun_shade_kit
|
||||
{
|
||||
weight = 50;
|
||||
};
|
||||
class m240_nest_kit
|
||||
{
|
||||
weight = 100;
|
||||
};
|
||||
class ItemFuelBarrel
|
||||
{
|
||||
weight = 167;
|
||||
};
|
||||
class ItemFuelBarrelEmpty
|
||||
{
|
||||
weight = 20;
|
||||
};
|
||||
class ItemOilBarrel
|
||||
{
|
||||
weight = 140;
|
||||
};
|
||||
|
||||
class bulk_NVGoggles
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_DZ_Backpack_EP1
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_15Rnd_9x19_M9SD
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_30Rnd_556x45_StanagSD
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemSandbag
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemGPS
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemMap
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_ItemEtool
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
class bulk_17Rnd_9x19_glock17
|
||||
{
|
||||
weight = 25;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -19,4 +19,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define R3F_WEIGHT_SHOW_WEIGHT
|
||||
|
||||
//show or not classes not found in arma.rpt
|
||||
#define R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||
//#define R3F_WEIGHT_SHOW_CLASSES_NOT_FOUND
|
||||
@@ -91,7 +91,7 @@ AllowedVehiclesList = [
|
||||
["Ural_UN_EP1",2],
|
||||
["V3S_Open_TK_CIV_EP1",2],
|
||||
["V3S_Open_TK_EP1",5],
|
||||
["V3S_Refuel_TK_GUE_EP1",1],
|
||||
["V3S_Refuel_TK_GUE_EP1_DZ",1],
|
||||
["VolhaLimo_TK_CIV_EP1",2],
|
||||
["Volha_1_TK_CIV_EP1",3],
|
||||
["Volha_2_TK_CIV_EP1",3],
|
||||
|
||||
@@ -22,7 +22,7 @@ spawnArea= 1500; // Default = 1500
|
||||
|
||||
MaxVehicleLimit = 300; // Default = 50
|
||||
MaxDynamicDebris = 500; // Default = 100
|
||||
dayz_MapArea = 10000; // Default = 10000
|
||||
dayz_MapArea = 12000; // Default = 10000
|
||||
|
||||
// new stuff
|
||||
dayz_paraSpawn = false;
|
||||
|
||||
@@ -1212,6 +1212,10 @@ class CfgWeight
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class MeleeMachete
|
||||
{
|
||||
weight = 1;
|
||||
};
|
||||
class ItemHatchet
|
||||
{
|
||||
weight = 1;
|
||||
@@ -1430,7 +1434,11 @@ class CfgWeight
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
class Crowbar_Swing
|
||||
class Fishing_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
class Crowbar_Swing
|
||||
{
|
||||
weight = 0;
|
||||
};
|
||||
|
||||
@@ -226,6 +226,10 @@ c38e99892d6c528f8e6f08ddf998f484 -1 Admin Ban
|
||||
a950a2cfd2e926c5b0cc803ef4e14f5c -1 Scripting #101
|
||||
d323ce9ef5113ef1dcdf40669c125be6 -1 Scripting #102
|
||||
d323ce9ef5113ef1dcdf40669c125be6 -1 Scripting #102
|
||||
a82f377a501d5903e750eabb13e982cb -1 Script Restriction #201
|
||||
7165f49e10c85cccfeba0dd3d33e6940 -1 Admin Ban
|
||||
ae26e9a71e2aad0e71e460903756ab39 -1 Admin Ban
|
||||
804665142fee0d6966538403f8f051f2 -1 Admin Ban
|
||||
176.51.186.48 -1 Perma ban son...
|
||||
82.6.50.36 -1 You got banned
|
||||
76.188.209.92 -1 Long ban for you
|
||||
@@ -260,3 +264,6 @@ d323ce9ef5113ef1dcdf40669c125be6 -1 Scripting #102
|
||||
99.97.20.27 -1 Not smart.
|
||||
68.100.166.118 -1 Don't like it, bring your case before us.
|
||||
86.4.33.129 -1 Nice try
|
||||
72.130.137.170 -1 Global Ban
|
||||
72.130.137.170 -1 Admin Ban
|
||||
50.129.42.125 -1 Admin Ban
|
||||
|
||||
@@ -30,12 +30,12 @@
|
||||
5 "_SMAW"
|
||||
5 "_GRAD"
|
||||
5 "_SABOT"
|
||||
5 "_SH"
|
||||
5 "_SH" !="Wooden_shed_DZ"
|
||||
5 "KORD"
|
||||
5 "DSHKM"
|
||||
5 "MK19"
|
||||
5 "AGS"
|
||||
5 "Nest_" //Nest_M240 //Nest_PK
|
||||
5 "Nest_" !="M240Nest_DZ" !="SandNest_DZ" //Nest_M240 //Nest_PK
|
||||
5 "R_PG"
|
||||
5 "R_OG"
|
||||
5 "B_"
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
1 serverCommand !"\"serverCommand\"," !"serverCommandAvailable"
|
||||
1 serverCommandAvailable !"\"serverCommandAvailable\","
|
||||
1 setCurrentTask !"\"setCurrentTask\"," !"rsetCurrentTask = 'setCurrentTask'" !"rsetCurrentTaskcode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setCurrentTask.sqf')" !"rsetCurrentTaskArrays = 'setCurrentTaskArrays'" !"rsetCurrentTaskArrayscode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setCurrentTaskArrays"
|
||||
5 setDamage !"\"setDamage\"," !"_vehicle setDamage 0;" !"player setdamage 0;" !"if (alive player) then { player SetDamage 1;};" !"if (_ent isKindOf \"Animal\") then {\n_ent setDamage 1;" !"player setDamage 1;\n0.1 fadeSound 0;"!"(vehicle _x) setDamage 1;\n_x setDamage 1;\n};" !"if (!_isSync) then {\n_veh allowDamage true;\n_veh setDamage 1;\nplayer setDamage 1;\n};" !"if (!_isSync) then {\n_vehicle allowDamage true;\n_vehicle setDamage 1;\n_character setVelocity [0,0,100];\n};" !"_object setdir _dir;\n_object setDamage _damage;" !"if (!(_group in _groups)) then {_groups set [count _groups,_group];};\n_x setDamage 1;\n};" !"if (_ent isKindOf \"Animal\" or _isZombie) then {\n_ent setDamage 1;"
|
||||
5 setDamage !"\"setDamage\"," !"_vehicle setDamage 0;" !"player setdamage 0;" !"if (alive player) then { player SetDamage 1;};" !"if (_ent isKindOf \"Animal\") then {\n_ent setDamage 1;" !"player setDamage 1;\n0.1 fadeSound 0;"!"(vehicle _x) setDamage 1;\n_x setDamage 1;\n};" !"if (!_isSync) then {\n_veh allowDamage true;\n_veh setDamage 1;\nplayer setDamage 1;\n};" !"if (!_isSync) then {\n_vehicle allowDamage true;\n_vehicle setDamage 1;\n_character setVelocity [0,0,100];\n};" !"_object setdir _dir;\n_object setDamage _damage;" !"if (!(_group in _groups)) then {_groups set [count _groups,_group];};\n_x setDamage 1;\n};" !"if (_ent isKindOf \"Animal\" or _isZombie) then {\n_ent setDamage 1;" !"if(\"\" == typeOf _tree) then {\n_tree setDamage 1;\n};"
|
||||
5 setDammage !"\"setDammage\","
|
||||
5 setDate !"\"setDate\"," !"rsetDate = 'setDate'" !"rsetDatecode = compile PreprocessFile (BIS_PathMPscriptCommands + 'setDate.sqf')" !"dayzSetDate"
|
||||
5 setFog !"\"setFog\"," !"0 setOvercast _currentOvercast;\n0 setFog _currentFog;" !"if (_currentWeatherChange == \"FOG\") then {\n_timeUntilCompletion setFog _targetWeatherValue;\n};" !"0 setFog _initialFog;\n\nif (_initialOvercast == -1) then {"
|
||||
|
||||
@@ -14,10 +14,7 @@
|
||||
5 "Camo1_DZ"
|
||||
5 "Soldier1_DZ"
|
||||
5 "Rocket_DZ"
|
||||
5 "Rocker1_DZ"
|
||||
5 "Rocker2_DZ"
|
||||
5 "Rocker3_DZ"
|
||||
5 "Rocker4_DZ"
|
||||
5 "Priest_DZ"
|
||||
5 "Functionary1_EP1_DZ"
|
||||
5 "GUE_Commander_DZ"
|
||||
|
||||
@@ -174,7 +174,7 @@ INSERT INTO `trader_items` VALUES ('436', 'ItemSandbag', '1', 'Building Supplies
|
||||
INSERT INTO `trader_items` VALUES ('437', 'ItemSodaCoke', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('438', 'ItemSodaMdew', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('439', 'ItemSodaPepsi', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('440', 'ItemSodaRbull', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('440', 'ItemSodaR4z0r', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('441', 'ItemTankTrap', '1', 'Building Supplies', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('442', 'ItemTent', '1', 'Building Supplies', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('443', 'ItemToolbox', '3', 'ToolBelt', 'trade_weapons');
|
||||
@@ -309,7 +309,7 @@ INSERT INTO `trader_items` VALUES ('574', 'Ural_UN_EP1', '2', 'Trucks Large', 't
|
||||
INSERT INTO `trader_items` VALUES ('575', 'UZI_EP1', '3', 'Sub Machine Gun', 'trade_weapons');
|
||||
INSERT INTO `trader_items` VALUES ('576', 'V3S_Open_TK_CIV_EP1', '2', 'Trucks Large', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('577', 'V3S_Open_TK_EP1', '2', 'Trucks Large', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('578', 'V3S_Refuel_TK_GUE_EP1', '2', 'Trucks Refuel', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('578', 'V3S_Refuel_TK_GUE_EP1_DZ', '2', 'Trucks Refuel', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('579', 'VolhaLimo_TK_CIV_EP1', '2', 'Cars', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('580', 'Volha_1_TK_CIV_EP1', '2', 'Cars', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('581', 'Volha_2_TK_CIV_EP1', '2', 'Cars', 'trade_any_vehicle');
|
||||
|
||||
@@ -61,7 +61,7 @@ INSERT INTO `traders_data` VALUES ('1389', '[\"UH1H_DZ\",2]', '0', '[6,\"ItemGol
|
||||
INSERT INTO `traders_data` VALUES ('1392', '[\"HandGrenade_west\",1]', '43', '[4,\"ItemGoldBar\",1]', '[2,\"ItemGoldBar\",1]', '0', '60', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1401', '[\"PipeBomb\",1]', '0', '[12,\"ItemGoldBar10oz\",1]', '[6,\"ItemGoldBar10oz\",1]', '0', '136', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1415', '[\"UralRefuel_TK_EP1\",2]', '25', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1416', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '0', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1416', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '0', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1417', '[\"KamazRefuel\",2]', '38', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1418', '[\"MtvrRefuel_DES_EP1\",2]', '10', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1421', '[\"DZ_Backpack_EP1\",2]', '0', '[4,\"ItemGoldBar\",1]', '[2,\"ItemGoldBar\",1]', '0', '22', 'trade_backpacks');
|
||||
@@ -424,7 +424,7 @@ INSERT INTO `traders_data` VALUES ('1865', '[\"FoodbeefCooked\",1]', '11', '[2,\
|
||||
INSERT INTO `traders_data` VALUES ('1866', '[\"ItemSodaCoke\",1]', '1', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1867', '[\"ItemSodaMdew\",1]', '2', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1868', '[\"ItemSodaPepsi\",1]', '1', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1869', '[\"ItemSodaRbull\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1869', '[\"ItemSodaR4z0r\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1870', '[\"Skin_Ins_Soldier_GL_DZ\",1]', '1', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '73', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1871', '[\"Skin_Haris_Press_EP1_DZ\",1]', '0', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '73', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1872', '[\"Skin_Rocker2_DZ\",1]', '7', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '73', 'trade_items');
|
||||
@@ -468,7 +468,7 @@ INSERT INTO `traders_data` VALUES ('1909', '[\"PipeBomb\",1]', '0', '[12,\"ItemG
|
||||
INSERT INTO `traders_data` VALUES ('1910', '[\"ItemSodaCoke\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1911', '[\"ItemSodaMdew\",1]', '2', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1912', '[\"ItemSodaPepsi\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1913', '[\"ItemSodaRbull\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1913', '[\"ItemSodaR4z0r\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1914', '[\"FoodmuttonCooked\",1]', '1', '[1,\"ItemSilverBar\",1]', '[1,\"ItemCopperBar10oz\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1915', '[\"FoodCanSardines\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1916', '[\"FoodCanPasta\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
@@ -598,7 +598,7 @@ INSERT INTO `traders_data` VALUES ('2044', '[\"UAZ_RU\",2]', '2', '[4,\"ItemGold
|
||||
INSERT INTO `traders_data` VALUES ('2045', '[\"FoodbaconCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '111', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2046', '[\"FoodbeefCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '111', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2047', '[\"UralRefuel_TK_EP1\",2]', '10', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2048', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '1', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2048', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '1', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2049', '[\"KamazRefuel\",2]', '14', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2050', '[\"MtvrRefuel_DES_EP1\",2]', '20', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2051', '[\"SUV_Blue\",2]', '0', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '120', 'trade_any_vehicle');
|
||||
@@ -746,7 +746,7 @@ INSERT INTO `traders_data` VALUES ('2206', '[\"UH1H_DZ\",2]', '3', '[6,\"ItemGol
|
||||
INSERT INTO `traders_data` VALUES ('2207', '[\"Mi17_DZ\",2]', '12', '[6,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '43', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2208', '[\"HMMWV_M998A2_SOV_DES_EP1\",2]', '2', '[4,\"ItemGoldBar10oz\",1]', '[2,\"ItemGoldBar10oz\",1]', '0', '44', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2209', '[\"UralRefuel_TK_EP1\",2]', '16', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2210', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2210', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2211', '[\"KamazRefuel\",2]', '13', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2212', '[\"MtvrRefuel_DES_EP1\",2]', '8', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2213', '[\"HandChemBlue\",1]', '2', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '51', 'trade_items');
|
||||
@@ -784,7 +784,7 @@ INSERT INTO `traders_data` VALUES ('2290', '[\"Ural_CDF\",2]', '3', '[8,\"ItemGo
|
||||
INSERT INTO `traders_data` VALUES ('2291', '[\"ItemSodaCoke\",1]', '36', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2292', '[\"ItemSodaMdew\",1]', '8', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2293', '[\"ItemSodaPepsi\",1]', '14', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2294', '[\"ItemSodaRbull\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2294', '[\"ItemSodaR4z0r\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2295', '[\"FoodbaconCooked\",1]', '2', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2296', '[\"FoodbeefCooked\",1]', '0', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2297', '[\"FoodCanBakedBeans\",1]', '4', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '179', 'trade_items');
|
||||
@@ -1031,7 +1031,7 @@ INSERT INTO `traders_data` VALUES ('2573', '[\"SmokeShellRed\",1]', '7', '[1,\"I
|
||||
INSERT INTO `traders_data` VALUES ('2574', '[\"ItemSodaCoke\",1]', '8', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2575', '[\"ItemSodaMdew\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2576', '[\"ItemSodaPepsi\",1]', '7', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2577', '[\"ItemSodaRbull\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2577', '[\"ItemSodaR4z0r\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2578', '[\"FoodbaconCooked\",1]', '0', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2579', '[\"FoodbeefCooked\",1]', '11', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2580', '[\"FoodCanBakedBeans\",1]', '1', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '224', 'trade_items');
|
||||
@@ -1433,7 +1433,7 @@ INSERT INTO `traders_data` VALUES ('3033', '[\"ItemToolbox\",3]', '9', '[2,\"Ite
|
||||
INSERT INTO `traders_data` VALUES ('3034', '[\"ItemWatch\",3]', '18', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '299', 'trade_weapons');
|
||||
INSERT INTO `traders_data` VALUES ('3035', '[\"NVGoggles\",3]', '0', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '299', 'trade_weapons');
|
||||
INSERT INTO `traders_data` VALUES ('3036', '[\"UralRefuel_TK_EP1\",2]', '9', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3037', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3037', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3038', '[\"KamazRefuel\",2]', '8', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3039', '[\"MtvrRefuel_DES_EP1\",2]', '10', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3040', '[\"Skin_Rocker2_DZ\",1]', '6', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '301', 'trade_items');
|
||||
@@ -1557,7 +1557,7 @@ INSERT INTO `traders_data` VALUES ('3192', '[\"FoodmuttonCooked\",1]', '58', '[1
|
||||
INSERT INTO `traders_data` VALUES ('3193', '[\"FoodbeefCooked\",1]', '40', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '312', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3194', '[\"FoodbaconCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '312', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3195', '[\"FoodrabbitCooked\",1]', '1', '[4,\"ItemSilverBar\",1]', '[2,\"ItemSilverBar\",1]', '0', '312', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3196', '[\"ItemSodaRbull\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '312', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3196', '[\"ItemSodaR4z0r\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '312', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3197', '[\"Skin_Rocker2_DZ\",1]', '6', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '313', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3198', '[\"Skin_SurvivorW2_DZ\",1]', '16', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '313', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3199', '[\"Skin_Functionary1_EP1_DZ\",1]', '9', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '313', 'trade_items');
|
||||
@@ -1664,7 +1664,7 @@ INSERT INTO `traders_data` VALUES ('3314', '[\"HMMWV_Ambulance_CZ_DES_EP1\",2]',
|
||||
INSERT INTO `traders_data` VALUES ('3315', '[\"HMMWV_DES_EP1\",2]', '1', '[3,\"ItemGoldBar10oz\",1]', '[2,\"ItemGoldBar10oz\",1]', '0', '332', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3316', '[\"HMMWV_DZ\",2]', '0', '[2,\"ItemGoldBar10oz\",1]', '[1,\"ItemGoldBar10oz\",1]', '0', '332', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3317', '[\"UralRefuel_TK_EP1\",2]', '11', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '333', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3318', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '2', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '333', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3318', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '2', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '333', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3319', '[\"KamazRefuel\",2]', '11', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '333', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3320', '[\"MtvrRefuel_DES_EP1\",2]', '8', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '333', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3321', '[\"Ural_CDF\",2]', '1', '[8,\"ItemGoldBar\",1]', '[4,\"ItemGoldBar\",1]', '0', '334', 'trade_any_vehicle');
|
||||
@@ -1959,7 +1959,7 @@ INSERT INTO `traders_data` VALUES ('3649', '[\"FoodmuttonCooked\",1]', '58', '[1
|
||||
INSERT INTO `traders_data` VALUES ('3650', '[\"FoodbeefCooked\",1]', '40', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '13', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3651', '[\"FoodbaconCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '13', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3652', '[\"FoodrabbitCooked\",1]', '1', '[4,\"ItemSilverBar\",1]', '[2,\"ItemSilverBar\",1]', '0', '13', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3653', '[\"ItemSodaRbull\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '13', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3653', '[\"ItemSodaR4z0r\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '13', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3654', '[\"ItemWaterbottleUnfilled\",1]', '1', '[3,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '13', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3655', '[\"DZ_Patrol_Pack_EP1\",2]', '2', '[5,\"ItemCopperBar\",1]', '[3,\"ItemCopperBar\",1]', '0', '14', 'trade_backpacks');
|
||||
INSERT INTO `traders_data` VALUES ('3656', '[\"CZ_VestPouch_EP1\",2]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '14', 'trade_backpacks');
|
||||
@@ -2163,7 +2163,7 @@ INSERT INTO `traders_data` VALUES ('3861', '[\"FoodmuttonCooked\",1]', '58', '[1
|
||||
INSERT INTO `traders_data` VALUES ('3862', '[\"FoodbeefCooked\",1]', '40', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3863', '[\"FoodbaconCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3864', '[\"FoodrabbitCooked\",1]', '1', '[4,\"ItemSilverBar\",1]', '[2,\"ItemSilverBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3865', '[\"ItemSodaRbull\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3865', '[\"ItemSodaR4z0r\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3866', '[\"ItemWaterbottleUnfilled\",1]', '1', '[3,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('3867', '[\"DZ_Patrol_Pack_EP1\",2]', '2', '[5,\"ItemCopperBar\",1]', '[3,\"ItemCopperBar\",1]', '0', '141', 'trade_backpacks');
|
||||
INSERT INTO `traders_data` VALUES ('3868', '[\"CZ_VestPouch_EP1\",2]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '141', 'trade_backpacks');
|
||||
|
||||
@@ -316,7 +316,7 @@ INSERT INTO `traders_data` VALUES ('1412', '[\"FoodCanBakedBeans\",1]', '0', '[2
|
||||
INSERT INTO `traders_data` VALUES ('1413', '[\"FoodCanBakedBeans\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1414', '[\"FoodbaconCooked\",1]', '0', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '140', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1415', '[\"UralRefuel_TK_EP1\",2]', '11', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1416', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '0', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1416', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '0', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1417', '[\"KamazRefuel\",2]', '22', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1418', '[\"MtvrRefuel_DES_EP1\",2]', '9', '[7,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '153', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('1419', '[\"DZ_ALICE_Pack_EP1\",2]', '1', '[2,\"ItemSilverBar10oz\",1]', '[1,\"ItemSilverBar10oz\",1]', '0', '141', 'trade_backpacks');
|
||||
@@ -755,7 +755,7 @@ INSERT INTO `traders_data` VALUES ('1865', '[\"FoodbeefCooked\",1]', '11', '[2,\
|
||||
INSERT INTO `traders_data` VALUES ('1866', '[\"ItemSodaCoke\",1]', '1', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1867', '[\"ItemSodaMdew\",1]', '2', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1868', '[\"ItemSodaPepsi\",1]', '1', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1869', '[\"ItemSodaRbull\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1869', '[\"ItemSodaR4z0r\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '70', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1870', '[\"Skin_Ins_Soldier_GL_DZ\",1]', '1', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '73', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1871', '[\"Skin_Haris_Press_EP1_DZ\",1]', '0', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '73', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1872', '[\"Skin_Rocker2_DZ\",1]', '6', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '73', 'trade_items');
|
||||
@@ -799,7 +799,7 @@ INSERT INTO `traders_data` VALUES ('1909', '[\"PipeBomb\",1]', '0', '[12,\"ItemG
|
||||
INSERT INTO `traders_data` VALUES ('1910', '[\"ItemSodaCoke\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1911', '[\"ItemSodaMdew\",1]', '2', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1912', '[\"ItemSodaPepsi\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1913', '[\"ItemSodaRbull\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1913', '[\"ItemSodaR4z0r\",1]', '3', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1914', '[\"FoodmuttonCooked\",1]', '1', '[1,\"ItemSilverBar\",1]', '[1,\"ItemCopperBar10oz\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1915', '[\"FoodCanSardines\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('1916', '[\"FoodCanPasta\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '79', 'trade_items');
|
||||
@@ -929,7 +929,7 @@ INSERT INTO `traders_data` VALUES ('2044', '[\"UAZ_RU\",2]', '2', '[4,\"ItemGold
|
||||
INSERT INTO `traders_data` VALUES ('2045', '[\"FoodbaconCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '111', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2046', '[\"FoodbeefCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '111', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2047', '[\"UralRefuel_TK_EP1\",2]', '10', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2048', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '1', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2048', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '1', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2049', '[\"KamazRefuel\",2]', '13', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2050', '[\"MtvrRefuel_DES_EP1\",2]', '18', '[8,\"ItemGoldBar10oz\",1]', '[4,\"ItemGoldBar10oz\",1]', '0', '92', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2051', '[\"SUV_Blue\",2]', '0', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '120', 'trade_any_vehicle');
|
||||
@@ -1088,7 +1088,7 @@ INSERT INTO `traders_data` VALUES ('2206', '[\"UH1H_DZ\",2]', '8', '[6,\"ItemGol
|
||||
INSERT INTO `traders_data` VALUES ('2207', '[\"Mi17_DZ\",2]', '15', '[6,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '43', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2208', '[\"HMMWV_M998A2_SOV_DES_EP1\",2]', '0', '[4,\"ItemGoldBar10oz\",1]', '[2,\"ItemGoldBar10oz\",1]', '0', '44', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2209', '[\"UralRefuel_TK_EP1\",2]', '8', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2210', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2210', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2211', '[\"KamazRefuel\",2]', '8', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2212', '[\"MtvrRefuel_DES_EP1\",2]', '5', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '45', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('2213', '[\"HandChemBlue\",1]', '1', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '51', 'trade_items');
|
||||
@@ -1171,7 +1171,7 @@ INSERT INTO `traders_data` VALUES ('2290', '[\"Ural_CDF\",2]', '1', '[8,\"ItemGo
|
||||
INSERT INTO `traders_data` VALUES ('2291', '[\"ItemSodaCoke\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2292', '[\"ItemSodaMdew\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2293', '[\"ItemSodaPepsi\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2294', '[\"ItemSodaRbull\",1]', '1', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2294', '[\"ItemSodaR4z0r\",1]', '1', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2295', '[\"FoodbaconCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2296', '[\"FoodbeefCooked\",1]', '0', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2297', '[\"FoodCanBakedBeans\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '179', 'trade_items');
|
||||
@@ -1182,7 +1182,7 @@ INSERT INTO `traders_data` VALUES ('2301', '[\"FoodchickenCooked\",1]', '0', '[2
|
||||
INSERT INTO `traders_data` VALUES ('2302', '[\"FoodrabbitCooked\",1]', '1', '[4,\"ItemSilverBar\",1]', '[2,\"ItemSilverBar\",1]', '0', '179', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2303', '[\"ItemSodaMdew\",1]', '3', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '163', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2304', '[\"ItemSodaPepsi\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '163', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2305', '[\"ItemSodaRbull\",1]', '1', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '163', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2305', '[\"ItemSodaR4z0r\",1]', '1', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '163', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2306', '[\"FoodbeefCooked\",1]', '1', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '163', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2307', '[\"FoodCanFrankBeans\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '163', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2308', '[\"FoodCanPasta\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '163', 'trade_items');
|
||||
@@ -1440,7 +1440,7 @@ INSERT INTO `traders_data` VALUES ('2573', '[\"SmokeShellRed\",1]', '2', '[1,\"I
|
||||
INSERT INTO `traders_data` VALUES ('2574', '[\"ItemSodaCoke\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2575', '[\"ItemSodaMdew\",1]', '1', '[6,\"ItemGoldBar\",1]', '[3,\"ItemGoldBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2576', '[\"ItemSodaPepsi\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2577', '[\"ItemSodaRbull\",1]', '1', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2577', '[\"ItemSodaR4z0r\",1]', '1', '[1,\"ItemGoldBar10oz\",1]', '[5,\"ItemGoldBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2578', '[\"FoodbaconCooked\",1]', '0', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2579', '[\"FoodbeefCooked\",1]', '0', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '224', 'trade_items');
|
||||
INSERT INTO `traders_data` VALUES ('2580', '[\"FoodCanBakedBeans\",1]', '0', '[2,\"ItemCopperBar\",1]', '[1,\"ItemCopperBar\",1]', '0', '224', 'trade_items');
|
||||
@@ -1851,7 +1851,7 @@ INSERT INTO `traders_data` VALUES ('3033', '[\"ItemToolbox\",3]', '6', '[2,\"Ite
|
||||
INSERT INTO `traders_data` VALUES ('3034', '[\"ItemWatch\",3]', '17', '[2,\"ItemSilverBar\",1]', '[1,\"ItemSilverBar\",1]', '0', '299', 'trade_weapons');
|
||||
INSERT INTO `traders_data` VALUES ('3035', '[\"NVGoggles\",3]', '0', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '299', 'trade_weapons');
|
||||
INSERT INTO `traders_data` VALUES ('3036', '[\"UralRefuel_TK_EP1\",2]', '6', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3037', '[\"V3S_Refuel_TK_GUE_EP1\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3037', '[\"V3S_Refuel_TK_GUE_EP1_DZ\",2]', '1', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3038', '[\"KamazRefuel\",2]', '7', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3039', '[\"MtvrRefuel_DES_EP1\",2]', '5', '[7,\"ItemGoldBar10oz\",1]', '[3,\"ItemGoldBar10oz\",1]', '0', '300', 'trade_any_vehicle');
|
||||
INSERT INTO `traders_data` VALUES ('3040', '[\"Skin_Rocker2_DZ\",1]', '5', '[2,\"ItemGoldBar\",1]', '[1,\"ItemGoldBar\",1]', '0', '301', 'trade_items');
|
||||
@@ -2060,7 +2060,7 @@ INSERT INTO `trader_items` VALUES ('436', 'ItemSandbag', '1', 'Building Supplies
|
||||
INSERT INTO `trader_items` VALUES ('437', 'ItemSodaCoke', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('438', 'ItemSodaMdew', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('439', 'ItemSodaPepsi', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('440', 'ItemSodaRbull', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('440', 'ItemSodaR4z0r', '1', 'Drink', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('441', 'ItemTankTrap', '1', 'Building Supplies', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('442', 'ItemTent', '1', 'Building Supplies', 'trade_items');
|
||||
INSERT INTO `trader_items` VALUES ('443', 'ItemToolbox', '3', 'ToolBelt', 'trade_weapons');
|
||||
@@ -2195,7 +2195,7 @@ INSERT INTO `trader_items` VALUES ('574', 'Ural_UN_EP1', '2', 'Trucks Large', 't
|
||||
INSERT INTO `trader_items` VALUES ('575', 'UZI_EP1', '3', 'Sub Machine Gun', 'trade_weapons');
|
||||
INSERT INTO `trader_items` VALUES ('576', 'V3S_Open_TK_CIV_EP1', '2', 'Trucks Large', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('577', 'V3S_Open_TK_EP1', '2', 'Trucks Large', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('578', 'V3S_Refuel_TK_GUE_EP1', '2', 'Trucks Refuel', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('578', 'V3S_Refuel_TK_GUE_EP1_DZ', '2', 'Trucks Refuel', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('579', 'VolhaLimo_TK_CIV_EP1', '2', 'Cars', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('580', 'Volha_1_TK_CIV_EP1', '2', 'Cars', 'trade_any_vehicle');
|
||||
INSERT INTO `trader_items` VALUES ('581', 'Volha_2_TK_CIV_EP1', '2', 'Cars', 'trade_any_vehicle');
|
||||
|
||||
@@ -1,7 +1,44 @@
|
||||
class CfgMagazines {
|
||||
class CA_Magazine; // External class reference
|
||||
|
||||
class ItemTentDomed : CA_Magazine {
|
||||
class ItemTent: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_20;
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
class ItemActions
|
||||
{
|
||||
class Pitch
|
||||
{
|
||||
text = $STR_PITCH_TENT;
|
||||
script = "spawn player_tentPitch;";
|
||||
create = "TentStorage";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Desert Net";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_net_kit",1}};
|
||||
input[] = {{"ItemTent",4},{"ItemPole",4}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Forest Net";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_net_kit",1}};
|
||||
input[] = {{"ItemTent",4},{"ItemPole",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemTentDomed : ItemTent {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
@@ -16,9 +53,27 @@ class CfgMagazines {
|
||||
script = "spawn player_tentPitch;";
|
||||
create = "TentStorageDomed";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Desert Net";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_net_kit",1}};
|
||||
input[] = {{"ItemTent",4},{"ItemPole",4}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Forest Net";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_net_kit",1}};
|
||||
input[] = {{"ItemTent",4},{"ItemPole",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemTentDomed2 : CA_Magazine {
|
||||
class ItemTentDomed2 : ItemTent {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
@@ -26,13 +81,30 @@ class CfgMagazines {
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions {
|
||||
class Pitch {
|
||||
text = $STR_PITCH_TENT;
|
||||
script = "spawn player_tentPitch;";
|
||||
create = "TentStorageDomed2";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Desert Net";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_net_kit",1}};
|
||||
input[] = {{"ItemTent",4},{"ItemPole",4}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Desert Net";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_net_kit",1}};
|
||||
input[] = {{"ItemTent",4},{"ItemPole",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -56,22 +128,33 @@ class CfgMagazines {
|
||||
{
|
||||
text = "Craft Large Sandbag";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"ItemSandbagLarge",1}};
|
||||
input[] = {{"ItemSandbag",3},{"ItemWire",1},{"ItemTankTrap",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft M240 Nest";
|
||||
text = "Craft Sandbag Nest";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"sandbag_nest_kit",1}};
|
||||
input[] = {{"ItemSandbag",4},{"PartWoodPlywood",2},{"PartWoodLumber",4}};
|
||||
};
|
||||
/*
|
||||
class Crafting2
|
||||
{
|
||||
text = "Craft M240 Nest";
|
||||
script = "spawn player_craftItem2;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox","M240_DZ"};
|
||||
output[] = {{"m240_nest_kit",1}};
|
||||
input[] = {{"ItemSandbag",4},{"ItemCanvas",1},{"PartWoodPlywood",4},{"PartWoodLumber",3}};
|
||||
// TODO add consume weapon
|
||||
consumeweapons[] = {"M240_DZ"};
|
||||
};
|
||||
*/
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -706,6 +789,12 @@ class CfgMagazines {
|
||||
shortNameMagazine = "Machete";
|
||||
ammo = "Machete_Swing_Ammo";
|
||||
};
|
||||
class Fishing_Swing : Hatchet_Swing {
|
||||
displayName = "Fishing";
|
||||
displayNameMagazine = "Fishing";
|
||||
shortNameMagazine = "Fishing";
|
||||
ammo = "Fishing_Swing_Ammo";
|
||||
};
|
||||
// Inventory Placeholder
|
||||
class DummyItem : Hatchet_Swing {
|
||||
displayName = "Dummy";
|
||||
@@ -713,7 +802,6 @@ class CfgMagazines {
|
||||
shortNameMagazine = "Dummy";
|
||||
ammo = "Dummy_Swing_Ammo";
|
||||
};
|
||||
|
||||
class ItemTrashToiletpaper : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
@@ -723,6 +811,24 @@ class CfgMagazines {
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_toiletpaper_CA.paa";
|
||||
type = 256;
|
||||
};
|
||||
class ItemTrout : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = "Rainbow Trout";
|
||||
descriptionShort = "Rainbow Trout";
|
||||
model = "\dayz_equip\models\trout.p3d";
|
||||
picture = "\dayz_equip\textures\equip_rainbowtrout_CA.paa";
|
||||
type = 256;
|
||||
};
|
||||
class ItemTuna : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
displayName = "Blue Fin Tuna";
|
||||
descriptionShort = "Blue Fin Tuna";
|
||||
model = "\dayz_equip\models\tuna.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tuna_CA.paa";
|
||||
type = 256;
|
||||
};
|
||||
class ItemTrashRazor : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
|
||||
37625
dayz_code/CfgWeapons.hpp
37625
dayz_code/CfgWeapons.hpp
File diff suppressed because it is too large
Load Diff
@@ -4,7 +4,7 @@ if(TradeInprogress) exitWith { cutText ["Boil already in progress." , "PLAIN DOW
|
||||
TradeInprogress = true;
|
||||
|
||||
player removeAction s_player_boil;
|
||||
s_player_boil = -1;
|
||||
s_player_boil = 1;
|
||||
|
||||
_hasbottleitem = "ItemWaterbottle" in magazines player;
|
||||
_hastinitem = false;
|
||||
@@ -51,4 +51,6 @@ if (_hasbottleitem and _hastinitem) then {
|
||||
};
|
||||
};
|
||||
|
||||
s_player_boil = -1;
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -1,4 +1,6 @@
|
||||
private["_activatingPlayer","_trader_id","_category","_action","_id","_type","_loc","_name","_qty","_cost","_qty","_sell","_cur","_order","_tid","_currency","_actionFile","_in","_out","_part","_cat","_cancel","_Display","_File","_textCurrency","_textPart"];
|
||||
private ["_activatingPlayer","_trader_id","_category","_action","_type","_name","_qty","_sell","_order","_tid","_out","_part","_cancel","_Display","_File","_textCurrency","_textPart","_btype","_stype","_header","_item","_buy","_bqty","_bname","_sqty","_sname","_textCurrencySell","_afile"];
|
||||
|
||||
if (TradeInprogress) exitWith {}; // Do not allow if any script is running.
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
|
||||
@@ -115,6 +117,6 @@ s_player_parts set [count s_player_parts,_cancel];
|
||||
// Cache data in client side global variable
|
||||
call compile format["tcacheBuy_%1 = %2;",_tid,dayzTraderMenuResult];
|
||||
|
||||
// Clear Data maybe consider cacheing results
|
||||
// Clear Data
|
||||
dayzTraderMenuResult = nil;
|
||||
s_player_parts_crtl = 1;
|
||||
@@ -1,5 +1,7 @@
|
||||
private["_trader_id","_category","_buy","_sell","_cancel"];
|
||||
|
||||
if (TradeInprogress) exitWith {}; // Do not allow if any script is running.
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
|
||||
_trader_id = (_this select 3) select 0;
|
||||
|
||||
@@ -12,7 +12,7 @@ s_player_callzombies = 1;
|
||||
|
||||
[player,"spotted",0,false] call dayz_zombieSpeak;
|
||||
|
||||
_id = [player,100,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,100,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
// wait a bit
|
||||
sleep 3;
|
||||
|
||||
@@ -5,7 +5,7 @@ TradeInprogress = true;
|
||||
|
||||
// diag_log ("Cook Enabled");
|
||||
player removeAction s_player_cook;
|
||||
s_player_cook = -1;
|
||||
s_player_cook = 1;
|
||||
|
||||
_rawmeat = meatraw;
|
||||
_cookedmeat = meatcooked;
|
||||
@@ -77,4 +77,5 @@ _cookedmeat = meatcooked;
|
||||
};
|
||||
} forEach _rawmeat;
|
||||
|
||||
s_player_cook = -1;
|
||||
TradeInprogress = false;
|
||||
@@ -1,5 +1,9 @@
|
||||
private["_obj"];
|
||||
_obj = _this select 3;
|
||||
|
||||
player removeAction s_player_fireout;
|
||||
s_player_fireout = 1;
|
||||
|
||||
player playActionNow "Medic";
|
||||
sleep 6;
|
||||
if(_obj isKindOf "Land_fire") then {
|
||||
@@ -7,5 +11,4 @@ if(_obj isKindOf "Land_fire") then {
|
||||
deleteVehicle _obj;
|
||||
};
|
||||
cutText [localize "str_fireplace_removed", "PLAIN DOWN"];
|
||||
player removeAction s_player_fireout;
|
||||
s_player_fireout = -1;
|
||||
@@ -2,4 +2,4 @@ private["_object"];
|
||||
|
||||
//["dayzUpdateVehicle",[_this select 3,"all"]] call callRpcProcedure;
|
||||
dayzUpdateVehicle = [_this select 3,"all"];
|
||||
publicVariable "dayzUpdateVehicle";
|
||||
publicVariableServer "dayzUpdateVehicle";
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
private["_item","_hasKnife","_hasKnifeBlunt","_hasHarvested","_qty","_text","_string","_type"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Gutting animal already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_item = _this select 3;
|
||||
_hasKnife = "ItemKnife" in items player;
|
||||
_hasKnifeBlunt = "ItemKnifeBlunt" in items player;
|
||||
@@ -7,7 +11,7 @@ _hasHarvested = _item getVariable["meatHarvested",false];
|
||||
_config = configFile >> "CfgSurvival" >> "Meat" >> _type;
|
||||
|
||||
player removeAction s_player_butcher;
|
||||
s_player_butcher = -1;
|
||||
s_player_butcher = 1;
|
||||
|
||||
if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
|
||||
//Get Animal Type
|
||||
@@ -79,4 +83,6 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
|
||||
_string = format[localize "str_success_gutted_animal",_text,_qty];
|
||||
cutText [_string, "PLAIN DOWN"];
|
||||
};
|
||||
};
|
||||
};
|
||||
s_player_butcher = -1;
|
||||
TradeInprogress = false;
|
||||
@@ -1,4 +1,8 @@
|
||||
private["_hasKnife","_qty","_item","_text","_string","_type","_loop","_meat","_timer"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Gutting zombie already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_item = _this select 3;
|
||||
_hasKnife = "ItemKnife" in items player;
|
||||
_hasKnifeBlunt = "ItemKnifeBlunt" in items player;
|
||||
@@ -7,7 +11,7 @@ _hasHarvested = _item getVariable["meatHarvested",false];
|
||||
_config = configFile >> "CfgSurvival" >> "Meat" >> _type;
|
||||
|
||||
player removeAction s_player_butcher;
|
||||
s_player_butcher = -1;
|
||||
s_player_butcher = 1;
|
||||
|
||||
if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
|
||||
//Get Animal Type
|
||||
@@ -75,4 +79,6 @@ if ((_hasKnife or _hasKnifeBlunt) and !_hasHarvested) then {
|
||||
_string = format["Successfully Gutted Zombie",_text,_qty];
|
||||
cutText [_string, "PLAIN DOWN"];
|
||||
};
|
||||
};
|
||||
};
|
||||
s_player_butcher = -1;
|
||||
TradeInprogress = false;
|
||||
@@ -1,7 +1,10 @@
|
||||
private["_hasFood","_item","_text","_qty"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Fill Jerry already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
player removeAction s_player_fillfuel;
|
||||
s_player_fillfuel = -1;
|
||||
s_player_fillfuel = 1;
|
||||
|
||||
_fillCounter = 0;
|
||||
_abort = false;
|
||||
@@ -74,4 +77,7 @@ for "_x" from 1 to _qty do {
|
||||
|
||||
sleep 1;
|
||||
if(_abort) exitWith {};
|
||||
};
|
||||
};
|
||||
|
||||
s_player_fillfuel = -1;
|
||||
TradeInprogress = false;
|
||||
@@ -1,6 +1,9 @@
|
||||
private["_vehicle"];
|
||||
_vehicle = _this select 3;
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Lock vehicle already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
{player removeAction _x} forEach s_player_lockunlock;s_player_lockunlock = [];
|
||||
s_player_lockUnlock_crtl = -1;
|
||||
|
||||
@@ -10,3 +13,5 @@ processInitCommands;
|
||||
//_vehicle lock true;
|
||||
//dayzLockVehicle = [_vehicle,true];
|
||||
//publicVariable "dayzLockVehicle";
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -37,6 +37,9 @@ if (_classname == "MeleeHatchet") then {
|
||||
if (_classname == "MeleeMachete") then {
|
||||
player addMagazine 'Machete_swing';
|
||||
};
|
||||
if (_classname == "MeleeFishingPole") then {
|
||||
player addMagazine 'Fishing_Swing';
|
||||
};
|
||||
|
||||
_broken = false;
|
||||
if(_classname == "WoodenArrow") then {
|
||||
@@ -69,7 +72,7 @@ if(_qty >= 1) then {
|
||||
if (_isOk) then {
|
||||
|
||||
deleteVehicle _holder;
|
||||
if (_classname in ["MeleeHatchet","MeleeCrowbar","MeleeMachete"]) then {
|
||||
if (_classname in ["MeleeHatchet","MeleeCrowbar","MeleeMachete","MeleeFishingPole"]) then {
|
||||
|
||||
if (_type == "cfgWeapons") then {
|
||||
_muzzles = getArray(configFile >> "cfgWeapons" >> _classname >> "muzzles");
|
||||
@@ -93,6 +96,9 @@ if(_qty >= 1) then {
|
||||
if (_classname == "MeleeMachete") then {
|
||||
player removeMagazine 'Machete_swing';
|
||||
};
|
||||
if (_classname == "MeleeFishingPole") then {
|
||||
player removeMagazine 'Fishing_Swing';
|
||||
};
|
||||
};
|
||||
};
|
||||
TradeInprogress = false;
|
||||
|
||||
@@ -20,7 +20,7 @@ _create = getArray (_config >> "ItemActions" >> "Toolbelt" >> "output") select
|
||||
_config2 = configFile >> "cfgWeapons" >> _create;
|
||||
|
||||
//Remove magazines if needed
|
||||
if (_item in ["MeleeHatchet","MeleeCrowbar","MeleeMachete"]) then {
|
||||
if (_item in ["MeleeHatchet","MeleeCrowbar","MeleeMachete","MeleeFishingPole"]) then {
|
||||
_magType = ([] + getArray (configFile >> "cfgWeapons" >> _item >> "magazines")) select 0;
|
||||
_meleeNum = ({_x == _magType} count magazines player);
|
||||
for "_i" from 1 to _meleeNum do {
|
||||
@@ -44,7 +44,7 @@ if (_isOk) then {
|
||||
player removeWeapon _item;
|
||||
|
||||
//Add magazines if needed
|
||||
if (_create in ["MeleeHatchet","MeleeCrowbar","MeleeMachete"]) then {
|
||||
if (_create in ["MeleeHatchet","MeleeCrowbar","MeleeMachete","MeleeFishingPole"]) then {
|
||||
if (_create == "MeleeCrowbar") then {
|
||||
player addMagazine 'crowbar_swing';
|
||||
};
|
||||
@@ -54,6 +54,9 @@ if (_isOk) then {
|
||||
if (_create == "MeleeMachete") then {
|
||||
player addMagazine 'Machete_swing';
|
||||
};
|
||||
if (_create == "MeleeFishingPole") then {
|
||||
player addMagazine 'Fishing_Swing';
|
||||
};
|
||||
if (_type == "cfgWeapons") then {
|
||||
_muzzles = getArray(configFile >> "cfgWeapons" >> _create >> "muzzles");
|
||||
_wtype = ((weapons player) select 0);
|
||||
@@ -68,7 +71,7 @@ if (_isOk) then {
|
||||
cutText [localize "STR_DAYZ_CODE_2", "PLAIN DOWN"];
|
||||
|
||||
//Add magazines back
|
||||
if (_item in ["MeleeHatchet","MeleeCrowbar","MeleeMachete"]) then {
|
||||
if (_item in ["MeleeHatchet","MeleeCrowbar","MeleeMachete","MeleeFishingPole"]) then {
|
||||
if (_item == "MeleeCrowbar") then {
|
||||
player addMagazine 'crowbar_swing';
|
||||
};
|
||||
@@ -78,6 +81,9 @@ if (_isOk) then {
|
||||
if (_item == "MeleeMachete") then {
|
||||
player addMagazine 'Machete_swing';
|
||||
};
|
||||
if (_item == "MeleeFishingPole") then {
|
||||
player addMagazine 'Fishing_Swing';
|
||||
};
|
||||
};
|
||||
};
|
||||
TradeInprogress = false;
|
||||
|
||||
@@ -2,69 +2,11 @@
|
||||
* Crafting by [VB]AWOL
|
||||
* usage: spawn player_craftitem;
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_id","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear"];
|
||||
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"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
/*
|
||||
== Canned Foods
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta",
|
||||
"FoodBioMeat"
|
||||
|
||||
== Drinks
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
|
||||
== Trash
|
||||
"TrashTinCan",
|
||||
"TrashJackDaniels",
|
||||
"ItemSodaEmpty",
|
||||
"ItemSodaCokeEmpty",
|
||||
"ItemSodaPepsiEmpty",
|
||||
|
||||
== community stuff Trash
|
||||
"ItemSodaMdewEmpty",
|
||||
"ItemSodaMtngreenEmpty",
|
||||
"ItemSodaR4z0rEmpty",
|
||||
"ItemSodaClaysEmpty",
|
||||
"ItemSodaSmashtEmpty",.
|
||||
"ItemSodaDrwasteEmpty",.
|
||||
"ItemSodaLemonadeEmpty",.
|
||||
"ItemSodaLvgEmpty",.
|
||||
"ItemSodaMzlyEmpty",.
|
||||
"ItemSodaRabbitEmpty"
|
||||
|
||||
== Raw Meats
|
||||
"FoodSteakRaw",
|
||||
"FoodmeatRaw",
|
||||
"FoodbeefRaw",
|
||||
"FoodmuttonRaw",
|
||||
"FoodchickenRaw",
|
||||
"FoodrabbitRaw",
|
||||
"FoodbaconRaw"
|
||||
|
||||
== Cooked Meats
|
||||
"FoodSteakCooked",
|
||||
"FoodmeatCooked",
|
||||
"FoodbeefCooked",
|
||||
"FoodmuttonCooked",
|
||||
"FoodchickenCooked",
|
||||
"FoodrabbitCooked",
|
||||
"FoodbaconCooked"
|
||||
*/
|
||||
|
||||
// Removed metals:
|
||||
// _recipe_ItemBronzeBar = [[["ItemBronzeBar",1] ],[["ItemCopperBar",3],["ItemTinBar",3]]];
|
||||
|
||||
// New item ideas:
|
||||
// _recipe_FoodChickenNoodle = [["FoodchickenRaw",1],["FoodCanPasta",1],["ItemWaterbottle",1]];
|
||||
// _recipe_FoodBeefBakedBeans = [["FoodbeefRaw",1],["FoodCanBakedBeans",1]];
|
||||
// ItemSalt
|
||||
|
||||
// temp array of removed parts
|
||||
_temp_removed_array = [];
|
||||
_abort = false;
|
||||
@@ -88,6 +30,14 @@ if("fire" in _needNear) then {
|
||||
};
|
||||
};
|
||||
|
||||
if("workshop" in _needNear) then {
|
||||
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ"], 5]);
|
||||
if(_isNear == 0) then {
|
||||
_abort = true;
|
||||
_reason = "workshop";
|
||||
};
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
@@ -142,7 +92,7 @@ if (_canDo) then {
|
||||
player playActionNow "Medic";
|
||||
|
||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
r_interrupt = false;
|
||||
_animState = animationState player;
|
||||
|
||||
@@ -2,69 +2,11 @@
|
||||
* Crafting by [VB]AWOL
|
||||
* usage: spawn player_craftitem;
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_id","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear"];
|
||||
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"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
/*
|
||||
== Canned Foods
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta",
|
||||
"FoodBioMeat"
|
||||
|
||||
== Drinks
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
|
||||
== Trash
|
||||
"TrashTinCan",
|
||||
"TrashJackDaniels",
|
||||
"ItemSodaEmpty",
|
||||
"ItemSodaCokeEmpty",
|
||||
"ItemSodaPepsiEmpty",
|
||||
|
||||
== community stuff Trash
|
||||
"ItemSodaMdewEmpty",
|
||||
"ItemSodaMtngreenEmpty",
|
||||
"ItemSodaR4z0rEmpty",
|
||||
"ItemSodaClaysEmpty",
|
||||
"ItemSodaSmashtEmpty",.
|
||||
"ItemSodaDrwasteEmpty",.
|
||||
"ItemSodaLemonadeEmpty",.
|
||||
"ItemSodaLvgEmpty",.
|
||||
"ItemSodaMzlyEmpty",.
|
||||
"ItemSodaRabbitEmpty"
|
||||
|
||||
== Raw Meats
|
||||
"FoodSteakRaw",
|
||||
"FoodmeatRaw",
|
||||
"FoodbeefRaw",
|
||||
"FoodmuttonRaw",
|
||||
"FoodchickenRaw",
|
||||
"FoodrabbitRaw",
|
||||
"FoodbaconRaw"
|
||||
|
||||
== Cooked Meats
|
||||
"FoodSteakCooked",
|
||||
"FoodmeatCooked",
|
||||
"FoodbeefCooked",
|
||||
"FoodmuttonCooked",
|
||||
"FoodchickenCooked",
|
||||
"FoodrabbitCooked",
|
||||
"FoodbaconCooked"
|
||||
*/
|
||||
|
||||
// Removed metals:
|
||||
// _recipe_ItemBronzeBar = [[["ItemBronzeBar",1] ],[["ItemCopperBar",3],["ItemTinBar",3]]];
|
||||
|
||||
// New item ideas:
|
||||
// _recipe_FoodChickenNoodle = [["FoodchickenRaw",1],["FoodCanPasta",1],["ItemWaterbottle",1]];
|
||||
// _recipe_FoodBeefBakedBeans = [["FoodbeefRaw",1],["FoodCanBakedBeans",1]];
|
||||
// ItemSalt
|
||||
|
||||
// temp array of removed parts
|
||||
_temp_removed_array = [];
|
||||
_abort = false;
|
||||
@@ -88,6 +30,14 @@ if("fire" in _needNear) then {
|
||||
};
|
||||
};
|
||||
|
||||
if("workshop" in _needNear) then {
|
||||
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ"], 5]);
|
||||
if(_isNear == 0) then {
|
||||
_abort = true;
|
||||
_reason = "workshop";
|
||||
};
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
@@ -142,7 +92,7 @@ if (_canDo) then {
|
||||
player playActionNow "Medic";
|
||||
|
||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
r_interrupt = false;
|
||||
_animState = animationState player;
|
||||
|
||||
@@ -2,69 +2,11 @@
|
||||
* Crafting by [VB]AWOL
|
||||
* usage: spawn player_craftitem;
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_id","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear"];
|
||||
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"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
/*
|
||||
== Canned Foods
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta",
|
||||
"FoodBioMeat"
|
||||
|
||||
== Drinks
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
|
||||
== Trash
|
||||
"TrashTinCan",
|
||||
"TrashJackDaniels",
|
||||
"ItemSodaEmpty",
|
||||
"ItemSodaCokeEmpty",
|
||||
"ItemSodaPepsiEmpty",
|
||||
|
||||
== community stuff Trash
|
||||
"ItemSodaMdewEmpty",
|
||||
"ItemSodaMtngreenEmpty",
|
||||
"ItemSodaR4z0rEmpty",
|
||||
"ItemSodaClaysEmpty",
|
||||
"ItemSodaSmashtEmpty",.
|
||||
"ItemSodaDrwasteEmpty",.
|
||||
"ItemSodaLemonadeEmpty",.
|
||||
"ItemSodaLvgEmpty",.
|
||||
"ItemSodaMzlyEmpty",.
|
||||
"ItemSodaRabbitEmpty"
|
||||
|
||||
== Raw Meats
|
||||
"FoodSteakRaw",
|
||||
"FoodmeatRaw",
|
||||
"FoodbeefRaw",
|
||||
"FoodmuttonRaw",
|
||||
"FoodchickenRaw",
|
||||
"FoodrabbitRaw",
|
||||
"FoodbaconRaw"
|
||||
|
||||
== Cooked Meats
|
||||
"FoodSteakCooked",
|
||||
"FoodmeatCooked",
|
||||
"FoodbeefCooked",
|
||||
"FoodmuttonCooked",
|
||||
"FoodchickenCooked",
|
||||
"FoodrabbitCooked",
|
||||
"FoodbaconCooked"
|
||||
*/
|
||||
|
||||
// Removed metals:
|
||||
// _recipe_ItemBronzeBar = [[["ItemBronzeBar",1] ],[["ItemCopperBar",3],["ItemTinBar",3]]];
|
||||
|
||||
// New item ideas:
|
||||
// _recipe_FoodChickenNoodle = [["FoodchickenRaw",1],["FoodCanPasta",1],["ItemWaterbottle",1]];
|
||||
// _recipe_FoodBeefBakedBeans = [["FoodbeefRaw",1],["FoodCanBakedBeans",1]];
|
||||
// ItemSalt
|
||||
|
||||
// temp array of removed parts
|
||||
_temp_removed_array = [];
|
||||
_abort = false;
|
||||
@@ -88,6 +30,14 @@ if("fire" in _needNear) then {
|
||||
};
|
||||
};
|
||||
|
||||
if("workshop" in _needNear) then {
|
||||
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ"], 5]);
|
||||
if(_isNear == 0) then {
|
||||
_abort = true;
|
||||
_reason = "workshop";
|
||||
};
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
@@ -142,7 +92,7 @@ if (_canDo) then {
|
||||
player playActionNow "Medic";
|
||||
|
||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
r_interrupt = false;
|
||||
_animState = animationState player;
|
||||
|
||||
@@ -2,69 +2,11 @@
|
||||
* Crafting by [VB]AWOL
|
||||
* usage: spawn player_craftitem;
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_id","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear"];
|
||||
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"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
/*
|
||||
== Canned Foods
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta",
|
||||
"FoodBioMeat"
|
||||
|
||||
== Drinks
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
|
||||
== Trash
|
||||
"TrashTinCan",
|
||||
"TrashJackDaniels",
|
||||
"ItemSodaEmpty",
|
||||
"ItemSodaCokeEmpty",
|
||||
"ItemSodaPepsiEmpty",
|
||||
|
||||
== community stuff Trash
|
||||
"ItemSodaMdewEmpty",
|
||||
"ItemSodaMtngreenEmpty",
|
||||
"ItemSodaR4z0rEmpty",
|
||||
"ItemSodaClaysEmpty",
|
||||
"ItemSodaSmashtEmpty",.
|
||||
"ItemSodaDrwasteEmpty",.
|
||||
"ItemSodaLemonadeEmpty",.
|
||||
"ItemSodaLvgEmpty",.
|
||||
"ItemSodaMzlyEmpty",.
|
||||
"ItemSodaRabbitEmpty"
|
||||
|
||||
== Raw Meats
|
||||
"FoodSteakRaw",
|
||||
"FoodmeatRaw",
|
||||
"FoodbeefRaw",
|
||||
"FoodmuttonRaw",
|
||||
"FoodchickenRaw",
|
||||
"FoodrabbitRaw",
|
||||
"FoodbaconRaw"
|
||||
|
||||
== Cooked Meats
|
||||
"FoodSteakCooked",
|
||||
"FoodmeatCooked",
|
||||
"FoodbeefCooked",
|
||||
"FoodmuttonCooked",
|
||||
"FoodchickenCooked",
|
||||
"FoodrabbitCooked",
|
||||
"FoodbaconCooked"
|
||||
*/
|
||||
|
||||
// Removed metals:
|
||||
// _recipe_ItemBronzeBar = [[["ItemBronzeBar",1] ],[["ItemCopperBar",3],["ItemTinBar",3]]];
|
||||
|
||||
// New item ideas:
|
||||
// _recipe_FoodChickenNoodle = [["FoodchickenRaw",1],["FoodCanPasta",1],["ItemWaterbottle",1]];
|
||||
// _recipe_FoodBeefBakedBeans = [["FoodbeefRaw",1],["FoodCanBakedBeans",1]];
|
||||
// ItemSalt
|
||||
|
||||
// temp array of removed parts
|
||||
_temp_removed_array = [];
|
||||
_abort = false;
|
||||
@@ -88,6 +30,14 @@ if("fire" in _needNear) then {
|
||||
};
|
||||
};
|
||||
|
||||
if("workshop" in _needNear) then {
|
||||
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ"], 5]);
|
||||
if(_isNear == 0) then {
|
||||
_abort = true;
|
||||
_reason = "workshop";
|
||||
};
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
@@ -142,7 +92,7 @@ if (_canDo) then {
|
||||
player playActionNow "Medic";
|
||||
|
||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
r_interrupt = false;
|
||||
_animState = animationState player;
|
||||
|
||||
@@ -2,69 +2,11 @@
|
||||
* Crafting by [VB]AWOL
|
||||
* usage: spawn player_craftitem;
|
||||
*/
|
||||
private ["_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_id","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear"];
|
||||
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"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Crafting already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
/*
|
||||
== Canned Foods
|
||||
"FoodCanBakedBeans",
|
||||
"FoodCanSardines",
|
||||
"FoodCanFrankBeans",
|
||||
"FoodCanPasta",
|
||||
"FoodBioMeat"
|
||||
|
||||
== Drinks
|
||||
"ItemSodaCoke",
|
||||
"ItemSodaPepsi",
|
||||
|
||||
== Trash
|
||||
"TrashTinCan",
|
||||
"TrashJackDaniels",
|
||||
"ItemSodaEmpty",
|
||||
"ItemSodaCokeEmpty",
|
||||
"ItemSodaPepsiEmpty",
|
||||
|
||||
== community stuff Trash
|
||||
"ItemSodaMdewEmpty",
|
||||
"ItemSodaMtngreenEmpty",
|
||||
"ItemSodaR4z0rEmpty",
|
||||
"ItemSodaClaysEmpty",
|
||||
"ItemSodaSmashtEmpty",.
|
||||
"ItemSodaDrwasteEmpty",.
|
||||
"ItemSodaLemonadeEmpty",.
|
||||
"ItemSodaLvgEmpty",.
|
||||
"ItemSodaMzlyEmpty",.
|
||||
"ItemSodaRabbitEmpty"
|
||||
|
||||
== Raw Meats
|
||||
"FoodSteakRaw",
|
||||
"FoodmeatRaw",
|
||||
"FoodbeefRaw",
|
||||
"FoodmuttonRaw",
|
||||
"FoodchickenRaw",
|
||||
"FoodrabbitRaw",
|
||||
"FoodbaconRaw"
|
||||
|
||||
== Cooked Meats
|
||||
"FoodSteakCooked",
|
||||
"FoodmeatCooked",
|
||||
"FoodbeefCooked",
|
||||
"FoodmuttonCooked",
|
||||
"FoodchickenCooked",
|
||||
"FoodrabbitCooked",
|
||||
"FoodbaconCooked"
|
||||
*/
|
||||
|
||||
// Removed metals:
|
||||
// _recipe_ItemBronzeBar = [[["ItemBronzeBar",1] ],[["ItemCopperBar",3],["ItemTinBar",3]]];
|
||||
|
||||
// New item ideas:
|
||||
// _recipe_FoodChickenNoodle = [["FoodchickenRaw",1],["FoodCanPasta",1],["ItemWaterbottle",1]];
|
||||
// _recipe_FoodBeefBakedBeans = [["FoodbeefRaw",1],["FoodCanBakedBeans",1]];
|
||||
// ItemSalt
|
||||
|
||||
// temp array of removed parts
|
||||
_temp_removed_array = [];
|
||||
_abort = false;
|
||||
@@ -88,6 +30,14 @@ if("fire" in _needNear) then {
|
||||
};
|
||||
};
|
||||
|
||||
if("workshop" in _needNear) then {
|
||||
_isNear = count (nearestObjects [player, ["Wooden_shed_DZ","WoodShack_DZ"], 5]);
|
||||
if(_isNear == 0) then {
|
||||
_abort = true;
|
||||
_reason = "workshop";
|
||||
};
|
||||
};
|
||||
|
||||
if(_abort) exitWith {
|
||||
cutText [format["Crafting needs a %1 within %2 meters",_reason,_distance], "PLAIN DOWN"];
|
||||
TradeInprogress = false;
|
||||
@@ -142,7 +92,7 @@ if (_canDo) then {
|
||||
player playActionNow "Medic";
|
||||
|
||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
r_interrupt = false;
|
||||
_animState = animationState player;
|
||||
|
||||
@@ -38,7 +38,7 @@ if (["ItemSoda",_itemorignal] call fnc_inString) then {
|
||||
//higher alert and sound radius
|
||||
_dis=10;
|
||||
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
|
||||
_id = [player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
||||
};
|
||||
|
||||
if (_hasoutput) then{
|
||||
|
||||
@@ -16,8 +16,10 @@ for "_i" from 1 to _meleeNum do {
|
||||
|
||||
player removeWeapon _item;
|
||||
if (_item == "MeleeHatchet") then {_item = "ItemHatchet";};
|
||||
if (_item == "MeleeCrowbar") then {_item = "ItemCrowbar";};
|
||||
if (_item == "MeleeCrowbar") then {_item = "MeleeCrowbar";};
|
||||
if (_item == "MeleeMachete") then {_item = "ItemMachete";};
|
||||
if (_item == "MeleeFishingPole") then {_item = "MeleeFishingPole";};
|
||||
|
||||
_bag = createVehicle [format["WeaponHolder_%1",_item],getPosATL player,[], 0, "CAN_COLLIDE"];
|
||||
_bag setdir (getDir player);
|
||||
player reveal _bag;
|
||||
@@ -1,56 +1,58 @@
|
||||
private ["_item","_isOk","_i","_objName","_objInfo","_lenInfo","_started","_finished","_sfx","_dis","_animState","_isMedic","_proceed","_counter","_objType","_limit","_itemOut","_countOut","_tree","_distance2d","_distance3d","_trees","_findNearestTree"];
|
||||
/*
|
||||
Fishing 1.0
|
||||
spawn player_goFishing;
|
||||
DayZ Epoch - By: [VB]AWOL
|
||||
*/
|
||||
|
||||
private ["_itemOut","_position","_isOk","_counter"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Fishing already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_item = _this;
|
||||
call gear_ui_init;
|
||||
|
||||
// find position in front of player
|
||||
// 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 ["Must 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"];};
|
||||
|
||||
_isOk = true;
|
||||
_counter = 0;
|
||||
|
||||
// swing fishingpole
|
||||
player playActionNow "GestureSwing";
|
||||
// Alert zeds
|
||||
[player,10,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
player playActionNow "Medic";
|
||||
[player,20,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
r_interrupt = false;
|
||||
_animState = animationState player;
|
||||
r_doLoop = true;
|
||||
_started = false;
|
||||
_finished = false;
|
||||
|
||||
while {r_doLoop} do {
|
||||
_animState = animationState player;
|
||||
_isMedic = ["medic",_animState] call fnc_inString;
|
||||
if (_isMedic) then {
|
||||
_started = true;
|
||||
};
|
||||
if (_started and !_isMedic) then {
|
||||
r_doLoop = false;
|
||||
_finished = true;
|
||||
[player,"fillwater",0,false] call dayz_zombieSpeak;
|
||||
};
|
||||
if (r_interrupt) then {
|
||||
r_doLoop = false;
|
||||
};
|
||||
sleep 0.1;
|
||||
};
|
||||
while {_isOk} do {
|
||||
|
||||
if (_finished) then {
|
||||
if (r_interrupt or (player getVariable["combattimeout", 0] >= time)) then {
|
||||
_isOk = false;
|
||||
cutText ["Canceled Fishing.", "PLAIN DOWN"];
|
||||
} else {
|
||||
|
||||
sleep 2;
|
||||
|
||||
_itemOut = "FoodCanSardines"; // TODO replace with random raw fishes
|
||||
_countOut = round(random 4);
|
||||
|
||||
for "_x" from 1 to _countOut do {
|
||||
player addMagazine _itemOut;
|
||||
// TODO: increase chance the deaper the water.
|
||||
|
||||
// 1% chance to catch anything
|
||||
if((random 100) <= 1) then {
|
||||
// Just the one fish for now
|
||||
_itemOut = ["ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTrout","ItemTuna"] call BIS_fnc_selectRandom;
|
||||
player addMagazine _itemOut;
|
||||
cutText ["You caught a fish.", "PLAIN DOWN"];
|
||||
_isOk = false;
|
||||
} else {
|
||||
cutText ["Nibble... Nibble...", "PLAIN DOWN"];
|
||||
_counter = _counter + 1;
|
||||
if(_counter == 5) then {
|
||||
_isOk = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
cutText [format["You caught %1 fish.", _countOut], "PLAIN DOWN"];
|
||||
|
||||
} else {
|
||||
r_interrupt = false;
|
||||
[objNull, player, rSwitchMove,""] call RE;
|
||||
player playActionNow "stop";
|
||||
cutText ["Canceled Fishing.", "PLAIN DOWN"];
|
||||
};
|
||||
TradeInprogress = false;
|
||||
@@ -1,6 +1,6 @@
|
||||
private ["_dir","_classname","_box","_location","_item","_config","_create_raw","_create","_qty","_type","_hasCrate","_hasTool"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Repair already in progress." , "PLAIN DOWN"]; };
|
||||
if(TradeInprogress) exitWith { cutText ["Open Crate already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_hasTool = "ItemCrowbar" in items player;
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
/*
|
||||
_item spawn player_wearClothes;
|
||||
Added Female skin changes - vbawol
|
||||
Added Female skin changes - DayZ Epoch - vbawol
|
||||
*/
|
||||
private["_item","_onLadder","_hasclothesitem","_config","_text","_isFemale","_myModel","_itemNew","_currentSex","_newSex","_model"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Changing clothes already in progress." , "PLAIN DOWN"] };
|
||||
TradeInprogress = true;
|
||||
|
||||
_item = _this;
|
||||
call gear_ui_init;
|
||||
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
if (_onLadder) exitWith {cutText [(localize "str_player_21") , "PLAIN DOWN"]};
|
||||
if (_onLadder) exitWith {TradeInprogress = false; cutText [(localize "str_player_21") , "PLAIN DOWN"]};
|
||||
|
||||
_hasclothesitem = _this in magazines player;
|
||||
_config = configFile >> "CfgMagazines";
|
||||
_text = getText (_config >> _item >> "displayName");
|
||||
|
||||
if (!_hasclothesitem) exitWith {cutText [format[(localize "str_player_31"),_text,"wear"] , "PLAIN DOWN"]};
|
||||
if (!_hasclothesitem) exitWith {TradeInprogress = false; cutText [format[(localize "str_player_31"),_text,"wear"] , "PLAIN DOWN"]};
|
||||
|
||||
if (vehicle player != player) exitWith {cutText ["You may not change clothes while in a vehicle", "PLAIN DOWN"]};
|
||||
if (vehicle player != player) exitWith {TradeInprogress = false; cutText ["You may not change clothes while in a vehicle", "PLAIN DOWN"]};
|
||||
|
||||
_myModel = (typeOf player);
|
||||
_itemNew = "Skin_" + _myModel;
|
||||
@@ -45,4 +48,5 @@ if ( (isClass(_config >> _itemNew)) ) then {
|
||||
cutText ["You cannot wear a skin of the opposite sex.", "PLAIN DOWN"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
TradeInprogress = false;
|
||||
@@ -16,7 +16,7 @@ if(!(alive _item)) then {
|
||||
sleep 1;
|
||||
|
||||
// player playActionNow "PutDown";
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
[player,"gut",0,false] call dayz_zombieSpeak;
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
private["_activatingPlayer","_trader_id","_category","_action","_id","_type","_loc","_name","_qty","_cost","_qty","_sell","_cur","_order","_tid","_currency","_actionFile","_in","_out","_part","_cat","_cancel","_Display","_File","_textCurrency","_textPart","_count"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
|
||||
// [ _trader_id, _category, _action ];
|
||||
@@ -143,3 +146,4 @@ dayzTraderMenuResult = nil;
|
||||
|
||||
|
||||
s_player_parts_crtl = 1;
|
||||
TradeInprogress = false;
|
||||
@@ -1,4 +1,4 @@
|
||||
private["_position","_veh","_location","_isOk","_backpack","_vehType","_trg","_key","_part_out","_part_in","_qty_out","_qty_in","_qty","_buy_o_sell","_obj","_objectID","_objectUID"];
|
||||
private ["_veh","_location","_isOk","_part_out","_part_in","_qty_out","_qty_in","_qty","_buy_o_sell","_obj","_objectID","_objectUID","_bos","_started","_finished","_animState","_isMedic","_dir","_helipad","_removed","_keyColor","_keyNumber","_keySelected","_isKeyOK","_config","_okToSell","_needed","_activatingPlayer","_textPartIn","_textPartOut","_traderID"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Trade already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
@@ -20,7 +20,7 @@ _bos = 0;
|
||||
if(_buy_o_sell == "buy") then {
|
||||
_qty = {_x == _part_in} count magazines player;
|
||||
} else {
|
||||
_obj = nearestObjects [(getPosATL player), [_part_in], 20];
|
||||
_obj = nearestObjects [(getPosATL player), [_part_in], dayz_sellDistance];
|
||||
_qty = count _obj;
|
||||
_bos = 1;
|
||||
};
|
||||
@@ -88,45 +88,74 @@ if (_qty >= _qty_in) then {
|
||||
if(dayzTradeResult == "PASS") then {
|
||||
|
||||
if(_buy_o_sell == "buy") then {
|
||||
for "_x" from 1 to _qty_in do {
|
||||
player removeMagazine _part_in;
|
||||
|
||||
// First select key color
|
||||
_keyColor = ["Green","Red","Blue","Yellow","Black"] call BIS_fnc_selectRandom;
|
||||
|
||||
// then select number from 1 - 2500
|
||||
_keyNumber = (floor(random 2500)) + 1;
|
||||
|
||||
// Combine to key (eg.ItemKeyYellow2494) classname
|
||||
_keySelected = format[("ItemKey%1%2"),_keyColor,_keyNumber];
|
||||
|
||||
_isKeyOK = isClass(configFile >> "CfgWeapons" >> _keySelected);
|
||||
|
||||
_config = _keySelected;
|
||||
_isOk = [player,_config] call BIS_fnc_invAdd;
|
||||
if (_isOk and _isKeyOK) then {
|
||||
|
||||
_removed = ([player,_part_in,_qty_in] call BIS_fnc_invRemove);
|
||||
if(_removed == _qty_in) then {
|
||||
_dir = round(random 360);
|
||||
|
||||
_helipad = nearestObjects [player, ["HeliHCivil","HeliHempty"], 100];
|
||||
if(count _helipad > 0) then {
|
||||
_location = (getPosATL (_helipad select 0));
|
||||
} else {
|
||||
_location = [(position player),0,20,1,2,2000,0] call BIS_fnc_findSafePos;
|
||||
};
|
||||
|
||||
//place vehicle spawn marker (local)
|
||||
_veh = createVehicle ["Sign_arrow_down_large_EP1", _location, [], 0, "CAN_COLLIDE"];
|
||||
|
||||
_location = (getPosATL _veh);
|
||||
|
||||
//["dayzPublishVeh",[_veh,[_dir,_location],_part_out,false,_keySelected]] call callRpcProcedure;
|
||||
dayzPublishVeh2 = [_veh,[_dir,_location],_part_out,false,_keySelected];
|
||||
publicVariableServer "dayzPublishVeh2";
|
||||
|
||||
player reveal _veh;
|
||||
|
||||
cutText [format[("Bought %3 for %1 %2, key added to toolbelt."),_qty_in,_textPartIn,_textPartOut], "PLAIN DOWN"];
|
||||
} else {
|
||||
player removeMagazine _keySelected;
|
||||
};
|
||||
} else {
|
||||
cutText ["You do not have enough room on your toolbelt.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
_dir = round(random 360);
|
||||
|
||||
_location = [(position player),0,20,1,2,2000,0] call BIS_fnc_findSafePos;
|
||||
|
||||
//place vehicle spawn marker (local)
|
||||
_veh = createVehicle ["Sign_arrow_down_large_EP1", _location, [], 0, "CAN_COLLIDE"];
|
||||
|
||||
_location = (getPosATL _veh);
|
||||
|
||||
//["dayzPublishVeh",[_veh,[_dir,_location],_part_out,false,dayz_playerUID]] call callRpcProcedure;
|
||||
dayzPublishVeh2 = [_veh,[_dir,_location],_part_out,false,dayz_playerUID];
|
||||
publicVariableServer "dayzPublishVeh2";
|
||||
|
||||
player reveal _veh;
|
||||
|
||||
cutText [format[("Bought %3 %4 for %1 %2"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
|
||||
|
||||
} else {
|
||||
// Sell Vehicle
|
||||
for "_x" from 1 to _qty_out do {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
|
||||
|
||||
_obj = _obj select 0;
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||
|
||||
//["dayzDeleteObj",[_objectID,_objectUID]] call callRpcProcedure;
|
||||
dayzDeleteObj = [_objectID,_objectUID];
|
||||
publicVariableServer "dayzDeleteObj";
|
||||
_okToSell = true;
|
||||
if(_okToSell and !isNull _obj and alive _obj) then {
|
||||
|
||||
// Sell Vehicle
|
||||
for "_x" from 1 to _qty_out do {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
|
||||
deleteVehicle _obj;
|
||||
_objectID = _obj getVariable ["ObjectID","0"];
|
||||
_objectUID = _obj getVariable ["ObjectUID","0"];
|
||||
|
||||
cutText [format[("Sold %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
//["dayzDeleteObj",[_objectID,_objectUID]] call callRpcProcedure;
|
||||
dayzDeleteObj = [_objectID,_objectUID];
|
||||
publicVariableServer "dayzDeleteObj";
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
cutText [format[("Sold %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
};
|
||||
};
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
private["_position","_veh","_location","_isOk","_backpack","_vehType","_trg","_key","_part_out","_part_in","_qty_out","_qty_in","_qty","_buy_o_sell","_obj","_objectID","_objectUID"];
|
||||
private ["_veh","_location","_isOk","_part_out","_part_in","_qty_out","_qty_in","_qty","_buy_o_sell","_obj","_objectID","_objectUID","_bos","_started","_finished","_animState","_isMedic","_dir","_helipad","_removed","_keyColor","_keyNumber","_keySelected","_isKeyOK","_config","_damage","_tireDmg","_tires","_okToSell","_hitpoints","_needed","_activatingPlayer","_textPartIn","_textPartOut","_traderID"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Trade already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
@@ -68,9 +68,8 @@ if (_qty >= _qty_in) then {
|
||||
if(_buy_o_sell == "buy") then {
|
||||
_qty = {_x == _part_in} count magazines player;
|
||||
} else {
|
||||
_obj = nearestObjects [(getPosATL player), [_part_in], 20];
|
||||
_obj = nearestObjects [(getPosATL player), [_part_in], dayz_sellDistance];
|
||||
_qty = count _obj;
|
||||
_bos = 1;
|
||||
};
|
||||
|
||||
if (_qty >= _qty_in) then {
|
||||
@@ -88,39 +87,57 @@ if (_qty >= _qty_in) then {
|
||||
if(dayzTradeResult == "PASS") then {
|
||||
|
||||
if(_buy_o_sell == "buy") then {
|
||||
|
||||
// First select key color
|
||||
_keyColor = ["Green","Red","Blue","Yellow","Black"] call BIS_fnc_selectRandom;
|
||||
|
||||
// then select number from 1 - 2500
|
||||
_keyNumber = (floor(random 2500)) + 1;
|
||||
|
||||
// Combine to key (eg.ItemKeyYellow2494) classname
|
||||
_keySelected = format[("ItemKey%1%2"),_keyColor,_keyNumber];
|
||||
|
||||
_isKeyOK = isClass(configFile >> "CfgWeapons" >> _keySelected);
|
||||
|
||||
_config = _keySelected;
|
||||
_isOk = [player,_config] call BIS_fnc_invAdd;
|
||||
if (_isOk and _isKeyOK) then {
|
||||
|
||||
_removed = ([player,_part_in,_qty_in] call BIS_fnc_invRemove);
|
||||
if(_removed == _qty_in) then {
|
||||
_dir = round(random 360);
|
||||
|
||||
_helipad = nearestObjects [player, ["HeliHCivil","HeliHempty"], 100];
|
||||
if(count _helipad > 0) then {
|
||||
_location = (getPosATL (_helipad select 0));
|
||||
} else {
|
||||
_location = [(position player),0,20,1,0,2000,0] call BIS_fnc_findSafePos;
|
||||
};
|
||||
|
||||
for "_x" from 1 to _qty_in do {
|
||||
player removeMagazine _part_in;
|
||||
};
|
||||
//place vehicle spawn marker (local)
|
||||
_veh = createVehicle ["Sign_arrow_down_large_EP1", _location, [], 0, "CAN_COLLIDE"];
|
||||
|
||||
_dir = round(random 360);
|
||||
_location = (getPosATL _veh);
|
||||
|
||||
_helipad = nearestObjects [player, ["HeliHCivil","HeliHempty"], 100];
|
||||
if(count _helipad > 0) then {
|
||||
_location = (getPosATL (_helipad select 0));
|
||||
//["dayzPublishVeh",[_veh,[_dir,_location],_part_out,false,_keySelected]] call callRpcProcedure;
|
||||
dayzPublishVeh2 = [_veh,[_dir,_location],_part_out,false,_keySelected];
|
||||
publicVariableServer "dayzPublishVeh2";
|
||||
|
||||
player reveal _veh;
|
||||
|
||||
cutText [format[("Bought %3 for %1 %2, key added to toolbelt."),_qty_in,_textPartIn,_textPartOut], "PLAIN DOWN"];
|
||||
} else {
|
||||
player removeMagazine _keySelected;
|
||||
};
|
||||
} else {
|
||||
_location = [(position player),0,20,1,0,2000,0] call BIS_fnc_findSafePos;
|
||||
cutText ["You do not have enough room on your toolbelt.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
//place vehicle spawn marker (local)
|
||||
_veh = createVehicle ["Sign_arrow_down_large_EP1", _location, [], 0, "CAN_COLLIDE"];
|
||||
|
||||
_location = (getPosATL _veh);
|
||||
|
||||
//["dayzPublishVeh",[_veh,[_dir,_location],_part_out,false,dayz_playerUID]] call callRpcProcedure;
|
||||
dayzPublishVeh2 = [_veh,[_dir,_location],_part_out,false,dayz_playerUID];
|
||||
publicVariableServer "dayzPublishVeh2";
|
||||
|
||||
player reveal _veh;
|
||||
|
||||
cutText [format[("Bought %3 %4 for %1 %2"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
|
||||
} else {
|
||||
|
||||
_obj = _obj select 0;
|
||||
|
||||
|
||||
//check make sure there are no fully damaged tires fully
|
||||
//check to make sure vehicle has no more than 75% average tire damage
|
||||
_hitpoints = _obj call vehicle_getHitpoints;
|
||||
_okToSell = true;
|
||||
|
||||
@@ -146,7 +163,7 @@ if (_qty >= _qty_in) then {
|
||||
};
|
||||
};
|
||||
|
||||
if(_okToSell) then {
|
||||
if(_okToSell and !isNull _obj and alive _obj) then {
|
||||
|
||||
// Sell Vehicle
|
||||
for "_x" from 1 to _qty_out do {
|
||||
@@ -182,8 +199,7 @@ if (_qty >= _qty_in) then {
|
||||
cutText [format[("Need %1 More %2"),_needed,_textPartIn] , "PLAIN DOWN"];
|
||||
} else {
|
||||
cutText [format[("No %1 found within 20 meters."),_textPartIn] , "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -1,7 +1,3 @@
|
||||
private["_none"];
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
//{player removeAction _x} forEach s_player_bank;s_player_bank = [];
|
||||
|
||||
s_player_parts_crtl = -1;
|
||||
//s_player_bank_crtl = -1;
|
||||
s_player_parts_crtl = -1;
|
||||
@@ -4,6 +4,8 @@ private["_iarray","_part_out","_part_in","_qty_out","_qty_in","_qty","_buy_o_sel
|
||||
if(TradeInprogress) exitWith { cutText ["Trade already in progress." , "PLAIN DOWN"] };
|
||||
TradeInprogress = true;
|
||||
|
||||
_total_parts_out = 0;
|
||||
|
||||
_activatingPlayer = _this select 1;
|
||||
|
||||
_part_out = (_this select 3) select 0;
|
||||
@@ -102,13 +104,10 @@ for "_x" from 1 to _total_trades do {
|
||||
|
||||
if(dayzTradeResult == "PASS") then {
|
||||
|
||||
for "_x" from 1 to _qty_out do {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
// total of all parts
|
||||
_total_parts_out = _total_parts_out + _qty_out;
|
||||
|
||||
cutText [format[("Traded %1 %2 for %3 %4"),_qty_in,_textPartIn,_qty_out,_textPartOut], "PLAIN DOWN"];
|
||||
|
||||
|
||||
|
||||
} else {
|
||||
cutText [format[("Insufficient Stock %1"),_textPartOut] , "PLAIN DOWN"];
|
||||
@@ -144,4 +143,125 @@ for "_x" from 1 to _total_trades do {
|
||||
if(_abort) exitWith {};
|
||||
};
|
||||
|
||||
// pay out
|
||||
if(_total_parts_out >= 1) then {
|
||||
|
||||
diag_log format["DEBUG TRADE #: %1", _total_parts_out];
|
||||
|
||||
if(_bos == 1) then {
|
||||
//convert currency trades into next bar
|
||||
// 10 ItemCopperBar > ItemCopperBar10oz
|
||||
// 3 ItemCopperBar10oz > ItemSilverBar
|
||||
// 10 ItemSilverBar > ItemSilverBar10oz
|
||||
// 3 ItemSilverBar10oz > ItemGoldBar
|
||||
// 10 ItemGoldBar > ItemGoldBar10oz
|
||||
|
||||
_next_highest_bar = "NA";
|
||||
_third_highest_bar = "NA";
|
||||
_next_highest_conv = 10000;
|
||||
_third_highest_conv = 10000;
|
||||
|
||||
switch(true)do{
|
||||
case (_part_out == "ItemCopperBar"): {
|
||||
_next_highest_bar = "ItemCopperBar10oz";
|
||||
_third_highest_bar = "ItemSilverBar";
|
||||
_next_highest_conv = 10;
|
||||
_third_highest_conv = 3;
|
||||
};
|
||||
case (_part_out == "ItemCopperBar10oz"): {
|
||||
_next_highest_bar = "ItemSilverBar";
|
||||
_third_highest_bar = "ItemSilverBar10oz";
|
||||
_next_highest_conv = 3;
|
||||
_third_highest_conv = 10;
|
||||
};
|
||||
case (_part_out == "ItemSilverBar"): {
|
||||
_next_highest_bar = "ItemSilverBar10oz";
|
||||
_third_highest_bar = "ItemGoldBar";
|
||||
_next_highest_conv = 10;
|
||||
_third_highest_conv = 3;
|
||||
};
|
||||
case (_part_out == "ItemSilverBar10oz"): {
|
||||
_next_highest_bar = "ItemGoldBar";
|
||||
_third_highest_bar = "ItemGoldBar10oz";
|
||||
_next_highest_conv = 3;
|
||||
_third_highest_conv = 10;
|
||||
};
|
||||
case (_part_out == "ItemGoldBar"): {
|
||||
_next_highest_bar = "ItemGoldBar10oz";
|
||||
_third_highest_bar = "NA";
|
||||
_next_highest_conv = 10;
|
||||
_third_highest_conv = 10000;
|
||||
};
|
||||
};
|
||||
|
||||
diag_log format["DEBUG TRADE part: %1 next: %2", _part_out,_next_highest_bar];
|
||||
|
||||
if(_total_parts_out >= _next_highest_conv) then {
|
||||
_next_parts_out_raw = _total_parts_out / _next_highest_conv;
|
||||
|
||||
// whole parts
|
||||
_next_parts_out = floor(_next_parts_out_raw);
|
||||
|
||||
diag_log format["DEBUG TRADE next whole parts: %1 part: %2", _next_parts_out,_next_highest_bar];
|
||||
|
||||
// find any whole remains
|
||||
_remainder = floor((_next_parts_out_raw - _next_parts_out) * _next_highest_conv);
|
||||
|
||||
diag_log format["DEBUG TRADE remainder parts: %1 part: %2", _remainder,_part_out];
|
||||
|
||||
for "_x" from 1 to _remainder do {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
|
||||
// Find if needs further conversion
|
||||
if (_next_parts_out >= _third_highest_conv) then {
|
||||
|
||||
_third_parts_out_raw = _next_parts_out / _third_highest_conv;
|
||||
|
||||
// whole parts
|
||||
_third_parts_out = floor(_third_parts_out_raw);
|
||||
|
||||
diag_log format["DEBUG TRADE third whole parts: %1 part: %2", _third_parts_out,_third_highest_bar];
|
||||
|
||||
for "_x" from 1 to _third_parts_out do {
|
||||
player addMagazine _third_highest_bar;
|
||||
};
|
||||
|
||||
// find any whole remains
|
||||
_remainder = floor((_third_parts_out_raw - _third_parts_out) * _third_highest_conv);
|
||||
|
||||
diag_log format["DEBUG TRADE remainder parts: %1 part: %2", _remainder,_next_highest_bar];
|
||||
|
||||
for "_x" from 1 to _remainder do {
|
||||
player addMagazine _next_highest_bar;
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
diag_log format["DEBUG TRADE next parts: %1 part: %2", _next_parts_out,_next_highest_bar];
|
||||
|
||||
for "_x" from 1 to _next_parts_out do {
|
||||
player addMagazine _next_highest_bar;
|
||||
};
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
diag_log "DEBUG TRADE SELLING NORMALLY";
|
||||
|
||||
for "_x" from 1 to _total_parts_out do {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
diag_log "DEBUG TRADE BUYING";
|
||||
|
||||
for "_x" from 1 to _total_parts_out do {
|
||||
player addMagazine _part_out;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -1,5 +1,8 @@
|
||||
private["_none"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Trade already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
s_player_parts_crtl = 1;
|
||||
|
||||
@@ -30,3 +33,4 @@ _metals_conversion = [
|
||||
_cancel = player addAction ["Cancel", "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""];
|
||||
s_player_parts set [count s_player_parts,_cancel];
|
||||
|
||||
TradeInprogress = false;
|
||||
12
dayz_code/actions/vault_combination_1.sqf
Normal file
12
dayz_code/actions/vault_combination_1.sqf
Normal file
@@ -0,0 +1,12 @@
|
||||
private ["_buy","_number"];
|
||||
dayz_selectedVault = _this select 3;
|
||||
dayz_combination = "";
|
||||
_number = 0;
|
||||
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
|
||||
for "_x" from 1 to 10 do {
|
||||
_buy = player addAction [str(_number), "\z\addons\dayz_code\actions\vault_combination_2.sqf",str(_number), 99, true, false, "",""];
|
||||
s_player_combi set [count s_player_combi,_buy];
|
||||
_number = _number + 1;
|
||||
};
|
||||
15
dayz_code/actions/vault_combination_2.sqf
Normal file
15
dayz_code/actions/vault_combination_2.sqf
Normal file
@@ -0,0 +1,15 @@
|
||||
private ["_buy","_number"];
|
||||
|
||||
// start combination string build
|
||||
dayz_combination = _this select 3;
|
||||
_number = 0;
|
||||
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
|
||||
for "_x" from 1 to 10 do {
|
||||
_buy = player addAction [str(_number), "\z\addons\dayz_code\actions\vault_combination_3.sqf",str(_number), 99, true, false, "",""];
|
||||
s_player_combi set [count s_player_combi,_buy];
|
||||
_number = _number + 1;
|
||||
};
|
||||
|
||||
|
||||
15
dayz_code/actions/vault_combination_3.sqf
Normal file
15
dayz_code/actions/vault_combination_3.sqf
Normal file
@@ -0,0 +1,15 @@
|
||||
private ["_buy","_number"];
|
||||
|
||||
// combine previous selections with next
|
||||
dayz_combination = format["%1%2",dayz_combination,(_this select 3)];
|
||||
_number = 0;
|
||||
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
|
||||
for "_x" from 1 to 10 do {
|
||||
_buy = player addAction [str(_number), "\z\addons\dayz_code\actions\vault_combination_4.sqf",str(_number), 99, true, false, "",""];
|
||||
s_player_combi set [count s_player_combi,_buy];
|
||||
_number = _number + 1;
|
||||
};
|
||||
|
||||
|
||||
15
dayz_code/actions/vault_combination_4.sqf
Normal file
15
dayz_code/actions/vault_combination_4.sqf
Normal file
@@ -0,0 +1,15 @@
|
||||
private ["_buy","_number"];
|
||||
|
||||
// combine previous selections with next
|
||||
dayz_combination = format["%1%2",dayz_combination,(_this select 3)];
|
||||
_number = 0;
|
||||
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
|
||||
for "_x" from 1 to 10 do {
|
||||
_buy = player addAction [str(_number), "\z\addons\dayz_code\actions\vault_combination_final.sqf",str(_number), 99, true, false, "",""];
|
||||
s_player_combi set [count s_player_combi,_buy];
|
||||
_number = _number + 1;
|
||||
};
|
||||
|
||||
|
||||
10
dayz_code/actions/vault_combination_final.sqf
Normal file
10
dayz_code/actions/vault_combination_final.sqf
Normal file
@@ -0,0 +1,10 @@
|
||||
private [];
|
||||
// set final combination to player
|
||||
dayz_combination = format["%1%2",dayz_combination,(_this select 3)];
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
s_player_unlockvault = -1;
|
||||
// Run unlock on vault
|
||||
if(!isNull dayz_selectedVault and (typeOf dayz_selectedVault) == "VaultStorageLocked") then {
|
||||
dayz_selectedVault spawn player_unlockVault;
|
||||
dayz_selectedVault = objNull;
|
||||
};
|
||||
@@ -1,3 +1,3 @@
|
||||
private["_obj","_bag","_pos"];
|
||||
private ["_obj"];
|
||||
_obj = _this select 3;
|
||||
_obj spawn player_unlockVault;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
private["_obj","_bag","_pos"];
|
||||
private ["_obj"];
|
||||
_obj = _this select 3;
|
||||
_obj spawn player_lockVault;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
private["_obj","_bag","_pos"];
|
||||
private ["_obj"];
|
||||
_obj = _this select 3;
|
||||
_obj spawn player_packVault;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
private ["_tent","_location","_isOk","_cancel","_location3","_location4","_location1","_location2","_counter","_pondPos","_isPond","_ppos","_hastentitem","_dir","_id","_building","_isBuilding","_playerPos","_item","_offset_x","_offset_y","_offset_z","_offset_z_attach","_config","_text","_tmpvault","_vault_location","_objectsPond"];
|
||||
private ["_tent","_location","_isOk","_cancel","_location3","_location4","_location1","_location2","_counter","_pondPos","_isPond","_ppos","_hastentitem","_dir","_building","_isBuilding","_playerPos","_item","_offset_x","_offset_y","_offset_z","_offset_z_attach","_config","_text","_tmpvault","_vault_location","_objectsPond","_combination_1","_combination_2","_combination_3","_combination_4","_combination","_removed"];
|
||||
//check if can pitch here
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Vault pitching already in progress." , "PLAIN DOWN"]; };
|
||||
@@ -108,47 +108,60 @@ if(!_cancel) then {
|
||||
_hastentitem = _this in magazines player;
|
||||
if (!_hastentitem) exitWith {cutText [format[(localize "str_player_31"),_text,"pitch"] , "PLAIN DOWN"]};
|
||||
|
||||
player removeMagazine _item;
|
||||
_removed = ([player,_item] call BIS_fnc_invRemove);
|
||||
|
||||
//call dayz_forceSave;
|
||||
if(_removed == 1) then {
|
||||
|
||||
_dir = round(direction player);
|
||||
|
||||
//wait a bit
|
||||
player playActionNow "Medic";
|
||||
sleep 1;
|
||||
[player,"tentunpack",0,false] call dayz_zombieSpeak;
|
||||
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
_building = nearestObject [(vehicle player), "HouseBase"];
|
||||
_isBuilding = [(vehicle player),_building] call fnc_isInsideBuilding;
|
||||
player removeMagazine _item;
|
||||
|
||||
if(_isBuilding) then {
|
||||
//call dayz_forceSave;
|
||||
|
||||
_dir = round(direction player);
|
||||
|
||||
//wait a bit
|
||||
player playActionNow "Medic";
|
||||
sleep 1;
|
||||
[player,"tentunpack",0,false] call dayz_zombieSpeak;
|
||||
|
||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
_building = nearestObject [(vehicle player), "HouseBase"];
|
||||
_isBuilding = [(vehicle player),_building] call fnc_isInsideBuilding;
|
||||
|
||||
if(_isBuilding) then {
|
||||
|
||||
_ppos = _building worldToModel _vault_location;
|
||||
_location = _building modelToWorld _ppos;
|
||||
_ppos = _building worldToModel _vault_location;
|
||||
_location = _building modelToWorld _ppos;
|
||||
|
||||
} else {
|
||||
_location = player modelToWorld [_offset_x,_offset_y,_offset_z];
|
||||
} else {
|
||||
_location = player modelToWorld [_offset_x,_offset_y,_offset_z];
|
||||
};
|
||||
|
||||
sleep 5;
|
||||
//place tent (local)
|
||||
_tent = createVehicle ["VaultStorageLocked", _location, [], 0, "CAN_COLLIDE"];
|
||||
_tent setdir _dir;
|
||||
_tent setpos _location;
|
||||
player reveal _tent;
|
||||
|
||||
// Generate Combination
|
||||
_combination_1 = floor(random 10);
|
||||
_combination_2 = floor(random 10);
|
||||
_combination_3 = floor(random 10);
|
||||
_combination_4 = floor(random 10);
|
||||
|
||||
// Format Combination
|
||||
_combination = format["%1%2%3%4",_combination_1,_combination_2,_combination_3,_combination_4];
|
||||
|
||||
_tent setVariable ["characterID",_combination,true];
|
||||
_tent setVariable ["OEMPos",_location,true];
|
||||
|
||||
//["dayzPublishObj",[_combination,_tent,[_dir,_location],"VaultStorageLocked"]] call callRpcProcedure;
|
||||
dayzPublishObj = [_combination,_tent,[_dir,_location],"VaultStorageLocked"];
|
||||
publicVariableServer "dayzPublishObj";
|
||||
|
||||
cutText [format["You have setup your Safe. Combination is %1",_combination], "PLAIN DOWN", 5];
|
||||
};
|
||||
|
||||
sleep 5;
|
||||
//place tent (local)
|
||||
_tent = createVehicle ["VaultStorageLocked", _location, [], 0, "CAN_COLLIDE"];
|
||||
_tent setdir _dir;
|
||||
_tent setpos _location;
|
||||
player reveal _tent;
|
||||
|
||||
|
||||
_tent setVariable ["characterID",dayz_playerUID,true];
|
||||
_tent setVariable ["OEMPos",_location,true];
|
||||
|
||||
//["dayzPublishObj",[dayz_playerUID,_tent,[_dir,_location],"VaultStorageLocked"]] call callRpcProcedure;
|
||||
dayzPublishObj = [dayz_playerUID,_tent,[_dir,_location],"VaultStorageLocked"];
|
||||
publicVariableServer "dayzPublishObj";
|
||||
|
||||
cutText ["You have setup your Safe", "PLAIN DOWN"];
|
||||
|
||||
} else {
|
||||
cutText ["You cannot place a Safe here. The area must be flat, and free of other objects", "PLAIN DOWN"];
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
private["_obj","_bag","_pos"];
|
||||
private ["_obj"];
|
||||
_obj = _this select 3;
|
||||
_obj spawn player_unlockVault;
|
||||
|
||||
@@ -10,6 +10,10 @@ class CfgAmmo {
|
||||
hit = 9;
|
||||
simulation = "shotBullet";
|
||||
};
|
||||
class Fishing_Swing_Ammo : Melee {
|
||||
hit = 7;
|
||||
simulation = "shotBullet";
|
||||
};
|
||||
class Dummy_Swing_Ammo : Melee {
|
||||
hit = 0;
|
||||
simulation = "shotBullet";
|
||||
|
||||
@@ -413,7 +413,7 @@ class CfgLoot {
|
||||
"Skin_BanditW1_DZ",
|
||||
"Skin_BanditW2_DZ",
|
||||
"Skin_TK_INS_Soldier_EP1_DZ",
|
||||
"Skin_TK_INS_Warlord_EP1",
|
||||
"Skin_TK_INS_Warlord_EP1_DZ",
|
||||
"Skin_SurvivorWcombat_DZ",
|
||||
"Skin_SurvivorWdesert_DZ",
|
||||
"Skin_GUE_Soldier_MG_DZ",
|
||||
|
||||
@@ -360,6 +360,16 @@ class Citizen1; // External class reference
|
||||
transportMaxMagazines = 400;
|
||||
transportmaxbackpacks = 10;
|
||||
};
|
||||
class SUV_TK_CIV_EP1;
|
||||
class SUV_Camo: SUV_TK_CIV_EP1
|
||||
{
|
||||
displayName = "SUV Camo";
|
||||
hiddenSelectionsTextures[] = {"\z\addons\dayz_communityassets\textures\camo10.paa"};
|
||||
transportMaxWeapons = 10;
|
||||
transportMaxMagazines = 100;
|
||||
transportmaxbackpacks = 5;
|
||||
armor = 50;
|
||||
};
|
||||
class HMMWV_Base;
|
||||
class HMMWV_DZ: HMMWV_Base {
|
||||
accuracy = 0.32;
|
||||
@@ -376,7 +386,7 @@ class Citizen1; // External class reference
|
||||
crew = "";
|
||||
typicalCargo[] = {};
|
||||
transportMaxWeapons = 4;
|
||||
transportMaxMagazines = 12;
|
||||
transportMaxMagazines = 120;
|
||||
transportmaxbackpacks = 4;
|
||||
class Turrets {};
|
||||
class Damage {
|
||||
|
||||
@@ -5,7 +5,7 @@ _obj = _this select 0;
|
||||
// lower case to prevent issues with differing case for buildings from map to map.
|
||||
_type = toLower(typeOf _obj);
|
||||
|
||||
diag_log format["Spawning loot for: %1", _type];
|
||||
//diag_log format["Spawning loot for: %1", _type];
|
||||
_config = configFile >> "CfgBuildingLoot" >> _type;
|
||||
_positions = [] + getArray (_config >> "lootPos");
|
||||
_itemTypes = [] + getArray (_config >> "itemType");
|
||||
@@ -16,7 +16,7 @@ _lootChance = getNumber (_config >> "lootChance");
|
||||
_nearBy = nearestObjects [_iPos, ["WeaponHolder","WeaponHolderBase"], 1];
|
||||
if (count _nearBy == 0) then {
|
||||
_index = dayz_CBLBase find _type;
|
||||
diag_log format["Found %2 at index: %1", _index,_type];
|
||||
//diag_log format["Found %2 at index: %1", _index,_type];
|
||||
_weights = dayz_CBLChances select _index;
|
||||
_cntWeights = count _weights;
|
||||
_index = floor(random _cntWeights);
|
||||
|
||||
@@ -3,7 +3,7 @@ private["_position","_unitTypes","_group","_unit","_target","_bodies","_targetPo
|
||||
_agent = _this select 0;
|
||||
|
||||
//Add handlers
|
||||
//_id = _agent addeventhandler ["HandleDamage",{_this call local_zombieDamage}];
|
||||
//_id = _agent addeventhandler ["HandleDamage",{_this call local_zombieDamage}];
|
||||
|
||||
//Loop behaviour
|
||||
_list = (getposATL _agent) nearEntities ["Man",200];
|
||||
@@ -30,7 +30,7 @@ while {_isAlive and _isSomeone} do {
|
||||
sleep 1;
|
||||
};
|
||||
|
||||
//CHASE TARGET
|
||||
//CHASE TARGET
|
||||
|
||||
//Leader cries out
|
||||
[_agent,"attack",0,false] call dayz_zombieSpeak;
|
||||
@@ -45,7 +45,7 @@ while {_isAlive and _isSomeone} do {
|
||||
_agent forceSpeed 8;
|
||||
sleep 1;
|
||||
};
|
||||
//LOOP
|
||||
//LOOP
|
||||
_agent setVariable ["targets",[],true];
|
||||
_isAlive = alive _agent;
|
||||
sleep 1;
|
||||
|
||||
@@ -4,8 +4,10 @@ scriptName "Functions\misc\fn_damageActions.sqf";
|
||||
- Function
|
||||
- [] call fnc_usec_damageActions;
|
||||
************************************************************/
|
||||
|
||||
private ["_weaponName","_action","_turret","_weapons","_assignedRole","_action1","_action2","_x","_vehicle","_unit","_vehType","_displayName","_ammoQty","_ammoSerial","_weapon","_magTypes","_type","_typeVeh","_index","_inventory","_unitTo","_isEngineer","_vehClose","_hasVehicle","_unconscious","_lowBlood","_injured","_inPain","_legsBroke","_armsBroke","_charID","_friendlies","_playerMagazines","_hasBandage","_hasEpi","_hasMorphine","_hasBlood","_hasToolbox","_hasJerry","_hasJerryE","_hasEtool","_hasWire","_hasPainkillers","_unconscious_crew","_patients","_crew","_menClose","_hasPatient","_inVehicle","_isClose","_bag","_classbag","_isDisallowRefuel","_hasBarrel","_hasBarrelE"];
|
||||
|
||||
if (TradeInprogress) exitWith {}; // Do not allow if any script is running.
|
||||
|
||||
_menClose = cursorTarget;
|
||||
_hasPatient = alive _menClose;
|
||||
_vehicle = vehicle player;
|
||||
|
||||
@@ -4,38 +4,24 @@ scriptName "Functions\misc\fn_selfActions.sqf";
|
||||
- Function
|
||||
- [] call fnc_usec_selfActions;
|
||||
************************************************************/
|
||||
private ["_isPZombie","_vehicle","_inVehicle","_bag","_classbag","_isWater","_hasAntiB","_hasFuelE","_hasRawMeat","_hasKnife","_hasToolbox","_onLadder","_nearLight","_canPickLight","_canDo","_text","_isHarvested","_isVehicle","_isVehicletype","_isMan","_traderType","_ownerID","_isAnimal","_isDog","_isZombie","_isDestructable","_isTent","_isFuel","_isAlive","_canmove","_Unlock","_lock","_buy","_dogHandle","_lieDown","_warn","_hastinitem","_allowedDistance","_menu","_menu1","_humanity_logic","_low_high","_cancel","_metals_trader","_traderMenu","_isWreck","_isRemovable","_isDisallowRepair","_rawmeat","_humanity","_speed","_dog","_hasbottleitem","_isAir","_isShip"];
|
||||
private ["_temp_keys","_magazinesPlayer","_isPZombie","_vehicle","_inVehicle","_hasFuelE","_hasRawMeat","_hasKnife","_hasToolbox","_onLadder","_nearLight","_canPickLight","_canDo","_text","_isHarvested","_isVehicle","_isVehicletype","_isMan","_traderType","_ownerID","_isAnimal","_isDog","_isZombie","_isDestructable","_isTent","_isFuel","_isAlive","_canmove","_Unlock","_lock","_buy","_dogHandle","_lieDown","_warn","_hastinitem","_allowedDistance","_menu","_menu1","_humanity_logic","_low_high","_cancel","_metals_trader","_traderMenu","_isWreck","_isRemovable","_isDisallowRepair","_rawmeat","_humanity","_speed","_dog","_hasbottleitem","_isAir","_isShip","_playersNear","_findNearestGens","_findNearestGen","_IsNearRunningGen","_cursorTarget","_isnewstorage","_itemsPlayer","_ownerKeyId","_typeOfCursorTarget","_hasKey","_oldOwner","_combi","_key_colors"];
|
||||
|
||||
if (TradeInprogress) exitWith {}; // Do not allow if any script is running.
|
||||
|
||||
_vehicle = vehicle player;
|
||||
_isPZombie = player isKindOf "PZombie_VB";
|
||||
_inVehicle = (_vehicle != player);
|
||||
_bag = unitBackpack player;
|
||||
_classbag = typeOf _bag;
|
||||
_isWater = (surfaceIsWater (position player)) or dayz_isSwimming;
|
||||
_hasAntiB = "ItemAntibiotic" in magazines player;
|
||||
_hasFuelE = "ItemJerrycanEmpty" in magazines player;
|
||||
//boiled Water
|
||||
_hasbottleitem = "ItemWaterbottle" in magazines player;
|
||||
_hastinitem = false;
|
||||
{
|
||||
if (_x in magazines player) then {
|
||||
_hastinitem = true;
|
||||
};
|
||||
} forEach boil_tin_cans;
|
||||
|
||||
_hasKnife = "ItemKnife" in items player;
|
||||
_hasToolbox = "ItemToolbox" in items player;
|
||||
//_hasTent = "ItemTent" in items player;
|
||||
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
|
||||
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
|
||||
|
||||
_nearLight = nearestObject [player,"LitObject"];
|
||||
_canPickLight = false;
|
||||
|
||||
if (!isNull _nearLight) then {
|
||||
if (_nearLight distance player < 4) then {
|
||||
_canPickLight = isNull (_nearLight getVariable ["owner",objNull]);
|
||||
};
|
||||
};
|
||||
_canDo = (!r_drag_sqf and !r_player_unconscious and !_onLadder);
|
||||
|
||||
//Grab Flare
|
||||
if (_canPickLight and !dayz_hasLight and !_isPZombie) then {
|
||||
@@ -53,35 +39,28 @@ if (_canPickLight and !dayz_hasLight and !_isPZombie) then {
|
||||
|
||||
if(DZEdebug) then {
|
||||
hint str(typeOf cursorTarget);
|
||||
|
||||
if (s_player_debuglootpos < 0) then {
|
||||
s_player_debuglootpos = player addAction ["Save to arma2.rpt", "\z\addons\dayz_code\actions\debug\Make_lootPos.sqf", ["save"], 99, false, true, "",""];
|
||||
};
|
||||
};
|
||||
|
||||
if(_isPZombie) then {
|
||||
//_state = animationState player;
|
||||
//hint str(_state);
|
||||
if (s_player_callzombies < 0) then {
|
||||
s_player_callzombies = player addAction ["Raise Horde", "\z\addons\dayz_code\actions\call_zombies.sqf",player, 5, true, false, "",""];
|
||||
};
|
||||
|
||||
if (s_player_pzombiesattack < 0) then {
|
||||
s_player_pzombiesattack = player addAction ["Attack", "\z\addons\dayz_code\actions\pzombie\pz_attack.sqf",cursorTarget, 6, true, false, "",""];
|
||||
};
|
||||
|
||||
if (s_player_pzombiesvision < 0) then {
|
||||
s_player_pzombiesvision = player addAction ["Vision", "\z\addons\dayz_code\actions\pzombie\pz_vision.sqf", [], 4, false, true, "nightVision", "_this == _target"];
|
||||
s_player_pzombiesvision = player addAction ["Night Vision", "\z\addons\dayz_code\actions\pzombie\pz_vision.sqf", [], 4, false, true, "nightVision", "_this == _target"];
|
||||
};
|
||||
|
||||
if (!isNull cursorTarget and (player distance cursorTarget < 3)) then { //Has some kind of target
|
||||
_isAnimal = cursorTarget isKindOf "Animal";
|
||||
_isZombie = cursorTarget isKindOf "zZombie_base";
|
||||
_isHarvested = cursorTarget getVariable["meatHarvested",false];
|
||||
_isMan = cursorTarget isKindOf "Man";
|
||||
|
||||
// Pzombie Gut human corpse or animal
|
||||
if (!alive cursorTarget and (_isAnimal or _isMan) and !_isZombie and !_isHarvested and _canDo) then {
|
||||
if (!alive cursorTarget and (_isAnimal or _isMan) and !_isZombie and !_isHarvested) then {
|
||||
if (s_player_pzombiesfeed < 0) then {
|
||||
s_player_pzombiesfeed = player addAction ["Feed", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",cursorTarget, 3, true, false, "",""];
|
||||
};
|
||||
@@ -103,78 +82,110 @@ if(_isAir or _isShip) then {
|
||||
_allowedDistance = 6;
|
||||
};
|
||||
|
||||
if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cursorTarget < _allowedDistance)) then { //Has some kind of target
|
||||
_isHarvested = cursorTarget getVariable["meatHarvested",false];
|
||||
_isVehicle = cursorTarget isKindOf "AllVehicles";
|
||||
_isVehicletype = typeOf cursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"];
|
||||
_isnewstorage = typeOf cursorTarget in ["OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ"];
|
||||
if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cursorTarget < _allowedDistance) and _canDo) then { //Has some kind of target
|
||||
|
||||
_isMan = cursorTarget isKindOf "Man";
|
||||
_traderType = typeOf cursorTarget;
|
||||
_ownerID = cursorTarget getVariable ["characterID","0"];
|
||||
_isAnimal = cursorTarget isKindOf "Animal";
|
||||
_isDog = (cursorTarget isKindOf "DZ_Pastor" || cursorTarget isKindOf "DZ_Fin");
|
||||
_isZombie = cursorTarget isKindOf "zZombie_base";
|
||||
_isDestructable = cursorTarget isKindOf "BuiltItems";
|
||||
_isWreck = typeOf cursorTarget in ["SKODAWreck","HMMWVWreck","UralWreck","datsun01Wreck","hiluxWreck","datsun02Wreck","UAZWreck","Land_Misc_Garb_Heap_EP1","Fort_Barricade_EP1","Rubbish2"];
|
||||
_isRemovable = typeOf cursorTarget in ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ"];
|
||||
_isDisallowRepair = typeOf cursorTarget in ["M240Nest_DZ"];
|
||||
// set cursortarget to variable
|
||||
_cursorTarget = cursorTarget;
|
||||
|
||||
// get typeof cursortarget once
|
||||
_typeOfCursorTarget = typeOf _cursorTarget;
|
||||
|
||||
_isTent = cursorTarget isKindOf "TentStorage";
|
||||
_isFuel = false;
|
||||
_isAlive = alive cursorTarget;
|
||||
_canmove = canmove cursorTarget;
|
||||
_text = getText (configFile >> "CfgVehicles" >> typeOf cursorTarget >> "displayName");
|
||||
_isVehicle = _cursorTarget isKindOf "AllVehicles";
|
||||
_isVehicletype = _typeOfCursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"];
|
||||
_isnewstorage = _typeOfCursorTarget in ["VaultStorage","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ"];
|
||||
|
||||
// get items and magazines only once
|
||||
_magazinesPlayer = magazines player;
|
||||
|
||||
//boiled Water
|
||||
_hasbottleitem = "ItemWaterbottle" in _magazinesPlayer;
|
||||
_hastinitem = false;
|
||||
{
|
||||
if (_x in _magazinesPlayer) then {
|
||||
_hastinitem = true;
|
||||
};
|
||||
} forEach boil_tin_cans;
|
||||
_hasFuelE = "ItemJerrycanEmpty" in _magazinesPlayer;
|
||||
|
||||
_itemsPlayer = items player;
|
||||
|
||||
_temp_keys = [];
|
||||
// find available keys
|
||||
_key_colors = ["ItemKeyYellow","ItemKeyBlue","ItemKeyRed","ItemKeyGreen","ItemKeyBlack"];
|
||||
{
|
||||
if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _x)) in _key_colors) then {
|
||||
_ownerKeyId = getNumber(configFile >> "CfgWeapons" >> _x >> "keyid");
|
||||
_temp_keys set [count _temp_keys,str(_ownerKeyId)];
|
||||
};
|
||||
} forEach _itemsPlayer;
|
||||
|
||||
_hasKnife = "ItemKnife" in _itemsPlayer;
|
||||
_hasToolbox = "ItemToolbox" in _itemsPlayer;
|
||||
|
||||
_isMan = _cursorTarget isKindOf "Man";
|
||||
_traderType = _typeOfCursorTarget;
|
||||
_ownerID = _cursorTarget getVariable ["characterID","0"];
|
||||
_isAnimal = _cursorTarget isKindOf "Animal";
|
||||
_isDog = (_cursorTarget isKindOf "DZ_Pastor" || _cursorTarget isKindOf "DZ_Fin");
|
||||
_isZombie = _cursorTarget isKindOf "zZombie_base";
|
||||
_isDestructable = _cursorTarget isKindOf "BuiltItems";
|
||||
_isWreck = _typeOfCursorTarget in ["SKODAWreck","HMMWVWreck","UralWreck","datsun01Wreck","hiluxWreck","datsun02Wreck","UAZWreck","Land_Misc_Garb_Heap_EP1","Fort_Barricade_EP1","Rubbish2"];
|
||||
_isRemovable = _typeOfCursorTarget in ["Fence_corrugated_DZ","M240Nest_DZ","ParkBench_DZ","SandNest_DZ"];
|
||||
_isDisallowRepair = _typeOfCursorTarget in ["M240Nest_DZ"];
|
||||
|
||||
_isTent = _cursorTarget isKindOf "TentStorage";
|
||||
|
||||
_isAlive = alive _cursorTarget;
|
||||
_canmove = canmove _cursorTarget;
|
||||
_text = getText (configFile >> "CfgVehicles" >> _typeOfCursorTarget >> "displayName");
|
||||
|
||||
_rawmeat = meatraw;
|
||||
_hasRawMeat = false;
|
||||
{
|
||||
if (_x in magazines player) then {
|
||||
if (_x in _magazinesPlayer) then {
|
||||
_hasRawMeat = true;
|
||||
};
|
||||
} forEach _rawmeat;
|
||||
|
||||
if (_hasFuelE and dayz_oldrefuel) then {
|
||||
_isFuel = ((typeOf cursorTarget) in dayz_fuelsources);
|
||||
_isFuel = false;
|
||||
if (_hasFuelE) then {
|
||||
_isFuel = (_typeOfCursorTarget in dayz_fuelsources);
|
||||
};
|
||||
|
||||
// diag_log ("OWNERID = " + _ownerID + " CHARID = " + dayz_characterID + " " + str(_ownerID == dayz_characterID));
|
||||
|
||||
//Allow player to delete objects
|
||||
if((_isDestructable or _isWreck or (_isRemovable and ("ItemCrowbar" in items player))) and _hasToolbox and _canDo) then {
|
||||
if((_isDestructable or _isWreck or (_isRemovable and ("ItemCrowbar" in _itemsPlayer))) and _hasToolbox) then {
|
||||
if (s_player_deleteBuild < 0) then {
|
||||
s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",cursorTarget, 1, true, true, "", ""];
|
||||
s_player_deleteBuild = player addAction [format[localize "str_actions_delete",_text], "\z\addons\dayz_code\actions\remove.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_deleteBuild;
|
||||
s_player_deleteBuild = -1;
|
||||
};
|
||||
|
||||
|
||||
// Allow Owner to lock and unlock vehicle
|
||||
if(_isVehicle and !_isMan and _canDo and _ownerID != "0") then {
|
||||
|
||||
if(_isVehicle and !_isMan and _ownerID != "0") then {
|
||||
if (s_player_lockUnlock_crtl < 0) then {
|
||||
|
||||
if(locked cursorTarget) then {
|
||||
if(_ownerID == dayz_playerUID) then {
|
||||
_Unlock = player addAction [format["Unlock %1",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",cursorTarget, 2, true, true, "", ""];
|
||||
_hasKey = _ownerID in _temp_keys;
|
||||
_oldOwner = (_ownerID == dayz_playerUID);
|
||||
if(locked _cursorTarget) then {
|
||||
if(_hasKey or _oldOwner) then {
|
||||
_Unlock = player addAction [format["Unlock %1",_text], "\z\addons\dayz_code\actions\unlock_veh.sqf",_cursorTarget, 2, true, true, "", ""];
|
||||
s_player_lockunlock set [count s_player_lockunlock,_Unlock];
|
||||
s_player_lockUnlock_crtl = 1;
|
||||
} else {
|
||||
_Unlock = player addAction ["<t color='#ff0000'>Vehicle Locked</t>", "",cursorTarget, 2, true, true, "", ""];
|
||||
_Unlock = player addAction ["<t color='#ff0000'>Vehicle Locked</t>", "",_cursorTarget, 2, true, true, "", ""];
|
||||
s_player_lockunlock set [count s_player_lockunlock,_Unlock];
|
||||
s_player_lockUnlock_crtl = 1;
|
||||
};
|
||||
} else {
|
||||
if(_ownerID == dayz_playerUID) then {
|
||||
_lock = player addAction [format["Lock %1",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",cursorTarget, 1, true, true, "", ""];
|
||||
if(_hasKey or _oldOwner) then {
|
||||
_lock = player addAction [format["Lock %1",_text], "\z\addons\dayz_code\actions\lock_veh.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
s_player_lockunlock set [count s_player_lockunlock,_lock];
|
||||
s_player_lockUnlock_crtl = 1;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
} else {
|
||||
@@ -184,9 +195,9 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
|
||||
/*
|
||||
//Allow player to force save
|
||||
if((_isVehicle or _isTent) and _canDo and !_isMan) then {
|
||||
if((_isVehicle or _isTent) and !_isMan) then {
|
||||
if (s_player_forceSave < 0) then {
|
||||
s_player_forceSave = player addAction [format[localize "str_actions_save",_text], "\z\addons\dayz_code\actions\forcesave.sqf",cursorTarget, 1, true, true, "", ""];
|
||||
s_player_forceSave = player addAction [format[localize "str_actions_save",_text], "\z\addons\dayz_code\actions\forcesave.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_forceSave;
|
||||
@@ -194,72 +205,75 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
};
|
||||
*/
|
||||
|
||||
if((_isVehicle or _isTent or (cursorTarget isKindOf "VaultStorage") or _isnewstorage) and _isAlive and _canDo and !_isMan) then {
|
||||
if((_isVehicle or _isTent or _isnewstorage) and _isAlive and !_isMan) then {
|
||||
if (s_player_checkGear < 0) then {
|
||||
s_player_checkGear = player addAction ["Cargo Check", "\z\addons\dayz_code\actions\cargocheck.sqf",cursorTarget, 1, true, true, "", ""];
|
||||
s_player_checkGear = player addAction ["Cargo Check", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_checkGear;
|
||||
s_player_checkGear = -1;
|
||||
};
|
||||
|
||||
//flip vehicle
|
||||
if ((_isVehicletype) and !_canmove and _isAlive and (player distance cursorTarget >= 2) and (count (crew cursorTarget))== 0 and ((vectorUp cursorTarget) select 2) < 0.5) then {
|
||||
if (s_player_flipveh < 0) then {
|
||||
s_player_flipveh = player addAction [format[localize "str_actions_flipveh",_text], "\z\addons\dayz_code\actions\player_flipvehicle.sqf",cursorTarget, 1, true, true, "", ""];
|
||||
};
|
||||
//flip vehicle small vehicles by your self and all other vehicles with help nearby
|
||||
if (_isVehicle and !_canmove and _isAlive and (player distance _cursorTarget >= 2) and (count (crew _cursorTarget))== 0 and ((vectorUp _cursorTarget) select 2) < 0.5) then {
|
||||
_playersNear = {isPlayer _x} count (player nearEntities ["CAManBase", 6]);
|
||||
if(_isVehicletype or (_playersNear >= 2)) then {
|
||||
if (s_player_flipveh < 0) then {
|
||||
s_player_flipveh = player addAction [format[localize "str_actions_flipveh",_text], "\z\addons\dayz_code\actions\player_flipvehicle.sqf",_cursorTarget, 1, true, true, "", ""];
|
||||
};
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_flipveh;
|
||||
s_player_flipveh = -1;
|
||||
};
|
||||
|
||||
//Allow player to fill jerrycan
|
||||
if(dayz_oldrefuel) then {
|
||||
if(_hasFuelE and _isFuel and _canDo) then {
|
||||
if (s_player_fillfuel < 0) then {
|
||||
s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",[], 1, false, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_fillfuel;
|
||||
s_player_fillfuel = -1;
|
||||
if(_hasFuelE and _isFuel) then {
|
||||
if (s_player_fillfuel < 0) then {
|
||||
s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",[], 1, false, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_fillfuel;
|
||||
s_player_fillfuel = -1;
|
||||
};
|
||||
|
||||
// Human Gut animal or zombie
|
||||
if (!alive cursorTarget and (_isAnimal or _isZombie) and _hasKnife and !_isHarvested and _canDo) then {
|
||||
if (s_player_butcher < 0) then {
|
||||
if (!alive _cursorTarget and (_isAnimal or _isZombie) and _hasKnife) then {
|
||||
_isHarvested = _cursorTarget getVariable["meatHarvested",false];
|
||||
if (s_player_butcher < 0 and !_isHarvested) then {
|
||||
if(_isZombie) then {
|
||||
s_player_butcher = player addAction ["Gut Zombie", "\z\addons\dayz_code\actions\gather_zparts.sqf",cursorTarget, 3, true, true, "", ""];
|
||||
s_player_butcher = player addAction ["Gut Zombie", "\z\addons\dayz_code\actions\gather_zparts.sqf",_cursorTarget, 3, true, true, "", ""];
|
||||
} else {
|
||||
s_player_butcher = player addAction [localize "str_actions_self_04", "\z\addons\dayz_code\actions\gather_meat.sqf",cursorTarget, 3, true, true, "", ""];
|
||||
s_player_butcher = player addAction [localize "str_actions_self_04", "\z\addons\dayz_code\actions\gather_meat.sqf",_cursorTarget, 3, true, true, "", ""];
|
||||
};
|
||||
};
|
||||
|
||||
} else {
|
||||
player removeAction s_player_butcher;
|
||||
s_player_butcher = -1;
|
||||
};
|
||||
|
||||
//Fireplace Actions check
|
||||
if (inflamed cursorTarget and _hasRawMeat and _canDo) then {
|
||||
if (inflamed _cursorTarget and _hasRawMeat) then {
|
||||
if (s_player_cook < 0) then {
|
||||
s_player_cook = player addAction [localize "str_actions_self_05", "\z\addons\dayz_code\actions\cook.sqf",cursorTarget, 3, true, true, "", ""];
|
||||
s_player_cook = player addAction [localize "str_actions_self_05", "\z\addons\dayz_code\actions\cook.sqf",_cursorTarget, 3, true, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_cook;
|
||||
s_player_cook = -1;
|
||||
};
|
||||
if (inflamed cursorTarget and (_hasbottleitem and _hastinitem) and _canDo) then {
|
||||
if (inflamed _cursorTarget and (_hasbottleitem and _hastinitem)) then {
|
||||
if (s_player_boil < 0) then {
|
||||
s_player_boil = player addAction [localize "str_actions_boilwater", "\z\addons\dayz_code\actions\boil.sqf",cursorTarget, 3, true, true, "", ""];
|
||||
s_player_boil = player addAction [localize "str_actions_boilwater", "\z\addons\dayz_code\actions\boil.sqf",_cursorTarget, 3, true, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_boil;
|
||||
s_player_boil = -1;
|
||||
};
|
||||
|
||||
if(cursorTarget == dayz_hasFire and _canDo) then {
|
||||
if ((s_player_fireout < 0) and !(inflamed cursorTarget) and (player distance cursorTarget < 3)) then {
|
||||
s_player_fireout = player addAction [localize "str_actions_self_06", "\z\addons\dayz_code\actions\fire_pack.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if(_cursorTarget == dayz_hasFire) then {
|
||||
if ((s_player_fireout < 0) and !(inflamed _cursorTarget) and (player distance _cursorTarget < 3)) then {
|
||||
s_player_fireout = player addAction [localize "str_actions_self_06", "\z\addons\dayz_code\actions\fire_pack.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_fireout;
|
||||
@@ -267,9 +281,9 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
};
|
||||
|
||||
//Packing my tent
|
||||
if(cursorTarget isKindOf "TentStorage" and _canDo and _ownerID == dayz_characterID) then {
|
||||
if ((s_player_packtent < 0) and (player distance cursorTarget < 3)) then {
|
||||
s_player_packtent = player addAction [localize "str_actions_self_07", "\z\addons\dayz_code\actions\tent_pack.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if(_cursorTarget isKindOf "TentStorage" and _ownerID == dayz_characterID) then {
|
||||
if ((s_player_packtent < 0) and (player distance _cursorTarget < 3)) then {
|
||||
s_player_packtent = player addAction [localize "str_actions_self_07", "\z\addons\dayz_code\actions\tent_pack.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_packtent;
|
||||
@@ -277,23 +291,39 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
};
|
||||
|
||||
//Allow owner to unlock vault
|
||||
if(cursorTarget isKindOf "VaultStorageLocked" and _canDo and _ownerID != "0" and _ownerID == dayz_playerUID and !UnlockInprogress) then {
|
||||
if (s_player_unlockvault < 0 and (player distance cursorTarget < 3)) then {
|
||||
s_player_unlockvault = player addAction ["Unlock Safe", "\z\addons\dayz_code\actions\vault_unlock.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if((_typeOfCursorTarget == "VaultStorageLocked" or _typeOfCursorTarget == "VaultStorage") and _ownerID != "0" and (player distance _cursorTarget < 3)) then {
|
||||
if (s_player_unlockvault < 0) then {
|
||||
if(_typeOfCursorTarget == "VaultStorageLocked") then {
|
||||
if(_ownerID == dayz_combination or _ownerID == dayz_playerUID) then {
|
||||
_combi = player addAction ["Open Safe", "\z\addons\dayz_code\actions\vault_unlock.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
} else {
|
||||
_combi = player addAction ["Unlock Safe", "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
s_player_combi set [count s_player_combi,_combi];
|
||||
s_player_unlockvault = 1;
|
||||
} else {
|
||||
if(_ownerID != dayz_combination and _ownerID != dayz_playerUID) then {
|
||||
_combi = player addAction ["Enter Combo", "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
s_player_combi set [count s_player_combi,_combi];
|
||||
s_player_unlockvault = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_unlockvault;
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
s_player_unlockvault = -1;
|
||||
};
|
||||
|
||||
//Allow owner to pack vault
|
||||
if(cursorTarget isKindOf "VaultStorage" and _canDo and _ownerID != "0" and _ownerID == dayz_playerUID and (player distance cursorTarget < 3)) then {
|
||||
if(_typeOfCursorTarget == "VaultStorage" and _ownerID != "0" and (player distance _cursorTarget < 3)) then {
|
||||
|
||||
if (s_player_lockvault < 0) then {
|
||||
s_player_lockvault = player addAction ["Lock Safe", "\z\addons\dayz_code\actions\vault_lock.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if(_ownerID == dayz_combination or _ownerID == dayz_playerUID) then {
|
||||
s_player_lockvault = player addAction ["Lock Safe", "\z\addons\dayz_code\actions\vault_lock.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
};
|
||||
if (s_player_packvault < 0) then {
|
||||
s_player_packvault = player addAction ["<t color='#ff0000'>Pack Safe</t>", "\z\addons\dayz_code\actions\vault_pack.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if (s_player_packvault < 0 and (_ownerID == dayz_combination or _ownerID == dayz_playerUID)) then {
|
||||
s_player_packvault = player addAction ["<t color='#ff0000'>Pack Safe</t>", "\z\addons\dayz_code\actions\vault_pack.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_packvault;
|
||||
@@ -305,8 +335,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
|
||||
|
||||
//Player Deaths
|
||||
if(cursorTarget isKindOf "Info_Board_EP1" and _canDo) then {
|
||||
if ((s_player_information < 0) and (player distance cursorTarget < 3)) then {
|
||||
if(_typeOfCursorTarget == "Info_Board_EP1") then {
|
||||
if ((s_player_information < 0) and (player distance _cursorTarget < 3)) then {
|
||||
s_player_information = player addAction ["Recent Deaths", "\z\addons\dayz_code\actions\list_playerDeaths.sqf",[], 0, false, true, "",""];
|
||||
};
|
||||
} else {
|
||||
@@ -315,8 +345,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
};
|
||||
|
||||
//Fuel Pump
|
||||
if((typeOf cursorTarget) in dayz_fuelpumparray and _canDo) then {
|
||||
if ((s_player_fuelauto < 0) and (player distance cursorTarget < 3)) then {
|
||||
if(_typeOfCursorTarget in dayz_fuelpumparray) then {
|
||||
if ((s_player_fuelauto < 0) and (player distance _cursorTarget < 3)) then {
|
||||
|
||||
// check if Generator_DZ is running within 30 meters
|
||||
_findNearestGens = nearestObjects [player, ["Generator_DZ"], 30];
|
||||
@@ -341,19 +371,19 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
};
|
||||
|
||||
//Start Generator
|
||||
if(cursorTarget isKindOf "Generator_DZ" and _canDo) then {
|
||||
if ((s_player_fillgen < 0) and (player distance cursorTarget < 3)) then {
|
||||
if(_cursorTarget isKindOf "Generator_DZ") then {
|
||||
if ((s_player_fillgen < 0) and (player distance _cursorTarget < 3)) then {
|
||||
|
||||
// check if not running
|
||||
if((cursorTarget getVariable ["GeneratorRunning", false])) then {
|
||||
s_player_fillgen = player addAction ["Stop Generator", "\z\addons\dayz_code\actions\stopGenerator.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if((_cursorTarget getVariable ["GeneratorRunning", false])) then {
|
||||
s_player_fillgen = player addAction ["Stop Generator", "\z\addons\dayz_code\actions\stopGenerator.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
} else {
|
||||
// check if not filled and player has jerry.
|
||||
if((cursorTarget getVariable ["GeneratorFilled", false])) then {
|
||||
s_player_fillgen = player addAction ["Start Generator", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if((_cursorTarget getVariable ["GeneratorFilled", false])) then {
|
||||
s_player_fillgen = player addAction ["Start Generator", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
} else {
|
||||
if("ItemJerrycan" in magazines player) then {
|
||||
s_player_fillgen = player addAction ["Fill and Start Generator", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if("ItemJerrycan" in _magazinesPlayer) then {
|
||||
s_player_fillgen = player addAction ["Fill and Start Generator", "\z\addons\dayz_code\actions\fill_startGenerator.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -371,82 +401,52 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
// Allow auto fill
|
||||
|
||||
//Sleep
|
||||
if(cursorTarget isKindOf "TentStorage" and _canDo and _ownerID == dayz_characterID) then {
|
||||
if ((s_player_sleep < 0) and (player distance cursorTarget < 3)) then {
|
||||
s_player_sleep = player addAction [localize "str_actions_self_sleep", "\z\addons\dayz_code\actions\player_sleep.sqf",cursorTarget, 0, false, true, "",""];
|
||||
if(_cursorTarget isKindOf "TentStorage" and _ownerID == dayz_characterID) then {
|
||||
if ((s_player_sleep < 0) and (player distance _cursorTarget < 3)) then {
|
||||
s_player_sleep = player addAction [localize "str_actions_self_sleep", "\z\addons\dayz_code\actions\player_sleep.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_sleep;
|
||||
s_player_sleep = -1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Repairing Vehicles
|
||||
if ((dayz_myCursorTarget != cursorTarget) and _isVehicle and !_isMan and _hasToolbox and (damage cursorTarget < 1) and !_isDisallowRepair) then {
|
||||
|
||||
if ((dayz_myCursorTarget != _cursorTarget) and _isVehicle and !_isMan and _hasToolbox and (damage _cursorTarget < 1) and !_isDisallowRepair) then {
|
||||
if (s_player_repair_crtl < 0) then {
|
||||
|
||||
_vehicle = cursorTarget;
|
||||
dayz_myCursorTarget = _vehicle;
|
||||
|
||||
_menu = dayz_myCursorTarget addAction ["Repair Vehicle", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_vehicle, 0, true, false, "",""];
|
||||
_menu1 = dayz_myCursorTarget addAction ["Salvage Vehicle", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_vehicle, 0, true, false, "",""];
|
||||
|
||||
dayz_myCursorTarget = _cursorTarget;
|
||||
_menu = dayz_myCursorTarget addAction ["Repair Vehicle", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
|
||||
_menu1 = dayz_myCursorTarget addAction ["Salvage Vehicle", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""];
|
||||
s_player_repairActions set [count s_player_repairActions,_menu];
|
||||
s_player_repairActions set [count s_player_repairActions,_menu1];
|
||||
|
||||
s_player_repair_crtl = 1;
|
||||
|
||||
} else {
|
||||
{dayz_myCursorTarget removeAction _x} forEach s_player_repairActions;s_player_repairActions = [];
|
||||
s_player_repair_crtl = -1;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
_humanity = player getVariable ["humanity",0];
|
||||
|
||||
|
||||
|
||||
|
||||
// All Traders
|
||||
if (_isMan and !_isPZombie and _traderType in serverTraders) then {
|
||||
|
||||
if (s_player_parts_crtl < 0) then {
|
||||
|
||||
//diag_log ("TRADER = " + str(serverTraders));
|
||||
|
||||
// get humanity
|
||||
_humanity = player getVariable ["humanity",0];
|
||||
_traderMenu = call compile format["menu_%1;",_traderType];
|
||||
|
||||
diag_log ("TRADER = " + str(_traderMenu));
|
||||
// diag_log ("TRADER = " + str(_traderMenu));
|
||||
|
||||
_low_high = "low";
|
||||
|
||||
_humanity_logic = false;
|
||||
if((_traderMenu select 2) == "friendly") then {
|
||||
//_low_high = "low";
|
||||
if (_humanity < -2000) then {
|
||||
_humanity_logic = true;
|
||||
};
|
||||
_humanity_logic = (_humanity < -2000);
|
||||
};
|
||||
if((_traderMenu select 2) == "hostile") then {
|
||||
_low_high = "high";
|
||||
if (_humanity > -2000) then {
|
||||
_humanity_logic = true;
|
||||
};
|
||||
_humanity_logic = (_humanity > -2000);
|
||||
};
|
||||
if((_traderMenu select 2) == "hero") then {
|
||||
//_low_high = "low";
|
||||
if (_humanity < 5000) then {
|
||||
_humanity_logic = true;
|
||||
};
|
||||
_humanity_logic = (_humanity < 5000);
|
||||
};
|
||||
if(_humanity_logic) then {
|
||||
_cancel = player addAction [format["Your humanity is too %1 this trader refuses to talk to you.",_low_high], "\z\addons\dayz_code\actions\trade_cancel.sqf",["na"], 0, true, false, "",""];
|
||||
@@ -471,9 +471,6 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
s_player_parts set [count s_player_parts,_metals_trader];
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
s_player_parts_crtl = 1;
|
||||
|
||||
};
|
||||
@@ -482,13 +479,9 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
s_player_parts_crtl = -1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (_isMan and !_isAlive and !_isZombie) then {
|
||||
if (s_player_studybody < 0) then {
|
||||
s_player_studybody = player addAction [localize "str_action_studybody", "\z\addons\dayz_code\actions\study_body.sqf",cursorTarget, 0, false, true, "",""];
|
||||
s_player_studybody = player addAction [localize "str_action_studybody", "\z\addons\dayz_code\actions\study_body.sqf",_cursorTarget, 0, false, true, "",""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_studybody;
|
||||
@@ -496,79 +489,79 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
};
|
||||
|
||||
if(dayz_tameDogs) then {
|
||||
|
||||
//Dog
|
||||
if (_isDog and _isAlive and (_hasRawMeat) and _canDo and _ownerID == "0" and player getVariable ["dogID", 0] == 0) then {
|
||||
if (_isDog and _isAlive and (_hasRawMeat) and _ownerID == "0" and player getVariable ["dogID", 0] == 0) then {
|
||||
if (s_player_tamedog < 0) then {
|
||||
s_player_tamedog = player addAction [localize "str_actions_tamedog", "\z\addons\dayz_code\actions\tame_dog.sqf", cursorTarget, 1, false, true, "", ""];
|
||||
s_player_tamedog = player addAction [localize "str_actions_tamedog", "\z\addons\dayz_code\actions\tame_dog.sqf", _cursorTarget, 1, false, true, "", ""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_tamedog;
|
||||
s_player_tamedog = -1;
|
||||
};
|
||||
if (_isDog and _ownerID == dayz_characterID and _isAlive) then {
|
||||
_dogHandle = player getVariable ["dogID", 0];
|
||||
if (s_player_feeddog < 0 and _hasRawMeat) then {
|
||||
s_player_feeddog = player addAction [localize "str_actions_feeddog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,0], 0, false, true,"",""];
|
||||
};
|
||||
if (s_player_waterdog < 0 and "ItemWaterbottle" in _magazinesPlayer) then {
|
||||
s_player_waterdog = player addAction [localize "str_actions_waterdog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,1], 0, false, true,"",""];
|
||||
};
|
||||
if (s_player_staydog < 0) then {
|
||||
_lieDown = _dogHandle getFSMVariable "_actionLieDown";
|
||||
if (_lieDown) then { _text = "str_actions_liedog"; } else { _text = "str_actions_sitdog"; };
|
||||
s_player_staydog = player addAction [localize _text,"\z\addons\dayz_code\actions\dog\stay.sqf", _dogHandle, 5, false, true,"",""];
|
||||
};
|
||||
if (s_player_trackdog < 0) then {
|
||||
s_player_trackdog = player addAction [localize "str_actions_trackdog","\z\addons\dayz_code\actions\dog\track.sqf", _dogHandle, 4, false, true,"",""];
|
||||
};
|
||||
if (s_player_barkdog < 0) then {
|
||||
s_player_barkdog = player addAction [localize "str_actions_barkdog","\z\addons\dayz_code\actions\dog\speak.sqf", _cursorTarget, 3, false, true,"",""];
|
||||
};
|
||||
if (s_player_warndog < 0) then {
|
||||
_warn = _dogHandle getFSMVariable "_watchDog";
|
||||
if (_warn) then { _text = "Quiet"; _warn = false; } else { _text = "Alert"; _warn = true; };
|
||||
s_player_warndog = player addAction [format[localize "str_actions_warndog",_text],"\z\addons\dayz_code\actions\dog\warn.sqf",[_dogHandle, _warn], 2, false, true,"",""];
|
||||
};
|
||||
if (s_player_followdog < 0) then {
|
||||
s_player_followdog = player addAction [localize "str_actions_followdog","\z\addons\dayz_code\actions\dog\follow.sqf",[_dogHandle,true], 6, false, true,"",""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_feeddog;
|
||||
s_player_feeddog = -1;
|
||||
player removeAction s_player_waterdog;
|
||||
s_player_waterdog = -1;
|
||||
player removeAction s_player_staydog;
|
||||
s_player_staydog = -1;
|
||||
player removeAction s_player_trackdog;
|
||||
s_player_trackdog = -1;
|
||||
player removeAction s_player_barkdog;
|
||||
s_player_barkdog = -1;
|
||||
player removeAction s_player_warndog;
|
||||
s_player_warndog = -1;
|
||||
player removeAction s_player_followdog;
|
||||
s_player_followdog = -1;
|
||||
};
|
||||
};
|
||||
|
||||
if (_isDog and _ownerID == dayz_characterID and _isAlive and _canDo) then {
|
||||
_dogHandle = player getVariable ["dogID", 0];
|
||||
if (s_player_feeddog < 0 and _hasRawMeat) then {
|
||||
s_player_feeddog = player addAction [localize "str_actions_feeddog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,0], 0, false, true,"",""];
|
||||
};
|
||||
if (s_player_waterdog < 0 and "ItemWaterbottle" in magazines player) then {
|
||||
s_player_waterdog = player addAction [localize "str_actions_waterdog","\z\addons\dayz_code\actions\dog\feed.sqf",[_dogHandle,1], 0, false, true,"",""];
|
||||
};
|
||||
if (s_player_staydog < 0) then {
|
||||
_lieDown = _dogHandle getFSMVariable "_actionLieDown";
|
||||
if (_lieDown) then { _text = "str_actions_liedog"; } else { _text = "str_actions_sitdog"; };
|
||||
s_player_staydog = player addAction [localize _text,"\z\addons\dayz_code\actions\dog\stay.sqf", _dogHandle, 5, false, true,"",""];
|
||||
};
|
||||
if (s_player_trackdog < 0) then {
|
||||
s_player_trackdog = player addAction [localize "str_actions_trackdog","\z\addons\dayz_code\actions\dog\track.sqf", _dogHandle, 4, false, true,"",""];
|
||||
};
|
||||
if (s_player_barkdog < 0) then {
|
||||
s_player_barkdog = player addAction [localize "str_actions_barkdog","\z\addons\dayz_code\actions\dog\speak.sqf", cursorTarget, 3, false, true,"",""];
|
||||
};
|
||||
if (s_player_warndog < 0) then {
|
||||
_warn = _dogHandle getFSMVariable "_watchDog";
|
||||
if (_warn) then { _text = "Quiet"; _warn = false; } else { _text = "Alert"; _warn = true; };
|
||||
s_player_warndog = player addAction [format[localize "str_actions_warndog",_text],"\z\addons\dayz_code\actions\dog\warn.sqf",[_dogHandle, _warn], 2, false, true,"",""];
|
||||
};
|
||||
if (s_player_followdog < 0) then {
|
||||
s_player_followdog = player addAction [localize "str_actions_followdog","\z\addons\dayz_code\actions\dog\follow.sqf",[_dogHandle,true], 6, false, true,"",""];
|
||||
};
|
||||
} else {
|
||||
player removeAction s_player_feeddog;
|
||||
s_player_feeddog = -1;
|
||||
player removeAction s_player_waterdog;
|
||||
s_player_waterdog = -1;
|
||||
player removeAction s_player_staydog;
|
||||
s_player_staydog = -1;
|
||||
player removeAction s_player_trackdog;
|
||||
s_player_trackdog = -1;
|
||||
player removeAction s_player_barkdog;
|
||||
s_player_barkdog = -1;
|
||||
player removeAction s_player_warndog;
|
||||
s_player_warndog = -1;
|
||||
player removeAction s_player_followdog;
|
||||
s_player_followdog = -1;
|
||||
};
|
||||
|
||||
} else {
|
||||
//Engineering
|
||||
{dayz_myCursorTarget removeAction _x} forEach s_player_repairActions;s_player_repairActions = [];
|
||||
s_player_repair_crtl = -1;
|
||||
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
|
||||
dayz_myCursorTarget = objNull;
|
||||
|
||||
{player removeAction _x} forEach s_player_parts;s_player_parts = [];
|
||||
s_player_parts_crtl = -1;
|
||||
|
||||
{player removeAction _x} forEach s_player_lockunlock;s_player_lockunlock = [];
|
||||
s_player_lockUnlock_crtl = -1;
|
||||
|
||||
player removeAction s_player_checkGear;
|
||||
s_player_checkGear = -1;
|
||||
|
||||
s_player_parts_crtl = -1;
|
||||
|
||||
// lock unlock vehicles
|
||||
s_player_lockUnlock_crtl = -1;
|
||||
|
||||
//Others
|
||||
player removeAction s_player_forceSave;
|
||||
s_player_forceSave = -1;
|
||||
@@ -610,7 +603,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
player removeAction s_player_followdog;
|
||||
s_player_followdog = -1;
|
||||
|
||||
// vault
|
||||
// vault
|
||||
player removeAction s_player_unlockvault;
|
||||
s_player_unlockvault = -1;
|
||||
player removeAction s_player_packvault;
|
||||
@@ -622,6 +615,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu
|
||||
s_player_information = -1;
|
||||
player removeAction s_player_fillgen;
|
||||
s_player_fillgen = -1;
|
||||
player removeAction s_player_fuelauto;
|
||||
s_player_fuelauto = -1;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@ if (local _zombiebody) then {
|
||||
publicVariable "dayzHideBody"; // remote player
|
||||
sleep 5;
|
||||
deleteVehicle _body;
|
||||
// Give small humanity increase after body is removed
|
||||
[player,1] call player_humanityChange;
|
||||
true;
|
||||
};
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ if (_ammo isKindOf "SmokeShell") then {
|
||||
_i = _i + 1;
|
||||
} forEach _listTalk;
|
||||
} else {
|
||||
_id = [_unit,_distance,true,(getPosATL player)] spawn player_alertZombies;
|
||||
[_unit,_distance,true,(getPosATL player)] spawn player_alertZombies;
|
||||
//Check if need to place arrow
|
||||
if (_ammo isKindOf "Bolt") then {
|
||||
_id = _this spawn player_crossbowBolt;
|
||||
|
||||
@@ -1,32 +1,44 @@
|
||||
/*
|
||||
[_obj] spawn player_unlockVault;
|
||||
Lock Safe - DayZ Epoch - [VB]AWOL
|
||||
*/
|
||||
private["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_bag","_holder","_weapons","_magazines","_backpacks","_objWpnTypes","_objWpnQty","_countr"];
|
||||
private ["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_holder","_weapons","_magazines","_backpacks","_alreadyPacking"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Lock already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_obj = _this;
|
||||
|
||||
// Silently exit if object no longer exists
|
||||
if(isNull _obj) exitWith { TradeInprogress = false; };
|
||||
|
||||
_ownerID = _obj getVariable["CharacterID","0"];
|
||||
_objectID = _obj getVariable["ObjectID","0"];
|
||||
_objectUID = _obj getVariable["ObjectUID","0"];
|
||||
player playActionNow "Medic";
|
||||
|
||||
player removeAction s_player_lockvault;
|
||||
s_player_lockvault = -1;
|
||||
s_player_lockvault = 1;
|
||||
|
||||
if(_ownerID == dayz_playerUID) then {
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
if((_ownerID != dayz_combination) and (_ownerID != dayz_playerUID)) exitWith {TradeInprogress = false; s_player_lockvault = -1; cutText ["You cannot lock this Safe, you do not know the combination", "PLAIN DOWN"]; };
|
||||
|
||||
if (_alreadyPacking == 1) exitWith {cutText ["That Safe is already being locked." , "PLAIN DOWN"]};
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
|
||||
_obj setVariable["packing",1];
|
||||
if (_alreadyPacking == 1) exitWith {TradeInprogress = false; s_player_lockvault = -1; cutText ["That Safe is already being locked." , "PLAIN DOWN"]};
|
||||
|
||||
_dir = direction _obj;
|
||||
// _pos = getposATL _obj;
|
||||
_pos = _obj getVariable["OEMPos",(getposATL _obj)];
|
||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||
sleep 3;
|
||||
_obj setVariable["packing",1];
|
||||
|
||||
_dir = direction _obj;
|
||||
// _pos = getposATL _obj;
|
||||
_pos = _obj getVariable["OEMPos",(getposATL _obj)];
|
||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||
sleep 3;
|
||||
|
||||
if(!isNull _obj) then {
|
||||
|
||||
// force vault save just before locking
|
||||
dayzUpdateVehicle = [_obj,"gear"];
|
||||
publicVariableServer "dayzUpdateVehicle";
|
||||
|
||||
//place tent (local)
|
||||
_holder = createVehicle ["VaultStorageLocked",_pos,[], 0, "CAN_COLLIDE"];
|
||||
@@ -58,7 +70,7 @@ if(_ownerID == dayz_playerUID) then {
|
||||
};
|
||||
|
||||
cutText ["Your Safe has been locked", "PLAIN DOWN"];
|
||||
} else {
|
||||
cutText ["You cannot lock this Safe, it is not yours", "PLAIN DOWN"];
|
||||
|
||||
s_player_lockvault = -1;
|
||||
};
|
||||
TradeInprogress = false;
|
||||
@@ -2,6 +2,10 @@
|
||||
[_obj] spawn player_packTent;
|
||||
*/
|
||||
private["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_object","_holder","_weapons","_magazines","_backpacks","_objWpnTypes","_objWpnQty","_countr"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Pack tent already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
_obj = _this;
|
||||
_ownerID = _obj getVariable["CharacterID","0"];
|
||||
_objectID = _obj getVariable["ObjectID","0"];
|
||||
@@ -9,77 +13,78 @@ _objectUID = _obj getVariable["ObjectUID","0"];
|
||||
player playActionNow "Medic";
|
||||
|
||||
player removeAction s_player_packtent;
|
||||
s_player_packtent = 1;
|
||||
|
||||
if(_ownerID != dayz_characterID) exitWith {TradeInprogress = false; s_player_packtent = -1; cutText [localize "str_fail_tent_pack", "PLAIN DOWN"];};
|
||||
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
|
||||
if (_alreadyPacking == 1) exitWith {TradeInprogress = false; s_player_packtent = -1; cutText [format[(localize "str_player_beingpacked")] , "PLAIN DOWN"]};
|
||||
|
||||
_obj setVariable["packing",1];
|
||||
|
||||
_dir = direction _obj;
|
||||
_pos = getposATL _obj;
|
||||
|
||||
_dis=20;
|
||||
_sfx = "tentpack";
|
||||
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
|
||||
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
sleep 3;
|
||||
|
||||
_classname = getText (configFile >> "CfgVehicles" >> (typeOf _obj) >> "create");
|
||||
|
||||
_location = _pos;
|
||||
|
||||
//place tent (local)
|
||||
//_bag = createVehicle ["WeaponHolder_ItemTent",_pos,[], 0, "CAN_COLLIDE"];
|
||||
_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
|
||||
_object setdir _dir;
|
||||
player reveal _object;
|
||||
|
||||
_holder = "WeaponHolder" createVehicle _pos;
|
||||
|
||||
_weapons = getWeaponCargo _obj;
|
||||
_magazines = getMagazineCargo _obj;
|
||||
_backpacks = getBackpackCargo _obj;
|
||||
|
||||
//["dayzDeleteObj",[_objectID,_objectUID]] call callRpcProcedure;
|
||||
dayzDeleteObj = [_objectID,_objectUID];
|
||||
publicVariableServer "dayzDeleteObj";
|
||||
if (isServer) then {
|
||||
dayzDeleteObj call server_deleteObj;
|
||||
};
|
||||
deleteVehicle _obj;
|
||||
|
||||
//Add weapons
|
||||
_objWpnTypes = _weapons select 0;
|
||||
_objWpnQty = _weapons select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addweaponcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
//Add Magazines
|
||||
_objWpnTypes = _magazines select 0;
|
||||
_objWpnQty = _magazines select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
//Add Backpacks
|
||||
_objWpnTypes = _backpacks select 0;
|
||||
_objWpnQty = _backpacks select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
|
||||
|
||||
s_player_packtent = -1;
|
||||
|
||||
if(_ownerID == dayz_characterID) then {
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
|
||||
if (_alreadyPacking == 1) exitWith {cutText [format[(localize "str_player_beingpacked")] , "PLAIN DOWN"]};
|
||||
|
||||
_obj setVariable["packing",1];
|
||||
|
||||
_dir = direction _obj;
|
||||
_pos = getposATL _obj;
|
||||
|
||||
_dis=20;
|
||||
_sfx = "tentpack";
|
||||
[player,_sfx,0,false,_dis] call dayz_zombieSpeak;
|
||||
[player,_dis,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
sleep 3;
|
||||
|
||||
_classname = getText (configFile >> "CfgVehicles" >> (typeOf _obj) >> "create");
|
||||
|
||||
_location = _pos;
|
||||
|
||||
//place tent (local)
|
||||
//_bag = createVehicle ["WeaponHolder_ItemTent",_pos,[], 0, "CAN_COLLIDE"];
|
||||
_object = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"];
|
||||
_object setdir _dir;
|
||||
player reveal _object;
|
||||
|
||||
_holder = "WeaponHolder" createVehicle _pos;
|
||||
|
||||
_weapons = getWeaponCargo _obj;
|
||||
_magazines = getMagazineCargo _obj;
|
||||
_backpacks = getBackpackCargo _obj;
|
||||
|
||||
//["dayzDeleteObj",[_objectID,_objectUID]] call callRpcProcedure;
|
||||
dayzDeleteObj = [_objectID,_objectUID];
|
||||
publicVariableServer "dayzDeleteObj";
|
||||
if (isServer) then {
|
||||
dayzDeleteObj call server_deleteObj;
|
||||
};
|
||||
deleteVehicle _obj;
|
||||
|
||||
//Add weapons
|
||||
_objWpnTypes = _weapons select 0;
|
||||
_objWpnQty = _weapons select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addweaponcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
//Add Magazines
|
||||
_objWpnTypes = _magazines select 0;
|
||||
_objWpnQty = _magazines select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
//Add Backpacks
|
||||
_objWpnTypes = _backpacks select 0;
|
||||
_objWpnQty = _backpacks select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
|
||||
cutText [localize "str_success_tent_pack", "PLAIN DOWN"];
|
||||
} else {
|
||||
cutText [localize "str_fail_tent_pack", "PLAIN DOWN"];
|
||||
};
|
||||
TradeInprogress = false;
|
||||
@@ -7,6 +7,10 @@ if(TradeInprogress) exitWith { cutText ["That Safe is already being packed." , "
|
||||
TradeInprogress = true;
|
||||
|
||||
_obj = _this;
|
||||
|
||||
// Silently exit if object no longer exists
|
||||
if(isNull _obj) exitWith { TradeInprogress = false; };
|
||||
|
||||
_ownerID = _obj getVariable["CharacterID","0"];
|
||||
_objectID = _obj getVariable["ObjectID","0"];
|
||||
_objectUID = _obj getVariable["ObjectUID","0"];
|
||||
@@ -14,30 +18,34 @@ _objectUID = _obj getVariable["ObjectUID","0"];
|
||||
player removeAction s_player_packvault;
|
||||
s_player_packvault = 1;
|
||||
|
||||
if(_ownerID == dayz_playerUID) then {
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
if (_alreadyPacking == 1) exitWith {cutText ["That Safe is already being packed." , "PLAIN DOWN"]};
|
||||
_obj setVariable["packing",1];
|
||||
if((_ownerID != dayz_combination) and (_ownerID != dayz_playerUID)) exitWith { TradeInprogress = false; s_player_packvault = -1; cutText ["You cannot pack this Safe, you do not know the combination.", "PLAIN DOWN"];};
|
||||
|
||||
cutText ["Packing Safe move from this position to cancel within 5 seconds.", "PLAIN DOWN"];
|
||||
sleep 1;
|
||||
_location1 = getPosATL player;
|
||||
sleep 5;
|
||||
_location2 = getPosATL player;
|
||||
|
||||
if(_location1 distance _location2 > 0.1) exitWith {
|
||||
cutText ["Packing Safe canceled." , "PLAIN DOWN"];
|
||||
_obj setVariable["packing",0];
|
||||
};
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
|
||||
player playActionNow "Medic";
|
||||
if (_alreadyPacking == 1) exitWith {TradeInprogress = false; s_player_packvault = -1; cutText ["That Safe is already being packed." , "PLAIN DOWN"]};
|
||||
_obj setVariable["packing",1];
|
||||
|
||||
_dir = direction _obj;
|
||||
cutText ["Packing Safe move from this position to cancel within 5 seconds.", "PLAIN DOWN"];
|
||||
sleep 1;
|
||||
_location1 = getPosATL player;
|
||||
sleep 5;
|
||||
_location2 = getPosATL player;
|
||||
|
||||
_pos = _obj getVariable["OEMPos",(getposATL _obj)];
|
||||
if(_location1 distance _location2 > 0.1) exitWith {
|
||||
cutText ["Packing Safe canceled." , "PLAIN DOWN"];
|
||||
_obj setVariable["packing",0];
|
||||
};
|
||||
|
||||
player playActionNow "Medic";
|
||||
|
||||
_dir = direction _obj;
|
||||
|
||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||
sleep 3;
|
||||
_pos = _obj getVariable["OEMPos",(getposATL _obj)];
|
||||
|
||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||
sleep 3;
|
||||
|
||||
if(!isNull _obj) then {
|
||||
|
||||
//place tent (local)
|
||||
_bag = createVehicle ["WeaponHolder_ItemVault",_pos,[], 0, "CAN_COLLIDE"];
|
||||
@@ -89,10 +97,7 @@ if(_ownerID == dayz_playerUID) then {
|
||||
|
||||
|
||||
cutText ["Your Safe has been packed", "PLAIN DOWN"];
|
||||
} else {
|
||||
cutText ["You cannot pack this Safe, it is not yours", "PLAIN DOWN"];
|
||||
|
||||
s_player_packvault = -1;
|
||||
};
|
||||
|
||||
s_player_packvault = -1;
|
||||
|
||||
TradeInprogress = false;
|
||||
@@ -30,4 +30,4 @@ if (_ammo isKindOf "RoadFlare") then {
|
||||
};
|
||||
};
|
||||
|
||||
_id = [_unit,_distance,false,_endPos] spawn player_alertZombies;
|
||||
[_unit,_distance,false,_endPos] spawn player_alertZombies;
|
||||
@@ -1,85 +1,98 @@
|
||||
/*
|
||||
[_obj] spawn player_unlockVault;
|
||||
*/
|
||||
private ["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_holder","_weapons","_magazines","_backpacks","_objWpnTypes","_objWpnQty","_countr","_allowunlock","_alreadyPacking"];
|
||||
private ["_objectID","_objectUID","_obj","_ownerID","_dir","_pos","_holder","_weapons","_magazines","_backpacks","_objWpnTypes","_objWpnQty","_countr","_alreadyPacking"];
|
||||
|
||||
if(TradeInprogress) exitWith { cutText ["Unlock already in progress." , "PLAIN DOWN"]; };
|
||||
TradeInprogress = true;
|
||||
|
||||
{player removeAction _x} forEach s_player_combi;s_player_combi = [];
|
||||
s_player_unlockvault = 1;
|
||||
|
||||
_obj = _this;
|
||||
|
||||
// Silently exit if object no longer exists
|
||||
if(isNull _obj) exitWith { TradeInprogress = false; };
|
||||
|
||||
_ownerID = _obj getVariable["CharacterID","0"];
|
||||
_objectID = _obj getVariable["ObjectID","0"];
|
||||
_objectUID = _obj getVariable["ObjectUID","0"];
|
||||
player playActionNow "Medic";
|
||||
|
||||
player removeAction s_player_unlockvault;
|
||||
s_player_unlockvault = 1;
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
|
||||
UnlockInprogress = true;
|
||||
if (_alreadyPacking == 1) exitWith {TradeInprogress = false; s_player_unlockvault = -1; cutText ["That Safe is already being unlocked." , "PLAIN DOWN"]};
|
||||
|
||||
if (_ownerID == dayz_playerUID) then {
|
||||
_alreadyPacking = _obj getVariable["packing",0];
|
||||
|
||||
if (_alreadyPacking == 1) exitWith {cutText ["That Safe is already being unlocked." , "PLAIN DOWN"]};
|
||||
// Promt user for password if _ownerID != dayz_playerUID
|
||||
|
||||
if ((_ownerID == dayz_combination) or (_ownerID == dayz_playerUID)) then {
|
||||
|
||||
_obj setVariable["packing",1];
|
||||
|
||||
_dir = direction _obj;
|
||||
// _pos = getposATL _obj;
|
||||
_pos = _obj getVariable["OEMPos",(getposATL _obj)];
|
||||
player playActionNow "Medic";
|
||||
//player playActionNow "Medic";
|
||||
sleep 1;
|
||||
[player,"tentpack",0,false] call dayz_zombieSpeak;
|
||||
sleep 5;
|
||||
|
||||
//place tent (local)
|
||||
_holder = createVehicle ["VaultStorage",_pos,[], 0, "CAN_COLLIDE"];
|
||||
_holder setdir _dir;
|
||||
_holder setpos _pos;
|
||||
player reveal _holder;
|
||||
|
||||
_holder setVariable["CharacterID",_ownerID,true];
|
||||
_holder setVariable["ObjectID",_objectID,true];
|
||||
_holder setVariable["ObjectUID",_objectUID,true];
|
||||
_holder setVariable ["OEMPos", _pos, true];
|
||||
if(!isNull _obj) then {
|
||||
|
||||
_weapons = _obj getVariable["WeaponCargo",[]];
|
||||
_magazines = _obj getVariable["MagazineCargo",[]];
|
||||
_backpacks = _obj getVariable["BackpackCargo",[]];
|
||||
//place tent (local)
|
||||
_holder = createVehicle ["VaultStorage",_pos,[], 0, "CAN_COLLIDE"];
|
||||
_holder setdir _dir;
|
||||
_holder setpos _pos;
|
||||
player reveal _holder;
|
||||
|
||||
// Remove locked vault
|
||||
deleteVehicle _obj;
|
||||
_holder setVariable["CharacterID",_ownerID,true];
|
||||
_holder setVariable["ObjectID",_objectID,true];
|
||||
_holder setVariable["ObjectUID",_objectUID,true];
|
||||
_holder setVariable ["OEMPos", _pos, true];
|
||||
|
||||
if (count _weapons > 0) then {
|
||||
//Add weapons
|
||||
_objWpnTypes = _weapons select 0;
|
||||
_objWpnQty = _weapons select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addweaponcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
};
|
||||
_weapons = _obj getVariable["WeaponCargo",[]];
|
||||
_magazines = _obj getVariable["MagazineCargo",[]];
|
||||
_backpacks = _obj getVariable["BackpackCargo",[]];
|
||||
|
||||
if (count _magazines > 0) then {
|
||||
//Add Magazines
|
||||
_objWpnTypes = _magazines select 0;
|
||||
_objWpnQty = _magazines select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
};
|
||||
// Remove locked vault
|
||||
|
||||
deleteVehicle _obj;
|
||||
|
||||
if (count _backpacks > 0) then {
|
||||
//Add Backpacks
|
||||
_objWpnTypes = _backpacks select 0;
|
||||
_objWpnQty = _backpacks select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
};
|
||||
if (count _weapons > 0) then {
|
||||
//Add weapons
|
||||
_objWpnTypes = _weapons select 0;
|
||||
_objWpnQty = _weapons select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addweaponcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
};
|
||||
|
||||
cutText ["Safe has been unlocked.", "PLAIN DOWN"];
|
||||
if (count _magazines > 0) then {
|
||||
//Add Magazines
|
||||
_objWpnTypes = _magazines select 0;
|
||||
_objWpnQty = _magazines select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addmagazinecargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
};
|
||||
|
||||
if (count _backpacks > 0) then {
|
||||
//Add Backpacks
|
||||
_objWpnTypes = _backpacks select 0;
|
||||
_objWpnQty = _backpacks select 1;
|
||||
_countr = 0;
|
||||
{
|
||||
_holder addbackpackcargoGlobal [_x,(_objWpnQty select _countr)];
|
||||
_countr = _countr + 1;
|
||||
} forEach _objWpnTypes;
|
||||
};
|
||||
|
||||
cutText ["Safe has been unlocked.", "PLAIN DOWN"];
|
||||
};
|
||||
} else {
|
||||
player playActionNow "Medic";
|
||||
sleep 3;
|
||||
@@ -88,6 +101,5 @@ if (_ownerID == dayz_playerUID) then {
|
||||
sleep 5;
|
||||
cutText ["Combination incorrect, Safe is still locked.", "PLAIN DOWN"];
|
||||
};
|
||||
|
||||
s_player_unlockvault = -1;
|
||||
UnlockInprogress = false;
|
||||
TradeInprogress = false;
|
||||
@@ -156,7 +156,7 @@ if ((count _updates > 0 or _isNewMed) and _characterID != "0") then {
|
||||
if (count _playerPos > 0) then {
|
||||
_array = [];
|
||||
{
|
||||
if (_x > -20000 and _x < 20000) then {
|
||||
if (_x > dayz_minpos and _x < dayz_maxpos) then {
|
||||
_array set [count _array,_x];
|
||||
};
|
||||
} forEach (_playerPos select 1);
|
||||
|
||||
@@ -40,7 +40,7 @@ class CfgMods
|
||||
hidePicture = 0;
|
||||
hideName = 0;
|
||||
action = "http://www.dayzepoch.com";
|
||||
version = "1.0.0.8";
|
||||
version = "1.0.0.9";
|
||||
hiveVersion = 0.96; //0.93
|
||||
};
|
||||
};
|
||||
@@ -487,7 +487,7 @@ class CfgBuildingLoot {
|
||||
lootPos[] = {};
|
||||
itemType[] = {
|
||||
{ "ItemSodaMdew","magazine" },
|
||||
{ "ItemSodaRbull","magazine" },
|
||||
{ "ItemSodaR4z0r","magazine" },
|
||||
{ "ItemWatch","generic" },
|
||||
{ "ItemCompass","generic" },
|
||||
{ "ItemMap","weapon" },
|
||||
@@ -554,7 +554,7 @@ class CfgBuildingLoot {
|
||||
0.03,
|
||||
0.01,
|
||||
0.08,
|
||||
0.03,
|
||||
0.03
|
||||
};
|
||||
};
|
||||
class Office: Residential {
|
||||
@@ -624,7 +624,8 @@ class CfgBuildingLoot {
|
||||
{ "WeaponHolder_ItemHatchet","object" },
|
||||
{ "MR43","weapon" },
|
||||
{ "WeaponHolder_ItemFuelBarrel","object" },
|
||||
{"WeaponHolder_ItemMachete", "object"}
|
||||
{ "WeaponHolder_ItemMachete", "object"},
|
||||
{ "ItemFishingPole","weapon" }
|
||||
};
|
||||
itemChance[] = {
|
||||
0.06,
|
||||
@@ -638,7 +639,8 @@ class CfgBuildingLoot {
|
||||
0.17,
|
||||
0.06,
|
||||
0.005,
|
||||
0.03
|
||||
0.03,
|
||||
0.01
|
||||
};
|
||||
};
|
||||
class Supermarket: Default {
|
||||
@@ -2983,5 +2985,11 @@ class HeliCrash_No50s: Default {
|
||||
class land_cihlovej_dum_mini: Residential {
|
||||
lootPos[] = {{-2.4646,-0.78418,-2.86942},{-1.75586,2.88525,-2.86942},{2.76587,2.08154,-2.86942},{1.96265,-1.98877,-2.86942},{0.0109863,0.876465,-2.86942},{0.116455,3.05762,-2.86942}};
|
||||
};
|
||||
class Land_hruzdum: Residential {
|
||||
lootPos[] = {{-0.108887,3.56494,1.59321},{-1.80371,0.838867,1.5932},{2.34106,3.8335,-1.16265},{0.032959,-1.2998,-1.16266},{-0.655273,2.18311,-1.16266},{-2.53687,-1.29932,-4.73357},{-1.63599,3.06152,-4.73357},{1.83984,2.125,-4.73357}};
|
||||
};
|
||||
class Land_cihlovej_dum_in: Residential {
|
||||
lootPos[] = {{-0.0117188,0.0441895,-1.81473},{-1.76758,2.24805,-1.8147},{-2.88965,-1.64795,-1.8147},{1.84277,-2.07983,-1.81471},{1.58691,-1.3374,-5.27588},{1.22852,2.57324,-5.27588}};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -21,25 +21,25 @@ if (!isDedicated) then {
|
||||
player_animalCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_animalCheck.sqf";
|
||||
player_spawnCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnCheck.sqf";
|
||||
player_dumpBackpack = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_dumpBackpack.sqf";
|
||||
player_spawnLootCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnlootCheck.sqf";
|
||||
player_spawnZedCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnzedCheck.sqf";
|
||||
// player_spawnLootCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnlootCheck.sqf";
|
||||
// player_spawnZedCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_spawnzedCheck.sqf";
|
||||
building_spawnLoot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\building_spawnLoot.sqf";
|
||||
player_taskHint = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_taskHint.sqf";
|
||||
// player_taskHint = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_taskHint.sqf";
|
||||
building_spawnZombies = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\building_spawnZombies.sqf";
|
||||
//animal_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\animal_monitor.sqf";
|
||||
building_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\building_monitor.sqf";
|
||||
// building_monitor = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\building_monitor.sqf";
|
||||
player_fired = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_fired.sqf"; //Runs when player fires. Alerts nearby Zeds depending on calibre and audial rating
|
||||
player_packTent = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_packTent.sqf";
|
||||
player_packVault = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_packVault.sqf";
|
||||
player_unlockVault = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_unlockVault.sqf";
|
||||
player_lockVault = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_lockVault.sqf";
|
||||
control_zombieAgent = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\control_zombieAgent.sqf";
|
||||
// control_zombieAgent = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\control_zombieAgent.sqf";
|
||||
player_updateGui = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_updateGui.sqf";
|
||||
player_crossbowBolt = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_crossbowBolt.sqf";
|
||||
spawn_flies = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\spawn_flies.sqf";
|
||||
stream_locationFill = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\stream_locationFill.sqf";
|
||||
stream_locationDel = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\stream_locationDel.sqf";
|
||||
stream_locationCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\stream_locationCheck.sqf";
|
||||
// stream_locationFill = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\stream_locationFill.sqf";
|
||||
// stream_locationDel = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\stream_locationDel.sqf";
|
||||
// stream_locationCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\stream_locationCheck.sqf";
|
||||
player_music = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_music.sqf"; //Used to generate ambient music
|
||||
player_login = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_login.sqf"; //Used to generate ambient music
|
||||
player_death = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_death.sqf";
|
||||
@@ -121,7 +121,7 @@ if (!isDedicated) then {
|
||||
_display = uiNameSpace getVariable "BIS_loadingScreen";
|
||||
_control1 = _display displayctrl 8400;
|
||||
_control2 = _display displayctrl 102;
|
||||
// 40 sec timeout
|
||||
// 40 sec timeout
|
||||
while { _timeOut < 400 && !dayz_clientPreload } do {
|
||||
if ( isNull _display ) then {
|
||||
waitUntil { !dialog; };
|
||||
@@ -418,14 +418,14 @@ if (!isDedicated) then {
|
||||
fnc_buildWeightedArray = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_buildWeightedArray.sqf"; //Checks which actions for nearby casualty
|
||||
fnc_usec_damageVehicle = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandlerVehicle.sqf"; //Event handler run on damage
|
||||
zombie_initialize = compile preprocessFileLineNumbers "\z\addons\dayz_code\init\zombie_init.sqf";
|
||||
object_vehicleKilled = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_vehicleKilled.sqf"; //Event handler run on damage
|
||||
// object_vehicleKilled = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_vehicleKilled.sqf"; //Event handler run on damage
|
||||
object_setHitServer = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_setHitServer.sqf"; //process the hit as a NORMAL damage (useful for persistent vehicles)
|
||||
object_setFixServer = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_setFixServer.sqf"; //process the hit as a NORMAL damage (useful for persistent vehicles)
|
||||
object_getHit = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_getHit.sqf"; //gets the hit value for a HitPoint (i.e. HitLegs) against the selection (i.e. "legs"), returns the value
|
||||
object_setHit = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_setHit.sqf"; //process the hit as a NORMAL damage (useful for persistent vehicles)
|
||||
object_processHit = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_processHit.sqf"; //process the hit in the REVO damage system (records and sets hit)
|
||||
object_delLocal = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_delLocal.sqf";
|
||||
object_cargoCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_cargoCheck.sqf"; //Run by the player or server to monitor changes in cargo contents
|
||||
// object_cargoCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\object_cargoCheck.sqf"; //Run by the player or server to monitor changes in cargo contents
|
||||
fnc_usec_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf"; //Event handler run on damage
|
||||
// Vehicle damage fix
|
||||
vehicle_handleDamage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\vehicle_handleDamage.sqf";
|
||||
@@ -453,7 +453,7 @@ if (!isDedicated) then {
|
||||
world_isDay = {if ((daytime < (24 - dayz_sunRise)) and (daytime > dayz_sunRise)) then {true} else {false}};
|
||||
player_humanityChange = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_humanityChange.sqf";
|
||||
spawn_loot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\spawn_loot.sqf";
|
||||
player_projectileNear = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_projectileNear.sqf";
|
||||
// player_projectileNear = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_projectileNear.sqf";
|
||||
|
||||
player_sumMedical = {
|
||||
private["_character","_wounds","_legs","_arms","_medical"];
|
||||
|
||||
@@ -140,6 +140,7 @@ boil_tin_cans = [
|
||||
"ItemSodaRabbitEmpty"
|
||||
];
|
||||
|
||||
dayz_combination = "";
|
||||
dayz_combatLog = "";
|
||||
canRoll = true;
|
||||
|
||||
@@ -234,6 +235,7 @@ s_player_repairActions = [];
|
||||
// Custom
|
||||
s_player_madsci = [];
|
||||
s_player_parts = [];
|
||||
s_player_combi = [];
|
||||
|
||||
//Initialize Medical Variables
|
||||
r_interrupt = false;
|
||||
@@ -343,6 +345,7 @@ dayz_zombieTargetList = [
|
||||
dayzHit = [];
|
||||
dayzPublishObj = []; //used for eventhandler to spawn a mirror of players tent
|
||||
dayzHideBody = objNull;
|
||||
dayz_selectedVault = objNull;
|
||||
|
||||
dayzPublishVeh = []; // for vehicle traders
|
||||
dayzTradeObject = []; // For all traders increment qty
|
||||
@@ -377,18 +380,24 @@ if(isNil "DZEdebug") then {
|
||||
if(isNil "dayz_tameDogs") then {
|
||||
dayz_tameDogs = false;
|
||||
};
|
||||
if(isNil "dayz_sellDistance") then {
|
||||
dayz_sellDistance = 20;
|
||||
};
|
||||
if(isNil "dayz_paraSpawn") then {
|
||||
dayz_paraSpawn = false;
|
||||
};
|
||||
if(isNil "dayz_oldrefuel") then {
|
||||
dayz_oldrefuel = false;
|
||||
if(isNil "dayz_minpos") then {
|
||||
dayz_minpos = -20000;
|
||||
};
|
||||
if(isNil "dayz_maxpos") then {
|
||||
dayz_maxpos = 20000;
|
||||
};
|
||||
|
||||
// update objects
|
||||
dayz_updateObjects = ["Car", "Helicopter", "Motorcycle", "Ship", "TentStorage", "VaultStorage","M240Nest_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ"];
|
||||
dayz_disallowedVault = ["TentStorage", "BuiltItems"];
|
||||
dayz_reveal = ["AllVehicles","WeaponHolder","TentStorage","VaultStorage","VaultStorageLocked","BuiltItems"];
|
||||
dayz_allowedObjects = ["TentStorage","TentStorageDomed","TentStorageDomed2", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","Plastic_Pole_EP1_DZ","Generator_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ"];
|
||||
dayz_allowedObjects = ["TentStorage","TentStorageDomed","TentStorageDomed2", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1_DZ","TrapBear","Fort_RazorWire","WoodGate_DZ","Land_HBarrier1_DZ","Fence_corrugated_DZ","M240Nest_DZ","CanvasHut_DZ","ParkBench_DZ","MetalGate_DZ","OutHouse_DZ","Wooden_shed_DZ","WoodShack_DZ","StorageShed_DZ","Plastic_Pole_EP1_DZ","Generator_DZ","StickFence_DZ","LightPole_DZ","FuelPump_DZ","DesertCamoNet_DZ","ForestCamoNet_DZ","DesertLargeCamoNet_DZ","ForestLargeCamoNet_DZ","SandNest_DZ"];
|
||||
|
||||
// These work with just a running generator
|
||||
dayz_fuelpumparray = ["FuelPump_DZ","Land_A_FuelStation_Feed","Land_Ind_FuelStation_Feed_EP1","Land_FuelStation_Feed_PMC","FuelStation","Land_ibr_FuelStation_Feed","Land_fuelstation_army","Land_fuelstation","land_fuelstation_w","Land_benzina_schnell"];
|
||||
@@ -490,7 +499,6 @@ if(!isDedicated) then {
|
||||
dayz_Magazines = [];
|
||||
dayzGearSave = false;
|
||||
dayz_unsaved = false;
|
||||
UnlockInprogress = false;
|
||||
TradeInprogress = false;
|
||||
dayz_scaleLight = 0;
|
||||
dayzDebug = false;
|
||||
|
||||
@@ -15,6 +15,14 @@ class RscProgress;
|
||||
class RscProgressNotFreeze;
|
||||
class RscButtonTextOnly;
|
||||
|
||||
class RscIGUIListBox;
|
||||
class CA_Black_Back;
|
||||
class RscMapControl;
|
||||
class IGUIBack;
|
||||
class RscHTML;
|
||||
class RscObject;
|
||||
class RscDisplayGetReady;
|
||||
class RscListBox;
|
||||
class RscDisplayLoading
|
||||
{
|
||||
class Variants
|
||||
@@ -137,7 +145,7 @@ class RscDisplayMain : RscStandardDisplay
|
||||
class DAYZ_Version : CA_Version
|
||||
{
|
||||
idc = -1;
|
||||
text = "DayZ Epoch 1.0.0.8 dev (1.7.6.1)";
|
||||
text = "DayZ Epoch 1.0.0.9 dev (1.7.6.1)";
|
||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.95)";
|
||||
};
|
||||
delete CA_TitleMainMenu;
|
||||
@@ -183,6 +191,489 @@ class RscDisplayMain : RscStandardDisplay
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class RscDisplayMainMap {
|
||||
saveParams = 1;
|
||||
|
||||
class controlsBackground {
|
||||
class Map {};
|
||||
|
||||
class CA_Black : CA_Black_Back {};
|
||||
|
||||
class CA_Map : RscMapControl {
|
||||
x = "SafeZoneXAbs";
|
||||
y = "SafeZoneY";
|
||||
w = "SafeZoneWAbs";
|
||||
h = "SafeZoneH";
|
||||
};
|
||||
};
|
||||
|
||||
class controls {
|
||||
class DiaryIndex {};
|
||||
class DiaryAdd {};
|
||||
class DiarySort {};
|
||||
class DiaryFilter {};
|
||||
class Diary {};
|
||||
|
||||
class CA_MainBackground : IGUIBack {
|
||||
idc = 1020;
|
||||
x = "SafeZoneX + 0.010 * SafeZoneW";
|
||||
y = "SafeZoneY + 0.031";
|
||||
w = "0.98*SafeZoneW";
|
||||
h = 0.082;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
class CA_TopicsBackground : IGUIBack {
|
||||
idc = 1021;
|
||||
x = "0.010*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.117";
|
||||
w = "0.146*SafeZoneW";
|
||||
h = 0.53;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
class CA_SubTopicsBackground : IGUIBack {
|
||||
idc = 1022;
|
||||
x = "0.16*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.117";
|
||||
w = "0.283*SafeZoneW";
|
||||
h = 0.53;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
class CA_ContentBackground : IGUIBack {
|
||||
idc = 1023;
|
||||
x = "0.446*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.117";
|
||||
w = "SafeZoneW * 0.544";
|
||||
h = 0.832;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
delete CA_PlayerName;
|
||||
delete CA_PlayerRank;
|
||||
|
||||
class CA_MissionName : RscText {
|
||||
idc = 112;
|
||||
style = 1;
|
||||
x = "0.02*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.033";
|
||||
w = "0.96 * SafeZoneW";
|
||||
h = 0.041;
|
||||
sizeEx = 0.034;
|
||||
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||
text = $STR_DIARY_MISSION_NAME;
|
||||
};
|
||||
|
||||
delete CA_CurrentTaskLabel;
|
||||
delete CA_CurrentTask;
|
||||
|
||||
class DiaryList : RscIGUIListBox {
|
||||
idc = 1001;
|
||||
onLBSelChanged = "[_this select 0, _this select 1, 'List'] call compile preprocessFileLineNumbers 'ca\Warfare2\Scripts\Client\GUI\GUI_logEH.sqf'; private ['_dummy']; _dummy = [_this,'onLBSelChanged'] call compile preprocessfile '\ca\ui\scripts\server_interface.sqf';";
|
||||
default = 1;
|
||||
x = "0.010*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.137";
|
||||
w = "0.146*SafeZoneW";
|
||||
h = 0.6;
|
||||
};
|
||||
|
||||
class CA_DiaryIndex : RscIGUIListBox {
|
||||
idc = 1002;
|
||||
onLBSelChanged = "[_this select 0, _this select 1, 'Index'] call compile preprocessFileLineNumbers 'ca\Warfare2\Scripts\Client\GUI\GUI_logEH.sqf';";
|
||||
default = 0;
|
||||
x = "0.16*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.137";
|
||||
w = "0.283*SafeZoneW";
|
||||
h = 0.6;
|
||||
sizeEx = 0.034;
|
||||
};
|
||||
|
||||
class CA_DiaryGroup : RscControlsGroup {
|
||||
idc = 1013;
|
||||
x = "0.446*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.137";
|
||||
w = "0.534*SafeZoneW";
|
||||
h = 0.718;
|
||||
|
||||
class VScrollbar {
|
||||
autoScrollSpeed = -1;
|
||||
autoScrollDelay = 5;
|
||||
autoScrollRewind = 0;
|
||||
color[] = {1, 1, 1, 1};
|
||||
width = 0.01;
|
||||
};
|
||||
|
||||
class HScrollbar {
|
||||
color[] = {1, 1, 1, 0};
|
||||
height = 0.001;
|
||||
};
|
||||
|
||||
class Controls {
|
||||
class CA_Diary : RscHTML {
|
||||
idc = 1003;
|
||||
cycleLinks = 0;
|
||||
cycleAllLinks = 0;
|
||||
default = 0;
|
||||
x = "0.01*SafeZoneW";
|
||||
y = 0.0;
|
||||
w = "0.514*SafeZoneW";
|
||||
h = 1.807;
|
||||
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||
|
||||
class H1 {
|
||||
font = "Zeppelin32";
|
||||
fontBold = "Zeppelin32";
|
||||
sizeEx = 0.034;
|
||||
};
|
||||
|
||||
class P {
|
||||
font = "Zeppelin32";
|
||||
fontBold = "Zeppelin32";
|
||||
sizeEx = 0.034;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class HC_tooltip_back : IGUIBack {
|
||||
idc = 1124;
|
||||
x = 0.0;
|
||||
y = 0.0;
|
||||
w = 0.0;
|
||||
h = 0.0;
|
||||
colorBackground[] = {0.2, 0.15, 0.1, 0.8};
|
||||
};
|
||||
|
||||
class HC_tooltip_text : RscStructuredText {
|
||||
idc = 1125;
|
||||
x = 0.0;
|
||||
y = 0.0;
|
||||
w = 0.0;
|
||||
h = 0.0;
|
||||
size = 0.035;
|
||||
|
||||
class Attributes {
|
||||
font = "Zeppelin32";
|
||||
color = "#B6F862";
|
||||
align = "left";
|
||||
shadow = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class objects {
|
||||
class Watch : RscObject {
|
||||
model = "\ca\ui\Watch.p3d";
|
||||
x = 0.08;
|
||||
xBack = 0.4;
|
||||
y = 0.925;
|
||||
yBack = 0.5;
|
||||
z = 0.21;
|
||||
zBack = 0.11;
|
||||
enableZoom = 1;
|
||||
direction[] = {0, 1, 7.2};
|
||||
up[] = {0, 0, -1};
|
||||
scale = 0.4;
|
||||
};
|
||||
|
||||
class Compass : RscObject {
|
||||
model = "\ca\ui\Compass.p3d";
|
||||
selectionArrow = "";
|
||||
x = 0.16;
|
||||
xBack = 0.6;
|
||||
y = 0.925;
|
||||
yBack = 0.5;
|
||||
z = 0.2;
|
||||
zBack = 0.1;
|
||||
enableZoom = 1;
|
||||
direction[] = {1, 0, 0};
|
||||
up[] = {0, 1, 0};
|
||||
scale = 0.35;
|
||||
};
|
||||
|
||||
class GPS : RscObject {
|
||||
model = "\ca\ui\gps.p3d";
|
||||
x = 0.36;
|
||||
xBack = 0.7;
|
||||
y = 0.925;
|
||||
yBack = 0.5;
|
||||
z = 0.22;
|
||||
zBack = 0.12;
|
||||
scale = 0.3;
|
||||
|
||||
class Areas {
|
||||
class Display {
|
||||
class controls {
|
||||
class GPSSquare : RscText {
|
||||
idc = 75;
|
||||
x = 0;
|
||||
y = 0.56;
|
||||
w = 1;
|
||||
h = 0.5;
|
||||
colorText[] = {0.2314, 0.2588, 0.1373, 1.0};
|
||||
sizeEx = 0.4;
|
||||
};
|
||||
|
||||
class GPS_ALT : RscText {
|
||||
idc = 77;
|
||||
x = 0.25;
|
||||
y = 0.31;
|
||||
w = 1;
|
||||
h = 0.3;
|
||||
colorText[] = {0.2314, 0.2588, 0.1373, 1.0};
|
||||
sizeEx = 0.23;
|
||||
};
|
||||
|
||||
class GPS_Heading : RscText {
|
||||
idc = 78;
|
||||
x = 0.25;
|
||||
y = 0.073;
|
||||
w = 1;
|
||||
h = 0.3;
|
||||
colorText[] = {0.2314, 0.2588, 0.1373, 1.0};
|
||||
sizeEx = 0.23;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class WalkieTalkie : RscObject {
|
||||
model = "\ca\ui\radio.p3d";
|
||||
x = 0.56;
|
||||
xBack = 0.8;
|
||||
y = 0.925;
|
||||
yBack = 0.5;
|
||||
z = 0.22;
|
||||
zBack = 0.12;
|
||||
scale = 0.15;
|
||||
|
||||
class Areas {
|
||||
class Papir {
|
||||
class controls {
|
||||
class RscRadioText : RscActiveText {
|
||||
sizeEx = 0.17;
|
||||
x = 0.005;
|
||||
y = 0.02;
|
||||
h = 0.1;
|
||||
};
|
||||
|
||||
class RadioAlpha : RscRadioText {
|
||||
y = 0.05;
|
||||
};
|
||||
|
||||
class RadioBravo : RscRadioText {
|
||||
y = 0.17;
|
||||
};
|
||||
|
||||
class RadioCharlie : RscRadioText {
|
||||
y = 0.29;
|
||||
};
|
||||
|
||||
class RadioDelta : RscRadioText {
|
||||
y = 0.41;
|
||||
};
|
||||
|
||||
class RadioEcho : RscRadioText {
|
||||
y = 0.53;
|
||||
};
|
||||
|
||||
class RadioFoxtrot : RscRadioText {
|
||||
y = 0.65;
|
||||
};
|
||||
|
||||
class RadioGolf : RscRadioText {
|
||||
y = 0.77;
|
||||
};
|
||||
|
||||
class RadioHotel : RscRadioText {
|
||||
y = 0.89;
|
||||
};
|
||||
|
||||
class RadioIndia : RscRadioText {
|
||||
y = 1.01;
|
||||
};
|
||||
|
||||
class RadioJuliet : RscRadioText {
|
||||
y = 1.13;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class RscDisplayClientGetReady : RscDisplayGetReady {
|
||||
onload = "private ['_dummy']; _dummy = [_this,'onload'] call compile preprocessfile '\ca\ui\scripts\server_interface.sqf';";
|
||||
color0[] = {0.4, 0.4, 0.4, 1};
|
||||
color1[] = {1, 0.6, 0, 1};
|
||||
color2[] = {0.1961, 0.1451, 0.0941, 1.0};
|
||||
|
||||
class controls {
|
||||
class B_Cancel {};
|
||||
class B_Continue {};
|
||||
|
||||
class PlayersTitle : RscText {
|
||||
x = -2;
|
||||
y = -2;
|
||||
};
|
||||
|
||||
class Players : RscListBox {
|
||||
x = -2;
|
||||
y = -2;
|
||||
};
|
||||
|
||||
class CA_MainBackground : IGUIBack {
|
||||
idc = 1020;
|
||||
x = "SafeZoneX + 0.010 * SafeZoneW";
|
||||
y = "SafeZoneY + 0.031";
|
||||
w = "0.98*SafeZoneW";
|
||||
h = 0.082;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
class CA_TopicsBackground : IGUIBack {
|
||||
idc = 1021;
|
||||
x = "0.010*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.117";
|
||||
w = "0.146*SafeZoneW";
|
||||
h = 0.53;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
class CA_SubTopicsBackground : IGUIBack {
|
||||
idc = 1022;
|
||||
x = "0.16*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.117";
|
||||
w = "0.283*SafeZoneW";
|
||||
h = 0.53;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
class CA_ContentBackground : IGUIBack {
|
||||
idc = 1023;
|
||||
x = "0.446*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.117";
|
||||
w = "SafeZoneW * 0.544";
|
||||
h = 0.832;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
delete CA_PlayerName;
|
||||
delete CA_PlayerRank;
|
||||
|
||||
class CA_MissionName : RscText {
|
||||
idc = 112;
|
||||
style = 1;
|
||||
x = "0.02*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.033";
|
||||
w = "0.96 * SafeZoneW";
|
||||
h = 0.041;
|
||||
sizeEx = 0.034;
|
||||
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||
text = $STR_DIARY_MISSION_NAME;
|
||||
};
|
||||
|
||||
delete CA_CurrentTaskLabel;
|
||||
delete CA_CurrentTask;
|
||||
|
||||
class DiaryList : RscIGUIListBox {
|
||||
idc = 1001;
|
||||
onLBSelChanged = "[_this select 0, _this select 1, 'List'] call compile preprocessFileLineNumbers 'ca\Warfare2\Scripts\Client\GUI\GUI_logEH.sqf'; private ['_dummy']; _dummy = [_this,'onLBSelChanged'] call compile preprocessfile '\ca\ui\scripts\server_interface.sqf';";
|
||||
default = 1;
|
||||
x = "0.010*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.137";
|
||||
w = "0.146*SafeZoneW";
|
||||
h = 0.6;
|
||||
};
|
||||
|
||||
class CA_DiaryIndex : RscIGUIListBox {
|
||||
idc = 1002;
|
||||
onLBSelChanged = "[_this select 0, _this select 1, 'Index'] call compile preprocessFileLineNumbers 'ca\Warfare2\Scripts\Client\GUI\GUI_logEH.sqf';";
|
||||
default = 0;
|
||||
x = "0.16*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.137";
|
||||
w = "0.283*SafeZoneW";
|
||||
h = 0.6;
|
||||
sizeEx = 0.034;
|
||||
};
|
||||
|
||||
class CA_DiaryGroup : RscControlsGroup {
|
||||
idc = 1013;
|
||||
x = "0.446*SafeZoneW + SafeZoneX";
|
||||
y = "SafeZoneY + 0.137";
|
||||
w = "0.534*SafeZoneW";
|
||||
h = 0.718;
|
||||
|
||||
class VScrollbar {
|
||||
autoScrollSpeed = -1;
|
||||
autoScrollDelay = 5;
|
||||
autoScrollRewind = 0;
|
||||
color[] = {1, 1, 1, 1};
|
||||
width = 0.01;
|
||||
};
|
||||
|
||||
class HScrollbar {
|
||||
color[] = {1, 1, 1, 0};
|
||||
height = 0.001;
|
||||
};
|
||||
|
||||
class Controls {
|
||||
class CA_Diary : RscHTML {
|
||||
idc = 1003;
|
||||
cycleLinks = 0;
|
||||
cycleAllLinks = 0;
|
||||
default = 0;
|
||||
x = "0.01*SafeZoneW";
|
||||
y = 0.0;
|
||||
w = "0.514*SafeZoneW";
|
||||
h = 1.807;
|
||||
colorText[] = {0.95, 0.95, 0.95, 1};
|
||||
|
||||
class H1 {
|
||||
font = "Zeppelin32";
|
||||
fontBold = "Zeppelin32";
|
||||
sizeEx = 0.034;
|
||||
};
|
||||
|
||||
class P {
|
||||
font = "Zeppelin32";
|
||||
fontBold = "Zeppelin32";
|
||||
sizeEx = 0.034;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CA_ButtonsBackground : IGUIBack {
|
||||
idc = 1026;
|
||||
x = "0.010*SafeZoneW + SafeZoneX";
|
||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.887)";
|
||||
w = "SafeZoneW * 0.98";
|
||||
h = 0.082;
|
||||
colorbackground[] = {0.1961, 0.1451, 0.0941, 0.85};
|
||||
};
|
||||
|
||||
class ButtonCancel : RscIGUIShortcutButton {
|
||||
idc = 2;
|
||||
shortcuts[] = {0x00050000 + 1};
|
||||
x = "0.031 + SafeZoneX";
|
||||
y = "(SafeZoneH + SafeZoneY) - (1 - 0.908)";
|
||||
text = $STR_DISP_CANCEL;
|
||||
};
|
||||
|
||||
class ButtonContinue : ButtonCancel {
|
||||
idc = 1;
|
||||
shortcuts[] = {0x00050000 + 8};
|
||||
x = "((SafeZoneW + SafeZoneX) - (1 - 0.788))";
|
||||
text = $STR_DISP_CONTINUE;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//Remove Diary
|
||||
class RscDisplayDiary {
|
||||
idd = 129;
|
||||
@@ -196,6 +687,9 @@ class RscDisplayDiary {
|
||||
delete DiaryPage;
|
||||
delete DiaryTitle;
|
||||
delete DiaryBackground;
|
||||
delete CA_PlayerName;
|
||||
delete CA_CurrentTaskLabel;
|
||||
delete CA_CurrentTask;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -358,14 +852,16 @@ class RscDisplayGear
|
||||
y = -0.00102941;
|
||||
text = "Gear";
|
||||
};
|
||||
class Unit_Title: RscText
|
||||
{
|
||||
|
||||
class Unit_Title : RscText {
|
||||
idc = 101;
|
||||
style = 2;
|
||||
x = 0.502419;
|
||||
y = 0.0492156;
|
||||
w = 0.456;
|
||||
x = 0;
|
||||
y = 0;
|
||||
w = 0;
|
||||
text = "";
|
||||
};
|
||||
|
||||
class Available_items_Text: RscText
|
||||
{
|
||||
idc = 156;
|
||||
|
||||
@@ -24,7 +24,7 @@ item19[] = {"ERROR__Wrong_HIVE",2,250,175.000000,350.000000,275.000000,400.00000
|
||||
item20[] = {"Hive_Ok",4,218,-175.000000,400.000000,-75.000000,450.000000,0.000000,"Hive" \n "Ok"};
|
||||
item21[] = {"Phase_One",2,250,-75.000000,450.000000,25.000000,500.000000,0.000000,"Phase One"};
|
||||
item22[] = {"Response",4,218,-175.000000,500.000000,-75.000000,550.000000,0.000000,"Response"};
|
||||
item23[] = {"Phase_Two",2,250,-75.000000,550.000000,25.000000,600.000000,0.000000,"Phase Two"};
|
||||
item23[] = {"Phase_Two",2,4346,-75.000000,550.000000,25.000000,600.000000,0.000000,"Phase Two"};
|
||||
item24[] = {"Dead_Player",4,218,50.000000,550.000000,150.000000,600.000000,0.000000,"Dead" \n "Player"};
|
||||
item25[] = {"ERROR__Player_Already",2,250,175.000000,550.000000,275.000000,600.000000,0.000000,"ERROR:" \n "Player Already" \n "Dead"};
|
||||
item26[] = {"Alive",4,218,-175.000000,600.000000,-75.000000,650.000000,0.000000,"Alive"};
|
||||
@@ -36,7 +36,7 @@ item31[] = {"ERROR__Bad_Versi",2,250,175.000000,650.000000,275.000000,700.000000
|
||||
item32[] = {"Display_Ready",4,218,-175.000000,900.000000,-75.000000,950.000000,0.000000,"Display" \n "Ready"};
|
||||
item33[] = {"Preload_Display",2,250,-75.000000,950.000000,25.000000,1000.000000,0.000000,"Preload" \n "Display"};
|
||||
item34[] = {"Preload_Done",4,218,-175.000000,1000.000000,-75.000000,1050.000000,0.000000,"Preload" \n "Done"};
|
||||
item35[] = {"Initialize",2,4346,-75.000000,1050.000000,25.000000,1100.000000,0.000000,"Initialize"};
|
||||
item35[] = {"Initialize",2,250,-75.000000,1050.000000,25.000000,1100.000000,0.000000,"Initialize"};
|
||||
item36[] = {"Finish",1,250,-75.000000,1150.000000,25.000000,1200.000000,0.000000,"Finish"};
|
||||
item37[] = {"True",8,218,25.000000,1100.000000,125.000000,1150.000000,0.000000,"True"};
|
||||
item38[] = {"Too_Long",4,218,300.000000,150.000000,400.000000,200.000000,0.000000,"Too" \n "Long"};
|
||||
@@ -119,8 +119,8 @@ link59[] = {51,52};
|
||||
link60[] = {52,29};
|
||||
link61[] = {53,54};
|
||||
link62[] = {54,20};
|
||||
globals[] = {25.000000,1,0,0,0,640,480,1,85,6316128,1,-390.091248,277.974548,1208.543457,428.837982,567,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,760,22,993,0,3,585};
|
||||
globals[] = {25.000000,1,0,0,0,640,480,1,85,6316128,1,-452.194977,340.078094,1506.747437,277.117401,566,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,760,28,999,0,3,584};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@@ -723,10 +723,21 @@ class FSM
|
||||
" //player is new, add initial loadout" \n
|
||||
" _config = (configFile >> ""CfgSurvival"" >> ""Inventory"" >> ""Default"");" \n
|
||||
" _mags = getArray (_config >> ""magazines"");" \n
|
||||
" _wpns = getArray (_config >> ""weapons"");" \n
|
||||
" _wpns = getArray (_config >> ""weapons""); " \n
|
||||
" _bcpk = getText (_config >> ""backpack"");" \n
|
||||
" _bcpkWpn = getText (_config >> ""backpackWeapon"");" \n
|
||||
" " \n
|
||||
" if(!isNil ""DefaultMagazines"") then {" \n
|
||||
" _mags = DefaultMagazines;" \n
|
||||
" };" \n
|
||||
" if(!isNil ""DefaultWeapons"") then {" \n
|
||||
" _wpns = DefaultWeapons;" \n
|
||||
" };" \n
|
||||
" if(!isNil ""DefaultBackpack"") then {" \n
|
||||
" _bcpk = DefaultBackpack;" \n
|
||||
" };" \n
|
||||
" if(!isNil ""DefaultBackpackWeapon"") then {" \n
|
||||
" _bcpkWpn = DefaultBackpackWeapon;" \n
|
||||
" };" \n
|
||||
" //Add inventory" \n
|
||||
" {" \n
|
||||
" _isOK = isClass(configFile >> ""CfgMagazines"" >> _x);" \n
|
||||
@@ -988,6 +999,9 @@ class FSM
|
||||
"if (player hasWeapon ""MeleeMachete"") then {" \n
|
||||
" player addMagazine 'machete_swing';" \n
|
||||
"};" \n
|
||||
"if (player hasWeapon ""MeleeFishingPole"") then {" \n
|
||||
" player addMagazine 'Fishing_Swing';" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"reload player;" \n
|
||||
"" \n
|
||||
|
||||
BIN
dayz_communityassets/textures/camo10.paa
Normal file
BIN
dayz_communityassets/textures/camo10.paa
Normal file
Binary file not shown.
@@ -1035,7 +1035,7 @@ class CfgMagazines
|
||||
class Crafting2
|
||||
{
|
||||
text = "Craft Green Tent";
|
||||
script = "spawn player_craftItem1;";
|
||||
script = "spawn player_craftItem2;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemTentDomed2",1}};
|
||||
@@ -1044,7 +1044,7 @@ class CfgMagazines
|
||||
class Crafting3
|
||||
{
|
||||
text = "Craft Sun Shade";
|
||||
script = "spawn player_craftItem2;";
|
||||
script = "spawn player_craftItem3;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"sun_shade_kit",1}};
|
||||
@@ -1053,7 +1053,7 @@ class CfgMagazines
|
||||
class Crafting4
|
||||
{
|
||||
text = "Craft Burlap";
|
||||
script = "spawn player_craftItem3;";
|
||||
script = "spawn player_craftItem4;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemBurlap",1}};
|
||||
@@ -1392,9 +1392,8 @@ class CfgMagazines
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Light Bulb";
|
||||
// TODO model + texture
|
||||
model = "\dayz_equip\models\fad.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fad_ca.paa";
|
||||
model = "\dayz_equip\models\bulb.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bulb_CA.paa";
|
||||
descriptionShort = "Light Bulb";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
@@ -1445,7 +1444,7 @@ class CfgMagazines
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemPole",1}};
|
||||
input[] = {{"PartGeneric",1},{"ItemTankTrap",1}};
|
||||
input[] = {{"PartGeneric",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1501,9 +1500,8 @@ class CfgMagazines
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Metal Pole";
|
||||
// TODO model and picture
|
||||
model = "\dayz_equip\models\genericparts.p3d";
|
||||
picture = "\dayz_equip\textures\equip_genericparts_ca.paa";
|
||||
model = "\dayz_equip\models\pipe.p3d";
|
||||
picture = "\dayz_equip\textures\equip_pipe_CA.paa";
|
||||
descriptionShort = "Metal Pole";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
@@ -1513,7 +1511,7 @@ class CfgMagazines
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemCorrugated",1}};
|
||||
input[] = {{"ItemPole",1},{"PartGeneric",2},{"ItemTankTrap",1},{"PartWoodLumber",2}};
|
||||
input[] = {{"ItemPole",2},{"ItemTankTrap",2},{"PartWoodLumber",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
@@ -1550,7 +1548,7 @@ class CfgMagazines
|
||||
{
|
||||
text = "Craft Lumber";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
neednearby[] = {"sawmill"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"PartWoodLumber",1}};
|
||||
input[] = {{"PartWoodPile",2}};
|
||||
@@ -1584,9 +1582,8 @@ class CfgMagazines
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Lumber";
|
||||
// TODO make custom model and icon
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
model = "\dayz_equip\models\planks.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wood_planks_CA.paa";
|
||||
descriptionShort = "Lumber";
|
||||
class ItemActions {
|
||||
class Build {
|
||||
@@ -1599,7 +1596,7 @@ class CfgMagazines
|
||||
{
|
||||
text = "Craft Plywood";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
neednearby[] = {"sawmill"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"PartWoodPlywood",1}};
|
||||
input[] = {{"PartWoodLumber",2}};
|
||||
@@ -1623,9 +1620,8 @@ class CfgMagazines
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Plywood";
|
||||
// TODO make custom model and icon
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
model = "\dayz_equip\models\plywood.p3d";
|
||||
picture = "\dayz_equip\textures\equip_plywood_CA.paa";
|
||||
descriptionShort = "Plywood";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
@@ -1763,13 +1759,6 @@ class CfgMagazines
|
||||
picture = "\dayz_equip\textures\equip_soda_mdew_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_NAME_37";
|
||||
};
|
||||
class ItemSodaRbull: ItemSodaCoke
|
||||
{
|
||||
displayName = "Soda Can (Red Bull)";
|
||||
model = "\dayz_equip\models\soda_rbull.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_rbull_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_NAME_37";
|
||||
};
|
||||
class ItemBriefcase: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -1788,7 +1777,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "Gold";
|
||||
model = "\dayz_equip\models\gold_bar.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_gold_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_gold_bar_CA.paa";
|
||||
descriptionShort = "Gold Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -1811,7 +1800,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "10oz Gold";
|
||||
model = "\dayz_equip\models\gold_bar_10oz.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_gold10oz_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_gold_bar_10oz_CA.paa";
|
||||
descriptionShort = "10oz Gold Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -1833,7 +1822,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "Silver";
|
||||
model = "\dayz_equip\models\silver_bar.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_silver_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_silver_bar_CA.paa";
|
||||
descriptionShort = "Silver Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -1856,7 +1845,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "10oz Silver";
|
||||
model = "\dayz_equip\models\silver_bar_10oz.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_silver10oz_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_silver_bar_10oz_CA.paa";
|
||||
descriptionShort = "10oz Silver Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -1878,7 +1867,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "Copper";
|
||||
model = "\dayz_equip\models\copper_bar.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_copper_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_copper_bar_CA.paa";
|
||||
descriptionShort = "Copper Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -1901,7 +1890,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "10oz Copper";
|
||||
model = "\dayz_equip\models\copper_bar_10oz.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_copper10oz_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_copper_bar_10oz_CA.paa";
|
||||
descriptionShort = "10oz Copper Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -1934,7 +1923,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "Aluminum";
|
||||
model = "\dayz_equip\models\aluminum_bar.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_aluminum_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_alum_bar_CA.paa";
|
||||
descriptionShort = "Aluminum Bar";
|
||||
|
||||
};
|
||||
@@ -1945,7 +1934,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "10oz Aluminum";
|
||||
model = "\dayz_equip\models\aluminum_bar.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_aluminum_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_alum_bar_10oz_CA.paa";
|
||||
descriptionShort = "10oz Aluminum Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -1967,7 +1956,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "Tin";
|
||||
model = "\dayz_equip\models\tin_bar.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_tin_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_tin_bar_CA.paa";
|
||||
descriptionShort = "Tin Bar";
|
||||
|
||||
};
|
||||
@@ -1978,7 +1967,7 @@ class CfgMagazines
|
||||
type = 256;
|
||||
displayName = "10oz Tin";
|
||||
model = "\dayz_equip\models\tin_bar.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_tin_CA.paa";
|
||||
picture = "\dayz_equip\textures\equip_tin_bar_10oz_CA.paa";
|
||||
descriptionShort = "10oz Tin Bar";
|
||||
class ItemActions
|
||||
{
|
||||
@@ -2315,6 +2304,104 @@ class CfgMagazines
|
||||
};
|
||||
};
|
||||
};
|
||||
class desert_large_net_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Large Desert Camo Net";
|
||||
descriptionShort = "Large Desert Camo Net";
|
||||
model = "\dayz_equip\models\supply_crate.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "DesertLargeCamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class forest_large_net_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Large Forest Camo Net";
|
||||
descriptionShort = "Large Forest Camo Net";
|
||||
model = "\dayz_equip\models\supply_crate.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "ForestLargeCamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class desert_net_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Desert Camo Net";
|
||||
descriptionShort = "Desert Camo Net";
|
||||
model = "\dayz_equip\models\supply_crate.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "DesertCamoNet_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Lg Camo Net";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_large_net_kit",1}};
|
||||
input[] = {{"desert_net_kit",3}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class forest_net_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Forest Camo Net";
|
||||
descriptionShort = "Forest Camo Net";
|
||||
model = "\dayz_equip\models\supply_crate.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "ForestCamoNet_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Lg Camo Net";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_large_net_kit",1}};
|
||||
input[] = {{"forest_net_kit",3}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class fuel_pump_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -2495,6 +2582,26 @@ class CfgMagazines
|
||||
};
|
||||
};
|
||||
};
|
||||
class sandbag_nest_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Sandbag Nest";
|
||||
descriptionShort = "Sandbag Nest";
|
||||
model = "\dayz_equip\models\supply_crate.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "SandNest_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class outhouse_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -2575,25 +2682,6 @@ class CfgMagazines
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemTent: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_20";
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_20";
|
||||
class ItemActions
|
||||
{
|
||||
class Pitch
|
||||
{
|
||||
text = "$STR_PITCH_TENT";
|
||||
script = "spawn player_tentPitch;";
|
||||
create = "TentStorage";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTankTrap: CA_Magazine
|
||||
{
|
||||
@@ -2886,6 +2974,57 @@ class CfgVehicles
|
||||
vehicleClass = "Fortifications";
|
||||
removeoutput[] = {{"park_bench_kit",1}};
|
||||
};
|
||||
class Land_CamoNet_EAST_EP1;
|
||||
class DesertCamoNet_DZ: Land_CamoNet_EAST_EP1
|
||||
{
|
||||
armor = 300;
|
||||
scope = 2;
|
||||
offset[] = {0,5,0};
|
||||
displayName = "Desert Camo Net";
|
||||
vehicleClass = "Fortifications";
|
||||
removeoutput[] = {{"desert_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNet_EAST;
|
||||
class ForestCamoNet_DZ: Land_CamoNet_EAST
|
||||
{
|
||||
armor = 300;
|
||||
scope = 2;
|
||||
offset[] = {0,5,0};
|
||||
displayName = "Forest Camo Net";
|
||||
vehicleClass = "Fortifications";
|
||||
removeoutput[] = {{"forest_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNetB_EAST_EP1;
|
||||
class DesertLargeCamoNet_DZ: Land_CamoNetB_EAST_EP1
|
||||
{
|
||||
armor = 300;
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
displayName = "Large Desert Camo Net";
|
||||
vehicleClass = "Fortifications";
|
||||
removeoutput[] = {{"desert_large_net_kit",1}};
|
||||
};
|
||||
class Land_CamoNetB_EAST;
|
||||
class ForestLargeCamoNet_DZ: Land_CamoNetB_EAST
|
||||
{
|
||||
armor = 300;
|
||||
scope = 2;
|
||||
offset[] = {0,9,0};
|
||||
displayName = "Large Forest Camo Net";
|
||||
vehicleClass = "Fortifications";
|
||||
removeoutput[] = {{"forest_large_net_kit",1}};
|
||||
};
|
||||
|
||||
class Land_fortified_nest_small_EP1;
|
||||
class SandNest_DZ: Land_fortified_nest_small_EP1
|
||||
{
|
||||
armor = 400;
|
||||
scope = 2;
|
||||
offset[] = {0,3,1};
|
||||
displayName = "Sandbag Nest";
|
||||
vehicleClass = "Fortifications";
|
||||
removeoutput[] = {{"sandbag_nest_kit",1}};
|
||||
};
|
||||
class Land_Wall_Gate_Ind1_L;
|
||||
class MetalGate_DZ: Land_Wall_Gate_Ind1_L
|
||||
{
|
||||
@@ -2928,7 +3067,7 @@ class CfgVehicles
|
||||
transportMaxMagazines = 400;
|
||||
transportMaxWeapons = 40;
|
||||
transportMaxBackpacks = 20;
|
||||
constructioncount = 10;
|
||||
constructioncount = 5;
|
||||
};
|
||||
class Fence_corrugated_plate;
|
||||
class Fence_corrugated_DZ: Fence_corrugated_plate
|
||||
@@ -2953,7 +3092,7 @@ class CfgVehicles
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 10;
|
||||
transportMaxBackpacks = 5;
|
||||
constructioncount = 10;
|
||||
constructioncount = 5;
|
||||
};
|
||||
class Land_Shed_wooden;
|
||||
class Wooden_shed_DZ: Land_Shed_wooden
|
||||
@@ -3008,9 +3147,29 @@ class CfgVehicles
|
||||
source = "User";
|
||||
animPeriod = 1;
|
||||
initPhase = 0;
|
||||
}
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
class UserActions
|
||||
{
|
||||
class CloseDoor
|
||||
{
|
||||
position = "";
|
||||
displayName = "Close Door";
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "this animationPhase 'DoorR' == 1";
|
||||
statement = "this animate ['DoorR', 0];";
|
||||
};
|
||||
class OpenDoor
|
||||
{
|
||||
position = "";
|
||||
displayName = "Open Door";
|
||||
radius = 1.5;
|
||||
onlyForPlayer = 0;
|
||||
condition = "this animationPhase 'DoorR' == 0";
|
||||
statement = "this animate ['DoorR', 1];";
|
||||
};
|
||||
};
|
||||
};
|
||||
class BearTrap_DZ: TrapItems
|
||||
{
|
||||
|
||||
Binary file not shown.
BIN
dayz_equip/models/aluminum_bar_10oz.p3d
Normal file
BIN
dayz_equip/models/aluminum_bar_10oz.p3d
Normal file
Binary file not shown.
BIN
dayz_equip/models/bulb.p3d
Normal file
BIN
dayz_equip/models/bulb.p3d
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
dayz_equip/models/female_soldier.p3d
Normal file
BIN
dayz_equip/models/female_soldier.p3d
Normal file
Binary file not shown.
BIN
dayz_equip/models/fishing_rod.p3d
Normal file
BIN
dayz_equip/models/fishing_rod.p3d
Normal file
Binary file not shown.
BIN
dayz_equip/models/fishing_rod_loot.p3d
Normal file
BIN
dayz_equip/models/fishing_rod_loot.p3d
Normal file
Binary file not shown.
BIN
dayz_equip/models/fishing_rod_loot_item.p3d
Normal file
BIN
dayz_equip/models/fishing_rod_loot_item.p3d
Normal file
Binary file not shown.
BIN
dayz_equip/models/fishing_rod_weaponized.p3d
Normal file
BIN
dayz_equip/models/fishing_rod_weaponized.p3d
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user