Arsenal/RHS Compats - Removed bad illuminator stats for RHS attachments (#9766)

This commit is contained in:
johnb432 2024-02-04 20:24:14 +01:00 committed by GitHub
parent f1e3753606
commit b440cf9cb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 22 additions and 4 deletions

View File

@ -1,7 +1,14 @@
class CfgWeapons { class CfgWeapons {
// Last update: RHSAFRF 0.5.6 // Last update: RHSAFRF 0.5.6
class rhs_acc_perst3; class rhs_acc_perst3_2dp_light;
class rhs_acc_perst3_2dp: rhs_acc_perst3 { class rhs_acc_perst3_2dp_light_h: rhs_acc_perst3_2dp_light {
baseWeapon = "rhs_acc_perst3_2dp"; baseWeapon = "rhs_acc_perst3_2dp_h";
};
class acc_pointer_IR;
class rhs_acc_perst1ik: acc_pointer_IR {
MRT_SwitchItemHintText = ""; // prevent false info for illuminator stat
MRT_SwitchItemNextClass = "";
MRT_SwitchItemPrevClass = "";
}; };
}; };

View File

@ -15,4 +15,4 @@ class CfgPatches {
}; };
}; };
//#include "CfgWeapons.hpp" #include "CfgWeapons.hpp"

View File

@ -3,6 +3,9 @@ class CfgWeapons {
class acc_pointer_IR; class acc_pointer_IR;
class rhsusf_acc_anpeq15: acc_pointer_IR { class rhsusf_acc_anpeq15: acc_pointer_IR {
baseWeapon = "rhsusf_acc_anpeq15"; baseWeapon = "rhsusf_acc_anpeq15";
MRT_SwitchItemHintText = ""; // prevent false info for illuminator stat
MRT_SwitchItemNextClass = "";
MRT_SwitchItemPrevClass = "";
}; };
class rhsusf_acc_anpeq15_bk: rhsusf_acc_anpeq15 { class rhsusf_acc_anpeq15_bk: rhsusf_acc_anpeq15 {
baseWeapon = "rhsusf_acc_anpeq15_bk"; baseWeapon = "rhsusf_acc_anpeq15_bk";
@ -28,8 +31,12 @@ class CfgWeapons {
class rhsusf_acc_wmx_bk: rhsusf_acc_M952V { class rhsusf_acc_wmx_bk: rhsusf_acc_M952V {
baseWeapon = "rhsusf_acc_wmx_bk"; baseWeapon = "rhsusf_acc_wmx_bk";
}; };
class rhsusf_acc_anpeq15A: acc_pointer_IR { class rhsusf_acc_anpeq15A: acc_pointer_IR {
baseWeapon = "rhsusf_acc_anpeq15A"; baseWeapon = "rhsusf_acc_anpeq15A";
MRT_SwitchItemHintText = ""; // prevent false info for illuminator stat
MRT_SwitchItemNextClass = "";
MRT_SwitchItemPrevClass = "";
}; };
class rhsusf_acc_anpeq15_top: rhsusf_acc_anpeq15A { class rhsusf_acc_anpeq15_top: rhsusf_acc_anpeq15A {
baseWeapon = "rhsusf_acc_anpeq15_top"; baseWeapon = "rhsusf_acc_anpeq15_top";
@ -37,8 +44,12 @@ class CfgWeapons {
class rhsusf_acc_anpeq15_bk_top: rhsusf_acc_anpeq15_top { class rhsusf_acc_anpeq15_bk_top: rhsusf_acc_anpeq15_top {
baseWeapon = "rhsusf_acc_anpeq15_bk_top"; baseWeapon = "rhsusf_acc_anpeq15_bk_top";
}; };
class rhsusf_acc_anpeq15side: acc_pointer_IR { class rhsusf_acc_anpeq15side: acc_pointer_IR {
baseWeapon = "rhsusf_acc_anpeq15side"; baseWeapon = "rhsusf_acc_anpeq15side";
MRT_SwitchItemHintText = ""; // prevent false info for illuminator stat
MRT_SwitchItemNextClass = "";
MRT_SwitchItemPrevClass = "";
}; };
class rhsusf_acc_anpeq15side_bk: rhsusf_acc_anpeq15side { class rhsusf_acc_anpeq15side_bk: rhsusf_acc_anpeq15side {
baseWeapon = "rhsusf_acc_anpeq15side_bk"; baseWeapon = "rhsusf_acc_anpeq15side_bk";