Add many new buildable fortifications

Mady by @Victor-the-Cleaner

Also change some base building baseclasses to work better with the new upcoming modular_build changes and snapping.
This commit is contained in:
A Man
2021-12-23 16:42:04 +01:00
parent abbedc7ddf
commit d744d995ef
13 changed files with 1755 additions and 493 deletions

View File

@@ -65,7 +65,7 @@ class advanced_workBench_kit: CA_Magazine
}; };
// DayZ Mod workbench // DayZ Mod workbench
class ItemWorkBench : CA_Magazine class ItemWorkBench: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -156,7 +156,7 @@ class metal_panel_kit: CA_Magazine
}; };
}; };
class ItemCorrugated : CA_Magazine class ItemCorrugated: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -205,7 +205,7 @@ class ItemCorrugated : CA_Magazine
}; };
}; };
class ItemWire : CA_Magazine class ItemWire: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -226,10 +226,52 @@ class ItemWire : CA_Magazine
create = "Fort_RazorWire"; // vanilla uses Wire_cat1 create = "Fort_RazorWire"; // vanilla uses Wire_cat1
byPass = "byPassRoadCheck"; byPass = "byPassRoadCheck";
}; };
class Crafting
{
text = $STR_ACTION_CRAFT_FORT_WIRE;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"fortified_wire_kit",1}};
input[] = {{"ItemWire",1},{"ItemTankTrap",2}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_BARBED_GATE;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"barbed_gate_kit",1}};
input[] = {{"ItemWire",1},{"ItemTankTrap",2},{"ItemPole",2}};
};
}; };
}; };
class ItemTankTrap : CA_Magazine class fortified_wire_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
displayName = $STR_EQUIP_NAME_FORT_WIRE;
descriptionShort = $STR_EQUIP_DESC_FORT_WIRE;
class ItemActions
{
class Build
{
text = $STR_ACTION_BUILD_FORT_WIRE;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"fortified_wire_kit"};
create = "FortifiedWire_DZ";
byPass = "byPassRoadCheck";
};
};
};
class ItemTankTrap: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -250,10 +292,51 @@ class ItemTankTrap : CA_Magazine
create = "Hedgehog_DZ"; create = "Hedgehog_DZ";
byPass = "byPassRoadCheck"; byPass = "byPassRoadCheck";
}; };
class Crafting
{
text = $STR_ACTION_CRAFT_FORT_WIRE;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"fortified_wire_kit",1}};
input[] = {{"ItemTankTrap",2},{"ItemWire",1}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_BARBED_GATE;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"barbed_gate_kit",1}};
input[] = {{"ItemWire",1},{"ItemTankTrap",2},{"ItemPole",2}};
};
}; };
}; };
class ItemGenerator : CA_Magazine class barbed_gate_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
displayName = $STR_EQUIP_NAME_BARBED_GATE;
descriptionShort = $STR_EQUIP_DESC_BARBED_GATE;
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_BARBED_GATE;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
consume[] = {"barbed_gate_kit"};
create = "BarbedGate_DZ";
};
};
};
class ItemGenerator: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;

View File

