From 274d853c433029e67624ba598c6c72266d7f84d4 Mon Sep 17 00:00:00 2001 From: Grim <69561145+LinkIsGrim@users.noreply.github.com> Date: Wed, 20 Dec 2023 14:41:29 -0300 Subject: [PATCH] Compat RHS - Fix USAF flashlights materializing PEQ-15s (#9683) i wish this used CBA attachments... --- .../compat_rhs_usf3_arsenal/CfgWeapons.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/addons/compat_rhs_usf3/compat_rhs_usf3_arsenal/CfgWeapons.hpp b/addons/compat_rhs_usf3/compat_rhs_usf3_arsenal/CfgWeapons.hpp index 7888e52393d..8dc735265cb 100644 --- a/addons/compat_rhs_usf3/compat_rhs_usf3_arsenal/CfgWeapons.hpp +++ b/addons/compat_rhs_usf3/compat_rhs_usf3_arsenal/CfgWeapons.hpp @@ -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"; };