ACE3/addons/smallarms/CfgMagazines.hpp

128 lines
3.3 KiB
C++

class CfgMagazines {
class CA_Magazine;
// Magazine updates:
// 1. Update all magazines with tracer mix to use 1 in 5 mix. Full tracer mags should not be changed!
// 2. Remove tracers at bottom of magazine.
// 3. Do string updates.
// 6.5mm //////////////////////////////////////////
class 30Rnd_65x39_caseless_mag : CA_Magazine { // MX!!
displayname = "6.5mm 30Rnd Mag";
displaynameshort = "6.5mm";
tracersEvery = 0;
lastRoundsTracer = 0;
};
class 30Rnd_65x39_caseless_mag_Tracer : 30Rnd_65x39_caseless_mag { // MX!!
displayname = "6.5mm 30Rnd Tracer Mag";
displaynameshort = "6.5mm Tracer";
};
class 30Rnd_65x39_caseless_green : 30Rnd_65x39_caseless_mag { // Katiba!!
displayname = "6.5mm 30Rnd Mag";
displaynameshort = "6.5mm";
tracersEvery = 0;
lastRoundsTracer = 0;
};
class 30Rnd_65x39_caseless_green_Tracer : 30Rnd_65x39_caseless_green { // Katiba!!
displayname = "6.5mm 30Rnd Tracer Magazine";
displaynameshort = "6.5mm Tracer";
};
class 100Rnd_65x39_caseless_mag : CA_Magazine {
displayname = "6.5mm 100Rnd Mag";
displaynameshort = "6.5mm";
tracersEvery = 5;
lastRoundsTracer = 3;
};
class 100Rnd_65x39_caseless_mag_Tracer : 100Rnd_65x39_caseless_mag {
displayname = "6.5mm 100Rnd Tracer Mag";
displaynameshort = "6.5mm Tracer";
};
class 200Rnd_65x39_cased_Box : 100Rnd_65x39_caseless_mag {
displayname = "6.5mm 200Rnd Box";
displaynameshort = "6.5mm";
tracersEvery = 5;
lastRoundsTracer = 3;
};
class 200Rnd_65x39_cased_Box_Tracer: 200Rnd_65x39_cased_Box {
displayname = "6.5mm 200Rnd Tracer Box";
displaynameshort = "6.5mm Tracer";
};
// 7.62mm //////////////////////////////////////////
class 20Rnd_762x51_Mag: CA_Magazine {
displayname = "7.62mm 20Rnd Mag";
displaynameshort = "7.62mm";
};
class 150Rnd_762x51_Box : CA_Magazine {
displayname = "7.62mm 150Rnd Box";
tracersEvery = 5;
lastRoundsTracer = 3;
};
class 150Rnd_762x51_Box_Tracer : 150Rnd_762x51_Box {
displayname = "7.62mm 150Rnd Tracer Box";
};
// Anti-materiel ///////////////////////////////
class 7Rnd_408_Mag: CA_Magazine {
displayname = ".408 7Rnd Mag";
};
class 5Rnd_127x108_Mag: CA_Magazine {
displayname = "12.7mm 5Rnd Mag";
};
// SMG & Pistol ////////////////////////////
class 30Rnd_9x21_Mag : CA_Magazine {
displayname = "9mm 30Rnd Mag";
displaynameshort = "9mm";
lastRoundsTracer = 0;
};
class 16Rnd_9x21_Mag: 30Rnd_9x21_Mag {
displayname = "9mm 17Rnd Mag";
displaynameshort = "9mm";
count = 17;
};
class 30Rnd_45ACP_Mag_SMG_01 : 30Rnd_9x21_Mag {
displayname = ".45 25Rnd Mag";
displaynameshort = ".45";
picture = "\A3\weapons_f\data\ui\M_30Rnd_9x21_CA.paa";
count = 25;
tracersEvery = 0;
lastRoundsTracer = 0;
};
class 9Rnd_45ACP_Mag : 30Rnd_45ACP_Mag_SMG_01 {
displayname = ".45 8Rnd Mag";
displaynameshort = ".45";
count = 8;
};
class 30Rnd_45ACP_Mag_SMG_01_Tracer_Green: 30Rnd_45ACP_Mag_SMG_01 {
displayname = ".45 25Rnd Tracer Mag";
};
};