CFG WEAPONS DONE

This commit is contained in:
icomrade
2016-02-18 13:58:02 -05:00
parent 76f018393d
commit 0b72b05e89
395 changed files with 55004 additions and 1384 deletions

View File

@@ -0,0 +1,62 @@
//class CfgMagazines
//No Models
#include "equip_crossbow_kit.hpp"
#include "equip_aa_battery.hpp"
#include "equip_cable_tie.hpp"
#include "equip_connector_i.hpp"
#include "equip_connector_L.hpp"
#include "equip_connector_T.hpp"
#include "equip_d_battery.hpp"
#include "equip_duct_tape.hpp"
#include "equip_empty_barrel.hpp"
#include "equip_garlic_bulb.hpp"
#include "equip_herb_box.hpp"
#include "equip_hobo_fishing_kit.hpp"
#include "equip_hose.hpp"
#include "equip_hose_clamp.hpp"
#include "equip_laser.hpp"
//#include "equip_metal_rod.hpp" //not sure why called metal rod? changed to tent poles
#include "equip_metal_sheet.hpp"
#include "equip_metal_sheet_rusted.hpp"
#include "equip_nails.hpp"
#include "equip_needle.hpp"
#include "equip_note.hpp"
#include "equip_paint.hpp"
//#include "equip_part_camo.hpp"
//#include "equip_part_silencer.hpp"
#include "equip_pvc_box.hpp"
#include "equip_rope.hpp"
#include "equip_slugsinacan.hpp"
#include "equip_string.hpp"
#include "equip_tent_poles.hpp"
#include "equip_tin_powder.hpp"
#include "equip_wood_pallet.hpp"
#include "equip_woodensplint.hpp"
#include "equip_feathers.hpp"
//no images
//#include "equip_metal_rod.hpp"
//#include "equip_rubber_tube.hpp"
//#include "equip_fuse.hpp"
//#include "equip_pipecap.hpp"
//100% Mats to be added
#include "equip_crossbow_stock.hpp"
#include "equip_scrapelectronics.hpp"
#include "equip_carbomb.hpp"
#include "equip_rag.hpp"
#include "equip_gauze.hpp"
#include "equip_gauzepackaged.hpp"
#include "equip_1inch_metal_pipe.hpp"
#include "equip_2inch_metal_pipe.hpp"
#include "equip_rail_screws.hpp"
#include "equip_weapon_rails.hpp"
#include "equip_comfreyleafs.hpp"
#include "equip_floppywire.hpp"
#include "equip_crate.hpp"
//Moved to dayz_equip
//#include "equip_brick.hpp"
//Need adding to loot table

View File

@@ -0,0 +1,9 @@
class equip_1inch_metal_pipe : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_1inch_metal_pipe;
descriptionShort = $STR_ITEM_DESC_equip_1inch_metal_pipe;
model = "\z\addons\dayz_communityassets\models\1in_pipe.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_1inch_metal_pipe_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_2inch_metal_pipe : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_2inch_metal_pipe;
descriptionShort = $STR_ITEM_DESC_equip_2inch_metal_pipe;
model = "\z\addons\dayz_communityassets\models\2in_pipe.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_2inch_metal_pipe.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_aa_battery : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_aa_battery;
descriptionShort = $STR_ITEM_DESC_equip_aa_battery;
picture = "\z\addons\dayz_communityassets\pictures\equip_aa_battery_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_cable_tie : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_cable_tie;
descriptionShort = $STR_ITEM_DESC_equip_cable_tie;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_cable_tie.paa";
type = 256;
};

View File

@@ -0,0 +1,16 @@
class ItemCarBomb : CA_Magazine {
scope = public;
count = 1;
type = (2*256);
displayName = "Car Bomb";
model = "\ca\weapons\explosive.p3d";
picture = "\z\addons\dayz_communityassets\pictures\carbomb.paa";
descriptionShort = "Can be attached to a vehicles engine and then automaticly explode when the next player enters the drivers seat!";
class ItemActions {
class Use {
text = "Attach Carbomb";
script = "spawn player_attach_bomb;";
};
};
};

View File

@@ -0,0 +1,9 @@
class equip_comfreyleafs : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_comfreyleafs;
descriptionShort = $STR_ITEM_DESC_equip_comfreyleafs;
model = "\z\addons\dayz_communityassets\models\comfrey.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_comfrey_CA.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class Item_coni : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_DESC_equip_con_i;
descriptionShort = $STR_ITEM_NAME_equip_con_i;
model = "z\addons\dayz_communityassets\models\connector_i.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_i_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class Item_Connector_I : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_DESC_equip_con_i;
descriptionShort = $STR_ITEM_NAME_equip_con_i;
model = "z\addons\dayz_communityassets\models\connector_I.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_I_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class Item_Connector_L : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_DESC_equip_con_l;
descriptionShort = $STR_ITEM_NAME_equip_con_l;
model = "z\addons\dayz_communityassets\models\connector_L.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_L_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class Item_Connector_T : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_DESC_equip_con_t;
descriptionShort = $STR_ITEM_NAME_equip_con_t;
model = "z\addons\dayz_communityassets\models\connector_T.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_connector_T_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_crate : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_crate;
descriptionShort = $STR_ITEM_DESC_equip_crate;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_crate.paa";
type = (256 * 2);
};

