mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-14 12:12:56 +03:00
1.0.0.3 Developer Build
+ [FIXED] Battleye kick when calling dog. Thanks to @kikyou2 + [FIXED] Moved vehicle event handler to server side with a call to all connected clients. Before it was just set on only the owner and the server. This should fix issues with damage/repair handling of just purchased vehicles. + [FIXED] Fixed case sensitivity in building loot generation. This was only a problem on new maps that share the same buildings as others yet have differing case in the classnames. + [ADDED] New build-ables: Fence_corrugated_DZ, M240Nest_DZ, CanvasHut_DZ, ParkBench_DZ, MetalGate_DZ, OutHouse_DZ, Wooden_shed_DZ, WoodShack_DZ, StorageShed_DZ. + [ADDED] New crafting items: ItemCanvas, PartWoodLumber, PartWoodPlywood, ItemCorrugated, ItemPole + [ADDED] 55 gallon (210 liter) Fuel Barrel that can only be used on helicopters or fuel trucks. + [ADDED] All DayZ specific magazine items now only take one slot, this also makes it easier to become over burdened so be careful about blacking out. + [ADDED] More building loot spawn positions for Namalsk. + [FIXED] When packing tent get classname of new weapon_holder from config. + [CHANGED] Totally reworked player building system. Preview and placement accuracy has been significantly improved. Building now requires X number of stages to complete. Players cannot build while in combat. + [CHANGED] Added required tools array and is nearby checking for fire, etc. Also, each item can now have 5 separate crafting options. + [CHANGED] Reworked refuel and siphon code to support more can types. + [CHANGED] Removed all infinite fueling sources and added (KamazRefuel_DZ, UralRefuel_TK_EP1_DZ,MtvrRefuel_DES_EP1_DZ) variants of the fuel trucks to remove auto refuel and increase siphon-able fuel capacity to 10000. Old style refuel can still be used if the variable dayz_oldrefuel = true is set in the missions init.sqf. + [CHANGED] Remove object code now uses config variables instead of hard coded into sqf (default: constructioncount = 5) + [CHANGED] Moved most arrays for revealing objects, allowed objects, update objects, disallowed combat roll to arrays within variables.sqf. So that these arrays are unified and easier to change. + [CHANGED] New vehicle spawns now have a new fuel system using a random percent between min and max variables. Defaults: (DynamicVehicleFuelLow = 0; DynamicVehicleFuelHigh = 100;) + [CHANGED] New vehicle spawns now damage all parts and without a limiter on fuel and engine parts, this could cause a vehicle to be very close to blowing up. + [CHANGED] Disabled simulation server side of all road debris and crashes.
This commit is contained in:
@@ -1003,6 +1003,77 @@ class CfgMagazines
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemCanvas: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Canvas";
|
||||
model = "\dayz_equip\models\cloth_parcel.p3d";
|
||||
picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
|
||||
descriptionShort = "Canvas Parcel";
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Tent";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemTent",1}};
|
||||
input[] = {{"ItemCanvas",2},{"ItemPole",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Desert Tent";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemTentDomed",1}};
|
||||
input[] = {{"ItemCanvas",2},{"ItemPole",2}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = "Craft Sun Shade";
|
||||
script = "spawn player_craftItem2;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"sun_shade_kit",1}};
|
||||
input[] = {{"ItemCanvas",1},{"PartWoodLumber",4}};
|
||||
};
|
||||
class Crafting3
|
||||
{
|
||||
text = "Craft Burlap";
|
||||
script = "spawn player_craftItem3;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemBurlap",1}};
|
||||
input[] = {{"ItemCanvas",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemBurlap: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Burlap";
|
||||
model = "\dayz_equip\models\sandbags.p3d";
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
descriptionShort = "Burlap Bag";
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Sandbag";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"sand"}; // todo add sand requirement
|
||||
requiretools[] = {"ItemEtool"};
|
||||
output[] = {{"ItemSandbag",1}};
|
||||
input[] = {{"ItemBurlap",3}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class SkinBase: CA_Magazine
|
||||
{
|
||||
scope = 0;
|
||||
@@ -1019,6 +1090,15 @@ class CfgMagazines
|
||||
text = "Wear %1";
|
||||
script = "spawn player_wearClothes;";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Canvas";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemCanvas",1}};
|
||||
input[] = {{"SkinBase",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class Skin_Sniper1_DZ: SkinBase
|
||||
@@ -1229,7 +1309,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 4)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_8";
|
||||
model = "\dayz_equip\models\fueltank.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fueltank_ca.paa";
|
||||
@@ -1239,7 +1319,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 6)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_9";
|
||||
model = "\dayz_equip\models\wheel.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wheel_ca.paa";
|
||||
@@ -1249,17 +1329,105 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 3)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_10";
|
||||
model = "\dayz_equip\models\genericparts.p3d";
|
||||
picture = "\dayz_equip\textures\equip_genericparts_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_10";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Pole";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemPole",1}};
|
||||
input[] = {{"PartGeneric",2},{"ItemTankTrap",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemCorrugated : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Corrugated Fence";
|
||||
// TODO model and picture
|
||||
model = "\dayz_equip\models\genericparts.p3d";
|
||||
picture = "\dayz_equip\textures\equip_genericparts_ca.paa";
|
||||
descriptionShort = "Corrugated Fence";
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = "Build Corrugated Fence";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "Fence_corrugated_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Wooden Shed";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"wooden_shed_kit",1}};
|
||||
input[] = {{"ItemCorrugated",2},{"PartWoodPlywood",5},{"PartWoodLumber",5}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Outhouse";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"outhouse_kit",1}};
|
||||
input[] = {{"ItemCorrugated",1},{"PartWoodPlywood",5},{"PartWoodLumber",3},{"ItemTrashToiletpaper",1}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = "Craft Storage Shed";
|
||||
script = "spawn player_craftItem2;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"storage_shed_kit",1}};
|
||||
input[] = {{"ItemCorrugated",5},{"PartWoodPlywood",2},{"PartWoodLumber",5}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemPole: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
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";
|
||||
descriptionShort = "Metal Pole";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Corrugated Fence";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemCorrugated",1}};
|
||||
input[] = {{"ItemPole",2},{"PartGeneric",4},{"PartWoodLumber",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Rusty Gate";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"rusty_gate_kit",1}};
|
||||
input[] = {{"ItemPole",6},{"PartGeneric",3},{"ItemTankTrap",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartEngine: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 6)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_11";
|
||||
model = "\dayz_equip\models\engine.p3d";
|
||||
picture = "\dayz_equip\textures\equip_engine_ca.paa";
|
||||
@@ -1269,33 +1437,119 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 2)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_40";
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_40";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Lumber";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"PartWoodLumber",1}};
|
||||
input[] = {{"PartWoodPile",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Arrows";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemKnife"};
|
||||
output[] = {{"WoodenArrow",3}};
|
||||
input[] = {{"PartWoodPile",1},{"ItemTrashRazor",1}};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartWoodLumber: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Wood Lumber";
|
||||
// TODO make custom model and icon
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
descriptionShort = "Wood Lumber";
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = "Build Wood Gate";
|
||||
script = "spawn player_build;";
|
||||
require = "ItemToolbox";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodGate_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Arrows";
|
||||
text = "Craft Plywood";
|
||||
script = "spawn player_craftItem;";
|
||||
output[] = {{"WoodenArrow",3}};
|
||||
input[] = {{"PartWoodPile",1},{"ItemTrashRazor",1}};
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"PartWoodPlywood",1}};
|
||||
input[] = {{"PartWoodLumber",2}};
|
||||
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = "Craft Wood Bench";
|
||||
script = "spawn player_craftItem1;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"park_bench_kit",1}};
|
||||
input[] = {{"PartWoodLumber",4}};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartWoodPlywood: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Wood Plywood";
|
||||
// TODO make custom model and icon
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
descriptionShort = "Wood Plywood";
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = "Craft Shed";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"wood_shack_kit",1}};
|
||||
input[] = {{"PartWoodPlywood",4},{"PartWoodLumber",4}};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartWoodShed: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Wooden Shack";
|
||||
// TODO make custom model and icon
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
descriptionShort = "Wooden Shack";
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = "Build Wood Shack";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodShack_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartVRotor: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 6)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_32";
|
||||
model = "\dayz_equip\models\vrotor.p3d";
|
||||
picture = "\dayz_equip\textures\equip_vrotor_ca.paa";
|
||||
@@ -1305,7 +1559,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 2)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_30";
|
||||
model = "\dayz_equip\models\carglass.p3d";
|
||||
picture = "\dayz_equip\textures\equip_carglass_ca.paa";
|
||||
@@ -1406,7 +1660,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 3)";
|
||||
type = 256;
|
||||
displayName = "Briefcase";
|
||||
// model = "\misc3\briefcase.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bar_gold_CA.paa";
|
||||
@@ -1428,6 +1682,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 10oz bar";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemGoldBar10oz",1}};
|
||||
input[] = {{"ItemGoldBar",10}};
|
||||
|
||||
@@ -1449,6 +1705,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 1oz bars";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemGoldBar",10}};
|
||||
input[] = {{"ItemGoldBar10oz",1}};
|
||||
};
|
||||
@@ -1469,6 +1727,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 10oz bar";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemSilverBar10oz",1}};
|
||||
input[] = {{"ItemSilverBar",10}};
|
||||
};
|
||||
@@ -1490,6 +1750,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 1oz bars";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemSilverBar",10}};
|
||||
input[] = {{"ItemSilverBar10oz",1}};
|
||||
};
|
||||
@@ -1510,6 +1772,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 10oz bar";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemCopperBar10oz",1}};
|
||||
input[] = {{"ItemCopperBar",10}};
|
||||
};
|
||||
@@ -1531,6 +1795,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 1oz bars";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemCopperBar",10}};
|
||||
input[] = {{"ItemCopperBar10oz",1}};
|
||||
};
|
||||
@@ -1573,6 +1839,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 1oz bars";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemAluminumBar",10}};
|
||||
input[] = {{"ItemAluminumBar10oz",1}};
|
||||
};
|
||||
@@ -1604,6 +1872,8 @@ class CfgMagazines
|
||||
{
|
||||
text = "Smelt 1oz bars";
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemTinBar",10}};
|
||||
input[] = {{"ItemTinBar10oz",1}};
|
||||
};
|
||||
@@ -1614,7 +1884,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 2)";
|
||||
type = 256;
|
||||
displayName = "Zombie Parts";
|
||||
model = "\dayz_equip\models\zombie_parts_bag_v2.p3d";
|
||||
picture = "\dayz_equip\textures\parts_bag_texture3c_CA.paa";
|
||||
@@ -1717,19 +1987,41 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
// fuelQuantity = 20;
|
||||
type = "(256 * 6)";
|
||||
// fuelQuantity = 210;
|
||||
type = 256;
|
||||
displayName = "Oil Barrel";
|
||||
model = "\dayz_equip\models\oil_drum_model.p3d";
|
||||
picture = "\dayz_equip\textures\equip_oil_drum_model_ca.paa";
|
||||
descriptionShort = "210 litres of Oil in a Barrel";
|
||||
};
|
||||
class ItemFuelBarrel: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
fuelQuantity = 210;
|
||||
type = 256;
|
||||
displayName = "Fuel Barrel";
|
||||
model = "\dayz_equip\models\oil_drum_model.p3d";
|
||||
picture = "\dayz_equip\textures\equip_oil_drum_model_ca.paa";
|
||||
descriptionShort = "210 litres of fuel in a Barrel";
|
||||
};
|
||||
class ItemFuelBarrelEmpty: ItemFuelBarrel
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
fuelQuantity = 0;
|
||||
type = 256;
|
||||
displayName = "Fuel Barrel (Empty)";
|
||||
// TODO add X to icon to represent empty barrel
|
||||
picture = "\dayz_equip\textures\equip_oil_drum_model_ca.paa";
|
||||
descriptionShort = "210 litres of fuel in a Barrel (Empty)";
|
||||
};
|
||||
class ItemJerrycan: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
fuelQuantity = 20;
|
||||
type = "(256 * 3)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_19";
|
||||
model = "\dayz_equip\models\jerrycan.p3d";
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
|
||||
@@ -1738,7 +2030,7 @@ class CfgMagazines
|
||||
class ItemJerrycanEmpty: ItemJerrycan
|
||||
{
|
||||
fuelQuantity = 0;
|
||||
type = "(256 * 3)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_39";
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_39";
|
||||
@@ -1748,7 +2040,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 6)";
|
||||
type = 256;
|
||||
displayName = "Supply Crate";
|
||||
model = "\dayz_equip\models\supply_crate.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wooden_crate_ca.paa";
|
||||
@@ -1771,14 +2063,14 @@ class CfgMagazines
|
||||
};
|
||||
class bulk_DZ_Backpack_EP1: bulk
|
||||
{
|
||||
descriptionShort = "12 x DZ_Backpack_EP1";
|
||||
descriptionShort = "4 x DZ_Backpack_EP1";
|
||||
class ItemActions
|
||||
{
|
||||
class CreateMags
|
||||
{
|
||||
text = "Open %1";
|
||||
script = "spawn player_loadCrate;";
|
||||
output[] = {"DZ_Backpack_EP1",12,"backpack"};
|
||||
output[] = {"DZ_Backpack_EP1",4,"backpack"};
|
||||
// types magazine, weapon, backpack
|
||||
};
|
||||
};
|
||||
@@ -1888,13 +2180,173 @@ class CfgMagazines
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
// BUILDING KITS
|
||||
class wooden_shed_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Nice Wooden Shed";
|
||||
descriptionShort = "Nice Wooden Shed";
|
||||
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 = "Wooden_shed_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class wood_shack_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Wood Shack";
|
||||
descriptionShort = "Wood Shack";
|
||||
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 = "WoodShack_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class m240_nest_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "M240 Nest";
|
||||
descriptionShort = "M240 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 = "M240Nest_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class sun_shade_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Canvas Sun Shade";
|
||||
descriptionShort = "Canvas Sun Shade";
|
||||
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 = "CanvasHut_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class park_bench_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Wood Bench";
|
||||
descriptionShort = "Wood Bench";
|
||||
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 = "ParkBench_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class rusty_gate_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Rusty Gate";
|
||||
descriptionShort = "Rusty Gate";
|
||||
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 = "MetalGate_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class outhouse_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Outhouse";
|
||||
descriptionShort = "Outhouse";
|
||||
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 = "OutHouse_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class storage_shed_kit: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Storage Shed";
|
||||
descriptionShort = "Storage Shed";
|
||||
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 = "StorageShed_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemGenerator: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 6)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_31";
|
||||
model = "\dayz_equip\models\generator_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_generator_ca.paa";
|
||||
@@ -1905,7 +2357,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 12)";
|
||||
type = 256;
|
||||
displayName = "Safe";
|
||||
model = "\dayz_equip\models\safe1_onside.p3d";
|
||||
picture = "\dayz_equip\textures\equip_safe_ca.paa";
|
||||
@@ -1923,7 +2375,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = "(256 * 3)";
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_20";
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
@@ -1938,29 +2390,7 @@ class CfgMagazines
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemSandbag: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_21";
|
||||
model = "\dayz_equip\models\sandbags.p3d";
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_21";
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = "$STR_ACTIONS_BUILD";
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool"};
|
||||
create = "Sandbag1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
class ItemTankTrap: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -2114,6 +2544,7 @@ class CfgVehicles
|
||||
armor = 400;
|
||||
displayName = "Hedgehog (Steel)";
|
||||
vehicleClass = "Fortifications";
|
||||
constructioncount = 10;
|
||||
};
|
||||
|
||||
|
||||
@@ -2123,7 +2554,7 @@ class CfgVehicles
|
||||
vehicleClass = "Fortifications";
|
||||
model = "\ca\misc\Fort_Razorwire";
|
||||
icon = "\Ca\misc\data\icons\I_drutkolczasty_CA.paa";
|
||||
offset[] = {0,1,5,0.5};
|
||||
offset[] = {0,1.5,0.5};
|
||||
accuracy = 0.3;
|
||||
mapSize = 5.5;
|
||||
displayName = "Wire";
|
||||
@@ -2139,11 +2570,12 @@ class CfgVehicles
|
||||
cost = 100;
|
||||
model = "\ca\misc2\BagFenceLong.p3d";
|
||||
icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa";
|
||||
offset[] = {0,1,5,0.5};
|
||||
offset[] = {0,1.5,0.5};
|
||||
mapSize = 2;
|
||||
armor = 400;
|
||||
displayName = "Bag Fence";
|
||||
vehicleClass = "Fortifications";
|
||||
constructioncount = 10;
|
||||
};
|
||||
|
||||
class Land_HBarrier1_DZ : BuiltItems {
|
||||
@@ -2151,7 +2583,7 @@ class CfgVehicles
|
||||
animated = 0;
|
||||
vehicleClass = "Fortifications";
|
||||
typicalCargo[] = {};
|
||||
offset[] = {0,1,5,0.5};
|
||||
offset[] = {0,1.5,0.5};
|
||||
irTarget = 0;
|
||||
accuracy = 0.3;
|
||||
transportAmmo = 0;
|
||||
@@ -2168,21 +2600,128 @@ class CfgVehicles
|
||||
mapSize = 2;
|
||||
displayName = "H-barrier cube";
|
||||
GhostPreview = "Land_HBarrier1Preview";
|
||||
constructioncount = 20;
|
||||
};
|
||||
class Land_kulna;
|
||||
class WoodGate_DZ: Land_kulna
|
||||
|
||||
// PLAYER BUILDINGS
|
||||
class USMC_WarfareBMGNest_M240;
|
||||
class M240Nest_DZ: USMC_WarfareBMGNest_M240
|
||||
{
|
||||
scope = 2;
|
||||
offset[] = {0,3.5,0};
|
||||
displayName = "M240 Nest";
|
||||
vehicleClass = "Fortifications";
|
||||
transportMaxMagazines = 25;
|
||||
transportMaxWeapons = 4;
|
||||
transportMaxBackpacks = 1;
|
||||
constructioncount = 20;
|
||||
};
|
||||
class Land_covering_hut_EP1;
|
||||
class CanvasHut_DZ: Land_covering_hut_EP1
|
||||
{
|
||||
scope = 2;
|
||||
destrType = "DestructBuilding";
|
||||
cost = 100;
|
||||
offset[] = {0,2.5,1};
|
||||
//model = "\ca\structures\Wall\Gate_wood2_5";
|
||||
//icon = "\ca\data\data\Unknown_object.paa";
|
||||
//mapSize = 2;
|
||||
armor = 100;
|
||||
displayName = "Canvas Hut";
|
||||
vehicleClass = "Fortifications";
|
||||
};
|
||||
class Park_bench1;
|
||||
class ParkBench_DZ: Park_bench1
|
||||
{
|
||||
scope = 2;
|
||||
offset[] = {0,1.5,0.5};
|
||||
displayName = "Wood Bench";
|
||||
vehicleClass = "Fortifications";
|
||||
};
|
||||
class Land_Wall_Gate_Ind1_L;
|
||||
class MetalGate_DZ: Land_Wall_Gate_Ind1_L
|
||||
{
|
||||
scope = 2;
|
||||
offset[] = {0,2.5,1};
|
||||
displayName = "Rusty Gate";
|
||||
vehicleClass = "Fortifications";
|
||||
};
|
||||
class Land_KBud;
|
||||
class OutHouse_DZ: Land_KBud
|
||||
{
|
||||
scope = 2;
|
||||
offset[] = {0,2.5,1};
|
||||
displayName = "Outhouse";
|
||||
vehicleClass = "Fortifications";
|
||||
transportMaxMagazines = 4;
|
||||
transportMaxWeapons = 1;
|
||||
transportMaxBackpacks = 1;
|
||||
constructioncount = 10;
|
||||
class transportmagazines
|
||||
{
|
||||
class _xx_ItemTrashToiletpaper
|
||||
{
|
||||
magazine = "ItemTrashToiletpaper";
|
||||
count = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
class Land_Shed_M01;
|
||||
class StorageShed_DZ: Land_Shed_M01
|
||||
{
|
||||
scope = 2;
|
||||
offset[] = {0,2.5,1};
|
||||
displayName = "Storage Shed";
|
||||
vehicleClass = "Fortifications";
|
||||
transportMaxMagazines = 400;
|
||||
transportMaxWeapons = 40;
|
||||
transportMaxBackpacks = 20;
|
||||
constructioncount = 20;
|
||||
};
|
||||
class Fence_corrugated_plate;
|
||||
class Fence_corrugated_DZ: Fence_corrugated_plate
|
||||
{
|
||||
scope = 2;
|
||||
offset[] = {0,2.5,1};
|
||||
displayName = "Corrugated Fence";
|
||||
vehicleClass = "Fortifications";
|
||||
};
|
||||
class Land_kulna;
|
||||
class WoodShack_DZ: Land_kulna
|
||||
{
|
||||
scope = 2;
|
||||
//destrType = "DestructBuilding";
|
||||
//cost = 100;
|
||||
offset[] = {0,2.5,1.3};
|
||||
//armor = 200;
|
||||
displayName = "Wooden Shack";
|
||||
vehicleClass = "Fortifications";
|
||||
/*
|
||||
transportMaxMagazines = 100;
|
||||
transportMaxWeapons = 10;
|
||||
transportMaxBackpacks = 5;
|
||||
constructioncount = 20;
|
||||
};
|
||||
class Land_Shed_wooden;
|
||||
class Wooden_shed_DZ: Land_Shed_wooden
|
||||
{
|
||||
scope = 2;
|
||||
//destrType = "DestructBuilding";
|
||||
//cost = 100;
|
||||
offset[] = {0,2.5,1};
|
||||
//armor = 100;
|
||||
displayName = "Wooden Shed";
|
||||
vehicleClass = "Fortifications";
|
||||
transportMaxMagazines = 200;
|
||||
transportMaxWeapons = 20;
|
||||
transportMaxBackpacks = 10;
|
||||
};
|
||||
class WoodGate_DZ: BuiltItems
|
||||
{
|
||||
scope = 2;
|
||||
destrType = "DestructTree";
|
||||
//cost = 100;
|
||||
offset[] = {0,1.5,0.5};
|
||||
model = "\ca\structures\Wall\Gate_wood2_5";
|
||||
icon = "\ca\data\data\Unknown_object.paa";
|
||||
mapSize = 2;
|
||||
// armor = 100;
|
||||
displayName = "Wood Panel";
|
||||
vehicleClass = "Fortifications";
|
||||
|
||||
class AnimationSources
|
||||
{
|
||||
class DoorR {
|
||||
@@ -2191,7 +2730,7 @@ class CfgVehicles
|
||||
initPhase = 0;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
};
|
||||
class BearTrap_DZ: TrapItems
|
||||
{
|
||||
@@ -2476,7 +3015,16 @@ class CfgVehicles
|
||||
init = "[(_this select 0),'cfgMagazines','ItemOilBarrel'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
|
||||
};
|
||||
};
|
||||
|
||||
class WeaponHolder_ItemFuelBarrel: WeaponHolderBase
|
||||
{
|
||||
scope = 2;
|
||||
displayName = "Fuel Barrel";
|
||||
model = "\dayz_equip\proxy\oil_drum_model.p3d";
|
||||
class eventHandlers
|
||||
{
|
||||
init = "[(_this select 0),'cfgMagazines','ItemFuelBarrel'] execVM '\z\addons\dayz_code\init\object_pickupAction.sqf';";
|
||||
};
|
||||
};
|
||||
class WeaponHolder_ItemJerrycanEmpty: WeaponHolderBase
|
||||
{
|
||||
scope = 2;
|
||||
@@ -2513,6 +3061,7 @@ class CfgVehicles
|
||||
};
|
||||
class TentStorageDomed: TentStorage
|
||||
{
|
||||
displayName = "Digital Camo Tent";
|
||||
vehicleClass = "Survival";
|
||||
model = "\dayz_equip\models\astan.p3d";
|
||||
transportMaxMagazines = 75;
|
||||
@@ -2543,6 +3092,7 @@ class CfgVehicles
|
||||
transportMaxBackpacks = 0;
|
||||
};
|
||||
|
||||
|
||||
class CardboardBox: ReammoBox
|
||||
{
|
||||
accuracy = 1000;
|
||||
|
||||
Reference in New Issue
Block a user