@@ -141,6 +141,15 @@ class metal_floor_half_kit: CA_Magazine
output[] = {{"metal_floor_kit",1}}; output[] = {{"metal_floor_kit",1}};
input[] = {{"metal_floor_half_kit",2}}; input[] = {{"metal_floor_half_kit",2}};
}; };
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1A; // red
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
output[] = {{"metal_container_1a_kit",1}};
input[] = {{"metal_floor_half_kit",4},{"metal_floor_quarter_kit",2},{"ItemTankTrap",2}};
};
}; };
}; };
@@ -172,6 +181,15 @@ class metal_floor_quarter_kit: CA_Magazine
output[] = {{"metal_floor_half_kit",1}}; output[] = {{"metal_floor_half_kit",1}};
input[] = {{"metal_floor_quarter_kit",2}}; input[] = {{"metal_floor_quarter_kit",2}};
}; };
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1A; // red
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
output[] = {{"metal_container_1a_kit",1}};
input[] = {{"metal_floor_half_kit",4},{"metal_floor_quarter_kit",2},{"ItemTankTrap",2}};
};
}; };
}; };
@@ -247,6 +265,15 @@ class half_cinder_wall_kit: CA_Magazine
output[] = {{"half_cinder_wall_gap_kit",1}}; output[] = {{"half_cinder_wall_gap_kit",1}};
input[] = {{"half_cinder_wall_kit",1}}; input[] = {{"half_cinder_wall_kit",1}};
}; };
class Crafting1
{
text = $STR_EPOCH_PLAYER_252_1;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"full_cinder_wall_kit",1}};
input[] = {{"half_cinder_wall_kit",1},{"CinderBlocks",4},{"MortarBucket",1}};
};
}; };
}; };
@@ -269,6 +296,15 @@ class half_cinder_wall_gap_kit: CA_Magazine
require[] = {"ItemToolbox"}; require[] = {"ItemToolbox"};
create = "CinderWallHalf_Gap_DZ"; create = "CinderWallHalf_Gap_DZ";
}; };
class Crafting
{
text = $STR_EPOCH_PLAYER_252;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"half_cinder_wall_kit",1}};
input[] = {{"half_cinder_wall_gap_kit",1}};
};
}; };
}; };
@@ -799,6 +835,192 @@ class cinder_bunker_kit_locked: CA_Magazine
}; };
}; };
class concrete_barrier_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_CNC_BARRIER;
descriptionShort = $STR_EQUIP_DESC_CNC_BARRIER;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_CNC_BARRIER;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "ConcreteBarrier_DZ";
};
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_CNC_BARRIER_STRIPED;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"concrete_barrier_striped_kit",1}};
input[] = {{"concrete_barrier_kit",1}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_CONCRETE_WALL;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"concrete_wall_kit",1}};
input[] = {{"concrete_barrier_kit",5},{"CementBag",2}};
};
class Crafting2
{
text = $STR_EPOCH_ACTION_CRAFT_CONCRETE_PIPE;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"concrete_pipe_kit",1}};
input[] = {{"concrete_barrier_kit",6},{"CementBag",2}};
};
};
};
class concrete_barrier_striped_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_CNC_BARRIER_STRIPED;
descriptionShort = $STR_EQUIP_DESC_CNC_BARRIER_STRIPED;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_CNC_BARRIER_STRIPED;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "ConcreteBarrierStriped_DZ";
};
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_CNC_BARRIER;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"concrete_barrier_kit",1}};
input[] = {{"concrete_barrier_striped_kit",1}};
};
};
};
class concrete_wall_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_CONCRETE_WALL;
descriptionShort = $STR_EQUIP_DESC_CONCRETE_WALL;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_CONCRETE_WALL;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "ConcreteWall_DZ";
};
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_DRAGONTEETH;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"dragonteeth_kit",1}};
input[] = {{"concrete_wall_kit",1},{"ItemStone",6},{"CementBag",4}};
};
};
};
class concrete_pipe_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_CONCRETE_PIPE;
descriptionShort = $STR_EQUIP_DESC_CONCRETE_PIPE;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_CONCRETE_PIPE;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "ConcretePipe_DZ";
};
};
};
class dragonteeth_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_DRAGONTEETH;
descriptionShort = $STR_EQUIP_DESC_DRAGONTEETH;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_DRAGONTEETH;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "DragonTeeth_DZ";
};
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_DRAGONTEETH_BIG;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"dragonteeth_big_kit",1}};
input[] = {{"dragonteeth_kit",1},{"ItemStone",6},{"CementBag",4}};
};
};
};
class dragonteeth_big_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_DRAGONTEETH_BIG;
descriptionShort = $STR_EQUIP_DESC_DRAGONTEETH_BIG;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_DRAGONTEETH_BIG;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "DragonTeethBig_DZ";
};
};
};
class metal_drawbridge_kit: CA_Magazine class metal_drawbridge_kit: CA_Magazine
{ {
scope = 2; scope = 2;
@@ -1759,6 +1981,223 @@ class ItemWoodGateLocked: CA_Magazine
}; };
}; };
class simple_footbridge_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_SIMPLE_FOOTBRIDGE;
descriptionShort = $STR_EQUIP_DESC_SIMPLE_FOOTBRIDGE;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_SIMPLE_FOOTBRIDGE;
script = "spawn player_build;";
require[] = {};
create = "SimpleFootbridge_DZ";
};
};
};
class wooden_footbridge_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_WOODEN_FOOTBRIDGE;
descriptionShort = $STR_EQUIP_DESC_WOODEN_FOOTBRIDGE;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_ACTION_BUILD_WOODEN_FOOTBRIDGE;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodenFootbridge_DZ";
};
};
};
class windbreak_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_WINDBREAK;
descriptionShort = $STR_EQUIP_DESC_WINDBREAK;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions {
class Build
{
text = $STR_EPOCH_ACTION_BUILD_WINDBREAK;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Windbreak_DZ";
};
};
};
class metal_container_1a_kit: CA_Magazine // red
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1A;
descriptionShort = $STR_EQUIP_DESC_METAL_CONTAINER_1A;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions {
class Build
{
text = $STR_EPOCH_ACTION_BUILD_METAL_CONTAINER_1A;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "MetalContainer1A_DZ";
};
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1B; // craft green
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"metal_container_1b_kit",1}};
input[] = {{"metal_container_1a_kit",1}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1G; // craft white
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"metal_container_1g_kit",1}};
input[] = {{"metal_container_1a_kit",1}};
};
class Crafting2
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_2D; // craft 2x red
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemToolbox"};
output[] = {{"metal_container_2d_kit",1}};
input[] = {{"metal_container_1a_kit",2}};
};
};
};
class metal_container_1b_kit: CA_Magazine // green
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1B;
descriptionShort = $STR_EQUIP_DESC_METAL_CONTAINER_1A; // re-use red desc
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions {
class Build
{
text = $STR_EPOCH_ACTION_BUILD_METAL_CONTAINER_1B;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "MetalContainer1B_DZ";
};
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1A; // craft red
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"metal_container_1a_kit",1}};
input[] = {{"metal_container_1b_kit",1}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1G; // craft white
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"metal_container_1g_kit",1}};
input[] = {{"metal_container_1b_kit",1}};
};
};
};
class metal_container_1g_kit: CA_Magazine // white
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1G;
descriptionShort = $STR_EQUIP_DESC_METAL_CONTAINER_1A; // re-use red desc
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions {
class Build
{
text = $STR_EPOCH_ACTION_BUILD_METAL_CONTAINER_1G;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "MetalContainer1G_DZ";
};
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1A; // craft red
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"metal_container_1a_kit",1}};
input[] = {{"metal_container_1g_kit",1}};
};
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_CONTAINER_1B; // craft green
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"metal_container_1b_kit",1}};
input[] = {{"metal_container_1g_kit",1}};
};
};
};
class metal_container_2d_kit: CA_Magazine // 2x red
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_2D;
descriptionShort = $STR_EQUIP_DESC_METAL_CONTAINER_2D;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions {
class Build
{
text = $STR_EPOCH_ACTION_BUILD_METAL_CONTAINER_2D;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "MetalContainer2D_DZ";
};
};
};
class door_frame_kit: CA_Magazine class door_frame_kit: CA_Magazine
{ {
scope = 2; scope = 2;

View File

@@ -1,4 +1,4 @@
class ItemSandbag : CA_Magazine class ItemSandbag: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -47,10 +47,19 @@ class ItemSandbag : CA_Magazine
output[] = {{"BagFenceRound_DZ_kit",1}}; output[] = {{"BagFenceRound_DZ_kit",1}};
input[] = {{"ItemSandbag",1}}; input[] = {{"ItemSandbag",1}};
}; };
class Crafting3
{
text = $STR_EPOCH_PLAYER_HBF; // "Craft Heavy Bag Fence"
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbagHeavy_kit",1}};
input[] = {{"ItemSandbag",2},{"PartWoodPile",1}};
};
}; };
}; };
class BagFenceRound_DZ_kit : CA_Magazine class BagFenceRound_DZ_kit: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -81,7 +90,7 @@ class BagFenceRound_DZ_kit : CA_Magazine
}; };
}; };
class ItemSandbagLarge : CA_Magazine class ItemSandbagLarge: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -109,10 +118,19 @@ class ItemSandbagLarge : CA_Magazine
output[] = {{"ItemSandbagExLarge",1}}; output[] = {{"ItemSandbagExLarge",1}};
input[] = {{"ItemSandbagLarge",3}}; input[] = {{"ItemSandbagLarge",3}};
}; };
class Crafting1
{
text = $STR_EPOCH_PLAYER_WBARRIER5; // "Craft 5x Warfare Barrier"
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemWarfareBarrier5x_kit",1}};
input[] = {{"ItemSandbagLarge",5}};
};
}; };
}; };
class ItemSandbagExLarge : CA_Magazine class ItemSandbagExLarge: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -126,14 +144,14 @@ class ItemSandbagExLarge : CA_Magazine
{ {
class Build class Build
{ {
text = $STR_EPOCH_PLAYER_273_4; text = $STR_EPOCH_PLAYER_273_4; // "Build 3x H-Barrier"
script = "spawn player_build;"; script = "spawn player_build;";
require[] = {"ItemEtool"}; require[] = {"ItemEtool"};
create = "Land_HBarrier3_DZ"; create = "Land_HBarrier3_DZ";
}; };
class Crafting class Crafting
{ {
text = $STR_EPOCH_PLAYER_273_2; text = $STR_EPOCH_PLAYER_273_2; // "Craft 5x H-Barrier"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;"; script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {}; neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"}; requiretools[] = {"ItemEtool","ItemToolbox"};
@@ -143,7 +161,7 @@ class ItemSandbagExLarge : CA_Magazine
}; };
}; };
class ItemSandbagExLarge5x : CA_Magazine class ItemSandbagExLarge5x: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -157,11 +175,51 @@ class ItemSandbagExLarge5x : CA_Magazine
{ {
class Build class Build
{ {
text = $STR_EPOCH_PLAYER_273_5; text = $STR_EPOCH_PLAYER_273_5; // "Build 5x H-Barrier"
script = "spawn player_build;"; script = "spawn player_build;";
require[] = {"ItemEtool"}; require[] = {"ItemEtool"};
create = "Land_HBarrier5_DZ"; create = "Land_HBarrier5_DZ";
}; };
class Crafting
{
text = $STR_EPOCH_PLAYER_HBARRIER5CURVED; // "Craft 5x H-Barrier (Curved)"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbagExLarge5xCurved",1}};
input[] = {{"ItemSandbagExLarge5x",1}};
};
};
};
class ItemSandbagExLarge5xCurved: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_HBARRIER5CURVED;
descriptionShort = $STR_EQUIP_DESC_HBARRIER5CURVED;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_HBARRIER5CURVED_2; // "Build 5x H-Barrier (Curved)"
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Land_HBarrier5Curved_DZ";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_273_2; // "Craft 5x H-Barrier"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbagExLarge5x",1}};
input[] = {{"ItemSandbagExLarge5xCurved",1}};
};
}; };
}; };
@@ -184,5 +242,213 @@ class sandbag_nest_kit: CA_Magazine
require[] = {"ItemEtool","ItemToolbox"}; require[] = {"ItemEtool","ItemToolbox"};
create = "SandNest_DZ"; create = "SandNest_DZ";
}; };
class Crafting
{
text = $STR_EPOCH_PLAYER_LARGENEST; // "Craft Large Sandbag Nest"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"sandbag_nest_large_kit",1}};
input[] = {{"sandbag_nest_kit",4},{"ItemSandBagHeavyCorner_kit",4}};
};
};
};
class sandbag_nest_large_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_LARGENEST;
descriptionShort = $STR_EQUIP_DESC_LARGENEST;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_LARGENEST_2; // "Build Large Sandbag Nest"
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "SandNestLarge_DZ";
};
};
};
class ItemSandbagHeavy_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_HBF; // "Heavy Bag Fence"
descriptionShort = $STR_EQUIP_DESC_HBF;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions
{
class build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "HeavyBagFence_DZ";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_HBF_CORNER; // "Craft Heavy Bag Fence (Corner)"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandBagHeavyCorner_kit",1}};
input[] = {{"ItemSandbagHeavy_kit",2}};
};
class Crafting1
{
text = $STR_EPOCH_PLAYER_HBF_ROUND; // "Craft Heavy Bag Fence (Round)"
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemSandbagHeavyRound_kit",1}};
input[] = {{"ItemSandbagHeavy_kit",3}};
};
};
};
class ItemSandBagHeavyCorner_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_HBF_CORNER; // "Heavy Bag Fence (Corner)"
descriptionShort = $STR_EQUIP_DESC_HBF_CORNER;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions
{
class build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "HeavyBagFenceCorner_DZ";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_LARGENEST; // "Craft Large Sandbag Nest"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"sandbag_nest_large_kit",1}};
input[] = {{"sandbag_nest_kit",4},{"ItemSandBagHeavyCorner_kit",4}};
};
};
};
class ItemSandbagHeavyRound_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_HBF_ROUND; // "Heavy Bag Fence (Round)"
descriptionShort = $STR_EQUIP_DESC_HBF_ROUND;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions
{
class build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
create = "HeavyBagFenceRound_DZ";
};
};
};
class ItemWarfareBarrier5x_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_WBARRIER5;
descriptionShort = $STR_EQUIP_DESC_WBARRIER5;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_WBARRIER5_2; // "Build 5x Warfare Barrier"
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Land_WarfareBarrier5x_DZ";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_WBARRIER10; // "Craft 10x Warfare Barrier"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemWarfareBarrier10x_kit",1}};
input[] = {{"ItemWarfareBarrier5x_kit",2}};
};
};
};
class ItemWarfareBarrier10x_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_WBARRIER10;
descriptionShort = $STR_EQUIP_DESC_WBARRIER10;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_WBARRIER10_2; // "Build 10x Warfare Barrier"
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Land_WarfareBarrier10x_DZ";
};
class Crafting
{
text = $STR_EPOCH_PLAYER_WBARRIER10TALL; // "Craft 10x Warfare Barrier (Tall)"
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {"ItemEtool","ItemToolbox"};
output[] = {{"ItemWarfareBarrier10xTall_kit",1}};
input[] = {{"ItemWarfareBarrier10x_kit",3}};
};
};
};
class ItemWarfareBarrier10xTall_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_WBARRIER10TALL;
descriptionShort = $STR_EQUIP_DESC_WBARRIER10TALL;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_WBARRIER10TALL_2; // "Build 10x Warfare Barrier (Tall)"
script = "spawn player_build;";
require[] = {"ItemEtool"};
create = "Land_WarfareBarrier10xTall_DZ";
};
}; };
}; };