View File

@@ -0,0 +1,9 @@
class equip_Crossbow_Kit : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_CROSSBOW_KIT;
descriptionShort = $STR_ITEM_DESC_CROSSBOW_KIT;
model = "\z\addons\community_crossbow\models\Crossbow_kit.p3d";
picture = "\z\addons\community_crossbow\textures\Crossbow_kit.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_crossbow_stock : CA_Magazine {
scope = public;
count = 1;
displayName = "Crossbow (Stock)";
descriptionShort="You require a Crossbow String kit to craft this weapon";
model = "z\addons\community_crossbow\models\crossbow_stock.p3d";
picture = "\z\addons\community_crossbow\icons\crossbow_stock.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_d_battery : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_d_battery;
descriptionShort = $STR_ITEM_DESC_equip_d_battery;
picture = "\z\addons\dayz_communityassets\pictures\equip_d_battery_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_duct_tape : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_duct_tape;
descriptionShort = $STR_ITEM_DESC_equip_duct_tape;
model = "\z\addons\dayz_communityassets\models\duct_tape.p3d";
picture = "\z\addons\dayz_communityassets\pictures\tape.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_empty_barrel : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_empty_barrel;
descriptionShort = $STR_ITEM_DESC_equip_empty_barrel;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_empty_barrel.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_feathers : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_feathers;
descriptionShort = $STR_ITEM_DESC_equip_feathers;
model = "\z\addons\dayz_communityassets\models\feather.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_feather_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_floppywire : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_floppywire;
descriptionShort = $STR_ITEM_DESC_equip_floppywire;
model = "\z\addons\dayz_communityassets\models\floppywire.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_floppywire.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_fuse : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_fuse;
descriptionShort = $STR_ITEM_DESC_equip_fuse;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_fuse.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_garlic_bulb : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_garlic_bulb;
descriptionShort = $STR_ITEM_DESC_equip_garlic_bulb;
model = "\z\addons\dayz_communityassets\models\herb_garlic_bulb.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_garlic_bulb_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,10 @@
class equip_gauze : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_gauze;
descriptionShort = $STR_ITEM_DESC_equip_gauze;
model = "\z\addons\dayz_communityassets\models\gauze.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,10 @@
class equip_gauzepackaged : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_gauzepackaged;
descriptionShort = $STR_ITEM_DESC_equip_gauzepackaged;
model = "\z\addons\dayz_communityassets\models\gauze_package.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_gauze_package_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_herb_box : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_EQUIP_NAME_HERBBOX;
descriptionShort = $STR_EQUIP_DESC_HERBBOX;
model = "\z\addons\dayz_communityassets\models\herb_box.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_herb_box_ca.paa";
};

View File

