Compat RHS - Fix USAF flashlights materializing PEQ-15s (#9683)

i wish this used CBA attachments...
This commit is contained in:
Grim 2023-12-20 14:41:29 -03:00 committed by GitHub
parent e8c10f905e
commit 274d853c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,8 @@ class CfgWeapons {
baseWeapon = "rhsusf_acc_anpeq15_wmx";
};
class rhsusf_acc_M952V: rhsusf_acc_anpeq15_light {
rhs_acc_combo = ""; // prevent materializing a PEQ-15 if RHS's attachment switch is called
rhs_anpeq15_base = ""; // same deal
baseWeapon = "rhsusf_acc_M952V";
};
class rhsusf_acc_wmx: rhsusf_acc_M952V {
@ -29,6 +31,12 @@ class CfgWeapons {
class rhsusf_acc_anpeq15A: acc_pointer_IR {
baseWeapon = "rhsusf_acc_anpeq15A";
};
class rhsusf_acc_anpeq15_top: rhsusf_acc_anpeq15A {
baseWeapon = "rhsusf_acc_anpeq15_top";
};
class rhsusf_acc_anpeq15_bk_top: rhsusf_acc_anpeq15_top {
baseWeapon = "rhsusf_acc_anpeq15_bk_top";
};
class rhsusf_acc_anpeq15side: acc_pointer_IR {
baseWeapon = "rhsusf_acc_anpeq15side";
};