tripod hmgs should have 100rnd mags instead of 500rnd mags, fix #1190

This commit is contained in:
commy2 2015-08-30 20:20:00 +02:00
parent 2f54cfadbc
commit fae38a2232
2 changed files with 98 additions and 0 deletions

View File

@ -331,4 +331,97 @@ class CfgVehicles {
};
};
};
// static mgs shouldn't use 500 rnd mags.
class StaticWeapon: LandVehicle {
class Turrets {
class MainTurret; //: NewTurret {};
};
};
class StaticMGWeapon: StaticWeapon {};
class HMG_01_base_F: StaticMGWeapon {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag","100Rnd_127x99_mag","100Rnd_127x99_mag","100Rnd_127x99_mag","100Rnd_127x99_mag"};
};
};
};
class B_HMG_01_F: HMG_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red"};
};
};
};
class O_HMG_01_F: HMG_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green"};
};
};
};
class I_HMG_01_F: HMG_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow"};
};
};
};
class HMG_01_high_base_F: HMG_01_base_F {};
class B_HMG_01_high_F: HMG_01_high_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red"};
};
};
};
class O_HMG_01_high_F: HMG_01_high_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green"};
};
};
};
class I_HMG_01_high_F: HMG_01_high_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow"};
};
};
};
class HMG_01_A_base_F: HMG_01_base_F {};
class B_HMG_01_A_F: HMG_01_A_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Red"};
};
};
};
class O_HMG_01_A_F: HMG_01_A_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Green"};
};
};
};
class I_HMG_01_A_F: HMG_01_A_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
magazines[] = {"100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag_Tracer_Yellow"};
};
};
};
};

View File

@ -62,4 +62,9 @@ class CfgWeapons {
muzzles[] = {"AP"};
};
// make static weapons compatible with 100rnd mag variants
class HMG_static: HMG_01 {
magazines[] = {"500Rnd_127x99_mag","500Rnd_127x99_mag_Tracer_Red","500Rnd_127x99_mag_Tracer_Green","500Rnd_127x99_mag_Tracer_Yellow","200Rnd_127x99_mag","200Rnd_127x99_mag_Tracer_Red","200Rnd_127x99_mag_Tracer_Green","200Rnd_127x99_mag_Tracer_Yellow","100Rnd_127x99_mag","100Rnd_127x99_mag_Tracer_Red","100Rnd_127x99_mag_Tracer_Green","100Rnd_127x99_mag_Tracer_Yellow"};
};
};