mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 03:16:27 +03:00
CFG WEAPONS DONE
This commit is contained in:
57
SQF/dayz_code/Configs/CfgMagazines/Items/BearTrap.hpp
Normal file
57
SQF/dayz_code/Configs/CfgMagazines/Items/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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
43
SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp
Normal file
43
SQF/dayz_code/Configs/CfgMagazines/Items/CamoNet.hpp
Normal file
@@ -0,0 +1,43 @@
|
||||
class ItemCamoNet : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\packed_net_green.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_green_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_CAMONET;
|
||||
descriptionShort = $STR_ITEM_DESC_CAMONET;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_BUILD_CAMONET;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemCamoNet"};
|
||||
create = "CamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*class ItemCamoNetGrey : ItemCamoNet
|
||||
{
|
||||
model = "\z\addons\dayz_communityassets\models\packed_net_gray.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_packed_net_gray_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_CAMONET;
|
||||
descriptionShort = $STR_ITEM_DESC_CAMONET;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_BUILD_CAMONET;
|
||||
script = "; ['ItemCamoNetGrey','Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemCamoNetGrey"};
|
||||
create = "CamoNet_DZ";
|
||||
};
|
||||
};
|
||||
};*/
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Items/Canteen.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Items/Canteen.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class ItemCanteenEmpty : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa";
|
||||
displayName = $STR_ITEM_CANTEEN_EMPTY_NAME;
|
||||
descriptionShort = $STR_ITEM_CANTEEN_DESC;
|
||||
|
||||
//TODO
|
||||
/*class ItemActions
|
||||
{
|
||||
class Fill
|
||||
{
|
||||
text = $STR_ACTIONS_FILL_W;
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};*/
|
||||
};
|
||||
53
SQF/dayz_code/Configs/CfgMagazines/Items/Fuel.hpp
Normal file
53
SQF/dayz_code/Configs/CfgMagazines/Items/Fuel.hpp
Normal file
@@ -0,0 +1,53 @@
|
||||
class ItemJerrycanEmpty : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 2;
|
||||
|
||||
model = "\dayz_equip\models\jerrycan.p3d";
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_e_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_JERRYCAN_EMPTY;
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN_EMPTY;
|
||||
|
||||
fuelQuantity = 0;
|
||||
fullcan = "ItemJerrycan";
|
||||
};
|
||||
|
||||
class ItemJerrycan : ItemJerrycanEmpty
|
||||
{
|
||||
picture = "\dayz_equip\textures\equip_jerrycan_ca.paa";
|
||||
displayName = $STR_ITEM_NAME_JERRYCAN;
|
||||
descriptionShort = $STR_ITEM_DESC_JERRYCAN;
|
||||
|
||||
fuelQuantity = 20;
|
||||
emptycan = "ItemJerrycanEmpty";
|
||||
|
||||
//used for tent burning
|
||||
fireIntensity = 6;
|
||||
};
|
||||
|
||||
class ItemFuelcanEmpty : ItemJerrycanEmpty
|
||||
{
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\fuelcan.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_empty_CA.paa";
|
||||
displayName = $STR_ITEM_NAME_FUELCAN_EMPTY;
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN_EMPTY;
|
||||
|
||||
fuelQuantity = 0;
|
||||
fullcan = "ItemFuelcan";
|
||||
};
|
||||
|
||||
class ItemFuelcan : ItemFuelcanEmpty
|
||||
{
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_fuelcan_CA.paa";
|
||||
displayName = $STR_ITEM_NAME_FUELCAN;
|
||||
descriptionShort = $STR_ITEM_DESC_FUELCAN;
|
||||
|
||||
fuelQuantity = 5;
|
||||
emptycan = "ItemFuelcanEmpty";
|
||||
|
||||
//used for tent burning
|
||||
fireIntensity = 4;
|
||||
};
|
||||
23
SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp
Normal file
23
SQF/dayz_code/Configs/CfgMagazines/Items/Generator.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
class ItemGenerator : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 6;
|
||||
|
||||
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;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Build
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemGenerator"};
|
||||
create = "Generator_DZ";
|
||||
};
|
||||
};
|
||||
};
|
||||
26
SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp
Normal file
26
SQF/dayz_code/Configs/CfgMagazines/Items/Items.hpp
Normal file
@@ -0,0 +1,26 @@
|
||||
#include "Fuel.hpp"
|
||||
|
||||
//Materials
|
||||
#include "Wood.hpp"
|
||||
#include "Stone.hpp"
|
||||
#include "Sandbag.hpp"
|
||||
#include "MetalFenceItems.hpp"
|
||||
|
||||
//Simple buildables
|
||||
#include "Tent.hpp"
|
||||
#include "CamoNet.hpp"
|
||||
#include "TankTrap.hpp"
|
||||
#include "WireFence.hpp"
|
||||
#include "BearTrap.hpp"
|
||||
#include "TripWire.hpp"
|
||||
|
||||
//Base stuff
|
||||
#include "Workbench.hpp"
|
||||
#include "Padlock.hpp"
|
||||
#include "Generator.hpp"
|
||||
|
||||
//Miscellaneous
|
||||
#include "equip_brick.hpp"
|
||||
#include "equip_lever.hpp"
|
||||
#include "WaterBottle.hpp"
|
||||
//#include "Canteen.hpp"
|
||||
40
SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp
Normal file
40
SQF/dayz_code/Configs/CfgMagazines/Items/MetalFenceItems.hpp
Normal file
@@ -0,0 +1,40 @@
|
||||
class ItemMetalSheet: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemMetalSheet;//"Corrugated Sheet"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_sheetmetal.paa";
|
||||
model = "z\addons\dayz_buildings\models\sheet_metal.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemMetalSheet;//"Metal Sheeting"
|
||||
};
|
||||
class ItemConcreteBlock: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemConcreteBlock;//"Concrete Block"
|
||||
picture = "\z\addons\dayz_buildings\equip\concreteblock.paa";
|
||||
model = "z\addons\dayz_buildings\models\concreteblock.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemConcreteBlock;//"Concrete Block"
|
||||
};
|
||||
class ItemRSJ: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemRSJ;//"Steel Beam"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_rsj.paa";
|
||||
model = "z\addons\dayz_buildings\models\rsj.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemRSJ;//"Steel RSJ Support Beam"
|
||||
};
|
||||
class ItemScrews: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemScrews;//"Box of screws for metal"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_screws.paa";
|
||||
model = "z\addons\dayz_buildings\models\screws.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemScrews;//"Box of screws"
|
||||
};
|
||||
10
SQF/dayz_code/Configs/CfgMagazines/Items/Padlock.hpp
Normal file
10
SQF/dayz_code/Configs/CfgMagazines/Items/Padlock.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
class ItemPadlock: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemPadlock;//"Padlock"
|
||||
picture = "\z\addons\dayz_buildings\equip\padlock.paa";
|
||||
model = "z\addons\dayz_buildings\models\padlock.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemPadlock;//"Padlock - Used for securing Workshop's & Houses."
|
||||
};
|
||||
33
SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp
Normal file
33
SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp
Normal file
@@ -0,0 +1,33 @@
|
||||
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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "Sandbag1_DZ";
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
|
||||
class Build2
|
||||
{
|
||||
text = $STR_CREATE_STASH;
|
||||
script = "; [_id,'Build2'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
consume[] = {"ItemSandbag"};
|
||||
create = "StashSmall";
|
||||
};
|
||||
};
|
||||
};
|
||||
10
SQF/dayz_code/Configs/CfgMagazines/Items/Stone.hpp
Normal file
10
SQF/dayz_code/Configs/CfgMagazines/Items/Stone.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
class ItemStone: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_BLD_name_ItemStone;//"Rough Stone"
|
||||
picture = "\z\addons\dayz_buildings\equip\rocks.paa";
|
||||
model = "z\addons\dayz_buildings\models\rocks.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemStone;//"Rough Stone"
|
||||
};
|
||||
24
SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp
Normal file
24
SQF/dayz_code/Configs/CfgMagazines/Items/TankTrap.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemTankTrap"};
|
||||
create = "Hedgehog_DZ";
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
};
|
||||
};
|
||||
47
SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp
Normal file
47
SQF/dayz_code/Configs/CfgMagazines/Items/Tent.hpp
Normal file
@@ -0,0 +1,47 @@
|
||||
class ItemTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemTent"};
|
||||
create = "TentStorage";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemDomeTent : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem * 3;
|
||||
|
||||
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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemDomeTent"};
|
||||
create = "DomeTentStorage";
|
||||
};
|
||||
};
|
||||
};
|
||||
74
SQF/dayz_code/Configs/CfgMagazines/Items/TripWire.hpp
Normal file
74
SQF/dayz_code/Configs/CfgMagazines/Items/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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
45
SQF/dayz_code/Configs/CfgMagazines/Items/WaterBottle.hpp
Normal file
45
SQF/dayz_code/Configs/CfgMagazines/Items/WaterBottle.hpp
Normal file
@@ -0,0 +1,45 @@
|
||||
class ItemWaterBottleUnfilled : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\textures\waterbottle.paa";
|
||||
displayName = $STR_EQUIP_NAME_13;
|
||||
descriptionShort = $STR_EQUIP_DESC_13;
|
||||
|
||||
containerWater = "ItemWaterBottle";
|
||||
containerWaterSafe = "ItemWaterBottleSafe";
|
||||
containerWaterInfected = "ItemWaterBottleInfected";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Fill
|
||||
{
|
||||
text = $STR_ACTIONS_FILL_W;
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemWaterBottleDmg : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\waterbottle_damaged.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\textures\waterbottle_damaged.paa";
|
||||
displayName = $STR_ITEMWATERBOTTLEDMG_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEDMG_CODE_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Repair
|
||||
{
|
||||
text = $STR_ACTIONS_FIX_W;
|
||||
script = "spawn player_fixBottle;";
|
||||
};
|
||||
};
|
||||
};
|
||||
24
SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp
Normal file
24
SQF/dayz_code/Configs/CfgMagazines/Items/WireFence.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
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 = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemWire"};
|
||||
create = "Wire_cat1";
|
||||
byPass = "byPassRoadCheck";
|
||||
};
|
||||
};
|
||||
};
|
||||
59
SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp
Normal file
59
SQF/dayz_code/Configs/CfgMagazines/Items/Wood.hpp
Normal file
@@ -0,0 +1,59 @@
|
||||
class ItemLog : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
displayName = $STR_BLD_name_ItemLog;//"Wooden Log"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_log.paa";
|
||||
model = "z\addons\dayz_buildings\models\logs.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemLog;//"Rough Wooden Log"
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_craft_ItemLog;//"Wooden Plank"
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemHatchet"};
|
||||
output[] = {{"ItemPlank","CfgMagazines",2}};
|
||||
input[] = {{"ItemLog","CfgMagazines",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemPlank : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
displayName = $STR_BLD_name_ItemPlank;//"Sawn Planks"
|
||||
picture = "\z\addons\dayz_buildings\equip\item_plank.paa";
|
||||
model = "z\addons\dayz_buildings\models\planks.p3d";
|
||||
descriptionShort = $STR_BLD_desc_ItemPlank;//"Saw Planks"
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_BLD_craft_ItemPlank;//"Wood Piles"
|
||||
script = "spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemHatchet"};
|
||||
output[] = {{"PartWoodPile","CfgMagazines",2}};
|
||||
input[] = {{"ItemPlank","CfgMagazines",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class PartWoodPile : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\dayz_equip\models\woodPile.p3d";
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_40;
|
||||
descriptionShort = $STR_EQUIP_DESC_40;
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Items/Workbench.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class ItemWorkBench : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
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_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {};
|
||||
consume[] = {"ItemWorkBench"};
|
||||
create = "WorkBench";
|
||||
};
|
||||
};
|
||||
};
|
||||
20
SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp
Normal file
20
SQF/dayz_code/Configs/CfgMagazines/Items/equip_brick.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
class equip_brick : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityassets\models\brick.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_brick.paa";
|
||||
displayName = $STR_ITEM_NAME_equip_brick;
|
||||
descriptionShort = "Maybe this could be used to sharpen a knife."; //TODO: move to stringtable
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class FixKnife
|
||||
{
|
||||
text = "Sharpen Knife";
|
||||
script = "; ['ItemKnifeBlunt','ItemKnife'] spawn player_sharpen;";
|
||||
};
|
||||
};
|
||||
};
|
||||
10
SQF/dayz_code/Configs/CfgMagazines/Items/equip_lever.hpp
Normal file
10
SQF/dayz_code/Configs/CfgMagazines/Items/equip_lever.hpp
Normal file
@@ -0,0 +1,10 @@
|
||||
class equip_lever : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
picture = "\dayz_equip\textures\equip_lever.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_LEVER;
|
||||
displayName = $STR_EQUIP_NAME_LEVER;
|
||||
};
|
||||
Reference in New Issue
Block a user