diff --git a/addons/csw/CfgVehicles.hpp b/addons/csw/CfgVehicles.hpp index ad20d906df..4a1d63eb0c 100644 --- a/addons/csw/CfgVehicles.hpp +++ b/addons/csw/CfgVehicles.hpp @@ -169,6 +169,31 @@ class CfgVehicles { }; }; + class HMG_02_base_F: StaticMGWeapon { + class ADDON { + enabled = 1; + proxyWeapon = QGVAR(HMG_M2_Mounted); + magazineLocation = "_target selectionPosition 'magazine'"; + disassembleWeapon = QGVAR(staticM2ShieldCarry); // carry weapon [CfgWeapons] + disassembleTurret = QGVAR(m3TripodLow); // turret [CfgVehicles] + desiredAmmo = 100; + ammoLoadTime = 7; + ammoUnloadTime = 5; + }; + }; + class HMG_02_high_base_F: HMG_02_base_F { + class ADDON { + enabled = 1; + proxyWeapon = QGVAR(HMG_M2_Mounted); + magazineLocation = "_target selectionPosition 'magazine'"; + disassembleWeapon = QGVAR(staticM2ShieldCarry); // carry weapon [CfgWeapons] + disassembleTurret = QGVAR(m3Tripod); // turret [CfgVehicles] + desiredAmmo = 100; + ammoLoadTime = 7; + ammoUnloadTime = 5; + }; + }; + class GMG_TriPod; class GMG_01_base_F: GMG_TriPod { diff --git a/addons/csw/CfgWeapons.hpp b/addons/csw/CfgWeapons.hpp index 11caa0645a..5c4e9c8f2f 100644 --- a/addons/csw/CfgWeapons.hpp +++ b/addons/csw/CfgWeapons.hpp @@ -179,6 +179,20 @@ class CfgWeapons { modes[] = {}; picture = QPATHTOF(UI\StaticHGMG_Icon.paa); }; + class GVAR(staticM2ShieldCarry): GVAR(staticHMGCarry) { + class ADDON: ADDON { + class assembleTo { + GVAR(m3Tripod) = "B_HMG_02_high_F"; + GVAR(m3TripodLow) = "B_HMG_02_F"; + }; + }; + class WeaponSlotsInfo: WeaponSlotsInfo { + mass = 1000; + }; + displayName = CSTRING(StaticM2ShieldBag_displayName); + author = ECSTRING(common,ACETeam); + picture = QPATHTOF(UI\StaticM2Shield_Icon_ca.paa); + }; class GVAR(staticGMGCarry): Launcher_Base_F { class ADDON { @@ -223,6 +237,7 @@ class CfgWeapons { // Proxy Weapons CREATE_CSW_PROXY(HMG_Static); + CREATE_CSW_PROXY(HMG_M2_Mounted); CREATE_CSW_PROXY(GMG_20mm); class missiles_titan_static; diff --git a/addons/csw/UI/StaticM2Shield_Icon_ca.paa b/addons/csw/UI/StaticM2Shield_Icon_ca.paa new file mode 100644 index 0000000000..ba1788f787 Binary files /dev/null and b/addons/csw/UI/StaticM2Shield_Icon_ca.paa differ diff --git a/addons/csw/stringtable.xml b/addons/csw/stringtable.xml index d4795c8825..6167c7c2e2 100644 --- a/addons/csw/stringtable.xml +++ b/addons/csw/stringtable.xml @@ -368,6 +368,9 @@ [CSW] Static XM312 Gun [CSW] Statyczny karabin maszynowy XM312 + + [CSW] Static M2 w/ Shield + [CSW] Static XM312 Gun (Autonomous) [CSW] Statische XM312 (Autonom)