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,12 +1,10 @@
class Attachment_ACOG : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\acog\data\m_acog_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\acog\data\m_acog_ca.paa";
displayName = $STR_DZ_ATT_ACOG_NAME;
descriptionShort = $STR_DZ_ATT_ACOG_DESC;

View File

@@ -1,11 +1,13 @@
class Attachment_ANPVS4 : CA_Magazine {
scope = public;
class Attachment_ANPVS4 : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_epoch_w\optic\dze_scope_anpvs4.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_anpvs4.paa";
displayName = $STR_DZE_ATTACHMENT_ANPVS4_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_ANPVS4_DESC;
class ItemActions
{
class AttachToPrimary

View File

@@ -1,12 +1,10 @@
class Attachment_BELT : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\models\attachments\BELT";
picture = "\z\addons\dayz_communityweapons\models\attachments\BELT.paa";
picture = "\z\addons\dayz_communityweapons\models\attachments\BELT.paa";
displayName = $STR_ATTACHMENT_NAME_BELT;
descriptionShort = $STR_ATTACHMENT_DESC_BELT;

View File

@@ -1,12 +1,10 @@
class Attachment_CCO : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\cco\cco.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\cco\data\m_cco_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\cco\data\m_cco_ca.paa";
displayName = $STR_DZ_ATT_CCO_NAME;
descriptionShort = $STR_DZ_ATT_CCO_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_FL : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
displayName = $STR_DZ_ATT_FL_RFL_NAME;
descriptionShort = $STR_DZ_ATT_FL_RFL_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_FL_Pist : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
displayName = $STR_DZ_ATT_FL_PST_NAME;
descriptionShort = $STR_DZ_ATT_FL_PST_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_GP25 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\gp25\gp25.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\gp25\data\m_gp25_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\gp25\data\m_gp25_ca.paa";
displayName = $STR_DZ_ATT_GP25_NAME;
descriptionShort = $STR_DZ_ATT_GP25_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_Ghillie : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "ca\weapons\mag_univ.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\ghillie\data\m_ghillie_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\ghillie\data\m_ghillie_ca.paa";
displayName = $STR_DZ_ATT_GHIL_NAME;
descriptionShort = $STR_DZ_ATT_GHIL_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_Holo : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\holo\holo.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\holo\data\m_holo_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\holo\data\m_holo_ca.paa";
displayName = $STR_DZ_ATT_HOLO_NAME;
descriptionShort = $STR_DZ_ATT_HOLO_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_Kobra : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\kobra\kobra.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\kobra\data\m_kobra_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\kobra\data\m_kobra_ca.paa";
displayName = $STR_DZ_ATT_KOBRA_NAME;
descriptionShort = $STR_DZ_ATT_KOBRA_DESC;

View File

@@ -1,11 +1,13 @@
class Attachment_Laser : CA_Magazine {
scope = public;
class Attachment_Laser : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_laser.paa";
displayName = $STR_DZE_ATTACHMENT_LASER_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_LASER_DESC;
class ItemActions
{
class AttachToPrimary

View File

@@ -1,12 +1,10 @@
class Attachment_M203 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\m203\m203.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\m203\data\m_m203_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\m203\data\m_m203_ca.paa";
displayName = $STR_DZ_ATT_M203_NAME;
descriptionShort = $STR_DZ_ATT_M203_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_MFL : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
displayName = $STR_DZ_ATT_MFL_RFL_NAME;
descriptionShort = $STR_DZ_ATT_MFL_RFL_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_MFL_Pist : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
displayName = $STR_DZ_ATT_MFL_PST_NAME;
descriptionShort = $STR_DZ_ATT_MFL_PST_DESC;

View File

@@ -1,11 +1,13 @@
class Attachment_NSPU : CA_Magazine {
scope = public;
class Attachment_NSPU : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_epoch_w\optic\dze_scope_nspu.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_nspu.paa";
displayName = $STR_DZE_ATTACHMENT_NSPU_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_NSPU_DESC;
class ItemActions
{
class AttachToPrimary

View File

@@ -1,11 +1,13 @@
class Attachment_NV : CA_Magazine {
scope = public;
class Attachment_NV : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
picture = "\dayz_epoch_c\icons\attachments\attachment_nv.paa";
model = "\z\addons\dayz_epoch_w\optic\dze_scope_generic.p3d";
displayName = $STR_DZE_ATTACHMENT_NV_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_NV_DESC;
class ItemActions
{
class AttachToPrimary

View File

@@ -1,12 +1,10 @@
class Attachment_PSO1 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\pso\pso.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\pso\data\m_pso_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\pso\data\m_pso_ca.paa";
displayName = $STR_DZ_ATT_PSO1_NAME;
descriptionShort = $STR_DZ_ATT_PSO1_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_SA58RIS : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "ca\weapons\mag_univ.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\SA58RIS\data\m_sa58ris_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\SA58RIS\data\m_sa58ris_ca.paa";
displayName = $STR_DZ_ATT_SA58RIS_NAME;
descriptionShort = $STR_DZ_ATT_SA58RIS_DESC;

View File

@@ -1,6 +1,6 @@
class Attachment_SCOPED : CA_Magazine
{
scope = public;
scope = 2;
displayName = $STR_ATTACHMENT_NAME_SCOPE;
descriptionShort = $STR_ATTACHMENT_DESC_SCOPE;
count = 1;

View File

@@ -1,12 +1,10 @@
class Attachment_Sup10 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
displayName = $STR_DZ_ATT_SUP10_NAME;
descriptionShort = $STR_DZ_ATT_SUP10_DESC;

View File

@@ -1,10 +1,10 @@
class Attachment_Sup45 : CA_Magazine {
scope = public;
class Attachment_Sup45 : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
displayName = $STR_DZE_ATTACHMENT_45SUP_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_45SUP_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_Sup545 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor545\suppressor545.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor545\data\m_suppressor545_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor545\data\m_suppressor545_ca.paa";
displayName = $STR_DZ_ATT_SUP545_NAME;
descriptionShort = $STR_DZ_ATT_SUP545_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_Sup556 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
displayName = $STR_DZ_ATT_SUP556_NAME;
descriptionShort = $STR_DZ_ATT_SUP556_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_Sup57 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
displayName = $STR_DZ_ATT_SUP57_NAME;
descriptionShort = $STR_DZ_ATT_SUP57_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_Sup68 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
displayName = $STR_DZ_ATT_SUP68_NAME;
descriptionShort = $STR_DZ_ATT_SUP68_DESC;

View File

@@ -1,11 +1,13 @@
class Attachment_Sup762 : CA_Magazine {
scope = public;
class Attachment_Sup762 : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
displayName = $STR_DZ_ATT_SUP762_NAME;
descriptionShort = $STR_DZ_ATT_SUP762_DESC;
class ItemActions
{
class AttachToPrimary

View File

@@ -1,12 +1,10 @@
class Attachment_Sup9 : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
displayName = $STR_DZ_ATT_SUP9_NAME;
descriptionShort = $STR_DZ_ATT_SUP9_DESC;

View File

@@ -1,11 +1,13 @@
class Attachment_Sup939 : CA_Magazine {
scope = public;
class Attachment_Sup939 : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
displayName = $STR_DZ_ATT_SUP939_NAME;
descriptionShort = $STR_DZ_ATT_SUP939_DESC;
class ItemActions
{
class AttachToPrimary

View File

@@ -1,12 +1,10 @@
class Attachment_SupBizon : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
displayName = $STR_DZ_ATT_SUP9BIZON_NAME;
descriptionShort = $STR_DZ_ATT_SUP9BIZON_DESC;

View File

@@ -1,12 +1,10 @@
class Attachment_SupMakarov : CA_Magazine
{
scope = public;
scope = 2;
count = 1;
type = WeaponSlotItem;
type = 256;
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
displayName = $STR_DZ_ATT_SUP9PM_NAME;
descriptionShort = $STR_DZ_ATT_SUP9PM_DESC;

View File

@@ -1,11 +1,13 @@
class Attachment_Tws : CA_Magazine {
scope = public;
class Attachment_Tws : CA_Magazine
{
scope = 2;
count = 1;
type = 256;
model = "\z\addons\dayz_epoch_w\optic\dze_scope_tws.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_tws.paa";
displayName = $STR_DZE_ATTACHMENT_TWS_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_TWS_DESC;
class ItemActions
{
class AttachToPrimary