View File

@@ -37,6 +37,33 @@ class ItemStone: CA_Magazine
output[] = {{"metalfence_foundation_kit",1}}; output[] = {{"metalfence_foundation_kit",1}};
input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemRSJ",1}}; input[] = {{"ItemStone",8},{"MortarBucket",1},{"ItemRSJ",1}};
}; };
class Crafting3
{
text = $STR_EPOCH_ACTION_CRAFT_CNC_BARRIER;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemEtool"};
output[] = {{"concrete_barrier_kit",1}};
input[] = {{"CementBag",3},{"ItemStone",2},{"ItemWire",1}};
};
class Crafting4
{
text = $STR_EPOCH_ACTION_CRAFT_DRAGONTEETH;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"dragonteeth_kit",1}};
input[] = {{"concrete_wall_kit",1},{"ItemStone",6},{"CementBag",4}};
};
class Crafting5
{
text = $STR_EPOCH_ACTION_CRAFT_DRAGONTEETH_BIG;
script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"dragonteeth_big_kit",1}};
input[] = {{"dragonteeth_kit",1},{"ItemStone",6},{"CementBag",4}};
};
}; };
}; };
@@ -169,7 +196,7 @@ class CementBag: CA_Magazine
displayName = $STR_ITEM_NAME_CEMENT_BAG; displayName = $STR_ITEM_NAME_CEMENT_BAG;
descriptionShort = $STR_ITEM_DESC_CEMENT_BAG; descriptionShort = $STR_ITEM_DESC_CEMENT_BAG;
picture = "\dayz_epoch_c\icons\equipment\ItemCementBag.paa"; picture = "\dayz_epoch_c\icons\equipment\ItemCementBag.paa";
model = "\z\addons\dayz_epoch_w\items\cement_bag.p3d"; model = "\z\addons\dayz_epoch_w\items\cement_bag.p3d";
class ItemActions class ItemActions
{ {
@@ -182,5 +209,50 @@ class CementBag: CA_Magazine
output[] = {{"ItemConcreteBlock",1}}; output[] = {{"ItemConcreteBlock",1}};
input[] = {{"ItemStone",6},{"CementBag",1}}; input[] = {{"ItemStone",6},{"CementBag",1}};
}; };
class Crafting1
{
text = $STR_EPOCH_ACTION_CRAFT_CNC_BARRIER;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemEtool"};
output[] = {{"concrete_barrier_kit",1}};
input[] = {{"CementBag",3},{"ItemStone",2},{"ItemWire",1}};
};
class Crafting2
{
text = $STR_EPOCH_ACTION_CRAFT_CONCRETE_WALL;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"concrete_wall_kit",1}};
input[] = {{"concrete_barrier_kit",5},{"CementBag",2}};
};
class Crafting3
{
text = $STR_EPOCH_ACTION_CRAFT_CONCRETE_PIPE;
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"concrete_pipe_kit",1}};
input[] = {{"concrete_barrier_kit",6},{"CementBag",2}};
};
class Crafting4
{
text = $STR_EPOCH_ACTION_CRAFT_DRAGONTEETH;
script = ";['Crafting4','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"dragonteeth_kit",1}};
input[] = {{"concrete_wall_kit",1},{"ItemStone",6},{"CementBag",4}};
};
class Crafting5
{
text = $STR_EPOCH_ACTION_CRAFT_DRAGONTEETH_BIG;
script = ";['Crafting5','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"dragonteeth_big_kit",1}};
input[] = {{"dragonteeth_kit",1},{"ItemStone",6},{"CementBag",4}};
};
}; };
}; };

View File

