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:
A Man
2020-05-29 02:04:06 +02:00
parent 4040b784b5
commit d9b9874532
291 changed files with 3439 additions and 3069 deletions

View File

@@ -1,21 +1,18 @@
class TrashJackDaniels : HandGrenade
{
scope = public;
scope = 2;
model = "\dayz_equip\models\bottle_jd.p3d";
picture = "\dayz_equip\textures\equip_bottle_jd_ca.paa";
displayName = $STR_EQUIP_NAME_34;
descriptionShort = $STR_EQUIP_DESC_34;
descriptionShort = $STR_EQUIP_DESC_34;
ammo = "JackDaniels";
};
class ItemTrashRazor : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\razor.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_razor_CA.paa";
displayName = $STR_JUNK_NAME_RAZOR;
@@ -24,10 +21,9 @@ class ItemTrashRazor : CA_Magazine
class ItemTrashToiletpaper : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\toiletpaper.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_toiletpaper_CA.paa";
displayName = $STR_JUNK_NAME_TOILETPAPER;
@@ -36,10 +32,9 @@ class ItemTrashToiletpaper : CA_Magazine
class FoodChipsSulahoopsEmpty : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\bag_chips_small_sulahoops_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_sulahoops_opened_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
@@ -48,10 +43,9 @@ class FoodChipsSulahoopsEmpty : CA_Magazine
class FoodChipsMysticalesEmpty : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\bag_chips_small_mysticales_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_mysticales_opened_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;
@@ -60,10 +54,9 @@ class FoodChipsMysticalesEmpty : CA_Magazine
class FoodChipsChocolateEmpty : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\bag_chips_small_chocolate_opened.p3d";
picture = "\z\addons\dayz_communityassets\pictures\equip_bag_chips_small_chocolate_empty_ca.paa";
displayName = $STR_FOOD_NAME_CHIPS_EMPTY;