CSW - Add configs for 1.98's M2 Turret (#7619)

This commit is contained in:
PabstMirror 2020-04-30 11:40:57 -05:00 committed by GitHub
parent a84f59091e
commit 58bc4b7ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 43 additions and 0 deletions

View File

@ -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 {

View File

@ -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;

Binary file not shown.

View File

@ -368,6 +368,9 @@
<Turkish>[CSW] Static XM312 Gun</Turkish>
<Polish>[CSW] Statyczny karabin maszynowy XM312</Polish>
</Key>
<Key ID="STR_ACE_CSW_StaticM2ShieldBag_displayName">
<English>[CSW] Static M2 w/ Shield</English>
</Key>
<Key ID="STR_ACE_CSW_StaticAutoHMGBag_displayName">
<English>[CSW] Static XM312 Gun (Autonomous)</English>
<German>[CSW] Statische XM312 (Autonom)</German>