@@ -1,4 +1,4 @@
class PartGeneric : CA_Magazine class PartGeneric: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -124,6 +124,15 @@ class ItemPole: CA_Magazine
output[] = {{"metal_floor_quarter_kit",1}}; output[] = {{"metal_floor_quarter_kit",1}};
input[] = {{"ItemPole",4},{"equip_metal_sheet",4}}; input[] = {{"ItemPole",4},{"equip_metal_sheet",4}};
}; };
class Crafting6
{
text = $STR_EPOCH_ACTION_CRAFT_BARBED_GATE;
script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox"};
output[] = {{"barbed_gate_kit",1}};
input[] = {{"ItemWire",1},{"ItemTankTrap",2},{"ItemPole",2}};
};
}; };
}; };
@@ -132,7 +141,7 @@ class ItemMetalSheet: CA_Magazine
scope = 2; scope = 2;
count = 1; count = 1;
type = 256; type = 256;
displayName = $STR_BLD_name_ItemMetalSheet;//"Corrugated Sheet" displayName = $STR_BLD_name_ItemMetalSheet; //"Corrugated Sheet"
picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa"; picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa";
model = "z\addons\dayz_buildings\models\sheet_metal.p3d"; model = "z\addons\dayz_buildings\models\sheet_metal.p3d";
descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting" descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting"
@@ -151,15 +160,15 @@ class ItemMetalSheet: CA_Magazine
}; };
}; };
class equip_metal_sheet : CA_Magazine class equip_metal_sheet: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
type = 256;
displayName = $STR_ITEM_NAME_equip_metal_sheet; displayName = $STR_ITEM_NAME_equip_metal_sheet;
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet; descriptionShort = $STR_ITEM_DESC_equip_metal_sheet;
model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d"; model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa"; picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa";
type = 256;
class ItemActions class ItemActions
{ {
@@ -184,15 +193,28 @@ class equip_metal_sheet : CA_Magazine
}; };
}; };
class equip_metal_sheet_rusted : CA_Magazine class equip_metal_sheet_rusted: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
type = 256;
displayName = $STR_ITEM_NAME_equip_metal_sheet_rusted; displayName = $STR_ITEM_NAME_equip_metal_sheet_rusted;
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet_rusted; descriptionShort = $STR_ITEM_DESC_equip_metal_sheet_rusted;
model = "\z\addons\dayz_communityassets\models\metal_sheet_rusted.p3d"; model = "\z\addons\dayz_communityassets\models\metal_sheet_rusted.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet_rusted.paa"; picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet_rusted.paa";
type = 256;
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_METAL_SHEET;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"equip_metal_sheet",1}};
input[] = {{"equip_metal_sheet_rusted",1}};
};
};
}; };
class ItemRSJ: CA_Magazine class ItemRSJ: CA_Magazine
@@ -216,18 +238,28 @@ class ItemRSJ: CA_Magazine
output[] = {{"metal_drawbridge_kit",1}}; output[] = {{"metal_drawbridge_kit",1}};
input[] = {{"ItemRSJ",6},{"metal_floor_kit",2}}; input[] = {{"ItemRSJ",6},{"metal_floor_kit",2}};
}; };
class Crafting1
{
text = $STR_EPOCH_PLAYER_265; // Craft Scrap Metal
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop","fire"};
requiretools[] = {"ItemToolbox","ItemSledge"};
output[] = {{"PartGeneric",6}};
input[] = {{"ItemRSJ",1}};
};
}; };
}; };
class equip_1inch_metal_pipe : CA_Magazine class equip_1inch_metal_pipe: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
type = 256;
displayName = $STR_ITEM_NAME_equip_1inch_metal_pipe; displayName = $STR_ITEM_NAME_equip_1inch_metal_pipe;
descriptionShort = $STR_ITEM_DESC_equip_1inch_metal_pipe; descriptionShort = $STR_ITEM_DESC_equip_1inch_metal_pipe;
model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d"; model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_1inch_metal_pipe_ca.paa"; picture = "\z\addons\dayz_communityassets\pictures\equip_1inch_metal_pipe_ca.paa";
type = 256;
class ItemActions class ItemActions
{ {
class Crafting class Crafting
@@ -242,15 +274,15 @@ class equip_1inch_metal_pipe : CA_Magazine
}; };
}; };
class equip_2inch_metal_pipe : CA_Magazine class equip_2inch_metal_pipe: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
type = 256;
displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe; displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe;
descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe; descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe;
model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d"; model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa"; picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa";
type = 256;
class ItemActions class ItemActions
{ {
@@ -266,15 +298,15 @@ class equip_2inch_metal_pipe : CA_Magazine
}; };
}; };
class equip_tent_poles : CA_Magazine class equip_tent_poles: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
type = 256;
displayName = $STR_ITEM_NAME_equip_tent_poles; displayName = $STR_ITEM_NAME_equip_tent_poles;
descriptionShort = $STR_ITEM_DESC_equip_tent_poles; descriptionShort = $STR_ITEM_DESC_equip_tent_poles;
model = "z\addons\dayz_communityassets\models\1m_pole_6.p3d"; model = "z\addons\dayz_communityassets\models\1m_pole_6.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_1m_pole_6_ca.paa"; picture = "\z\addons\dayz_communityassets\pictures\equip_1m_pole_6_ca.paa";
type = 256;
class ItemActions class ItemActions
{ {

View File

@@ -1,4 +1,4 @@
class ItemLog : CA_Magazine class ItemLog: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -65,7 +65,7 @@ class ItemLog : CA_Magazine
}; };
}; };
class ItemPlank : CA_Magazine class ItemPlank: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -131,10 +131,37 @@ class ItemPlank : CA_Magazine
output[] = {{"camo_storage_crate_kit",1}}; output[] = {{"camo_storage_crate_kit",1}};
input[] = {{"ItemPlank",2},{"PartWoodLumber",6},{"forest_net_kit",1},{"equip_nails",1}}; input[] = {{"ItemPlank",2},{"PartWoodLumber",6},{"forest_net_kit",1},{"equip_nails",1}};
}; };
class Crafting6
{
text = $STR_EPOCH_ACTION_CRAFT_SIMPLE_FOOTBRIDGE;
script = ";['Crafting6','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {};
output[] = {{"simple_footbridge_kit",1}};
input[] = {{"ItemPlank",3}};
};
class Crafting7
{
text = $STR_EPOCH_ACTION_CRAFT_WOODEN_FOOTBRIDGE;
script = ";['Crafting7','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
output[] = {{"wooden_footbridge_kit",1}};
input[] = {{"ItemPlank",3},{"PartWoodLumber",2},{"equip_nails",1}};
};
class Crafting8
{
text = $STR_EPOCH_ACTION_CRAFT_WOODEN_PALLET;
script = ";['Crafting8','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
output[] = {{"equip_wood_pallet",1}};
input[] = {{"ItemPlank",7},{"equip_nails",1}};
};
}; };
}; };
class PartWoodPile : CA_Magazine class PartWoodPile: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
@@ -170,7 +197,6 @@ class PartWoodPile : CA_Magazine
requiretools[] = {"ItemKnife"}; requiretools[] = {"ItemKnife"};
output[] = {{"1Rnd_Arrow_Wood",5}}; output[] = {{"1Rnd_Arrow_Wood",5}};
input[] = {{"PartWoodPile",1},{"equip_feathers",2}}; input[] = {{"PartWoodPile",1},{"equip_feathers",2}};
}; };
class Crafting2 class Crafting2
{ {
@@ -180,7 +206,6 @@ class PartWoodPile : CA_Magazine
requiretools[] = {"ItemToolbox","ItemKnife"}; requiretools[] = {"ItemToolbox","ItemKnife"};
output[] = {{"stick_fence_kit",1}}; output[] = {{"stick_fence_kit",1}};
input[] = {{"PartWoodPile",6}}; input[] = {{"PartWoodPile",6}};
}; };
class Crafting3 class Crafting3
{ {
@@ -289,7 +314,6 @@ class PartWoodLumber: CA_Magazine
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"}; requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
output[] = {{"ItemWoodStairs",1}}; output[] = {{"ItemWoodStairs",1}};
input[] = {{"PartWoodLumber",8},{"equip_nails",2}}; input[] = {{"PartWoodLumber",8},{"equip_nails",2}};
}; };
class Crafting4 class Crafting4
{ {
@@ -299,7 +323,6 @@ class PartWoodLumber: CA_Magazine
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"}; requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
output[] = {{"ItemWoodLadder",1}}; output[] = {{"ItemWoodLadder",1}};
input[] = {{"PartWoodLumber",8},{"equip_nails",2}}; input[] = {{"PartWoodLumber",8},{"equip_nails",2}};
}; };
class Crafting5 class Crafting5
{ {
@@ -328,6 +351,15 @@ class PartWoodLumber: CA_Magazine
output[] = {{"equip_woodensplint",1}}; output[] = {{"equip_woodensplint",1}};
input[] = {{"PartWoodLumber",1},{"equip_duct_tape",1},{"equip_string",1}}; input[] = {{"PartWoodLumber",1},{"equip_duct_tape",1},{"equip_string",1}};
}; };
class Crafting8
{
text = $STR_EPOCH_ACTION_CRAFT_WOODEN_FOOTBRIDGE;
Script = ";['Crafting8','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
output[] = {{"wooden_footbridge_kit",1}};
input[] = {{"PartWoodLumber",2},{"ItemPlank",3},{"equip_nails",1}};
};
}; };
}; };
@@ -400,24 +432,38 @@ class PartWoodPlywood: CA_Magazine
}; };
}; };
class equip_wood_pallet : CA_Magazine
class equip_wood_pallet: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
type = 256;
displayName = $STR_ITEM_NAME_equip_wood_pallet; displayName = $STR_ITEM_NAME_equip_wood_pallet;
descriptionShort = $STR_ITEM_DESC_equip_wood_pallet; descriptionShort = $STR_ITEM_DESC_equip_wood_pallet;
model = "\z\addons\dayz_communityassets\models\wooden_pallet.p3d"; model = "\z\addons\dayz_communityassets\models\wooden_pallet.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_wpallet_ca.paa"; picture = "\z\addons\dayz_communityassets\pictures\equip_wpallet_ca.paa";
type = 256;
class ItemActions {
class Crafting
{
text = $STR_EPOCH_ACTION_CRAFT_WINDBREAK;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
requiretools[] = {"ItemToolbox","Handsaw_DZE","Hammer_DZE"};
output[] = {{"windbreak_kit",1}};
input[] = {{"equip_wood_pallet",2},{"PartWoodLumber",2},{"equip_nails",1}};
};
};
}; };
class equip_crate : CA_Magazine class equip_crate: CA_Magazine
{ {
scope = 2; scope = 2;
count = 1; count = 1;
type = 256;
displayName = $STR_ITEM_NAME_equip_crate; displayName = $STR_ITEM_NAME_equip_crate;
descriptionShort = $STR_ITEM_DESC_equip_crate; descriptionShort = $STR_ITEM_DESC_equip_crate;
model = "\z\addons\dayz_communityassets\models\crate.p3d"; model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_crate.paa"; picture = "\z\addons\dayz_communityassets\pictures\equip_crate.paa";
type = 256;
}; };

View File

