mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
CSW - Add configs for 1.98's M2 Turret (#7619)
This commit is contained in:
parent
a84f59091e
commit
58bc4b7ed8
@ -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 {
|
||||
|
@ -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;
|
||||
|
BIN
addons/csw/UI/StaticM2Shield_Icon_ca.paa
Normal file
BIN
addons/csw/UI/StaticM2Shield_Icon_ca.paa
Normal file
Binary file not shown.
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user