mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Change scope and type of configs from name to numbers
This got discussed earlier. Since epoch got merged with DayZ Mod we have a different name for the scope and type of configs. A proper config should use numbers for those entries. This is the same how arma configs are written. The basicDefines.hpp has all the needed information stored. Also, this removes the weight entries from the magazines since we have them in a separate folder, so admins can edit them.
This commit is contained in:
@@ -3,17 +3,14 @@
|
||||
//Winchester 1866
|
||||
class 15Rnd_W1866_Slug : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
model = "\z\addons\dayz_communityassets\models\winammo.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_winammo_ca.paa";
|
||||
displayName = $STR_DZ_MAG_15RND_W1866_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_15RND_W1866_DESC;
|
||||
|
||||
descriptionShort = $STR_DZ_MAG_15RND_W1866_DESC;
|
||||
ammo = B_1866_Slug;
|
||||
count = 15;
|
||||
initSpeed = 396;
|
||||
displayNameShort = "Slug";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
@@ -27,8 +24,7 @@ class 8Rnd_12Gauge_Slug : 8Rnd_B_Beneli_74Slug
|
||||
model = "\z\addons\dayz_communityassets\models\greenshotgunslugs.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_greenshotgunslugs_ca.paa";
|
||||
displayName = $STR_DZ_MAG_8RND_12GAUGE_SLUG_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_8RND_12GAUGE_SLUG_DESC;
|
||||
|
||||
descriptionShort = $STR_DZ_MAG_8RND_12GAUGE_SLUG_DESC;
|
||||
cartridgeName = "12Gauge_Slug";
|
||||
|
||||
class ItemActions
|
||||
@@ -56,8 +52,7 @@ class 2Rnd_12Gauge_Slug : 8Rnd_12Gauge_Slug
|
||||
model = "\z\addons\dayz_communityassets\models\2shells_slugshot.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_slugshot_CA.paa";
|
||||
displayName = $STR_DZ_MAG_2RND_12GAUGE_SLUG_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_2RND_12GAUGE_SLUG_DESC;
|
||||
|
||||
descriptionShort = $STR_DZ_MAG_2RND_12GAUGE_SLUG_DESC;
|
||||
count = 2;
|
||||
|
||||
class ItemActions
|
||||
@@ -120,8 +115,7 @@ class 2Rnd_12Gauge_Buck : 8Rnd_12Gauge_Buck
|
||||
model = "\z\addons\dayz_communityassets\models\2shells_slugshot.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_2shells_pellet_ca.paa";
|
||||
displayName = $STR_DZ_MAG_2RND_12GAUGE_BUCK_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_2RND_12GAUGE_BUCK_DESC;
|
||||
|
||||
descriptionShort = $STR_DZ_MAG_2RND_12GAUGE_BUCK_DESC;
|
||||
count = 2;
|
||||
|
||||
class ItemActions
|
||||
@@ -146,12 +140,12 @@ class 2Rnd_12Gauge_Buck : 8Rnd_12Gauge_Buck
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
//AA12 Ammo
|
||||
class 20Rnd_B_AA12_74Slug : CA_Magazine
|
||||
{
|
||||
model = "\z\addons\dayz_epoch_w\magazine\dze_AA12_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_20Rnd_B_AA12_74Slug_NAME;
|
||||
|
||||
displayName = $STR_DZ_MAG_20Rnd_B_AA12_74Slug_NAME;
|
||||
cartridgeName = "12Gauge_Slug";
|
||||
|
||||
class ItemActions
|
||||
@@ -159,11 +153,11 @@ class 20Rnd_B_AA12_74Slug : CA_Magazine
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 20Rnd_B_AA12_Pellets : CA_Magazine
|
||||
{
|
||||
model = "\z\addons\dayz_epoch_w\magazine\dze_AA12_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_20Rnd_B_AA12_Pellets_NAME;
|
||||
|
||||
displayName = $STR_DZ_MAG_20Rnd_B_AA12_Pellets_NAME;
|
||||
cartridgeName = "12Gauge_Pellets";
|
||||
|
||||
class ItemActions
|
||||
@@ -171,11 +165,11 @@ class 20Rnd_B_AA12_Pellets : CA_Magazine
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
class 20Rnd_B_AA12_HE : CA_Magazine
|
||||
{
|
||||
model = "\z\addons\dayz_epoch_w\magazine\dze_AA12_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_20Rnd_B_AA12_HE_NAME;
|
||||
|
||||
displayName = $STR_DZ_MAG_20Rnd_B_AA12_HE_NAME;
|
||||
cartridgeName = "19mm_HE";
|
||||
|
||||
class ItemActions
|
||||
@@ -183,6 +177,7 @@ class 20Rnd_B_AA12_HE : CA_Magazine
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
//Saiga12 Ammo
|
||||
class 8Rnd_B_Saiga12_74Slug: CA_Magazine
|
||||
{
|
||||
@@ -216,4 +211,4 @@ class 20Rnd_B_Usas12_Pellets: 8Rnd_B_Saiga12_Pellets {
|
||||
displayName = $STR_DZ_MAG_20RND_USAS12_PELLETS_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_20RND_USAS12_PELLETS_DESC;
|
||||
count = 20;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user