@@ -9,12 +9,12 @@ class BeltBuckle_DZE : Helper_Base_EP1 {
hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,0.5,0.5,0.5,ca)"}; hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(1,0.5,0.5,0.5,ca)"};
}; };
class WorkBench_DZ: BuiltItems class WorkBench_DZ: ModularItems
{ {
scope = 2; scope = 2;
destrType = "DestructTree"; destrType = "DestructTree";
cost = 100; cost = 100;
offset[] = {0,1.5,0}; offset[] = {0,1.5,-0.05};
model = "\z\addons\dayz_epoch\models\workbench.p3d"; model = "\z\addons\dayz_epoch\models\workbench.p3d";
icon = "\ca\data\data\Unknown_object.paa"; icon = "\ca\data\data\Unknown_object.paa";
mapSize = 2; mapSize = 2;
@@ -23,7 +23,6 @@ class WorkBench_DZ: BuiltItems
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
maintainBuilding[] = {{"PartWoodLumber",1}}; maintainBuilding[] = {{"PartWoodLumber",1}};
constructioncount = 1; constructioncount = 1;
removeoutput[] = {{"PartWoodPlywood",1},{"PartWoodLumber",2}};
requireplot = 0; requireplot = 0;
nounderground = 0; nounderground = 0;
}; };
@@ -144,7 +143,6 @@ class Fence_corrugated_DZ: Fence_corrugated_plate
removeoutput[] = {{"ItemCorrugated",1}}; removeoutput[] = {{"ItemCorrugated",1}};
displayName = $STR_EPOCH_CORRUGATEDFENCE; displayName = $STR_EPOCH_CORRUGATEDFENCE;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
nounderground = 0;
}; };
class Wall_FenW2_6_EP1; class Wall_FenW2_6_EP1;
@@ -187,7 +185,7 @@ class Scaffolding_DZ: Land_Misc_Scaffolding
transportRepair = 0; transportRepair = 0;
transportFuel = 0; transportFuel = 0;
typicalCargo[] = {}; typicalCargo[] = {};
offset[] = {0,9,0}; offset[] = {0,10.5,0};
cost = 0; cost = 0;
removeoutput[] = {{"ItemScaffoldingKit",1}}; removeoutput[] = {{"ItemScaffoldingKit",1}};
}; };
@@ -228,17 +226,28 @@ class MetalPanel_DZ: BuiltItems
class Fort_RazorWire : BuiltItems { class Fort_RazorWire : BuiltItems {
scope = 2; scope = 2;
animated = 0;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
model = "\ca\misc\Fort_Razorwire"; model = "\ca\misc\Fort_Razorwire";
icon = "\Ca\misc\data\icons\I_drutkolczasty_CA.paa"; icon = "\Ca\misc\data\icons\I_drutkolczasty_CA.paa";
offset[] = {0,1.5,0}; offset[] = {0,5,-0.05};
accuracy = 0.3;
mapSize = 3; mapSize = 3;
displayName = $STR_EPOCH_WIRE; displayName = $STR_EPOCH_WIRE;
destrType = "DestructTent"; destrType = "DestructTent";
armor = 100; armor = 500;
GhostPreview = "Fort_RazorWirePreview"; nounderground = 0;
removeoutput[] = {{"ItemWire",1}};
};
class FortifiedWire_DZ : ModularItems {
scope = 2;
vehicleClass = "DayZ Epoch Buildables";
model = "\ca\misc\Barbedwire";
icon = "\Ca\misc\data\icons\I_drutkolczasty_CA.paa";
offset[] = {0,4,-0.05};
mapSize = 3;
displayName = $STR_EQUIP_NAME_FORT_WIRE;
destrType = "DestructTent";
armor = 750;
nounderground = 0; nounderground = 0;
}; };
@@ -293,7 +302,8 @@ class Notebook_DZ: Notebook
mapSize = 2; mapSize = 2;
displayName = $STR_EPOCH_NOTEBOOK; displayName = $STR_EPOCH_NOTEBOOK;
constructioncount = 1; constructioncount = 1;
offset[] = {0,2,1}; offset[] = {0,2,0};
nounderground = 0;
removeoutput[] = {{"notebook_kit",1}}; removeoutput[] = {{"notebook_kit",1}};
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
}; };

View File

