From c35250b7b78b5df19967698597d757aaa5186226 Mon Sep 17 00:00:00 2001 From: rufix Date: Sun, 4 Nov 2018 10:29:06 +0100 Subject: [PATCH] Add Magwells for MMGs from Marksman DLC --- addons/jam/CfgMagazineWells.hpp | 2 ++ addons/jam/CfgWeapons.hpp | 8 ++++++++ addons/jam/magwells_338NM.hpp | 5 +++++ addons/jam/magwells_93x64.hpp | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 addons/jam/magwells_338NM.hpp create mode 100644 addons/jam/magwells_93x64.hpp diff --git a/addons/jam/CfgMagazineWells.hpp b/addons/jam/CfgMagazineWells.hpp index 7598e5d7c..0c7244e0f 100644 --- a/addons/jam/CfgMagazineWells.hpp +++ b/addons/jam/CfgMagazineWells.hpp @@ -18,12 +18,14 @@ class CfgMagazineWells { #include "magwells_792x33.hpp" // 7.92x33mm Kurz | 7.92 x 33 kurz | 7.9mm Kurz | 7.9 Kurz | 7.9mmK | 8x33 Polte #include "magwells_792x57.hpp" // 7.92x57mm Mauser | 8mm Mauser | 8x57mm | 8 x 57 IS #include "magwells_9x39.hpp" // 9x39mm + #include "magwells_93x64.hpp" // 9.3x64mm #include "magwells_3006.hpp" // .30-06 Springfield | 7.62x63mm #include "magwells_300BLK.hpp" // .300 AAC Blackout | 300 BLK | .300 Blackout | 7.62x35mm #include "magwells_300WM.hpp" // .300 Winchester Magnum | .300 Win Mag | 300WM #include "magwells_303B.hpp" // .303 British | 7.7x56mmR #include "magwells_338LM.hpp" // .338 Lapua Magnum + #include "magwells_338NM.hpp" // .338 Norma Magnum #include "magwells_408CT.hpp" // .408 Cheyenne Tactical | 408 Chey Tac | 10.36x77mm #include "magwells_50BMG.hpp" // .50 BMG | .50 Browning Machine Gun | 12.7x99mm NATO diff --git a/addons/jam/CfgWeapons.hpp b/addons/jam/CfgWeapons.hpp index 306ca5e61..3b37f562b 100644 --- a/addons/jam/CfgWeapons.hpp +++ b/addons/jam/CfgWeapons.hpp @@ -74,4 +74,12 @@ class CfgWeapons { class launch_RPG7_F : Launcher_Base_F { magazineWell[] = {"CBA_RPG7"}; }; + + class MMG_01_base_F : Rifle_Long_Base_F { + magazineWell[] = {"CBA_93x64_LINKS"}; + }; + + class MMG_02_base_F : Rifle_Long_Base_F { + magazineWell[] = {"CBA_338NM_LINKS"}; + }; }; diff --git a/addons/jam/magwells_338NM.hpp b/addons/jam/magwells_338NM.hpp new file mode 100644 index 000000000..84ca9b34e --- /dev/null +++ b/addons/jam/magwells_338NM.hpp @@ -0,0 +1,5 @@ +class CBA_338NM_LINKS { + BI_mags[] = { + "130Rnd_338_Mag" + }; +}; diff --git a/addons/jam/magwells_93x64.hpp b/addons/jam/magwells_93x64.hpp new file mode 100644 index 000000000..650c4e8a9 --- /dev/null +++ b/addons/jam/magwells_93x64.hpp @@ -0,0 +1,5 @@ +class CBA_93x64_LINKS { + BI_mags[] = { + "150Rnd_93x64_Mag" + }; +};