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,8 +1,8 @@
class ItemSandbag : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
displayName = $STR_EQUIP_NAME_21;
@@ -50,8 +50,9 @@ class ItemSandbag : CA_Magazine
};
};
class BagFenceRound_DZ_kit : CA_Magazine {
scope = public;
class BagFenceRound_DZ_kit : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_ROUND;
@@ -59,8 +60,10 @@ class BagFenceRound_DZ_kit : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d";
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_299;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -78,8 +81,9 @@ class BagFenceRound_DZ_kit : CA_Magazine {
};
};
class ItemSandbagLarge : CA_Magazine {
scope = public;
class ItemSandbagLarge : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_HBARRIER;
@@ -87,8 +91,10 @@ class ItemSandbagLarge : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_273_3;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -106,8 +112,9 @@ class ItemSandbagLarge : CA_Magazine {
};
};
class ItemSandbagExLarge : CA_Magazine {
scope = public;
class ItemSandbagExLarge : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_3XHBARRIER;
@@ -115,8 +122,10 @@ class ItemSandbagExLarge : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_273_4;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -134,8 +143,9 @@ class ItemSandbagExLarge : CA_Magazine {
};
};
class ItemSandbagExLarge5x : CA_Magazine {
scope = public;
class ItemSandbagExLarge5x : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_5XHBARRIER;
@@ -143,8 +153,10 @@ class ItemSandbagExLarge5x : CA_Magazine {
model = "\dayz_equip\models\sandbags.p3d"; // TODO model
picture = "\dayz_equip\textures\equip_sandbag_ca.paa";
class ItemActions {
class Build {
class ItemActions
{
class Build
{
text = $STR_EPOCH_PLAYER_273_5;
script = "spawn player_build;";
require[] = {"ItemEtool"};
@@ -155,7 +167,7 @@ class ItemSandbagExLarge5x : CA_Magazine {
class sandbag_nest_kit: CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = 256;
displayName = $STR_EQUIP_NAME_21_NEST;