@@ -309,6 +309,7 @@ class Concrete_Bunker_DZ: CinderWallDoor_DZ_Base {
}; };
}; };
}; };
class Concrete_Bunker_Locked_DZ: CinderWallDoorLocked_DZ_Base { class Concrete_Bunker_Locked_DZ: CinderWallDoorLocked_DZ_Base {
scope = 2; scope = 2;
model = "\z\addons\dayz_epoch_v\base_building\cinder\bunker\bunker_01_locked.p3d"; model = "\z\addons\dayz_epoch_v\base_building\cinder\bunker\bunker_01_locked.p3d";
@@ -374,3 +375,79 @@ class Concrete_Bunker_Locked_DZ: CinderWallDoorLocked_DZ_Base {
}; };
}; };
}; };
///////////////////////////////////////////////////////////////////////////////////////////////////
class ConcreteBarrier_DZ: ModularItems {
scope = 2;
offset[] = {0,2,-0.05};
model = "\ca\misc3\CncBlock.p3d";
armor = 4000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CNC_BARRIER;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 1;
nounderground = 0;
};
class ConcreteBarrierStriped_DZ: ModularItems {
scope = 2;
offset[] = {0,2,-0.05};
model = "\ca\misc3\CncBlock_stripes.p3d";
armor = 4000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CNC_BARRIER_STRIPED;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 1;
nounderground = 0;
};
class ConcreteWall_DZ: ModularItems {
scope = 2;
offset[] = {0,3,0};
model = "\ca\mp_armory\misc\concrete_wall\concrete_wall.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CONCRETE_WALL;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class ConcretePipe_DZ: ModularItems {
scope = 2;
offset[] = {0,3,0};
model = "\ca\structures_e\misc\misc_construction\misc_concpipeline_ep1.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_CONCRETE_PIPE;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class DragonTeeth_DZ: ModularItems {
scope = 2;
offset[] = {0,5.5,0};
model = "\ca\misc3\dragonTeeth\dragonTeeth.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_DRAGONTEETH;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};
class DragonTeethBig_DZ: ModularItems {
scope = 2;
offset[] = {0,5.5,0};
model = "\ca\misc3\dragonTeeth\dragonTeethBig.p3d";
armor = 10000;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_DRAGONTEETH_BIG;
maintainBuilding[] = {{"CementBag",1}};
destrType = "DestructBuilding";
constructioncount = 3;
};

View File

@@ -28,7 +28,7 @@ class MetalFloor_Half_DZ: ModularItems {
class MetalFloor_Quarter_DZ: ModularItems { class MetalFloor_Quarter_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,4,0}; offset[] = {0,2.5,0}; // {0,4,0};
model = "\z\addons\dayz_epoch_v\base_building\floors\metal_floor_quarter.p3d"; model = "\z\addons\dayz_epoch_v\base_building\floors\metal_floor_quarter.p3d";
armor = 1000; armor = 1000;
displayName = $STR_EPOCH_METALFLOORQUARTER; displayName = $STR_EPOCH_METALFLOORQUARTER;
@@ -37,7 +37,7 @@ class MetalFloor_Quarter_DZ: ModularItems {
class MetalFloor4x_DZ: ModularItems { class MetalFloor4x_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,6,0}; offset[] = {0,7,0}; // {0,6,0};
model = "\z\addons\dayz_epoch_v\base_building\floors\metal_floor_2x2.p3d"; model = "\z\addons\dayz_epoch_v\base_building\floors\metal_floor_2x2.p3d";
armor = 6000; armor = 6000;
displayName = $STR_EPOCH_METALFLOOR4x; displayName = $STR_EPOCH_METALFLOOR4x;
@@ -97,10 +97,97 @@ class GlassFloor_Half_DZ: ModularItems {
class GlassFloor_Quarter_DZ: ModularItems { class GlassFloor_Quarter_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,4,0}; offset[] = {0,2.5,0}; // {0,4,0};
model = "\z\addons\dayz_epoch_v\base_building\floors\glass_floor_quarter.p3d"; model = "\z\addons\dayz_epoch_v\base_building\floors\glass_floor_quarter.p3d";
armor = 2000; armor = 2000;
displayName = $STR_EPOCH_GLASSFLOORQUARTER; displayName = $STR_EPOCH_GLASSFLOORQUARTER;
maintainBuilding[] = {{"PartGlass",1}}; maintainBuilding[] = {{"PartGlass",1}};
GhostPreview = "GlassFloor_Quarter_Preview_DZ"; GhostPreview = "GlassFloor_Quarter_Preview_DZ";
}; };
///////////////////////////////////////////////////////////////////////////////////////////////////
class MetalContainer1A_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1A.p3d"; // red
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1A;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1B_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1B.p3d"; // green
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1B;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer1G_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo1G.p3d"; // white
armor = 20000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_1G;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",2}};
constructioncount = 3;
};
class MetalContainer2D_DZ: ModularItems {
scope = 2;
offset[] = {0,5,0};
model = "ca\buildings2\Misc_Cargo\Misc_Cargo2D.p3d"; // 2x red
armor = 40000;
displayName = $STR_EQUIP_NAME_METAL_CONTAINER_2D;
destrType = "DestructBuilding";
maintainBuilding[] = {{"equip_metal_sheet",4}};
constructioncount = 5;
};
class BarbedGate_DZ: ModularItems {
scope = 2;
offset[] = {0,4,0};
model = "ca\misc2\BarbGate.p3d";
armor = 3000;
displayName = $STR_EQUIP_NAME_BARBED_GATE;
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemWire",1}};
constructioncount = 2;
class AnimationSources
{
class Door01 {
source = "User";
animPeriod = 1;
initPhase = 0;
};
};
class UserActions
{
class CloseDoor
{
position = "";
displayName = "Close Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 1";
statement = "this animate ['Door01', 0];";
};
class OpenDoor
{
position = "";
displayName = "Open Door";
radius = 1.5;
onlyForPlayer = 0;
condition = "this animationPhase 'Door01' == 0";
statement = "this animate ['Door01', 1];";
};
};
};

View File

@@ -29,7 +29,7 @@ class WoodFloor_DZ: ModularItems {
class WoodFloorStairs_DZ: ModularItems { class WoodFloorStairs_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,5,0}; offset[] = {0,4,0};
model = "\z\addons\dayz_epoch_v\base_building\floors\wood_floor_stairs.p3d"; model = "\z\addons\dayz_epoch_v\base_building\floors\wood_floor_stairs.p3d";
armor = 1000; armor = 1000;
displayName = $STR_EPOCH_WOODFLOORSTAIRS; displayName = $STR_EPOCH_WOODFLOORSTAIRS;
@@ -70,7 +70,7 @@ class WoodFloorHalf_DZ: ModularItems {
class WoodFloorQuarter_DZ: ModularItems { class WoodFloorQuarter_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,4,0}; offset[] = {0,2.5,0};
model = "\z\addons\dayz_epoch\models\quarter_floor.p3d"; model = "\z\addons\dayz_epoch\models\quarter_floor.p3d";
armor = 500; armor = 500;
displayName = $STR_EPOCH_FLOORCEILINGQUARTER; displayName = $STR_EPOCH_FLOORCEILINGQUARTER;
@@ -266,7 +266,7 @@ class WoodSmallWallDoor_DZ: ModularItems {
class WoodTriangleWall_DZ: ModularItems { class WoodTriangleWall_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,1.5,0}; offset[] = {0,3.5,0};
model = "\z\addons\dayz_epoch_v\base_building\wood\apex_tri\apex_tri.p3d"; model = "\z\addons\dayz_epoch_v\base_building\wood\apex_tri\apex_tri.p3d";
armor = 1500; armor = 1500;
displayName = $STR_EPOCH_TRIANGLE_WOODWALL; displayName = $STR_EPOCH_TRIANGLE_WOODWALL;
@@ -350,7 +350,7 @@ class WoodLadder_DZ: ModularItems {
class WoodHandrail_DZ: ModularItems { class WoodHandrail_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,1.5,0}; offset[] = {0,2,0};
model = "\z\addons\dayz_epoch_v\base_building\wood\railing\railing.p3d"; model = "\z\addons\dayz_epoch_v\base_building\wood\railing\railing.p3d";
armor = 300; armor = 300;
displayName = $STR_EPOCH_WOODRAIL; displayName = $STR_EPOCH_WOODRAIL;
@@ -361,9 +361,43 @@ class WoodHandrail_DZ: ModularItems {
class WoodPillar_DZ: ModularItems { class WoodPillar_DZ: ModularItems {
scope = 2; scope = 2;
offset[] = {0,2,0}; offset[] = {0,2,0};
model = "z\addons\dayz_epoch_v\base_building\wood\pillar\corner_pillar.p3d"; model = "\z\addons\dayz_epoch_v\base_building\wood\pillar\corner_pillar.p3d";
armor = 700; armor = 700;
displayName = $STR_EPOCH_WOODPILLAR; displayName = $STR_EPOCH_WOODPILLAR;
maintainBuilding[] = {{"PartWoodLumber",1}}; maintainBuilding[] = {{"PartWoodLumber",1}};
GhostPreview = "Wood_Pillar_Preview_DZ"; GhostPreview = "Wood_Pillar_Preview_DZ";
}; };
///////////////////////////////////////////////////////////////////////////////////////////////////
class SimpleFootbridge_DZ: ModularItems {
scope = 2;
offset[] = {0,4,0.05};
useModelCenter = 1;
model = "mbg_killhouses\m\MBG_Woodplanks.p3d";
armor = 200;
nounderground = 0;
displayName = $STR_EQUIP_NAME_SIMPLE_FOOTBRIDGE;
maintainBuilding[] = {{"ItemPlank",1}};
};
class WoodenFootbridge_DZ: ModularItems {
scope = 2;
offset[] = {0,3.5,0};
useModelCenter = 1;
model = "ca\misc_acr\scaffoldingsmall\misc_crossing0st.p3d";
armor = 200;
nounderground = 0;
displayName = $STR_EQUIP_NAME_WOODEN_FOOTBRIDGE;
maintainBuilding[] = {{"ItemPlank",1}};
};
class Windbreak_DZ: ModularItems {
scope = 2;
offset[] = {0,3,-0.1};
model = "ca\structures\Misc\Misc_WindBreak\Misc_WindBreak.p3d";
armor = 1000;
nounderground = 0;
displayName = $STR_EQUIP_NAME_WINDBREAK;
maintainBuilding[] = {{"ItemPlank",1}};
};

View File

@@ -1,138 +1,241 @@
class Sandbag1_DZ: BuiltItems { class Sandbag1_DZ: BuiltItems {
scope = 2; scope = 2;
destrType = "DestructNo";
cost = 100;
model = "\ca\misc2\BagFenceLong.p3d"; model = "\ca\misc2\BagFenceLong.p3d";
icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa"; icon = "\Ca\misc3\data\Icons\icon_fortBagFenceLong_ca.paa";
offset[] = {0,3,0};
mapSize = 2; mapSize = 2;
armor = 400;
displayName = $STR_BUILT_SANDBAG;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_BUILT_SANDBAG;
simulation = "house";
destrType = "DestructNo";
armor = 2500;
offset[] = {0,2.5,0};
constructioncount = 3; constructioncount = 3;
removeoutput[] = {{"ItemSandbag",1}};
nounderground = 0; nounderground = 0;
removeoutput[] = {{"ItemSandbag",1}};
//Remove vanilla dismantle action //Remove vanilla dismantle action
class UserActions {delete Dismantle;}; class UserActions {delete Dismantle;};
}; };
class BagFenceRound_DZ: BuiltItems { class BagFenceRound_DZ: BuiltItems {
scope = 2; scope = 2;
destrType = "DestructNo";
cost = 100;
model = "\ca\misc2\BagFenceRound.p3d"; model = "\ca\misc2\BagFenceRound.p3d";
icon = "\Ca\misc3\data\Icons\icon_bagFenceRound_ca.paa"; icon = "\Ca\misc3\data\Icons\icon_bagFenceRound_ca.paa";
offset[] = {0,3,0};
mapSize = 2; mapSize = 2;
armor = 400;
displayName = $STR_EQUIP_NAME_21_ROUND;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_21_ROUND;
simulation = "house";
destrType = "DestructNo";
armor = 2500;
offset[] = {0,2.5,0};
constructioncount = 3; constructioncount = 3;
removeoutput[] = {{"BagFenceRound_DZ_kit",1}};
nounderground = 0; nounderground = 0;
removeoutput[] = {{"BagFenceRound_DZ_kit",1}};
}; };
class Land_HBarrier1_DZ : BuiltItems { class Land_HBarrier1_DZ: ModularItems { // BuiltItems
scope = 2; scope = 2;
animated = 0;
vehicleClass = "DayZ Epoch Buildables";
typicalCargo[] = {};
offset[] = {0,2,0};
irTarget = 0;
accuracy = 0.3;
transportAmmo = 0;
transportRepair = 0;
transportFuel = 0;
destrType = "DestructBuilding";
armor = 500;
coefInside = 0.5;
coefInsideHeur = 0.8;
cost = 0;
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
model = "\ca\misc2\HBarrier1.p3d"; model = "\ca\misc2\HBarrier1.p3d";
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier1_ca.paa"; icon = "\Ca\misc2\data\Icons\icon_hescoBarrier1_ca.paa";
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
mapSize = 2; mapSize = 2;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_21_HBARRIER; displayName = $STR_EQUIP_NAME_21_HBARRIER;
GhostPreview = "Land_HBarrier1Preview"; //GhostPreview = "Land_HBarrier1Preview";
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",1}};
armor = 7500;
offset[] = {0,2,0};
constructioncount = 4; constructioncount = 4;
removeoutput[] = {{"ItemSandbagLarge",1}};
nounderground = 0; nounderground = 0;
}; };
class Land_HBarrier3_DZ : BuiltItems { class Land_HBarrier3_DZ: ModularItems { // BuiltItems
scope = 2;
model = "\ca\misc2\HBarrier3.p3d"; model = "\ca\misc2\HBarrier3.p3d";
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier3_ca.paa"; icon = "\Ca\misc2\data\Icons\icon_hescoBarrier3_ca.paa";
mapSize = 3.5;
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
GhostPreview = "Land_HBarrier3ePreview";
scope = 2;
animated = 0;
vehicleClass = "DayZ Epoch Buildables";
typicalCargo[] = {};
irTarget = 0;
accuracy = 0.3;
transportAmmo = 0;
transportRepair = 0;
transportFuel = 0;
destrType = "DestructBuilding";
armor = 500;
coefInside = 0.5;
coefInsideHeur = 0.8;
cost = 0;
picture = "\CA\ui\data\icon_wf_barriers_ca.paa"; picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
mapSize = 3.5;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
//GhostPreview = "Land_HBarrier3ePreview";
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",2}};
armor = 9000;
offset[] = {0,2.5,0}; offset[] = {0,2.5,0};
constructioncount = 8; constructioncount = 8;
removeoutput[] = {{"ItemSandbagExLarge",1}};
nounderground = 0; nounderground = 0;
}; };
class Land_HBarrier5_DZ:BuiltItems { class Land_HBarrier5_DZ: ModularItems { // BuiltItems
scope = 2;
model = "\ca\misc2\HBarrier5.p3d"; model = "\ca\misc2\HBarrier5.p3d";
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa"; icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa";
mapSize = 7;
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
GhostPreview = "Land_HBarrier5Preview";
scope = 2;
animated = 0;
vehicleClass = "DayZ Epoch Buildables";
typicalCargo[] = {};
irTarget = 0;
accuracy = 0.3;
transportAmmo = 0;
transportRepair = 0;
transportFuel = 0;
destrType = "DestructBuilding";
armor = 500;
coefInside = 0.5;
coefInsideHeur = 0.8;
cost = 0;
picture = "\CA\ui\data\icon_wf_barriers_ca.paa"; picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
offset[] = {0,2.5,0}; mapSize = 7;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
//GhostPreview = "Land_HBarrier5Preview";
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",3}};
armor = 10000;
offset[] = {0,4,0};
constructioncount = 8; constructioncount = 8;
removeoutput[] = {{"ItemSandbagExLarge5x",1}};
nounderground = 0; nounderground = 0;
}; };
class SandNest_DZ : BuiltItems { class Land_HBarrier5Curved_DZ: ModularItems {
scope = 2; scope = 2;
model = "\ca\Misc_E\fortified_nest_small_ep1"; model = "\ca\misc2\HBarrier5_round15.p3d";
displayName = $STR_EQUIP_NAME_21_NEST; icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa";
expansion = 1; picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
icon = "\Ca\misc3\data\Icons\icon_fortNestSmall_ca.paa"; mapSize = 7;
mapSize = 5;
armor = 500;
irTarget = 0;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
GhostPreview = "Land_fortified_nest_smallPreview"; displayName = $STR_EQUIP_NAME_HBARRIER5CURVED;
animated = 0;
simulation = "house"; simulation = "house";
accuracy = 0.2; destrType = "DestructBuilding";
cost = 0; maintainBuilding[] = {{"ItemSandbag",3}};
ladders[] = {}; armor = 10000;
TextPlural = "Houses"; offset[] = {0,4,0};
TextSingular = "House"; constructioncount = 8;
nameSound = "obj_house"; nounderground = 0;
offset[] = {0,3,0}; };
removeoutput[] = {{"sandbag_nest_kit",1}};
class Land_WarfareBarrier5x_DZ: ModularItems {
scope = 2;
model = "\ca\misc3\WF\WF_hesco_5x.p3d";
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa";
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
mapSize = 7;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_WBARRIER5;
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",3}};
armor = 10000;
offset[] = {0,5,0};
constructioncount = 8;
nounderground = 0;
};
class Land_WarfareBarrier10x_DZ: ModularItems {
scope = 2;
model = "\ca\misc3\WF\WF_hesco_10x.p3d";
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa";
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
mapSize = 7;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_WBARRIER10;
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",4}};
armor = 15000;
offset[] = {0,9,0};
constructioncount = 8;
nounderground = 0;
};
class Land_WarfareBarrier10xTall_DZ: ModularItems {
scope = 2;
model = "\ca\misc3\WF\WF_hesco_big_10x.p3d";
icon = "\Ca\misc2\data\Icons\icon_hescoBarrier5_ca.paa";
picture = "\CA\ui\data\icon_wf_barriers_ca.paa";
mapSize = 7;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_WBARRIER10TALL;
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",5}};
armor = 20000;
offset[] = {0,9,0};
constructioncount = 8;
nounderground = 0;
};
class SandNest_DZ: ModularItems { // BuiltItems
scope = 2;
model = "\ca\Misc_E\fortified_nest_small_ep1";
icon = "\Ca\misc3\data\Icons\icon_fortNestSmall_ca.paa";
mapSize = 5;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_21_NEST;
//GhostPreview = "Land_fortified_nest_smallPreview";
simulation = "house";
expansion = 1;
nameSound = "obj_house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",1},{"PartWoodLumber",1}};
armor = 7500;
offset[] = {0,4.5,-0.1};
constructioncount = 5;
nounderground = 0;
};
class SandNestLarge_DZ: ModularItems {
scope = 2;
model = "\ca\misc3\fortified_nest_big.p3d";
icon = "\Ca\misc3\data\Icons\icon_fortnestbig_ca.paa";
mapSize = 6;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_LARGENEST;
simulation = "house";
expansion = 1;
nameSound = "obj_house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",2},{"PartWoodLumber",1}};
armor = 12500;
offset[] = {0,8,0};
constructioncount = 7;
nounderground = 0;
};
class HeavyBagFence_DZ: ModularItems {
scope = 2;
model = "\ca\misc3\fort_bagfence_long.p3d";
icon = "\Ca\misc3\data\Icons\icon_fortbagfencelong_ca.paa";
mapSize = 3;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_HBF; // "Heavy Bag Fence"
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",1}};
armor = 5000;
offset[] = {0,2.5,0};
constructioncount = 3;
nounderground = 0;
};
class HeavyBagFenceCorner_DZ: ModularItems {
scope = 2;
model = "\ca\misc3\fort_bagfence_corner.p3d";
icon = "\Ca\misc3\data\Icons\icon_fortbagfencecorner_ca.paa";
mapSize = 4;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_HBF_CORNER; // "Heavy Bag Fence (Corner)"
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",1}};
armor = 6250;
offset[] = {0,3,0};
constructioncount = 4;
nounderground = 0;
};
class HeavyBagFenceRound_DZ: ModularItems {
scope = 2;
model = "\ca\misc3\fort_bagfence_round.p3d";
icon = "\Ca\misc3\data\Icons\icon_fortbagfenceround_ca.paa";
mapSize = 6;
vehicleClass = "DayZ Epoch Buildables";
displayName = $STR_EQUIP_NAME_HBF_ROUND; // "Heavy Bag Fence (Round)"
simulation = "house";
destrType = "DestructBuilding";
maintainBuilding[] = {{"ItemSandbag",1},{"PartWoodPile",1}};
armor = 7500;
offset[] = {0,4,0};
constructioncount = 5;
nounderground = 0; nounderground = 0;
}; };

View File

@@ -73,6 +73,8 @@ class OutHouse_DZ: Land_KBud
transportMaxMagazines = 4; transportMaxMagazines = 4;
transportMaxWeapons = 4; transportMaxWeapons = 4;
transportMaxBackpacks = 4; transportMaxBackpacks = 4;
removeoutput[] = {{"outhouse_kit",1}};
nounderground = 0; // new
constructioncount = 2; constructioncount = 2;
class transportmagazines {}; class transportmagazines {};
}; };
@@ -82,12 +84,13 @@ class StorageShed_DZ: Land_Shed_M01
armor = 1600; armor = 1600;
scope = 2; scope = 2;
model = "\z\addons\dayz_epoch_v\base_building\storage\Shed_M02.p3d"; model = "\z\addons\dayz_epoch_v\base_building\storage\Shed_M02.p3d";
offset[] = {0,4,0}; offset[] = {0,3,0};
displayName = $STR_EPOCH_STORAGESHED; displayName = $STR_EPOCH_STORAGESHED;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
transportMaxMagazines = 400; transportMaxMagazines = 400;
transportMaxWeapons = 40; transportMaxWeapons = 40;
transportMaxBackpacks = 20; transportMaxBackpacks = 20;
removeoutput[] = {{"storage_shed_kit",1}};
constructioncount = 6; constructioncount = 6;
GhostPreview = "StorageShed_Preview_DZ"; GhostPreview = "StorageShed_Preview_DZ";
@@ -120,12 +123,13 @@ class StorageShed2_DZ: Land_Shed_M01
armor = 3200; armor = 3200;
scope = 2; scope = 2;
model = "\z\addons\dayz_epoch_v\base_building\storage\Shed_M02.p3d"; model = "\z\addons\dayz_epoch_v\base_building\storage\Shed_M02.p3d";
offset[] = {0,4,0}; offset[] = {0,3,0};
displayName = $STR_EPOCH_STORAGESHED2; displayName = $STR_EPOCH_STORAGESHED2;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
transportMaxMagazines = 600; transportMaxMagazines = 600;
transportMaxWeapons = 60; transportMaxWeapons = 60;
transportMaxBackpacks = 30; transportMaxBackpacks = 30;
removeoutput[] = {{"storage_shed_kit2",1}};
constructioncount = 12; constructioncount = 12;
GhostPreview = "StorageShed_Preview_DZ"; GhostPreview = "StorageShed_Preview_DZ";
@@ -157,13 +161,14 @@ class WoodShack_DZ: Land_kulna
{ {
scope = 2; scope = 2;
destrType = "DestructBuilding"; destrType = "DestructBuilding";
offset[] = {0,4,0}; offset[] = {0,3.5,0};
armor = 800; armor = 800;
displayName = $STR_EPOCH_WOODSHACK; displayName = $STR_EPOCH_WOODSHACK;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
transportMaxMagazines = 100; transportMaxMagazines = 100;
transportMaxWeapons = 10; transportMaxWeapons = 10;
transportMaxBackpacks = 5; transportMaxBackpacks = 5;
removeoutput[] = {{"wood_shack_kit",1}};
constructioncount = 4; constructioncount = 4;
nounderground = 0; nounderground = 0;
upgradeBuilding[] = {"WoodShack2_DZ",{"ItemToolbox","Handsaw_DZE","Hammer_DZE"},{{"PartWoodPlywood",4},{"equip_nails",2}}}; upgradeBuilding[] = {"WoodShack2_DZ",{"ItemToolbox","Handsaw_DZE","Hammer_DZE"},{{"PartWoodPlywood",4},{"equip_nails",2}}};
@@ -172,13 +177,14 @@ class WoodShack2_DZ: Land_kulna
{ {
scope = 2; scope = 2;
destrType = "DestructBuilding"; destrType = "DestructBuilding";
offset[] = {0,4,0}; offset[] = {0,3.5,0};
armor = 1600; armor = 1600;
displayName = $STR_EPOCH_WOODSHACK2; displayName = $STR_EPOCH_WOODSHACK2;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
transportMaxMagazines = 175; transportMaxMagazines = 175;
transportMaxWeapons = 20; transportMaxWeapons = 20;
transportMaxBackpacks = 10; transportMaxBackpacks = 10;
removeoutput[] = {{"wood_shack_kit2",1}};
constructioncount = 8; constructioncount = 8;
nounderground = 0; nounderground = 0;
}; };
@@ -188,13 +194,14 @@ class Wooden_shed_DZ: Land_Shed_wooden
{ {
scope = 2; scope = 2;
destrType = "DestructBuilding"; destrType = "DestructBuilding";
offset[] = {0,5,0}; offset[] = {0,4,0};
armor = 1000; armor = 1000;
displayName = $STR_EPOCH_NICEWOODSHED; displayName = $STR_EPOCH_NICEWOODSHED;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
transportMaxMagazines = 200; transportMaxMagazines = 200;
transportMaxWeapons = 20; transportMaxWeapons = 20;
transportMaxBackpacks = 10; transportMaxBackpacks = 10;
removeoutput[] = {{"wooden_shed_kit",1}};
nounderground = 0; nounderground = 0;
constructioncount = 5; constructioncount = 5;
upgradeBuilding[] = {"Wooden_shed2_DZ",{"ItemToolbox","Handsaw_DZE","Hammer_DZE"},{{"PartWoodPlywood",8},{"equip_nails",2}}}; upgradeBuilding[] = {"Wooden_shed2_DZ",{"ItemToolbox","Handsaw_DZE","Hammer_DZE"},{{"PartWoodPlywood",8},{"equip_nails",2}}};
@@ -204,13 +211,14 @@ class Wooden_shed2_DZ: Land_Shed_wooden
{ {
scope = 2; scope = 2;
destrType = "DestructBuilding"; destrType = "DestructBuilding";
offset[] = {0,5,0}; offset[] = {0,4,0};
armor = 2000; armor = 2000;
displayName = $STR_EPOCH_NICEWOODSHED2; displayName = $STR_EPOCH_NICEWOODSHED2;
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
transportMaxMagazines = 300; transportMaxMagazines = 300;
transportMaxWeapons = 30; transportMaxWeapons = 30;
transportMaxBackpacks = 15; transportMaxBackpacks = 15;
removeoutput[] = {{"wooden_shed_kit2",1}};
nounderground = 0; nounderground = 0;
constructioncount = 10; constructioncount = 10;
}; };
@@ -259,7 +267,7 @@ class Stoneoven_DZ: BuiltItems
scope = 2; scope = 2;
displayName = $STR_EPOCH_STONEOVEN; displayName = $STR_EPOCH_STONEOVEN;
destrType = "DestructTree"; destrType = "DestructTree";
offset[] = {0,1.5,0}; offset[] = {0,2,0};
model = "\z\addons\dayz_epoch_v\props\oven\oven.p3d"; model = "\z\addons\dayz_epoch_v\props\oven\oven.p3d";
icon = "\ca\data\data\Unknown_object.paa"; icon = "\ca\data\data\Unknown_object.paa";
mapSize = 2; mapSize = 2;
@@ -412,7 +420,7 @@ class Arcade_DZ: BuiltItems
transportMaxWeapons = 15; transportMaxWeapons = 15;
transportMaxMagazines = 35; transportMaxMagazines = 35;
transportmaxbackpacks = 5; transportmaxbackpacks = 5;
offset[] = {0,2.5,0}; offset[] = {0,2,0};
removeoutput[] = {{"arcade_kit",1}}; removeoutput[] = {{"arcade_kit",1}};
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
}; };
@@ -462,6 +470,7 @@ class StorageCrate_DZ: BuiltItems
transportMaxMagazines = 60; transportMaxMagazines = 60;
transportmaxbackpacks = 1; transportmaxbackpacks = 1;
removeoutput[] = {{"storage_crate_kit",1}}; removeoutput[] = {{"storage_crate_kit",1}};
nounderground = 0; // new
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
}; };
@@ -479,5 +488,6 @@ class CamoStorageCrate_DZ: BuiltItems
transportmaxbackpacks = 6; transportmaxbackpacks = 6;
requireplot = 0; requireplot = 0;
removeoutput[] = {{"camo_storage_crate_kit",1}}; removeoutput[] = {{"camo_storage_crate_kit",1}};
nounderground = 0; // new
vehicleClass = "DayZ Epoch Buildables"; vehicleClass = "DayZ Epoch Buildables";
}; };

View File

@@ -72,6 +72,7 @@ class Land_Fire: House
actionBegin1 = "lightup"; actionBegin1 = "lightup";
actionEnd1 = "lightup"; actionEnd1 = "lightup";
}; };
class Land_Fire_barrel : Land_Fire class Land_Fire_barrel : Land_Fire
{ {
model = "z\addons\dayz_communityassets\models\Barel7"; model = "z\addons\dayz_communityassets\models\Barel7";
@@ -105,7 +106,9 @@ class Land_Fire_DZ : Land_Fire {
transportMaxMagazines = 1; transportMaxMagazines = 1;
transportMaxWeapons = 0; transportMaxWeapons = 0;
transportMaxBackpacks = 0; transportMaxBackpacks = 0;
offset[] = {0,1,0}; offset[] = {0,1,-0.05};
requireplot = 0;
nounderground = 0;
constructioncount = 1; constructioncount = 1;
class UserActions { class UserActions {
class lightup { class lightup {