Change scope and type of configs from name to numbers

This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs.  A proper config should use numbers for those entries. This is the same how arma configs are written.  The basicDefines.hpp has all the needed information stored.

Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
This commit is contained in:
A Man
2020-05-29 02:04:06 +02:00
parent 4040b784b5
commit d9b9874532
291 changed files with 3439 additions and 3069 deletions

View File

@@ -1,9 +1,8 @@
class TrapBear : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\bear_trap_gear.p3d";
picture = "\dayz_equip\textures\equip_bear_trap_ca.paa";
displayName = $STR_EQUIP_NAME_BEARTRAP;

View File

@@ -1,13 +1,13 @@
class desert_large_net_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LARGEDESERTCAMONET;
descriptionShort = $STR_EPOCH_LARGECAMONET_DESC;
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -21,14 +21,14 @@ class desert_large_net_kit: CA_Magazine
};
class forest_large_net_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LARGEFORESTCAMONET;
descriptionShort = $STR_EPOCH_LARGECAMONET_DESC;
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -42,14 +42,14 @@ class forest_large_net_kit: CA_Magazine
};
class desert_net_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_DESERTCAMONET;
descriptionShort = $STR_EPOCH_CAMONET_DESC;
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -72,14 +72,14 @@ class desert_net_kit: CA_Magazine
};
class forest_net_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_FORESTCAMONET;
descriptionShort = $STR_EPOCH_CAMONET_DESC;
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
weight = 25;
class ItemActions
{
class Build

View File

@@ -1,13 +1,13 @@
class ItemFireBarrel_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_FIREBARRELKIT;
descriptionShort = $STR_EPOCH_FIREBARRELKIT_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 45;
class ItemActions
{
class Build
@@ -22,14 +22,14 @@ class ItemFireBarrel_kit: CA_Magazine
class workbench_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WORKBENCH;
descriptionShort = $STR_EPOCH_WORKBENCH_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 10;
class ItemActions
{
class Build
@@ -45,7 +45,7 @@ class workbench_kit: CA_Magazine
// DayZ Mod workbench
class ItemWorkBench : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_BLD_name_ItemWorkBench;//"Work Bench (Packed)"
@@ -55,8 +55,10 @@ class ItemWorkBench : CA_Magazine
vehicle = "WorkBench";
sfx = "tentunpack";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_BLD_build_ItemWorkBench;//"place WorkBench"
script = "; ['ItemWorkBench','Build'] spawn player_buildPlaceables;";
require[] = {};
@@ -68,13 +70,14 @@ class ItemWorkBench : CA_Magazine
class wood_ramp_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODRAMP;
descriptionShort = $STR_EPOCH_WOODENRAMP_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
@@ -89,13 +92,14 @@ class wood_ramp_kit: CA_Magazine
class plot_pole_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_PLAYER_246;
descriptionShort = $STR_EPOCH_PLOT_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
@@ -110,14 +114,14 @@ class plot_pole_kit: CA_Magazine
class metal_panel_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_METALPANEL;
descriptionShort = $STR_EPOCH_METALPANEL_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 50;
class ItemActions
{
class Build
@@ -141,16 +145,18 @@ class metal_panel_kit: CA_Magazine
class ItemCorrugated : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_CORRUGATEDFENCE;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_CORRUGATEDFENCE_DESC;
class ItemActions
{
class Build {
class Build
{
text = $STR_EPOCH_PLAYER_214;
script = "spawn player_build;";
require[] = {"ItemEtool","ItemToolbox"};
@@ -188,10 +194,9 @@ class ItemCorrugated : CA_Magazine
class ItemWire : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\Fence_wire_kit.p3d";
picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa";
displayName = $STR_EQUIP_NAME_23;
@@ -213,10 +218,9 @@ class ItemWire : CA_Magazine
class ItemTankTrap : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\tank_trap_kit.p3d";
picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa";
displayName = $STR_EQUIP_NAME_22;
@@ -238,15 +242,13 @@ class ItemTankTrap : CA_Magazine
class ItemGenerator : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\generator_gear.p3d";
picture = "\dayz_equip\textures\equip_generator_ca.paa";
displayName = $STR_EQUIP_NAME_31;
descriptionShort = $STR_EQUIP_DESC_31;
weight = 30; // used in R3F weight
class ItemActions
{
@@ -263,14 +265,14 @@ class ItemGenerator : CA_Magazine
class fuel_pump_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_FUELPUMP;
descriptionShort = $STR_EPOCH_FUELPUMP;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 50;
class ItemActions
{
class Build
@@ -285,14 +287,14 @@ class fuel_pump_kit: CA_Magazine
class light_pole_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LIGHTPOLE;
descriptionShort = $STR_EPOCH_LIGHTPOLE_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -307,14 +309,14 @@ class light_pole_kit: CA_Magazine
class deer_stand_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_DEERSTAND;
descriptionShort = $STR_EPOCH_DEERSTAND_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -329,14 +331,14 @@ class deer_stand_kit: CA_Magazine
class m240_nest_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_M240NEST;
descriptionShort = $STR_EPOCH_M240NEST;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 125;
class ItemActions
{
class Build
@@ -351,14 +353,14 @@ class m240_nest_kit: CA_Magazine
class rusty_gate_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_RUSTYGATE;
descriptionShort = $STR_EPOCH_RUSTYGATE_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -373,14 +375,14 @@ class rusty_gate_kit: CA_Magazine
class stick_fence_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_STICKFENCE;
descriptionShort = $STR_EPOCH_STICKFENCE_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 15;
class ItemActions
{
class Build
@@ -395,14 +397,14 @@ class stick_fence_kit: CA_Magazine
class sun_shade_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_CANVASSUNSHADE;
descriptionShort = $STR_EPOCH_CANVASSUNSHADE_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -417,14 +419,14 @@ class sun_shade_kit: CA_Magazine
class park_bench_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODBENCH;
descriptionShort = $STR_EPOCH_WOODBENCH;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 25;
class ItemActions
{
class Build
@@ -439,14 +441,14 @@ class park_bench_kit: CA_Magazine
class ItemScaffoldingKit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_SCAFFOLDING;
descriptionShort = $STR_EPOCH_SCAFFOLDING;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 80;
class ItemActions
{
class Build

View File

@@ -1,14 +1,17 @@
class metal_floor_kit: CA_Magazine {
scope = public;
class metal_floor_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_METALFLOOR;
descriptionShort = $STR_EPOCH_METALFLOOR;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 325;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -17,17 +20,20 @@ class metal_floor_kit: CA_Magazine {
};
};
class half_cinder_wall_kit: CA_Magazine {
scope = public;
class half_cinder_wall_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_CINDERBLOCKWALL_HALF;
descriptionShort = $STR_EPOCH_CINDERBLOCKWALL_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 325;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -36,17 +42,20 @@ class half_cinder_wall_kit: CA_Magazine {
};
};
class full_cinder_wall_kit: CA_Magazine {
scope = public;
class full_cinder_wall_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_CINDERBLOCKWALL;
descriptionShort = $STR_EPOCH_FULLCINDERBLOCKWALL_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 600;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -55,17 +64,20 @@ class full_cinder_wall_kit: CA_Magazine {
};
};
class cinder_door_kit: CA_Magazine {
scope = public;
class cinder_door_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_BLOCKDOORWAY;
descriptionShort = $STR_EPOCH_BLOCKDOORWAY_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 325;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -74,17 +86,20 @@ class cinder_door_kit: CA_Magazine {
};
};
class cinder_door_kit_locked: CA_Magazine {
scope = public;
class cinder_door_kit_locked: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_BLOCKDOORLOCKED;
descriptionShort = $STR_EPOCH_BLOCKDOORWAY_LOCKED_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 340;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -93,17 +108,20 @@ class cinder_door_kit_locked: CA_Magazine {
};
};
class cinder_garage_kit: CA_Magazine {
scope = public;
class cinder_garage_kit: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_BLOCKGARAGEDOORWAY;
descriptionShort = $STR_EPOCH_BLOCKGARAGEDOORWAY_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 325;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -112,17 +130,20 @@ class cinder_garage_kit: CA_Magazine {
};
};
class cinder_garage_kit_locked: CA_Magazine {
scope = public;
class cinder_garage_kit_locked: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_BLOCKGARAGEDOORLOCKED;
descriptionShort = $STR_EPOCH_BLOCKGARAGEDOORWAY_LOCKED_DESC;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
weight = 340;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -131,17 +152,20 @@ class cinder_garage_kit_locked: CA_Magazine {
};
};
class ItemWoodFloor: CA_Magazine {
scope = public;
class ItemWoodFloor: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_FLOORCEILING;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_FLOORCEILING_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -150,23 +174,27 @@ class ItemWoodFloor: CA_Magazine {
};
};
class ItemWoodFloorHalf: CA_Magazine {
scope = public;
class ItemWoodFloorHalf: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_FLOORCEILINGHALF;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_FLOORCEILING_DESC;
weight = 15;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodFloorHalf_DZ";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_232;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -177,23 +205,27 @@ class ItemWoodFloorHalf: CA_Magazine {
};
};
class ItemWoodFloorQuarter: CA_Magazine {
scope = public;
class ItemWoodFloorQuarter: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_FLOORCEILINGQUARTER;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_FLOORCEILING_DESC;
weight = 10;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodFloorQuarter_DZ";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_232a;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -204,23 +236,27 @@ class ItemWoodFloorQuarter: CA_Magazine {
};
};
class ItemWoodStairs: CA_Magazine {
scope = public;
class ItemWoodStairs: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODSTAIRS;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WOODSTAIRS;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodStairsSans_DZ";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_233;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -231,17 +267,20 @@ class ItemWoodStairs: CA_Magazine {
};
};
class ItemWoodStairsSupport: CA_Magazine {
scope = public;
class ItemWoodStairsSupport: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODSTAIRSWITHSUPPORTS;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WOODSTAIRSWITHSUPPORTS_DESC;
weight = 30;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -250,17 +289,20 @@ class ItemWoodStairsSupport: CA_Magazine {
};
};
class ItemWoodLadder: CA_Magazine {
scope = public;
class ItemWoodLadder: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODLADDER;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WOODLADDER;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -269,23 +311,27 @@ class ItemWoodLadder: CA_Magazine {
};
};
class ItemWoodWall: CA_Magazine {
scope = public;
class ItemWoodWall: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODWALL;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WOODWALL_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodSmallWall_DZ";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_234;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -293,7 +339,8 @@ class ItemWoodWall: CA_Magazine {
output[] = {{"ItemWoodWallDoor",1}};
input[] = {{"ItemWoodWall",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_235;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -301,7 +348,8 @@ class ItemWoodWall: CA_Magazine {
output[] = {{"ItemWoodWallWindow",1}};
input[] = {{"ItemWoodWall",1},{"PartGlass",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_236;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -312,23 +360,27 @@ class ItemWoodWall: CA_Magazine {
};
};
class ItemWoodWallThird: CA_Magazine {
scope = public;
class ItemWoodWallThird: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODWALLTHIRDPART;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WOODWALLTHIRDPART_DESC;
weight = 7;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodSmallWallThird_DZ";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_237;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -339,17 +391,20 @@ class ItemWoodWallThird: CA_Magazine {
};
};
class ItemWoodWallWindow: CA_Magazine {
scope = public;
class ItemWoodWallWindow: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WALLWITHWINDOW;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WALLWITHWINDOW_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -358,23 +413,27 @@ class ItemWoodWallWindow: CA_Magazine {
};
};
class ItemWoodWallDoor: CA_Magazine {
scope = public;
class ItemWoodWallDoor: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WALLWITHDOORWAY;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WALLWITHDOORWAY_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodSmallWallDoor_DZ";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_238;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -385,23 +444,27 @@ class ItemWoodWallDoor: CA_Magazine {
};
};
class ItemWoodWallWithDoor: CA_Magazine {
scope = public;
class ItemWoodWallWithDoor: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WALLWITHDOOR;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WALLWITHDOOR_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_WoodDoor";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_239;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -412,17 +475,20 @@ class ItemWoodWallWithDoor: CA_Magazine {
};
};
class ItemWoodWallWithDoorLocked: CA_Magazine {
scope = public;
class ItemWoodWallWithDoorLocked: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WALLWITHDOORLOCKED;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WALLWITHDOORLOCKED_DESC;
weight = 30;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -431,23 +497,27 @@ class ItemWoodWallWithDoorLocked: CA_Magazine {
};
};
class ItemWoodWallGarageDoor: CA_Magazine {
scope = public;
class ItemWoodWallGarageDoor: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODGARAGEDOOR;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WOODGARAGEDOOR_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_GarageWoodDoor";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_240;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -458,17 +528,20 @@ class ItemWoodWallGarageDoor: CA_Magazine {
};
};
class ItemWoodWallGarageDoorLocked: CA_Magazine {
scope = public;
class ItemWoodWallGarageDoorLocked: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODGARAGEDOORLOCKED;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_WOODGARAGEDOORLOCKED_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -477,17 +550,20 @@ class ItemWoodWallGarageDoorLocked: CA_Magazine {
};
};
class ItemWoodWallLg: CA_Magazine {
scope = public;
class ItemWoodWallLg: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LARGEWOODWALL;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_LARGEWOODWALL_DESC;
weight = 25;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -501,7 +577,8 @@ class ItemWoodWallLg: CA_Magazine {
output[] = {{"ItemWoodWallDoorLg",1}};
input[] = {{"ItemWoodWallLg",1}};
};
class Crafting1 {
class Crafting1
{
text = $STR_EPOCH_PLAYER_235;
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -509,7 +586,8 @@ class ItemWoodWallLg: CA_Magazine {
output[] = {{"ItemWoodWallWindowLg",1}};
input[] = {{"ItemWoodWallLg",1},{"PartGlass",1}};
};
class Crafting2 {
class Crafting2
{
text = $STR_EPOCH_PLAYER_240;
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -520,17 +598,20 @@ class ItemWoodWallLg: CA_Magazine {
};
};
class ItemWoodWallWindowLg: CA_Magazine {
scope = public;
class ItemWoodWallWindowLg: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LARGEWALLWITHWINDOW;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_LARGEWALLWITHWINDOW_DESC;
weight = 30;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
@@ -539,23 +620,27 @@ class ItemWoodWallWindowLg: CA_Magazine {
};
};
class ItemWoodWallDoorLg: CA_Magazine {
scope = public;
class ItemWoodWallDoorLg: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LARGEWALLWITHDOORWAY;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_LARGEWALLWITHDOORWAY_DESC;
weight = 30;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "WoodLargeWallDoor_DZ";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_238;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -566,23 +651,27 @@ class ItemWoodWallDoorLg: CA_Magazine {
};
};
class ItemWoodWallWithDoorLg: CA_Magazine {
scope = public;
class ItemWoodWallWithDoorLg: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LARGEWALLWITHDOOR;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_LARGEWALLWITHDOOR_DESC;
weight = 30;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};
create = "Land_DZE_LargeWoodDoor";
};
class Crafting {
class Crafting
{
text = $STR_EPOCH_PLAYER_239;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -593,17 +682,20 @@ class ItemWoodWallWithDoorLg: CA_Magazine {
};
};
class ItemWoodWallWithDoorLgLocked: CA_Magazine {
scope = public;
class ItemWoodWallWithDoorLgLocked: CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LARGEWALLWITHDOORLOCKED;
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
descriptionShort = $STR_EPOCH_LARGEWALLWITHDOORLOCKED_DESC;
weight = 35;
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require[] = {"ItemToolbox"};

View File

@@ -1,8 +1,8 @@
class ItemSandbag : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
displayName = $STR_EQUIP_NAME_21;
@@ -50,8 +50,9 @@ class ItemSandbag : CA_Magazine
};
};
class BagFenceRound_DZ_kit : CA_Magazine {
scope = public;
class BagFenceRound_DZ_kit : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_ROUND;
@@ -59,8 +60,10 @@ class BagFenceRound_DZ_kit : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_299;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -78,8 +81,9 @@ class BagFenceRound_DZ_kit : CA_Magazine {
};
};
class ItemSandbagLarge : CA_Magazine {
scope = public;
class ItemSandbagLarge : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_HBARRIER;
@@ -87,8 +91,10 @@ class ItemSandbagLarge : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_273_3;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -106,8 +112,9 @@ class ItemSandbagLarge : CA_Magazine {
};
};
class ItemSandbagExLarge : CA_Magazine {
scope = public;
class ItemSandbagExLarge : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
@@ -115,8 +122,10 @@ class ItemSandbagExLarge : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_273_4;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -134,8 +143,9 @@ class ItemSandbagExLarge : CA_Magazine {
};
};
class ItemSandbagExLarge5x : CA_Magazine {
scope = public;
class ItemSandbagExLarge5x : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
@@ -143,8 +153,10 @@ class ItemSandbagExLarge5x : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_273_5;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -155,7 +167,7 @@ class ItemSandbagExLarge5x : CA_Magazine {
class sandbag_nest_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_NEST;

View File

@@ -1,6 +1,6 @@
class outhouse_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_OUTHOUSE;
@@ -22,7 +22,7 @@ class outhouse_kit: CA_Magazine
class wooden_shed_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_NICEWOODSHED;
@@ -44,7 +44,7 @@ class wooden_shed_kit: CA_Magazine
class wooden_shed_kit2: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_NICEWOODSHED2;
@@ -66,7 +66,7 @@ class wooden_shed_kit2: CA_Magazine
class wood_shack_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODSHACK;
@@ -88,7 +88,7 @@ class wood_shack_kit: CA_Magazine
class wood_shack_kit2: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODSHACK2;
@@ -110,7 +110,7 @@ class wood_shack_kit2: CA_Magazine
class storage_shed_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_STORAGESHED;
@@ -132,7 +132,7 @@ class storage_shed_kit: CA_Magazine
class storage_shed_kit2: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_STORAGESHED2;
@@ -154,7 +154,7 @@ class storage_shed_kit2: CA_Magazine
class ItemGunRackKit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_GUNRACK;
@@ -176,7 +176,7 @@ class ItemGunRackKit: CA_Magazine
class ItemGunRackKit2: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_GUNRACK2;
@@ -199,7 +199,7 @@ class ItemGunRackKit2: CA_Magazine
class ItemWoodCrateKit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODCRATE;
@@ -221,7 +221,7 @@ class ItemWoodCrateKit: CA_Magazine
class ItemWoodCrateKit2: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_WOODCRATE2;
@@ -243,7 +243,7 @@ class ItemWoodCrateKit2: CA_Magazine
class ItemVault: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_SAFE;
@@ -265,7 +265,7 @@ class ItemVault: CA_Magazine
class ItemLockbox: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EPOCH_LOCKBOX;
@@ -287,7 +287,7 @@ class ItemLockbox: CA_Magazine
class StashSmall_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_VEH_NAME_STASH;

View File

@@ -1,13 +1,13 @@
class ItemTent : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\tentbag_gear.p3d";
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
displayName = $STR_EQUIP_NAME_20;
descriptionShort = $STR_EQUIP_DESC_20;
class ItemActions
{
class Build
@@ -42,10 +42,9 @@ class ItemTent : CA_Magazine
class ItemDomeTent : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\tentbag_gear.p3d";
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
displayName = $STR_VEH_NAME_DOME_TENT;
@@ -74,13 +73,11 @@ class ItemDomeTent : CA_Magazine
};
};
// EPOCH ADDITION
class ItemDesertTent : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = ;
model = "\dayz_equip\models\tentbag_gear.p3d";
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
displayName = $STR_VEH_NAME_DESERT_TENT;

View File

@@ -1,9 +1,8 @@
class ItemTrapTripwireCans : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_can.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_can.paa";
displayName = $STR_ITEM_NAME_TRIPWIRE_CANS;