mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
CfgMagazines - still need script tweaks for buldables
This commit is contained in:
@@ -1,158 +0,0 @@
|
||||
class 100Rnd_762x54_PK : CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "PKM Mag.";
|
||||
picture = "\CA\weapons\data\equip\m_pk_ca.paa";
|
||||
ammo = "B_762x54_Ball";
|
||||
count = 100;
|
||||
type = "256";
|
||||
initSpeed = 850;
|
||||
sound[] = {"\ca\Weapons\Data\Sound\PK_1_SS", 3.16228, 1, 1500};
|
||||
tracersEvery = 4;
|
||||
lastRoundsTracer = 4;
|
||||
nameSound = "mgun";
|
||||
descriptionShort = "Caliber: 7.62x54mm <br/>Rounds: 100 <br/>Used in: PK";
|
||||
model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\100Rnd_762x54_PK.p3d";
|
||||
};
|
||||
class 100Rnd_762x51_M240 : CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "100Rnd. M240";
|
||||
picture = "\CA\weapons\data\equip\m_m240_ca.paa";
|
||||
count = 100;
|
||||
type = "256";
|
||||
ammo = "B_762x51_Ball";
|
||||
initSpeed = 900;
|
||||
tracersEvery = 4;
|
||||
lastRoundsTracer = 4;
|
||||
nameSound = "mgun";
|
||||
descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 100 <br/>Used in: M240, Mk 48 Mod 0";
|
||||
model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\100Rnd_762x51_M240.p3d";
|
||||
};
|
||||
class 200Rnd_762x51_M240 : 100Rnd_762x51_M240 {
|
||||
displayName = "200Rnd. M240";
|
||||
count = 200;
|
||||
descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 200 <br/>Used in: M240, Mk 48 Mod 0";
|
||||
};
|
||||
class 200Rnd_556x45_M249 : CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "200Rnd. M249 Belt";
|
||||
picture = "\CA\weapons\data\equip\m_m249_ca.paa";
|
||||
ammo = "B_556x45_Ball";
|
||||
count = 200;
|
||||
type = "256";
|
||||
initSpeed = 915;
|
||||
sound[] = {"\ca\Weapons\Data\Sound\M249_1_SS", 17.7828, 1, 1300};
|
||||
reloadMagazineSound[] = {"\ca\Weapons\Data\Sound\FAL_reload", 0.01, 1, 20};
|
||||
tracersEvery = 4;
|
||||
lastRoundsTracer = 4;
|
||||
nameSound = "mgun";
|
||||
descriptionShort = "Caliber: 5.56x45 mm NATO <br/>Rounds: 200 <br/>Used in: M249 SAW";
|
||||
model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\200Rnd_556x45_M249.p3d";
|
||||
};
|
||||
class 100Rnd_556x45_M249 : 200Rnd_556x45_M249 {
|
||||
displayName = "M249 Mag.";
|
||||
descriptionShort = "Caliber: 5.56x45mm NATO<br/>Rounds: 100<br/>Used in: M249";
|
||||
count = 100;
|
||||
picture = "\CA\weapons_E\Data\icons\m_m245_CA.paa";
|
||||
};
|
||||
class 100Rnd_556x45_BetaCMag: CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "MG36 Mag.";
|
||||
ammo = "B_556x45_Ball";
|
||||
count = 100;
|
||||
initSpeed = 920;
|
||||
picture = "\ca\weapons\g36\data\equip\M_MG36_CA.paa";
|
||||
type="256";
|
||||
tracersEvery = 4;
|
||||
lastRoundsTracer = 4;
|
||||
descriptionShort = "Caliber: 5.56x45 mm NATO Rounds: 100 Used in: MG36, X8 SAW";
|
||||
};
|
||||
class 75Rnd_545x39_RPK: CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "75Rnd. RPK";
|
||||
ammo = "B_545x39_Ball";
|
||||
count = 75;
|
||||
type="256";
|
||||
picture = "\CA\weapons\AK\data\equip\M_RPK_74_CA.paa";
|
||||
tracersEvery = 4;
|
||||
lastRoundsTracer = 4;
|
||||
nameSound = "mgun";
|
||||
descriptionShort = "Caliber: 5.45x39mm Rounds: 75 Used in: RPK-74";
|
||||
};
|
||||
|
||||
class 8Rnd_B_Beneli_74Slug;
|
||||
class 2Rnd_shotgun_74Slug: 8Rnd_B_Beneli_74Slug {
|
||||
displayName="2Rnd. Slug";
|
||||
count=2;
|
||||
descriptionShort="Caliber: 12 gauge <br/>Rounds: 2 <br/>Used in: M1014";
|
||||
model = "\z\addons\dayz_communityassets\models\2shells_slugshot.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_slugshot_CA.paa";
|
||||
class ItemActions {
|
||||
class ReloadMag {
|
||||
text="Combine to 8 rounds";
|
||||
script="spawn player_reloadMag;";
|
||||
use[]= {
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug"
|
||||
};
|
||||
output[]= {
|
||||
"8Rnd_B_Beneli_74Slug"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class 8Rnd_B_Beneli_Pellets;
|
||||
class 2Rnd_shotgun_74Pellets: 8Rnd_B_Beneli_Pellets {
|
||||
displayName="2Rnd. Pellets";
|
||||
count=2;
|
||||
descriptionShort="Caliber: 12 gauge <br/>Rounds: 2 Pellets<br/>Used in: M1014";
|
||||
model = "\z\addons\dayz_communityassets\models\2shells_pellet.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_pellet_CA.paa";
|
||||
weight = 0.1;
|
||||
class ItemActions {
|
||||
class ReloadMag {
|
||||
text="Combine to 8 rounds";
|
||||
script="spawn player_reloadMag;";
|
||||
use[]= {
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets"
|
||||
};
|
||||
output[]= {
|
||||
"8Rnd_B_Beneli_Pellets"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class Quiver : CA_Magazine {
|
||||
scope = 2;
|
||||
ammo = "WoodenArrow";
|
||||
count = 6;
|
||||
descriptionshort = "Small Quiver used with the Crossbow, Max arrows 6.";
|
||||
displayname = "Quiver";
|
||||
initSpeed = 150;
|
||||
model = "\z\addons\dayz_communityassets\models\quiver";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_quiver_ca.paa";
|
||||
};
|
||||
class WoodenArrow : CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "Arrow"; //$STR_MAG_NAME_3;
|
||||
model = "\dayz_weapons\models\bolt_gear";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_warrow_ca.paa";
|
||||
ammo = "WoodenArrow";
|
||||
count = 1;
|
||||
initSpeed = 150;
|
||||
descriptionShort = "Arrow made out of wood, used with the Crossbow."; //$STR_MAG_DESC_3;
|
||||
class ItemActions {
|
||||
class ReloadMag {
|
||||
text = "Combine into Quiver";
|
||||
script = "spawn player_reloadMag;";
|
||||
use[] = {"WoodenArrow","WoodenArrow","WoodenArrow","WoodenArrow","WoodenArrow","WoodenArrow"};
|
||||
output[] = {"Quiver"};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -4,8 +4,6 @@ class CfgMagazines
|
||||
class CA_Magazine;
|
||||
class HandGrenade;
|
||||
|
||||
|
||||
|
||||
//Weapon magazines
|
||||
#include "Magazines\Magazines.hpp"
|
||||
|
||||
@@ -35,4 +33,48 @@ class CfgMagazines
|
||||
|
||||
//Consumables: food, drinks etc.
|
||||
#include "Consumables\Consumables.hpp"
|
||||
// Ammmo
|
||||
|
||||
|
||||
//EPOCH ADDITIONS
|
||||
//#include "Ammo.hpp"
|
||||
#include "VehicleAmmo.hpp"
|
||||
|
||||
// Gems
|
||||
#include "DZE\Gems.hpp"
|
||||
#include "DZE\Ores.hpp"
|
||||
// Items
|
||||
#include "DZE\Items.hpp"
|
||||
#include "DZE\Bulk.hpp"
|
||||
// Currency
|
||||
#include "DZE\Currency\Briefcase.hpp"
|
||||
#include "DZE\Currency\GoldBar.hpp"
|
||||
#include "DZE\Currency\SilverBar.hpp"
|
||||
#include "DZE\Currency\CopperBar.hpp"
|
||||
#include "DZE\Currency\BronzeBar.hpp"
|
||||
#include "DZE\Currency\AluminumBar.hpp"
|
||||
#include "DZE\Currency\TinBar.hpp"
|
||||
|
||||
// Waterbottle
|
||||
//#include "ItemWaterbottle.hpp" //Moved to WaterBottle.hpp in consumables and items folders
|
||||
#include "DZE\ItemWaterbottle.hpp"
|
||||
|
||||
//#include "MeleeSwing.hpp" //MOVED TO \MAGAZINES
|
||||
|
||||
#include "Planting.hpp"
|
||||
|
||||
// Building Stuff
|
||||
#include "DZE\ModularBuilding.hpp"
|
||||
#include "DZE\Misc.hpp"
|
||||
|
||||
//#include "Parts.hpp" //MOVED TO VehicleParts.hpp
|
||||
//#include "Skins.hpp"//MOVED TO CLOTHING
|
||||
|
||||
// Food
|
||||
//#include "Food.hpp"
|
||||
#include "DZE\Food.hpp"
|
||||
|
||||
// EPOCH SODA
|
||||
//#include "ItemSoda.hpp" //Moved to Consumables
|
||||
#include "DZE\ItemSoda.hpp"
|
||||
};
|
||||
@@ -22,9 +22,34 @@ class SkinBase : CA_Magazine
|
||||
script = "spawn player_tearClothes;";
|
||||
};
|
||||
};
|
||||
/*
|
||||
class ItemActions {
|
||||
class Use {
|
||||
text = $STR_EPOCH_PLAYER_268;
|
||||
script = "spawn player_wearClothes;";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_269b;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemCanvas",1}};
|
||||
input[] = {{"SkinBase",2}};
|
||||
};
|
||||
class Crafting1 {
|
||||
text = $STR_EPOCH_PLAYER_269;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemBandage",2}};
|
||||
input[] = {{"SkinBase",1},{"ItemTrashToiletpaper",1}};
|
||||
};
|
||||
};
|
||||
*/
|
||||
};
|
||||
|
||||
#include "Ghillie.hpp"
|
||||
#include "Camo.hpp"
|
||||
#include "Soldier.hpp"
|
||||
#include "Survivor.hpp"
|
||||
#include "Survivor.hpp"
|
||||
#include "EpochSkins.hpp"
|
||||
@@ -1,40 +1,3 @@
|
||||
class SkinBase: CA_Magazine {
|
||||
scope = 0;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "Clothes";
|
||||
model = "\dayz_equip\models\cloth_parcel.p3d";
|
||||
picture = "\dayz_equip\textures\equip_cloth_parcel_ca.paa";
|
||||
descriptionShort = "Clothes Parcel";
|
||||
weight = 1;
|
||||
class ItemActions {
|
||||
class Use {
|
||||
text = $STR_EPOCH_PLAYER_268;
|
||||
script = "spawn player_wearClothes;";
|
||||
};
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_269b;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemCanvas",1}};
|
||||
input[] = {{"SkinBase",2}};
|
||||
};
|
||||
class Crafting1 {
|
||||
text = $STR_EPOCH_PLAYER_269;
|
||||
script = ";['Crafting1','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {};
|
||||
requiretools[] = {"ItemToolbox","ItemKnife"};
|
||||
output[] = {{"ItemBandage",2}};
|
||||
input[] = {{"SkinBase",1},{"ItemTrashToiletpaper",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class Skin_Sniper1_DZ: SkinBase {
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_43;
|
||||
descriptionShort = $STR_EQUIP_DESC_43;
|
||||
};
|
||||
class Skin_Rocket_DZ: SkinBase {
|
||||
scope = 2;
|
||||
displayName = "Officer Suit";
|
||||
@@ -9,7 +9,7 @@ class ItemWaterBottle : FoodDrink
|
||||
|
||||
Nutrition[] = {0,0,1000,0};
|
||||
|
||||
infectionChance = 0.3;
|
||||
infectionChance = 0;
|
||||
|
||||
consumeOutput = "ItemWaterBottleUnfilled";
|
||||
|
||||
|
||||
@@ -66,12 +66,7 @@ class Fishing_Swing : Melee_Swing {
|
||||
shortNameMagazine = Fishing;
|
||||
ammo = "Fishing_Swing_Ammo";
|
||||
};
|
||||
class sledge_swing : Melee_Swing {
|
||||
displayName = "Sledge";
|
||||
displayNameMagazine = "Sledge";
|
||||
shortNameMagazine = "Sledge";
|
||||
ammo = "Sledge_Swing_Ammo";
|
||||
};
|
||||
|
||||
class Hatchet_Swing : Melee_Swing {
|
||||
displayName = Hatchet;
|
||||
displayNameMagazine = Hatchet;
|
||||
1570
SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp
Normal file
1570
SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,191 +0,0 @@
|
||||
class HandGrenade; //External class reference
|
||||
class ItemSodaEmpty: HandGrenade {
|
||||
scope = 2;
|
||||
displayName = $STR_EQUIP_NAME_35;
|
||||
model = "\dayz_equip\models\soda_coke_e.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_empty_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_35;
|
||||
ammo = "SodaCan";
|
||||
class ItemActions {
|
||||
class Crafting {
|
||||
text = "Melt into Bars";
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox"};
|
||||
output[] = {{"ItemAluminumBar",1}};
|
||||
input[] = {{"ItemSodaEmpty",6}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemSodaCoke; //External class reference
|
||||
|
||||
class ItemSodaCokeEmpty : ItemSodaEmpty{
|
||||
model = "\dayz_equip\models\soda_coke_e.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_empty_ca.paa";
|
||||
};
|
||||
class ItemSodaPepsiEmpty : ItemSodaEmpty{
|
||||
model = "\dayz_equip\models\soda_pepsi_e.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_empty_ca.paa";
|
||||
};
|
||||
class ItemSodaMdewEmpty : ItemSodaEmpty{
|
||||
model = "\dayz_equip\models\soda_mdew_e.p3d";
|
||||
picture = "\dayz_equip\textures\equip_soda_empty_ca.paa";
|
||||
};
|
||||
|
||||
class ItemSodaMtngreen : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_0;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_0;
|
||||
model = "z\addons\dayz_communityassets\models\soda_mtngreen_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mtngreen_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaMtngreenEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_mtngreen_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mtngreen_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
|
||||
class ItemSodaR4z0r : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_1;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_1;
|
||||
model = "z\addons\dayz_communityassets\models\soda_r4z0r_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_r4z0r_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaR4z0rEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_r4z0r_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_r4z0r_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
|
||||
class ItemSodaClays : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_2;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_2;
|
||||
model = "z\addons\dayz_communityassets\models\soda_clays_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_clays_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaClaysEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_clays_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_clays_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
|
||||
class ItemSodaSmasht : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_3;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_3;
|
||||
model = "z\addons\dayz_communityassets\models\soda_smasht_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_smasht_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaSmashtEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_smasht_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_smasht_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
|
||||
class ItemSodaDrwaste : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_4;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_4;
|
||||
model = "z\addons\dayz_communityassets\models\soda_drwaste_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_drwaste_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaDrwasteEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_drwaste_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_drwaste_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
/*
|
||||
class ItemSodaFranka : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_5;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_5;
|
||||
model = "z\addons\dayz_communityassets\models\soda_franka_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_franka_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaFrankaEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_franka_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_franka_clean_empty_ca";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
*/
|
||||
class ItemSodaLemonade : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_6;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_6;
|
||||
model = "z\addons\dayz_communityassets\models\soda_lemonade_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lemonade_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaLemonadeEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_lemonade_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lemonade_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
/*
|
||||
class ItemSodaLirik : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_7;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_7;
|
||||
model = "z\addons\dayz_communityassets\models\soda_lirik_clean_full.p3d";
|
||||
//picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lirik_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaLirikEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_lirik_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lirik_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
*/
|
||||
class ItemSodaLvg : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_8;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_8;
|
||||
model = "z\addons\dayz_communityassets\models\soda_lvg_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lvg_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaLvgEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_lvg_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_lvg_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
|
||||
class ItemSodaMzly : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_9;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_9;
|
||||
model = "z\addons\dayz_communityassets\models\soda_mzly_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mzly_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaMzlyEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_mzly_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_mzly_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
/*
|
||||
class ItemSodaPeppsy : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_10;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_10;
|
||||
model = "z\addons\dayz_communityassets\models\soda_peppsy_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_peppsy_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaPeppsyEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_peppsy_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_peppsy_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
*/
|
||||
class ItemSodaRabbit : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_11;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_11;
|
||||
model = "z\addons\dayz_communityassets\models\soda_rabbit_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rabbit_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaRabbitEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_rabbit_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_rabbit_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
|
||||
};
|
||||
/*
|
||||
class ItemSodaSacrite : ItemSodaCoke {
|
||||
displayName = $STR_ITEMSODA_FULL_CLEAN_CODE_NAME_12;
|
||||
descriptionShort = $STR_ITEMSODA_FULL_CLEAN_CODE_DESC_12;
|
||||
model = "z\addons\dayz_communityassets\models\soda_sacrite_clean_full.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sacrite_clean_full_ca.paa";
|
||||
};
|
||||
class ItemSodaSacriteEmpty : ItemSodaEmpty{
|
||||
model = "z\addons\dayz_communityassets\models\soda_sacrite_clean_empty.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_soda_sacrite_clean_empty_ca.paa";
|
||||
//ammo = "SodaCanMtngreen";
|
||||
};
|
||||
*/
|
||||
@@ -1,30 +0,0 @@
|
||||
class FoodDrink;
|
||||
class ItemWaterbottle: FoodDrink {
|
||||
scope = 2;
|
||||
refillable = 1;
|
||||
sfx = "drink";
|
||||
wateroz = 10;
|
||||
displayName = "$STR_EQUIP_NAME_12";
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\z\addons\dayz_epoch\pictures\equip_waterbottle10oz_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_12";
|
||||
};
|
||||
class ItemWaterbottleUnfilled: CA_Magazine {
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = "$STR_EQUIP_NAME_13";
|
||||
model = "\dayz_equip\models\waterbottle_gear.p3d";
|
||||
picture = "\dayz_equip\textures\equip_waterbottle_empty_ca.paa";
|
||||
descriptionShort = "$STR_EQUIP_DESC_13";
|
||||
class ItemActions {
|
||||
class Fill {
|
||||
text = "$STR_ACTIONS_FILL_W";
|
||||
script = "spawn player_fillWater;";
|
||||
};
|
||||
};
|
||||
};
|
||||
class ItemWaterbottleBoiled : ItemWaterbottle {
|
||||
displayName = $STR_ITEMWATERBOTTLEBOILED_CODE_NAME;
|
||||
descriptionShort = $STR_ITEMWATERBOTTLEBOILED_CODE_DESC;
|
||||
};
|
||||
@@ -15,7 +15,7 @@ class ItemGenerator : CA_Magazine
|
||||
{
|
||||
text = $STR_ACTION_BUILD;
|
||||
script = "; [_id,'Build'] spawn player_build; r_action_count = r_action_count + 1;";
|
||||
require[] = {"ItemEtool"};
|
||||
require[] = {"ItemToolbox"};
|
||||
consume[] = {"ItemGenerator"};
|
||||
create = "Generator_DZ";
|
||||
};
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
//Materials
|
||||
#include "Wood.hpp"
|
||||
#include "Stone.hpp"
|
||||
#include "Sandbag.hpp"
|
||||
//#include "Sandbag.hpp"
|
||||
#include "MetalFenceItems.hpp"
|
||||
|
||||
//Simple buildables
|
||||
#include "Tent.hpp"
|
||||
//#include "Tent.hpp" //in DZE/Misc
|
||||
#include "CamoNet.hpp"
|
||||
#include "TankTrap.hpp"
|
||||
#include "WireFence.hpp"
|
||||
//#include "TankTrap.hpp" //in DZE/Misc
|
||||
//#include "WireFence.hpp" //in DZE/Misc
|
||||
#include "BearTrap.hpp"
|
||||
#include "TripWire.hpp"
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IN DZE/MISC.HPP
|
||||
class ItemSandbag : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//TENT CONFIGS ARE FOND IN DZE/MISC.HPP
|
||||
class ItemTent : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
@@ -45,7 +45,7 @@ class ItemPlank : CA_Magazine
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Redifined in DZE/Misc
|
||||
class PartWoodPile : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -56,4 +56,4 @@ class PartWoodPile : CA_Magazine
|
||||
picture = "\dayz_equip\textures\equip_woodPile_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_40;
|
||||
descriptionShort = $STR_EQUIP_DESC_40;
|
||||
};
|
||||
}; */
|
||||
@@ -14,6 +14,18 @@ class 100Rnd_556x45_M249 : 200Rnd_556x45_M249
|
||||
displayName = $STR_DZ_MAG_100RND_556X45_M249_NAME;
|
||||
};
|
||||
|
||||
class 100Rnd_556x45_BetaCMag: CA_Magazine {
|
||||
scope = 2;
|
||||
displayName = "MG36 Mag.";
|
||||
ammo = "B_556x45_Ball";
|
||||
count = 100;
|
||||
initSpeed = 920;
|
||||
picture = "\ca\weapons\g36\data\equip\M_MG36_CA.paa";
|
||||
type="256";
|
||||
tracersEvery = 4;
|
||||
lastRoundsTracer = 4;
|
||||
descriptionShort = "Caliber: 5.56x45 mm NATO Rounds: 100 Used in: MG36, X8 SAW";
|
||||
};
|
||||
|
||||
|
||||
/* STANAG <-> G36 */
|
||||
|
||||
@@ -56,4 +56,10 @@ class 100Rnd_762x51_M240: CA_Magazine
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 200Rnd_762x51_M240 : 100Rnd_762x51_M240 {
|
||||
displayName = "200Rnd. M240";
|
||||
count = 200;
|
||||
descriptionShort = "Caliber: 7.62x51mm NATO <br/>Rounds: 200 <br/>Used in: M240, Mk 48 Mod 0";
|
||||
};
|
||||
@@ -46,6 +46,13 @@ class Fishing_Swing : Melee_Swing
|
||||
ammo = "Fishing_Swing_Ammo";
|
||||
};
|
||||
|
||||
class sledge_swing : Melee_Swing {
|
||||
displayName = "Sledge";
|
||||
displayNameMagazine = "Sledge";
|
||||
shortNameMagazine = "Sledge";
|
||||
ammo = "Sledge_Swing_Ammo";
|
||||
};
|
||||
|
||||
class Bat_Swing : Melee_Swing
|
||||
{
|
||||
scope = 2;
|
||||
|
||||
@@ -59,7 +59,24 @@ class 2Rnd_12Gauge_Slug : 8Rnd_12Gauge_Slug
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class 2Rnd_shotgun_74Slug: 2Rnd_12Gauge_Slug {
|
||||
count=2;
|
||||
class ItemActions {
|
||||
class ReloadMag {
|
||||
text="Combine to 8 rounds";
|
||||
script="spawn player_reloadMag;";
|
||||
use[]= {
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug",
|
||||
"2Rnd_shotgun_74Slug"
|
||||
};
|
||||
output[]= {
|
||||
"8Rnd_12Gauge_Slug" //USE THIS AMMO TYPE INSTEAD OF 8Rnd_B_Beneli_74Slug
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/* Buckshot */
|
||||
@@ -120,4 +137,23 @@ class 2Rnd_12Gauge_Buck : 8Rnd_12Gauge_Buck
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
class 2Rnd_shotgun_74Pellets: 2Rnd_12Gauge_Buck {
|
||||
displayName="2Rnd. Pellets";
|
||||
count=2;
|
||||
class ItemActions {
|
||||
class ReloadMag {
|
||||
text="Combine to 8 rounds";
|
||||
script="spawn player_reloadMag;";
|
||||
use[]= {
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets",
|
||||
"2Rnd_shotgun_74Pellets"
|
||||
};
|
||||
output[]= {
|
||||
"8Rnd_12Gauge_Buck" //USE THIS TYPE INSTEAD OF 8Rnd_B_Beneli_Pellets
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -1,47 +0,0 @@
|
||||
class PartFueltank: CA_Magazine {
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_8;
|
||||
model = "\dayz_equip\models\fueltank.p3d";
|
||||
picture = "\dayz_equip\textures\equip_fueltank_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_8;
|
||||
class ItemActions {
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_212;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"PartGeneric",1}};
|
||||
input[] = {{"PartFueltank",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
class PartWheel: CA_Magazine {
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_9;
|
||||
model = "\dayz_equip\models\wheel.p3d";
|
||||
picture = "\dayz_equip\textures\equip_wheel_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_9;
|
||||
};
|
||||
class PartGeneric: CA_Magazine {
|
||||
scope = 2;
|
||||
count = 1;
|
||||
type = 256;
|
||||
displayName = $STR_EQUIP_NAME_10;
|
||||
model = "\dayz_equip\models\genericparts.p3d";
|
||||
picture = "\dayz_equip\textures\equip_genericparts_ca.paa";
|
||||
descriptionShort = $STR_EQUIP_DESC_10;
|
||||
class ItemActions {
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_213;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemPole",1}};
|
||||
input[] = {{"PartGeneric",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -93,7 +93,7 @@ class ItemTrashRazor : CA_Magazine
|
||||
displayName = $STR_JUNK_NAME_RAZOR;
|
||||
descriptionShort = $STR_JUNK_DESC_RAZOR;
|
||||
};
|
||||
|
||||
/* //IN DZE/MISC
|
||||
class ItemTrashToiletpaper : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
@@ -105,3 +105,4 @@ class ItemTrashToiletpaper : CA_Magazine
|
||||
displayName = $STR_JUNK_NAME_TOILETPAPER;
|
||||
descriptionShort = $STR_JUNK_DESC_TOILETPAPER;
|
||||
};
|
||||
*/
|
||||
@@ -8,6 +8,16 @@ class PartFueltank : CA_Magazine
|
||||
picture = "\dayz_equip\textures\equip_fueltank_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_8;
|
||||
descriptionShort = $STR_EQUIP_DESC_8;
|
||||
class ItemActions {
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_212;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"PartGeneric",1}};
|
||||
input[] = {{"PartFueltank",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class PartWheel : CA_Magazine
|
||||
@@ -32,6 +42,17 @@ class PartEngine : CA_Magazine
|
||||
picture = "\dayz_equip\textures\equip_engine_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_11;
|
||||
descriptionShort = $STR_EQUIP_DESC_11;
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_212;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"PartGeneric",2}};
|
||||
input[] = {{"PartEngine",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class PartVRotor : CA_Magazine
|
||||
@@ -44,6 +65,17 @@ class PartVRotor : CA_Magazine
|
||||
picture = "\dayz_equip\textures\equip_vrotor_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_32;
|
||||
descriptionShort = $STR_EQUIP_DESC_32;
|
||||
class ItemActions {
|
||||
class Crafting
|
||||
{
|
||||
text = $STR_EPOCH_PLAYER_212;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"workshop"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"PartGeneric",3}};
|
||||
input[] = {{"PartVRotor",1}};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class PartGlass : CA_Magazine
|
||||
@@ -68,4 +100,14 @@ class PartGeneric : CA_Magazine
|
||||
picture = "\dayz_equip\textures\equip_genericparts_ca.paa";
|
||||
displayName = $STR_EQUIP_NAME_10;
|
||||
descriptionShort = $STR_EQUIP_DESC_10;
|
||||
class ItemActions {
|
||||
class Crafting {
|
||||
text = $STR_EPOCH_PLAYER_213;
|
||||
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
|
||||
neednearby[] = {"fire"};
|
||||
requiretools[] = {"ItemToolbox","ItemCrowbar"};
|
||||
output[] = {{"ItemPole",1}};
|
||||
input[] = {{"PartGeneric",2}};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user