Add magazines to carryable statics

This commit is contained in:
Whigital 2020-01-24 21:41:52 +01:00
parent ed1488edba
commit 93173d43b2
8 changed files with 123 additions and 13 deletions

View File

@ -83,4 +83,3 @@ class GVAR(groups) {
1Rnd_GAA_missiles = 1;
};
};

View File

@ -9,6 +9,7 @@ class CfgMagazines {
mass = 96;
ACE_isBelt = 1;
};
class 100Rnd_127x99_mag_Tracer_Red;
class GVAR(100Rnd_127x99_mag_red): 100Rnd_127x99_mag_Tracer_Red {
author = ECSTRING(common,ACETeam);
@ -19,6 +20,7 @@ class CfgMagazines {
mass = 96;
ACE_isBelt = 1;
};
class 100Rnd_127x99_mag_Tracer_Green;
class GVAR(100Rnd_127x99_mag_green): 100Rnd_127x99_mag_Tracer_Green {
author = ECSTRING(common,ACETeam);
@ -29,6 +31,7 @@ class CfgMagazines {
mass = 96;
ACE_isBelt = 1;
};
class 100Rnd_127x99_mag_Tracer_Yellow;
class GVAR(100Rnd_127x99_mag_yellow): 100Rnd_127x99_mag_Tracer_Yellow {
author = ECSTRING(common,ACETeam);

View File

@ -4,7 +4,6 @@ class CfgWeapons {
class WeaponSlotsInfo;
};
// Tripods:
class GVAR(m3CarryTripod): Launcher_Base_F {
class ADDON {
@ -127,8 +126,6 @@ class CfgWeapons {
picture = QPATHTOF(UI\Tripod_Icon.paa); // todo
};
// Weapons:
class GVAR(staticATCarry): Launcher_Base_F {
class ADDON {
@ -148,6 +145,9 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\StaticAT_Icon.paa);
magazines[] = {
"Titan_AT"
};
};
class GVAR(staticAACarry): GVAR(staticATCarry) {
@ -168,6 +168,9 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\StaticAT_Icon.paa);
magazines[] = {
"Titan_AA"
};
};
class GVAR(staticHMGCarry): Launcher_Base_F {
@ -189,6 +192,12 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\StaticHGMG_Icon.paa);
magazines[] = {
QGVAR(100Rnd_127x99_mag),
QGVAR(100Rnd_127x99_mag_red),
QGVAR(100Rnd_127x99_mag_green),
QGVAR(100Rnd_127x99_mag_yellow)
};
};
class GVAR(staticGMGCarry): Launcher_Base_F {
@ -210,9 +219,11 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\StaticHGMG_Icon.paa);
magazines[] = {
QGVAR(20Rnd_20mm_G_belt)
};
};
class GVAR(staticMortarCarry): Launcher_Base_F {
class ADDON {
type = "weapon";
@ -230,7 +241,14 @@ class CfgWeapons {
scope = 2;
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = QPATHTOF(UI\StaticHGMG_Icon.paa);
picture = QPATHTOF(UI\StaticMortarTube_Icon.paa);
magazines[] = {
QGVARMAIN(1Rnd_82mm_Mo_HE),
QGVARMAIN(1Rnd_82mm_Mo_Smoke),
QGVARMAIN(1Rnd_82mm_Mo_Illum),
QGVARMAIN(1Rnd_82mm_Mo_HE_Guided),
QGVARMAIN(1Rnd_82mm_Mo_HE_LaserGuided)
};
};
// Proxy Weapons
@ -247,7 +265,6 @@ class CfgWeapons {
magazineReloadTime = 0.5;
};
/*
class GVAR(staticAutoHMGCarry): Launcher_Base_F {
class ADDON {
@ -270,7 +287,6 @@ class CfgWeapons {
picture = QPATHTOF(UI\StaticHGMG_Icon.paa);
};
class GVAR(staticAutoGMGCarry): Launcher_Base_F {
class GVAR(options) {
assembleTo = QGVAR(staticAutoGMGWeapon);
@ -291,4 +307,3 @@ class CfgWeapons {
*/
};

Binary file not shown.

View File

@ -21,4 +21,3 @@ class CfgPatches {
#include "CfgWeapons.hpp"
#include "CfgMagazines.hpp"
#include "CfgMagazineGroups.hpp"

View File

@ -173,6 +173,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 670; // 2B14 Mortar Weight
};
displayName = ECSTRING(CSW,2b14_tube);
@ -181,6 +184,13 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsafrf\addons\rhs_heavyweapons\data\ico\rhs_2b14_82mm_msv_ca.paa";
magazines[] = {
QGVARMAIN(1Rnd_82mm_Mo_HE),
QGVARMAIN(1Rnd_82mm_Mo_Smoke),
QGVARMAIN(1Rnd_82mm_Mo_Illum),
QGVARMAIN(1Rnd_82mm_Mo_HE_Guided),
QGVARMAIN(1Rnd_82mm_Mo_HE_LaserGuided)
};
};
class GVAR(nsv_carry): Launcher_Base_F {
@ -193,6 +203,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 550;
};
displayName = ECSTRING(CSW,nsv_gun);
@ -201,6 +214,9 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsafrf\addons\rhs_heavyweapons\data\ico\RHS_NSV_TriPod_MSV_ca.paa";
magazines[] = {
QEGVAR(csw,50Rnd_127x108_mag)
};
};
class GVAR(kord_carry): Launcher_Base_F {
@ -214,6 +230,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 550;
};
displayName = ECSTRING(CSW,kord_gun);
@ -222,6 +241,9 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsafrf\addons\rhs_heavyweapons\data\ico\rhs_KORD_MSV_ca.paa";
magazines[] = {
QEGVAR(csw,50Rnd_127x108_mag)
};
};
class GVAR(ags30_carry): Launcher_Base_F {
@ -234,6 +256,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 400; // https://odin.tradoc.army.mil/mediawiki/index.php/AGS-17_Russian_30mm_Automatic_Grenade_Launcher
};
displayName = ECSTRING(CSW,ags30_gun);
@ -242,6 +267,11 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsafrf\addons\rhs_heavyweapons\data\ico\RHS_AGS30_TriPod_MSV_ca.paa";
magazines[] = {
QGVAR(mag_VOG30_30),
QGVAR(mag_GPD30_30),
QGVAR(mag_VOG17m_30)
};
};
class GVAR(spg9_carry): Launcher_Base_F {
@ -250,10 +280,13 @@ class CfgWeapons {
deployTime = 4;
pickupTime = 4;
class assembleTo {
EGVAR(csw,spg9Tripod) = "rhsgref_ins_SPG9";
EGVAR(csw,spg9Tripod) = "rhs_SPG9_INS";
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 1000;
};
displayName = ECSTRING(csw,spg9_tube);
@ -262,9 +295,17 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsafrf\addons\rhs_heavyweapons\data\ico\rhs_SPG9_INS_ca.paa";
magazines[] = {
QGVAR(mag_PG9V),
QGVAR(mag_PG9N),
QGVAR(mag_PG9VNT),
QGVAR(mag_OG9VM),
QGVAR(mag_OG9V)
};
};
class GVAR(spg9m_carry): GVAR(spg9_carry) {
class ACE_CSW {
class ACE_CSW: ACE_CSW {
class assembleTo {
EGVAR(csw,spg9Tripod) = "rhs_SPG9M_MSV";
};
@ -280,6 +321,9 @@ class CfgWeapons {
deploy = "rhs_Metis_9k115_2_msv";
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 300;
};
displayName = ECSTRING(csw,metis_tube);
@ -298,6 +342,9 @@ class CfgWeapons {
deploy = "rhs_Kornet_9M133_2_msv";
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 600;
};
displayName = ECSTRING(csw,kornet_launcher);

View File

@ -98,6 +98,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 740;
};
displayName = ECSTRING(csw,dshk_gun);
@ -106,5 +109,8 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsafrf\addons\rhs_heavyweapons\data\mapico\icomap_DShKM_CA.paa";
magazines[] = {
QEGVAR(csw,50Rnd_127x108_mag)
};
};
};

View File

@ -495,6 +495,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 620; // M252 Mortar Weight
};
displayName = ECSTRING(CSW,m252_tube);
@ -503,6 +506,14 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\ico\RHS_M252_D_ca.paa";
icon = "\rhsusf\addons\rhsusf_heavyweapons\data\ico\RHS_M252_D_ca.paa";
magazines[] = {
QGVARMAIN(1Rnd_82mm_Mo_HE),
QGVARMAIN(1Rnd_82mm_Mo_Smoke),
QGVARMAIN(1Rnd_82mm_Mo_Illum),
QGVARMAIN(1Rnd_82mm_Mo_HE_Guided),
QGVARMAIN(1Rnd_82mm_Mo_HE_LaserGuided)
};
};
class GVAR(m2_carry): Launcher_Base_F {
@ -516,6 +527,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 840;
};
displayName = ECSTRING(CSW,m2_gun);
@ -524,6 +538,12 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\ico\RHS_M2StaticMG_D_ca.paa";
magazines[] = {
QEGVAR(csw,100Rnd_127x99_mag),
QEGVAR(csw,100Rnd_127x99_mag_red),
QEGVAR(csw,100Rnd_127x99_mag_green),
QEGVAR(csw,100Rnd_127x99_mag_yellow)
};
};
class GVAR(mk19_carry): Launcher_Base_F {
@ -536,6 +556,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 770;
};
displayName = ECSTRING(CSW,mk19_gun);
@ -544,6 +567,12 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\ico\RHS_MK19_TriPod_D_ca.paa";
magazines[] = {
QGVAR(48Rnd_40mm_MK19),
QGVAR(48Rnd_40mm_MK19_M430I),
QGVAR(48Rnd_40mm_MK19_M430A1),
QGVAR(48Rnd_40mm_MK19_M1001)
};
};
class GVAR(tow_carry): Launcher_Base_F {
@ -556,6 +585,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 500;
};
displayName = ECSTRING(CSW,tow_tube);
@ -564,6 +596,15 @@ class CfgWeapons {
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
modes[] = {};
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\Ico\RHS_TOW_TriPod_D_ca.paa";
magazines[] = {
QGVAR(mag_TOW),
QGVAR(mag_TOWB),
QGVAR(mag_ITOW),
QGVAR(mag_TOW2),
QGVAR(mag_TOW2A),
QGVAR(mag_TOW2b),
QGVAR(mag_TOW2b_aero),
QGVAR(mag_TOW2bb)
};
};
};