Add weapon parts and gun powder for server admins to add

This commit is contained in:
A Man
2021-08-24 10:36:22 +02:00
parent 5885bb31e3
commit 6dbc6646f3
4 changed files with 324 additions and 0 deletions

View File

@@ -262,6 +262,160 @@ class ItemCeramicParts : CA_Magazine
type = 256; type = 256;
}; };
class ItemWeaponPartsPistol : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_PISTOL;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_PISTOL_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsSMG : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_SMG;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_SMG_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsShotgun : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_SHOTGUN;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_SHOTGUN_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsRifle : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_RIFLE;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_RIFLE_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsSniperRilfe : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_SNIPERRIFLE;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_SNIPERRIFLE_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsMG : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_MG;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_MG_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsUnknown : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_UNKNOWN_MG;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_UNKNOWN_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsBad : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_BAD;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_BAD_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsNormal : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_NORMAL;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_NORMAL_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsGood : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_GOOD;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_GOOD_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemWeaponPartsExecellent : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_WEAPON_PARTS_EXCELLENT;
descriptionShort = $STR_EPOCH_WEAPON_PARTS_EXCELLENT_DESC;
model = "\z\addons\dayz_communityassets\models\crate.p3d";
picture = "\z\addons\dayz_communityassets\CraftingPlaceholders\equip_part_somegeneric.paa";
type = 256;
};
class ItemGunPowderSmall : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_GUN_POWDER_SMALL;
descriptionShort = $STR_EPOCH_GUN_POWDER_SMALL_DESC;
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
type = 256;
};
class ItemGunPowder : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_GUN_POWDER;
descriptionShort = $STR_EPOCH_GUN_POWDER_DESC;
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
type = 256;
};
class ItemGunPowderBig : CA_Magazine
{
scope = 2;
count = 1;
displayName = $STR_EPOCH_GUN_POWDER_BIG;
descriptionShort = $STR_EPOCH_GUN_POWDER_BIG_DESC;
model = "\z\addons\dayz_communityassets\models\tin_powder.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_tin_powder_co.paa";
type = 256;
};
//No models //No models
class equip_cable_tie : CA_Magazine class equip_cable_tie : CA_Magazine
{ {

View File

@@ -141,3 +141,59 @@ class ItemCeramicParts
{ {
weight = 3; weight = 3;
}; };
class ItemWeaponPartsPistol
{
weight = 4;
};
class ItemWeaponPartsSMG
{
weight = 5;
};
class ItemWeaponPartsShotgun
{
weight = 5;
};
class ItemWeaponPartsRifle
{
weight = 7;
};
class ItemWeaponPartsSniperRilfe
{
weight = 7.5;
};
class ItemWeaponPartsMG
{
weight = 9;
};
class ItemWeaponPartsUnknown
{
weight = 8.5;
};
class ItemWeaponPartsBad
{
weight = 8;
};
class ItemWeaponPartsNormal
{
weight = 9;
};
class ItemWeaponPartsGood
{
weight = 9.5;
};
class ItemWeaponPartsExecellent
{
weight = 10;
};
class ItemGunPowderSmall
{
weight = 2;
};
class ItemGunPowder
{
weight = 8;
};
class ItemGunPowderBig
{
weight = 16;
};

View File

@@ -34,6 +34,7 @@ class CfgWeight
#include "Magazines\Buildings\Tent.hpp" #include "Magazines\Buildings\Tent.hpp"
#include "Magazines\Buildings\Misc.hpp" #include "Magazines\Buildings\Misc.hpp"
#include "Magazines\Buildings\TripWire.hpp" #include "Magazines\Buildings\TripWire.hpp"
#include "Magazines\Buildings\StaticWeapons.hpp"
#include "Magazines\Consumables\Fish.hpp" #include "Magazines\Consumables\Fish.hpp"
#include "Magazines\Consumables\Meat.hpp" #include "Magazines\Consumables\Meat.hpp"

View File

@@ -34321,6 +34321,119 @@
<German>Eine Kiste mit Keramikteile.</German> <German>Eine Kiste mit Keramikteile.</German>
<Russian>Ящик с керамическими частями.</Russian> <Russian>Ящик с керамическими частями.</Russian>
</Key> </Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_PISTOL">
<English>Gun parts (Pistol)</English>
<German>Waffenteile (Pistole)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_PISTOL_DESC">
<English>A pile of pistol gun parts.</English>
<German>Ein Haufen Waffenteile einer Pistole.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_SMG">
<English>Gun parts (SMG)</English>
<German>Waffenteile (SMG)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_SMG_DESC">
<English>A pile of smg gun parts.</English>
<German>Ein Haufen Waffenteile einer Maschinenpistole.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_SHOTGUN">
<English>Gun parts (Shotgun)</English>
<German>Waffenteile (Schrotflinte)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_SHOTGUN_DESC">
<English>A pile of shotgun gun parts.</English>
<German>Ein Haufen Waffenteile einer Schrotflinte.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_RIFLE">
<English>Gun parts (Rifle)</English>
<German>Waffenteile (Gewehr)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_RIFLE_DESC">
<English>A pile of rifle gun parts.</English>
<German>Ein Haufen Waffenteile eines Gewehrs.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_SNIPERRIFLE">
<English>Gun parts (Sniper Rifle)</English>
<German>Waffenteile (Scharfschützengewehr)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_SNIPERRIFLE_DESC">
<English>A pile of sniper rifle gun parts.</English>
<German>Ein Haufen Waffenteile eines Scharfschützengewehrs.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_MG">
<English>Gun parts (MG)</English>
<German>Waffenteile (MG)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_MG_DESC">
<English>A pile of mg gun parts.</English>
<German>Ein Haufen Waffenteile eines Maschinengewehrs.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_UNKNOWN">
<English>Gun parts (Unknown)</English>
<German>Waffenteile (Unbekannt)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_UNKNOWN">
<English>A pile of unknown gun parts in a good condition.</English>
<German>Ein Haufen unbekannter Waffenteile, in einem guten Zustand.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_BAD">
<English>Gun parts (Bad)</English>
<German>Waffenteile (Schlecht)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_BAD_DESC">
<English>A pile of old gun parts in a bad condition.</English>
<German>Ein Haufen alter Waffenteile in einem schlechten Zustand.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_NORMAL">
<English>Gun parts (Average)</English>
<German>Waffenteile (Normal)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_NORMAL_DESC">
<English>A pile of gun parts in an average condition.</English>
<German>Ein Haufen Waffenteile in einem durchschnittlichen Zustand.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_GOOD">
<English>Gun parts (Good)</English>
<German>Waffenteile (Gut)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_GOOD_DESC">
<English>A pile of gun parts in a good condition.</English>
<German>Ein Haufen Waffenteile, in einem guten Zustand.</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_EXCELLENT">
<English>Gun parts (Excellent)</English>
<German>Waffenteile (Exzellent)</German>
</Key>
<Key ID="STR_EPOCH_WEAPON_PARTS_EXCELLENT_DESC">
<English>A pile of gun parts in an excellent condition.</English>
<German>Ein Haufen Waffenteile, in einem exzellenten Zustand.</German>
</Key>
<Key ID="STR_EPOCH_GUN_POWDER_SMALL">
<English>Gun Powder (Small)</English>
<German>Schießpulver (Klein)</German>
</Key>
<Key ID="STR_EPOCH_GUN_POWDER_SMALL_DESC">
<English>A small can with gun powder. Used for crafting ammunation.</English>
<German>Eine kleine Dose mit Schießpulver, welche für die Herstellung von Munition genutzt werden kann.</German>
</Key>
<Key ID="STR_EPOCH_GUN_POWDER">
<English>Gun Powder</English>
<German>Schießpulver</German>
</Key>
<Key ID="STR_EPOCH_GUN_POWDER_DESC">
<English>A can with gun powder. Used for crafting ammunation.</English>
<German>Eine Dose mit Schießpulver, welche für die Herstellung von Munition genutzt werden kann.</German>
</Key>
<Key ID="STR_EPOCH_GUN_POWDER_BIG">
<English>Gun Powder (Big)</English>
<German>Schießpulver (Groß)</German>
</Key>
<Key ID="STR_EPOCH_GUN_POWDER_BIG_DESC">
<English>A big can with gun powder. Used for crafting ammunation.</English>
<German>Eine große Dose mit Schießpulver, welche für die Herstellung von Munition genutzt werden kann.</German>
</Key>
<Key ID="STR_EPOCH_SLUGS_IN_A_CAN"> <Key ID="STR_EPOCH_SLUGS_IN_A_CAN">
<English>Slugs in a can</English> <English>Slugs in a can</English>
<Russian>Пули в банке</Russian> <Russian>Пули в банке</Russian>