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,15 +1,17 @@
class PartFueltank : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\fueltank.p3d";
picture = "\dayz_equip\textures\equip_fueltank_ca.paa";
displayName = $STR_EQUIP_NAME_8;
descriptionShort = $STR_EQUIP_DESC_8;
class ItemActions {
class Crafting {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_212;
script = ";['Crafting','CfgMagazines', _id] spawn player_craftItem;";
neednearby[] = {"workshop"};
@@ -22,10 +24,9 @@ class PartFueltank : CA_Magazine
class PartWheel : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\wheel.p3d";
picture = "\dayz_equip\textures\equip_wheel_ca.paa";
displayName = $STR_EQUIP_NAME_9;
@@ -34,15 +35,16 @@ class PartWheel : CA_Magazine
class PartEngine : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\engine.p3d";
picture = "\dayz_equip\textures\equip_engine_ca.paa";
displayName = $STR_EQUIP_NAME_11;
descriptionShort = $STR_EQUIP_DESC_11;
class ItemActions {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_212;
@@ -57,15 +59,16 @@ class PartEngine : CA_Magazine
class PartVRotor : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\vrotor.p3d";
picture = "\dayz_equip\textures\equip_vrotor_ca.paa";
displayName = $STR_EQUIP_NAME_32;
descriptionShort = $STR_EQUIP_DESC_32;
class ItemActions {
class ItemActions
{
class Crafting
{
text = $STR_EPOCH_PLAYER_212;
@@ -80,14 +83,13 @@ class PartVRotor : CA_Magazine
class PartGlass : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\dayz_equip\models\carglass.p3d";
picture = "\dayz_equip\textures\equip_carglass_ca.paa";
displayName = $STR_EQUIP_NAME_30;
descriptionShort = $STR_EQUIP_DESC_30;
};
// PartGeneric can be found under Items\Metal.hpp
// PartGeneric can be found under Items\Metal.hpp