From 37be6130f2920d3aaaee8d13ab294fc7eb622979 Mon Sep 17 00:00:00 2001 From: Grim <69561145+LinkIsGrim@users.noreply.github.com> Date: Tue, 19 Sep 2023 23:13:38 -0400 Subject: [PATCH] RHS Compat - Readd basic 5.56 suppressor to 5.56 muzzle slot (#9412) bleh --- addons/compat_rhs_usf3/CfgJointRails.hpp | 11 +++++++++++ addons/compat_rhs_usf3/config.cpp | 1 + 2 files changed, 12 insertions(+) create mode 100644 addons/compat_rhs_usf3/CfgJointRails.hpp diff --git a/addons/compat_rhs_usf3/CfgJointRails.hpp b/addons/compat_rhs_usf3/CfgJointRails.hpp new file mode 100644 index 0000000000..0e0029857f --- /dev/null +++ b/addons/compat_rhs_usf3/CfgJointRails.hpp @@ -0,0 +1,11 @@ +// RHS specifically disables only the base vanilla 5.56 suppressor, the camo variants are untouched + +class asdg_MuzzleSlot; +class asdg_MuzzleSlot_556: asdg_MuzzleSlot { + class compatibleItems; +}; +class rhs_western_rifle_muzzle_slot: asdg_MuzzleSlot_556 { + class compatibleItems: compatibleItems { + muzzle_snds_M = 1; + }; +}; diff --git a/addons/compat_rhs_usf3/config.cpp b/addons/compat_rhs_usf3/config.cpp index 2d1b2d4a74..8eb2ef821a 100644 --- a/addons/compat_rhs_usf3/config.cpp +++ b/addons/compat_rhs_usf3/config.cpp @@ -22,3 +22,4 @@ class CfgPatches { #include "CfgWeapons.hpp" #include "CfgVehicles.hpp" #include "CfgGlasses.hpp" +#include "CfgJointRails.hpp"