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

@@ -3,7 +3,7 @@ class TrapItems : NonStrategic {
};
class BearTrap_DZ : TrapItems {
scope = public;
scope = 2;
destrType = "DestructNo";
displayName = $STR_EQUIP_NAME_BEARTRAP;
descriptionShort = $STR_EQUIP_DESC_BEARTRAP;
@@ -117,7 +117,7 @@ class Bomb
};
class TrapBearTrapFlare : TrapItems {
scope = public;
scope = 2;
destrType = "DestructNo";
cost = 100;
model = "z\addons\dayz_communityassets\models\trap_beartrap_flare.p3d";
@@ -169,7 +169,7 @@ class TrapBearTrapFlare : TrapItems {
};
class TrapBearTrapSmoke : TrapItems {
scope = public;
scope = 2;
destrType = "DestructNo";
cost = 100;
model = "z\addons\dayz_communityassets\models\trap_beartrap_smoke.p3d";
@@ -221,7 +221,7 @@ class TrapBearTrapSmoke : TrapItems {
};
class Trap_Cans : TrapItems {
scope = public;
scope = 2;
destrType = "DestructNo";
cost = 100;
model = "z\addons\dayz_communityassets\models\tripwire_cans.p3d";
@@ -273,7 +273,7 @@ class Trap_Cans : TrapItems {
};
class TrapTripwireFlare : TrapItems {
scope = public;
scope = 2;
destrType = "DestructNo";
cost = 100;
model = "z\addons\dayz_communityassets\models\trap_tripwire_flare.p3d";
@@ -325,7 +325,7 @@ class TrapTripwireFlare : TrapItems {
};
class TrapTripwireGrenade : TrapItems {
scope = public;
scope = 2;
destrType = "DestructNo";
cost = 100;
model = "z\addons\dayz_communityassets\models\trap_tripwire_grenade.p3d";
@@ -377,7 +377,7 @@ class TrapTripwireGrenade : TrapItems {
};
class TrapTripwireSmoke : TrapItems {
scope = public;
scope = 2;
destrType = "DestructNo";
cost = 100;
model = "z\addons\dayz_communityassets\models\trap_tripwire_smoke.p3d";