@@ -0,0 +1,9 @@
class equip_hobo_fishing_kit : CA_Magazine {
scope = public;
count = 1;
displayName = "Hobo Fishing Kit";
descriptionShort = "Hobo Fishing Kit, catches dem fishes";
model = "\z\addons\dayz_communityassets\models\hobofishingkit.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_hobofishingkit_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_hose : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_hose;
descriptionShort = $STR_ITEM_DESC_equip_hose;
model = "\z\addons\dayz_communityassets\models\hose.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_hose.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_hose_clamp : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_hose_clamp;
descriptionShort = $STR_ITEM_DESC_equip_hose_clamp;
model = "\z\addons\dayz_communityassets\models\hose_clamp.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_hoseclamp_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_laser : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_laser;
descriptionShort = $STR_ITEM_DESC_equip_laser;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_laser.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_metal_rod : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_metal_rod;
descriptionShort = $STR_ITEM_DESC_equip_metal_rod;
//model = "z\addons\dayz_communityassets\models\xxxx.p3d";
//picture = "\z\addons\dayz_communityassets\pictures\xxxx.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_metal_sheet : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_metal_sheet;
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet;
model = "\z\addons\dayz_communityassets\models\metal_sheet_clean.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_metal_sheet_rusted : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_metal_sheet_rusted;
descriptionShort = $STR_ITEM_DESC_equip_metal_sheet_rusted;
model = "\z\addons\dayz_communityassets\models\metal_sheet_rusted.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_metal_sheet_rusted.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_nails : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_nails;
descriptionShort = $STR_ITEM_DESC_equip_nails;
model = "\z\addons\dayz_communityassets\models\nails.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_nails_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_needle : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_needle;
descriptionShort = $STR_ITEM_DESC_equip_needle;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_needle.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_note : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_note;
descriptionShort = $STR_ITEM_DESC_equip_note;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_note.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_paint : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_paint;
descriptionShort = $STR_ITEM_DESC_equip_paint;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paint.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_paper_sheet : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_paper_sheet;
descriptionShort = $STR_ITEM_DESC_equip_paper_sheet;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_paper_sheet.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_part_camo : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_part_camo;
descriptionShort = $STR_ITEM_DESC_equip_part_camo;
picture = "\z\addons\dayz_communityassets\textures\equip_part_camo.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_part_silencer : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_part_silencer;
descriptionShort = $STR_ITEM_DESC_equip_part_silencer;
picture = "\z\addons\dayz_communityassets\textures\equip_silencer_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_part_sniper_scope : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ATTACHMENT_NAME_Sniper_Scope;
descriptionShort = $STR_ATTACHMENT_DESC_Sniper_Scope;
picture = "\z\addons\dayz_communityassets\textures\equip_scope_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_pipecap : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_pipecap;
descriptionShort = $STR_ITEM_DESC_equip_pipecap;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_pipecap.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_pvc_box : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_pvc_box;
descriptionShort = $STR_ITEM_DESC_equip_pvc_box;
model = "\z\addons\dayz_communityassets\models\plastic_box.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_plastic_box_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_rag : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_rag;
descriptionShort = $STR_ITEM_DESC_equip_rag;
model = "\z\addons\dayz_communityassets\models\rag_clean.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_rag_clean_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_rail_screws : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_rail_screws;
descriptionShort = $STR_ITEM_DESC_equip_rail_screws;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};

View File

@@ -0,0 +1,21 @@
class equip_rope : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_rope;
descriptionShort = $STR_ITEM_DESC_equip_rope;
model = "\z\addons\dayz_communityassets\models\rope.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_rope_ca.paa";
type = 256;
class ItemActions
{
class Crafting
{
text = $STR_BLD_craft_equip_rope;//"String"
script = "spawn player_craftItem;";
neednearby[] = {};
requiretools[] = {""};
output[] = {{"equip_string","CfgMagazines",3}};
input[] = {{"equip_rope","CfgMagazines",1}};
};
};
};

View File

@@ -0,0 +1,8 @@
class equip_rubber_tube : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_rubber_tube;
descriptionShort = $STR_ITEM_DESC_equip_rubber_tube;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_rubber_tube.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_scrapelectronics : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_scrapelectronics;
descriptionShort = $STR_ITEM_DESC_equip_scrapelectronics;
model = "\z\addons\dayz_communityassets\models\scrapelectronics.p3d";
picture = "\z\addons\dayz_communityassets\pictures\scrapelectronics.paa";
type = 256;
};

View File

@@ -0,0 +1,10 @@
class equip_slugsinacan : CA_Magazine {
scope = public;
count = 1;
displayName = "Slugs in a can";
descriptionShort = "Slugs in a can";
model = "\z\addons\dayz_communityassets\models\slugsinacan.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_sluginacan.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_string : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_string;
descriptionShort = $STR_ITEM_DESC_equip_string;
model = "\z\addons\dayz_communityassets\models\string.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_string_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_tent_poles : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_tent_poles;
descriptionShort = $STR_ITEM_DESC_tent_poles;
model = "z\addons\dayz_communityassets\models\1m_pole_6.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_1m_pole_6_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_tin_powder : CA_Magazine {
scope = public;
count = 1;
displayName = "Tin of Powder";
descriptionShort = "Tin of Powder has medicinal qualities";
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
type = 256;
};

View File

@@ -0,0 +1,8 @@
class equip_weapon_rails: CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_weapon_rails;
descriptionShort = $STR_ITEM_DESC_equip_weapon_rails;
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};

View File

@@ -0,0 +1,9 @@
class equip_wood_pallet : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_equip_wood_pallet;
descriptionShort = $STR_ITEM_DESC_equip_wood_pallet;
model = "\z\addons\dayz_communityassets\models\wooden_pallet.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_wpallet_ca.paa";
type = 256;
};

View File

@@ -0,0 +1,16 @@
class equip_woodensplint : CA_Magazine {
scope = public;
count = 1;
displayName = $STR_ITEM_NAME_WOODENSPLINT;
descriptionShort = $STR_ITEM_DESC_WOODENSPLINT;
model = "\z\addons\dayz_communityassets\models\woodensplint.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_woodensplint_ca.paa";
type = 256;
class ItemActions {
class Use {
text = $STR_ACTIONS_BRACE_LEG;
script = "spawn player_useMeds;";
};
};
};