mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 19:06:29 +03:00
Rearrange CfgMagazines
This commit rearranges the complete CfgMagazines structure. We no longer have seperated folders for DayZ Mod and Epoch. All items got merged and grouped together. Unused items got moved into a folder called Not used under items.
This commit is contained in:
57
SQF/dayz_code/Configs/CfgMagazines/Buildings/BearTrap.hpp
Normal file
57
SQF/dayz_code/Configs/CfgMagazines/Buildings/BearTrap.hpp
Normal file
@@ -0,0 +1,57 @@
|
||||
class TrapBear : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\bear_trap_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_bear_trap_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_BEARTRAP;
|
||||
descriptionShort = $STR_EQUIP_DESC_BEARTRAP;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"TrapBear"};
|
||||
create = "BearTrap_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapBearTrapFlare : TrapBear
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_dropped_flare.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_beartrap_dropped_flare.paa";
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_FLARE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapBearTrapFlare"};
|
||||
create = "TrapBearTrapFlare";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapBearTrapSmoke : TrapBear
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_beartrap_dropped_smoke.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_beartrap_dropped_smoke.paa";
|
||||
displayName = $STR_ITEM_NAME_BEAR_TRAP_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_BEAR_TRAP_SMOKE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapBearTrapSmoke"};
|
||||
create = "TrapBearTrapSmoke";
|
||||
};
|
||||
};
|
||||
};
|
||||
102
SQF/dayz_code/Configs/CfgMagazines/Buildings/Camonets.hpp
Normal file
102
SQF/dayz_code/Configs/CfgMagazines/Buildings/Camonets.hpp
Normal file
@@ -0,0 +1,102 @@
|
||||
class desert_large_net_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "DesertLargeCamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class forest_large_net_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "ForestLargeCamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class desert_net_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "DesertCamoNet_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_229;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_large_net_kit",1}};
|
||||
input[] = {{"desert_net_kit",3}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class forest_net_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "ForestCamoNet_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_229;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_large_net_kit",1}};
|
||||
input[] = {{"forest_net_kit",3}};
|
||||
};
|
||||
};
|
||||
};
|
||||
460
SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp
Normal file
460
SQF/dayz_code/Configs/CfgMagazines/Buildings/Misc.hpp
Normal file
@@ -0,0 +1,460 @@
|
||||
class ItemFireBarrel_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "FireBarrel_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class workbench_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WorkBench_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// DayZ Mod workbench
|
||||
class ItemWorkBench : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemWorkBench;//"Work Bench (Packed)"
|
||||
model = "z\addons\dayz_buildings\models\workbench_flat.p3d";
|
||||
picture = "\z\addons\dayz_buildings\equip\item_workbench.paa"; // add to PBO
|
||||
descriptionShort = $STR_BLD_desc_ItemWorkBench;//"A Folded Workbench, required for House Building and Some Crafting"
|
||||
vehicle = "WorkBench";
|
||||
sfx = "tentunpack";
|
||||
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_BLD_build_ItemWorkBench;//"place WorkBench"
|
||||
script = "; ['ItemWorkBench','Build'] spawn player_buildPlaceables;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemWorkBench"};
|
||||
create = "WorkBench";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class wood_ramp_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "WoodRamp_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class plot_pole_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "Plastic_Pole_EP1_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class metal_panel_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "MetalPanel_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_228;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop","fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar","ItemSledge"};
|
||||
output[] = {{"metal_floor_kit",1}};
|
||||
input[] = {{"metal_panel_kit",4}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemCorrugated : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_EPOCH_PLAYER_214;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "Fence_corrugated_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_215;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"wooden_shed_kit",1}};
|
||||
input[] = {{"ItemCorrugated",2},{"PartWoodPlywood",4},{"PartWoodLumber",4}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_217;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"outhouse_kit",1}};
|
||||
input[] = {{"ItemCorrugated",1},{"PartWoodPlywood",3},{"PartWoodLumber",3},{"ItemTrashToiletpaper",1}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_216;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"storage_shed_kit",1}};
|
||||
input[] = {{"ItemCorrugated",4},{"PartWoodPlywood",2},{"PartWoodLumber",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWire : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\Fence_wire_kit.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fencewire_kit_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_23;
|
||||
descriptionShort = $STR_EQUIP_DESC_23;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemWire"};
|
||||
create = "Fort_RazorWire"; // vanilla uses Wire_cat1
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTankTrap : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\tank_trap_kit.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tanktrap_kit_CA.paa";
|
||||
displayName = $STR_EQUIP_NAME_22;
|
||||
descriptionShort = $STR_EQUIP_DESC_22;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemTankTrap"};
|
||||
create = "Hedgehog_DZ";
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemGenerator : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
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
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemGenerator"};
|
||||
create = "Generator_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class fuel_pump_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "FuelPump_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class light_pole_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "LightPole_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class deer_stand_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "DeerStand_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class m240_nest_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "M240Nest_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class rusty_gate_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "MetalGate_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class stick_fence_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "StickFence_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class sun_shade_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "CanvasHut_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class park_bench_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "ParkBench_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemScaffoldingKit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "Scaffolding_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
613
SQF/dayz_code/Configs/CfgMagazines/Buildings/ModularBuilding.hpp
Normal file
613
SQF/dayz_code/Configs/CfgMagazines/Buildings/ModularBuilding.hpp
Normal file
@@ -0,0 +1,613 @@
|
||||
class metal_floor_kit: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "MetalFloor_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class half_cinder_wall_kit: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWallHalf_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class full_cinder_wall_kit: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWall_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class cinder_door_kit: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWallSmallDoorway_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class cinder_door_kit_locked: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWallDoorSmallLocked_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class cinder_garage_kit: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWallDoorway_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class cinder_garage_kit_locked: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "CinderWallDoorLocked_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodFloor: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodFloor_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodFloorHalf: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodFloorHalf_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_232;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodFloor",1}};
|
||||
input[] = {{"ItemWoodFloorHalf",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodFloorQuarter: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodFloorQuarter_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_232a;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodFloorHalf",1}};
|
||||
input[] = {{"ItemWoodFloorQuarter",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodStairs: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodStairsSans_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_233;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodStairsSupport",1}};
|
||||
input[] = {{"ItemWoodStairs",1},{"PartWoodLumber",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodStairsSupport: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodStairs_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodLadder: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodLadder_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWall: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodSmallWall_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_234;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallDoor",1}};
|
||||
input[] = {{"ItemWoodWall",1}};
|
||||
};
|
||||
class Crafting1 {
|
||||
text = $STR_EPOCH_PLAYER_235;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallWindow",1}};
|
||||
input[] = {{"ItemWoodWall",1},{"PartGlass",1}};
|
||||
};
|
||||
class Crafting2 {
|
||||
text = $STR_EPOCH_PLAYER_236;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallLg",1}};
|
||||
input[] = {{"ItemWoodWall",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallThird: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodSmallWallThird_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_237;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWall",1}};
|
||||
input[] = {{"ItemWoodWallThird",3}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallWindow: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodSmallWallWin_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallDoor: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodSmallWallDoor_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_238;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallWithDoor",1}};
|
||||
input[] = {{"ItemWoodWallDoor",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallWithDoor: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "Land_DZE_WoodDoor";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_239;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallWithDoorLocked",1}};
|
||||
input[] = {{"ItemWoodWallWithDoor",1},{"ItemComboLock",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallWithDoorLocked: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "Land_DZE_WoodDoorLocked";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallGarageDoor: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "Land_DZE_GarageWoodDoor";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_240;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallGarageDoorLocked",1}};
|
||||
input[] = {{"ItemWoodWallGarageDoor",1},{"ItemComboLock",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallGarageDoorLocked: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "Land_DZE_GarageWoodDoorLocked";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallLg: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodLargeWall_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_234;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallDoorLg",1}};
|
||||
input[] = {{"ItemWoodWallLg",1}};
|
||||
};
|
||||
class Crafting1 {
|
||||
text = $STR_EPOCH_PLAYER_235;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallWindowLg",1}};
|
||||
input[] = {{"ItemWoodWallLg",1},{"PartGlass",1}};
|
||||
};
|
||||
class Crafting2 {
|
||||
text = $STR_EPOCH_PLAYER_240;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallGarageDoor",1}};
|
||||
input[] = {{"ItemWoodWallLg",1},{"PartWoodLumber",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallWindowLg: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodLargeWallWin_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallDoorLg: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodLargeWallDoor_DZ";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_238;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallWithDoorLg",1}};
|
||||
input[] = {{"ItemWoodWallDoorLg",1},{"PartWoodPlywood",1},{"PartWoodLumber",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallWithDoorLg: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "Land_DZE_LargeWoodDoor";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_239;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemWoodWallWithDoorLgLocked",1}};
|
||||
input[] = {{"ItemWoodWallWithDoorLg",1},{"ItemComboLock",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWoodWallWithDoorLgLocked: CA_Magazine {
|
||||
scope = public;
|
||||
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 {
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "Land_DZE_LargeWoodDoorLocked";
|
||||
};
|
||||
};
|
||||
};
|
||||
202
SQF/dayz_code/Configs/CfgMagazines/Buildings/Sandbag.hpp
Normal file
202
SQF/dayz_code/Configs/CfgMagazines/Buildings/Sandbag.hpp
Normal file
@@ -0,0 +1,202 @@
|
||||
class ItemSandbag : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\sandbags.p3d";
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_21;
|
||||
descriptionShort = $STR_EQUIP_DESC_21;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "Sandbag1_DZ";
|
||||
//bypass RoadCheck
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
/*
|
||||
class Build2
|
||||
{
|
||||
text = $STR_CREATE_STASH;
|
||||
script = "; [_id,'Build2'] spawn player_buildPlaceables;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "StashSmall";
|
||||
//Bypass collision test
|
||||
bypassCollision = "true";
|
||||
};
|
||||
*/
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_273;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"ItemSandbagLarge",1}};
|
||||
input[] = {{"ItemSandbag",3},{"ItemWire",1},{"ItemTankTrap",1}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_274;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"sandbag_nest_kit",1}};
|
||||
input[] = {{"ItemSandbag",4},{"PartWoodPlywood",2},{"PartWoodLumber",4}};
|
||||
};
|
||||
class Crafting2
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_298;
|
||||
script = ";['Crafting2','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"BagFenceRound_DZ_kit",1}};
|
||||
input[] = {{"ItemSandbag",1}};
|
||||
};
|
||||
/*
|
||||
class Crafting3
|
||||
{
|
||||
text = "Craft M240 Nest";
|
||||
script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox","M240_DZ"};
|
||||
output[] = {{"m240_nest_kit",1}};
|
||||
input[] = {{"ItemSandbag",4},{"ItemCanvas",1},{"PartWoodPlywood",4},{"PartWoodLumber",3}};
|
||||
inputweapons[] = {"M240_DZ"};
|
||||
};
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
// EPOCH ADDITIONS
|
||||
|
||||
class BagFenceRound_DZ_kit : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_21_ROUND;
|
||||
descriptionShort = $STR_EQUIP_DESC_21;
|
||||
model = "\dayz_equip\models\sandbags.p3d";
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_EPOCH_PLAYER_299;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool"};
|
||||
create = "BagFenceRound_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_195;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"ItemSandbag",1}};
|
||||
input[] = {{"BagFenceRound_DZ_kit",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSandbagLarge : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_21_HBARRIER;
|
||||
descriptionShort = $STR_EQUIP_DESC_21_HBARRIER;
|
||||
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
weight = 50;
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_EPOCH_PLAYER_273_3;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool"};
|
||||
create = "Land_HBarrier1_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_273_1;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"ItemSandbagExLarge",1}};
|
||||
input[] = {{"ItemSandbagLarge",3}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSandbagExLarge : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
|
||||
descriptionShort = $STR_EQUIP_DESC_21_HBARRIER;
|
||||
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
weight = 150;
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_EPOCH_PLAYER_273_4;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool"};
|
||||
create = "Land_HBarrier3_DZ";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_273_2;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemEtool","ItemToolbox"};
|
||||
output[] = {{"ItemSandbagExLarge5x",1}};
|
||||
input[] = {{"ItemSandbagExLarge",1},{"ItemSandbagLarge",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemSandbagExLarge5x : CA_Magazine {
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
|
||||
descriptionShort = $STR_EQUIP_DESC_21_HBARRIER;
|
||||
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
|
||||
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
|
||||
weight = 200;
|
||||
class ItemActions {
|
||||
class Build {
|
||||
text = $STR_EPOCH_PLAYER_273_5;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool"};
|
||||
create = "Land_HBarrier5_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class sandbag_nest_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_21_NEST;
|
||||
descriptionShort = $STR_EQUIP_DESC_21_NEST;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "SandNest_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
173
SQF/dayz_code/Configs/CfgMagazines/Buildings/Storage.hpp
Normal file
173
SQF/dayz_code/Configs/CfgMagazines/Buildings/Storage.hpp
Normal file
@@ -0,0 +1,173 @@
|
||||
class outhouse_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_OUTHOUSE;
|
||||
descriptionShort = $STR_EPOCH_OUTHOUSE_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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "OutHouse_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class wooden_shed_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_NICEWOODSHED;
|
||||
descriptionShort = $STR_EPOCH_NICEWOODSHED_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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "Wooden_shed_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class wood_shack_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_WOODSHACK;
|
||||
descriptionShort = $STR_EPOCH_WOODSHACK;
|
||||
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
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "WoodShack_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class storage_shed_kit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_STORAGESHED;
|
||||
descriptionShort = $STR_EPOCH_STORAGESHED_DESC;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
weight = 75;
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemEtool","ItemToolbox"};
|
||||
create = "StorageShed_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemGunRackKit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_GUNRACKKIT;
|
||||
descriptionShort = $STR_EPOCH_GUNRACKKIT_DESC;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
weight = 20;
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "GunRack_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWoodCrateKit: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_WOODCRATE;
|
||||
descriptionShort = $STR_EPOCH_WOODCRATE_DESC;
|
||||
model = "\z\addons\dayz_epoch\models\supply_crate.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa";
|
||||
weight = 20;
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTIONS_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "WoodCrate_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemVault: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_SAFE;
|
||||
model = "\z\addons\dayz_epoch\models\safe_onside.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_safe_ca.paa";
|
||||
descriptionShort = $STR_EPOCH_SAFE_DESC;
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_230;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "VaultStorageLocked";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemLockbox: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EPOCH_LOCKBOX;
|
||||
model = "\z\addons\dayz_epoch\models\lockbox_mag.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_lockbox_CA.paa";
|
||||
descriptionShort = $STR_EPOCH_LOCKBOX_DESC;
|
||||
weight = 15;
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_231;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
create = "LockboxStorageLocked";
|
||||
};
|
||||
};
|
||||
};
|
||||
108
SQF/dayz_code/Configs/CfgMagazines/Buildings/Tent.hpp
Normal file
108
SQF/dayz_code/Configs/CfgMagazines/Buildings/Tent.hpp
Normal file
@@ -0,0 +1,108 @@
|
||||
class ItemTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
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
|
||||
{
|
||||
text = $STR_PITCH_TENT;
|
||||
script = "spawn player_build;";
|
||||
require[] = {};
|
||||
create = "TentStorage";
|
||||
//Bypass collision test
|
||||
bypassCollision = "true";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_270;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_net_kit",1}};
|
||||
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_271;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_net_kit",1}};
|
||||
input[] = {{"ItemTent",2},{"equip_tent_poles",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemDomeTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_VEH_NAME_DOME_TENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_DOME_TENT;
|
||||
script = "spawn player_build;";
|
||||
require[] = {};
|
||||
create = "DomeTentStorage";
|
||||
//Bypass collision test
|
||||
bypassCollision = "true";
|
||||
};
|
||||
class Crafting1
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_271;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"forest_net_kit",1}};
|
||||
input[] = {{"ItemDomeTent",2},{"equip_tent_poles",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
// EPOCH ADDITION
|
||||
|
||||
class ItemDesertTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
model = "\dayz_equip\models\tentbag_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_tentbag_ca.paa";
|
||||
displayName = $STR_VEH_NAME_DESERT_TENT;
|
||||
descriptionShort = $STR_EQUIP_DESC_20;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_PITCH_DESERT_TENT;
|
||||
script = "spawn player_build;";
|
||||
require[] = {};
|
||||
create = "DesertTentStorage";
|
||||
};
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_270;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"desert_net_kit",1}};
|
||||
input[] = {{"ItemDesertTent",2},{"equip_tent_poles",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
74
SQF/dayz_code/Configs/CfgMagazines/Buildings/TripWire.hpp
Normal file
74
SQF/dayz_code/Configs/CfgMagazines/Buildings/TripWire.hpp
Normal file
@@ -0,0 +1,74 @@
|
||||
class ItemTrapTripwireCans : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
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;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_CANS;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "spawn player_build;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemTrapTripwireCans"};
|
||||
create = "Trap_Cans";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapTripwireFlare : ItemTrapTripwireCans
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_flare.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_flare.paa";
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_FLARE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_FLARE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapTripwireFlare"};
|
||||
create = "TrapTripwireFlare";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapTripwireGrenade : ItemTrapTripwireCans
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_grenade.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_grenade.paa";
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_GRENADE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_GRENADE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapTripwireGrenade"};
|
||||
create = "TrapTripwireGrenade";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemTrapTripwireSmoke : ItemTrapTripwireCans
|
||||
{
|
||||
model = "z\addons\dayz_communityassets\models\trap_tripwire_dropped_smoke.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_trap_tripwire_smoke.paa";
|
||||
displayName = $STR_ITEM_NAME_TRIPWIRE_SMOKE;
|
||||
descriptionShort = $STR_ITEM_DESC_TRIPWIRE_SMOKE;
|
||||
|
||||
class ItemActions : ItemActions
|
||||
{
|
||||
class Build : Build
|
||||
{
|
||||
consume[] = {"ItemTrapTripwireSmoke"};
|
||||
create = "TrapTripwireSmoke";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user