mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-21 23:50:48 +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:
@@ -1,7 +1,7 @@
|
||||
class 1Rnd_Arrow_Wood : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
|
||||
scope = 2;
|
||||
type = 256;
|
||||
model = "\dayz_weapons\models\bolt_gear";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_warrow_ca.paa";
|
||||
displayName = $STR_ITEMWOODENARROW_CODE_NAME;
|
||||
@@ -23,13 +23,11 @@ class 1Rnd_Arrow_Wood : CA_Magazine
|
||||
|
||||
class 12Rnd_Quiver_Wood : 1Rnd_Arrow_Wood
|
||||
{
|
||||
type = WeaponSlotItem;
|
||||
|
||||
type = 256;
|
||||
model = "\z\addons\dayz_communityassets\models\quiver";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\equip_quiver_ca.paa";
|
||||
descriptionShort = $STR_ITEMQUIVER_CODE_DESC;
|
||||
displayName = $STR_ITEMQUIVER_CODE_NAME;
|
||||
|
||||
displayName = $STR_ITEMQUIVER_CODE_NAME;
|
||||
count = 12;
|
||||
|
||||
class ItemActions
|
||||
@@ -46,36 +44,24 @@ class 12Rnd_Quiver_Wood : 1Rnd_Arrow_Wood
|
||||
|
||||
class 1Rnd_Bolt_Tranquilizer : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
type = WeaponSlotItem;
|
||||
count = 1;
|
||||
|
||||
scope = 2;
|
||||
type = 256;
|
||||
count = 1;
|
||||
model = "z\addons\community_crossbow\models\ammo.p3d";
|
||||
picture = "\z\addons\community_crossbow\textures\bolt_tranq.paa";
|
||||
displayName = $STR_DZ_MAG_BOLT_TRQ_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_BOLT_TRQ_DESC;
|
||||
|
||||
descriptionShort = $STR_DZ_MAG_BOLT_TRQ_DESC;
|
||||
ammo = "tranquiliser_bolt";
|
||||
};
|
||||
|
||||
class 1Rnd_Bolt_Explosive : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
type = WeaponSlotItem;
|
||||
count = 1;
|
||||
|
||||
scope = 2;
|
||||
type = 256;
|
||||
count = 1;
|
||||
picture = "\z\addons\community_crossbow\textures\bolt_expl.paa";
|
||||
model = "z\addons\community_crossbow\models\ammo.p3d";
|
||||
displayName = $STR_DZ_MAG_BOLT_EXP_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_BOLT_EXP_DESC;
|
||||
|
||||
descriptionShort = $STR_DZ_MAG_BOLT_EXP_DESC;
|
||||
ammo = "explosive_bolt";
|
||||
};
|
||||
|
||||
/*
|
||||
//TODO: Remove legacy
|
||||
class WoodenArrow : 1Rnd_Arrow_Wood {};
|
||||
class Quiver : 12Rnd_Quiver_Wood {};
|
||||
class Tranquiliser_Bolt : 1Rnd_Bolt_Tranquilizer {};
|
||||
class Crossbow_EX_Bolt : 1Rnd_Bolt_Explosive {};
|
||||
*/
|
||||
};
|
||||
Reference in New Issue
Block a user