123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342 |
- #include "../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class macro_patch_name(magazines)
- {
- author=RD501;
- addonRootClass= macro_patch_name(weapons)
- requiredAddons[]=
- {
- macro_patch_name(weapons)
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={};
- };
- };
- class CfgMagazines
- {
- class 3AS_45Rnd_EC50_Mag;
- class 1Rnd_HE_Grenade_shell;
- class DCStun_Mag;
- class 1Rnd_Smoke_Grenade_shell;
- class UGL_FlareWhite_F;
- class SWOP_DC15SA_Ammo;
- class SWOP_termDet_Gm;
- class SWOP_BCCKtermimploder_G;
- class RPG32_F;
- ///Rifle/Pistol Magazines
- class macro_new_mag(2mw,30) : 3AS_45Rnd_EC50_Mag
- {
- displayName="30 Round 2MW Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc17a.paa";
- count = 30;
- mass=4;
- ammo=macro_new_ammo(2mw)
- typicalSpeed=400;
- descriptionShort="Low power magazine";
- };
- class macro_new_mag(5mw,60) : 3AS_45Rnd_EC50_Mag
- {
- displayName="75 Round 5MW Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15s.paa";
- count = 75;
- ammo=macro_new_ammo(5mw)
- typicalSpeed=400;
- descriptionShort="Low power magazine";
- };
- class macro_new_mag(5mw,10) : 3AS_45Rnd_EC50_Mag
- {
- displayName="15 Round 5MW Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc17.paa";
- count = 15;
- mass=4;
- ammo=macro_new_ammo(5mw)
- typicalSpeed=400;
- descriptionShort="Low power magazine";
- };
- class macro_new_mag(10mw,30) : 3AS_45Rnd_EC50_Mag
- {
- displayName="40 Round 10MW Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15c.paa";
- count = 40;
- ammo=macro_new_ammo(10mw)
- typicalSpeed=450;
- descriptionShort="Medium power magazine";
- };
- class macro_new_mag(10mws,30) : 3AS_45Rnd_EC50_Mag
- {
- displayName="40 Round 10MW Stealth Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15c.paa";
- count = 40;
- ammo=macro_new_ammo(10mws)
- typicalSpeed=450;
- descriptionShort="Medium power magazine";
- };
- class macro_new_mag(10mw,400) : 3AS_45Rnd_EC50_Mag
- {
- displayName="400 Round 10MW Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_z6.paa";
- count = 400;
- ammo=macro_new_ammo(10mw)
- typicalSpeed=450;
- descriptionShort="Medium power box magazine";
- };
- class macro_new_mag(20mw,20) : 3AS_45Rnd_EC50_Mag
- {
- displayName="20 Round 20MW Cell";
- count = 20;
- ammo=macro_new_ammo(20mw)
- typicalSpeed=700;
- descriptionShort="Medium power magazine";
- };
- class macro_new_mag(20mwup,20) : 3AS_45Rnd_EC50_Mag
- {
- displayName="25 Round 20MW UP Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15a_up.paa";
- count = 25;
- ammo=macro_new_ammo(20mwup)
- typicalSpeed=500;
- descriptionShort="Medium power unstable plasma magazine";
- };
- class macro_new_mag(20mwdp,20) : 3AS_45Rnd_EC50_Mag
- {
- displayName="25 Round 20MW DP Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15a_dp.paa";
- count = 25;
- ammo=macro_new_ammo(20mwdp)
- typicalSpeed=700;
- descriptionShort="Medium power dense plasma magazine";
- };
- class macro_new_mag(20mw,240) : 3AS_45Rnd_EC50_Mag
- {
- displayName="240 Round 20MW Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15l.paa";
- count = 240;
- ammo=macro_new_ammo(20mw)
- typicalSpeed=800;
- descriptionShort="Medium power box magazine";
- };
- class macro_new_mag(20mw,90) : 3AS_45Rnd_EC50_Mag
- {
- displayName="90 Round E5C Cell";
- count = 90;
- ammo=macro_new_ammo(20mw_d)
- typicalSpeed=800;
- descriptionShort="Medium power box magazine";
- };
- class macro_new_mag(30mw,10) : 3AS_45Rnd_EC50_Mag
- {
- displayName="10 Round 30MW Cell";
- picture="\RD501_Weapons\_mag\data\rd501_icon_mag_valken38.paa";
- count = 10;
- ammo=macro_new_ammo(30mw)
- typicalSpeed=1000;
- descriptionShort="High power magazine";
- };
- class macro_new_mag(30mw,15) : 3AS_45Rnd_EC50_Mag
- {
- displayName="15 Round E5S Cell";
- count = 15;
- ammo=macro_new_ammo(30mw_d)
- typicalSpeed=1000;
- descriptionShort="High power magazine";
- };
- class macro_new_mag(30mw,7) : 3AS_45Rnd_EC50_Mag
- {
- displayName="7 Round 30MW Cell";
- count = 7;
- ammo=macro_new_ammo(30mw)
- typicalSpeed=800;
- descriptionShort="High power magazine";
- };
- class macro_new_mag(40mw,5) : 3AS_45Rnd_EC50_Mag
- {
- displayName="5 Round 40MW Cell";
- count = 5;
- ammo=macro_new_ammo(40mw)
- typicalSpeed=1100;
- descriptionShort="High power magazine";
- };
- class macro_new_mag(40mwemp,1) : 3AS_45Rnd_EC50_Mag
- {
- displayName="1 Round 40MW EMP Cell";
- count = 1;
- ammo=macro_new_ammo(40mwemp)
- typicalSpeed=1100;
- descriptionShort="EMP Round";
- };
- class macro_new_mag(50mw,10) : 3AS_45Rnd_EC50_Mag
- {
- displayName="10 Round 50MW Cell";
- count = 10;
- ammo=macro_new_ammo(50mw)
- typicalSpeed=1100;
- descriptionShort="High power magazine";
- };
- class macro_new_mag(50mw,8) : 3AS_45Rnd_EC50_Mag
- {
- displayName="8 Round 50MW Cell";
- count = 8;
- ammo=macro_new_ammo(50mw)
- typicalSpeed=1100;
- descriptionShort="High power magazine";
- };
- class macro_new_mag(stun,5):DCStun_Mag
- {
- displayName="5 Round Stun Cell";
- descriptionShort = "5 Round Stun Cell";
- displayNameShort = "5 Round Stun Cell";
- count=5;
- picture="\MRC\JLTS\weapons\Core\data\ui\stun_mag_ui_ca";
- };
- ////////////////////////////////////////////////////
- /////////Grenade Launcher Magazines/////////////////
- ////////////////////////////////////////////////////
- class macro_new_mag(UGL_HE,3):1Rnd_HE_Grenade_shell
- {
- displayName = "3 Rnd SR HE DC-15A Grenades";
- displayNameShort = "3 Rnd SR HE DC-15A";
- count=3;
- ammo = macro_new_ammo(UGL_HE)
- descriptionShort = "3Rd HE SR DC-15A Grenade";
- }
- class macro_new_mag(UGL_AP,2):1Rnd_HE_Grenade_shell
- {
- displayName = "2 Rnd SR AP DC-15A Grenades";
- displayNameShort = "2 Rnd SR AP DC-15A";
- count=2;
- ammo = macro_new_ammo(UGL_AP)
- descriptionShort = "2Rd AP DC-15A Grenade";
- }
- class macro_new_mag(UGL_EMP,1) : 1Rnd_HE_Grenade_shell
- {
- ammo = "RD501_grenade_emp_ammo";
- count = 1;
- descriptionShort = "1Rnd EMP DC-15A Grenade";
- displayName = "1 Rnd EMP DC-15A Grenades";
- displayNameShort = "1Rnd EMP DC-15A";
- mass = 50;
- maxLeadSpeed = 25;
- maxThrowHoldTime = 2;
- maxThrowIntensityCoef = 1.4;
- minThrowIntensityCoef = 0.3;
- model = "\thermalD\EMP_Grenade_ammo.p3d";
- modelSpecial = "";
- nameSound = "";
- picture = "\thermalD\flash_x_ca.paa";
- quickReload = 0 ;
- reloadAction = "";
- scope = 2;
- selectionFireAnim = "zasleh";
- simulation = "ProxyMagazines";
- type = 16;
- useAction = 0;
- useActionTitle = "";
- value = 1;
- weaponpoolavailable = 1;
- weight = 0;
- class InventoryPlacements;
- class Library
- {
- libTextDesc = "";
- };
- }
- class macro_new_mag(UGL_HE,6):1Rnd_HE_Grenade_shell
- {
- displayName = "6 Rd HE RGL6 Grenades";
- displayNameShort = "6 Rnd HE RGL6";
- count=6;
- ammo = macro_new_ammo(UGL_HE)
- descriptionShort = "6Rd HE RGL6 Grenade";
- }
- class macro_new_mag(UGL_AP,6):1Rnd_HE_Grenade_shell
- {
- displayName = "6 Rd AP RGL6 Grenades";
- displayNameShort = "6 Rd AP RGL6";
- count=6;
- ammo = macro_new_ammo(UGL_AP)
- descriptionShort = "6Rd AP RGL6 Grenade";
- }
- class macro_new_mag(UGL_EMP,6) : 1Rnd_HE_Grenade_shell
- {
- ammo = "RD501_grenade_emp_ammo";
- count = 6;
- descriptionShort = "6Rnd EMP RGL6 Grenade";
- displayName = "6 Rnd EMP RGL6 Grenades";
- displayNameShort = "6Rnd EMP RGL6";
- mass = 50;
- maxLeadSpeed = 25;
- maxThrowHoldTime = 2;
- maxThrowIntensityCoef = 1.4;
- minThrowIntensityCoef = 0.3;
- model = "\thermalD\EMP_Grenade_ammo.p3d";
- modelSpecial = "";
- nameSound = "";
- picture = "\thermalD\flash_x_ca.paa";
- quickReload = 0 ;
- reloadAction = "";
- scope = 2;
- selectionFireAnim = "zasleh";
- simulation = "ProxyMagazines";
- type = 16;
- useAction = 0;
- useActionTitle = "";
- value = 1;
- weaponpoolavailable = 1;
- weight = 0;
- class InventoryPlacements;
- class Library
- {
- libTextDesc = "";
- };
- };
- class macro_new_mag(UGL_Smoke,6):1Rnd_Smoke_Grenade_shell
- {
- displayName = "6 Rd White Smoke RGL6 Grenades";
- displayNameShort = "6 Rnd White Smoke RGL6";
- count=6;
- ammo = "G_40mm_Smoke";
- descriptionShort = "6Rd White Smoke RGL6 Grenade";
- };
- class macro_new_mag(UGL_Flare,6):UGL_FlareWhite_F
- {
- displayName = "6 Rd White Flare RGL6 Grenades";
- displayNameShort = "6 Rnd White Flare RGL6";
- count=6;
- ammo = "F_40mm_White";
- descriptionShort = "6Rd White Flare RGL6 Grenade";
- };
- /////////////////////////////////////////////////////
- /////////////Grenades Magazines/////////////////////
- ////////////////////////////////////////////////////
- class macro_new_mag(imploder,1):SWOP_BCCKtermimploder_G
- {
- scope=2;
- displayName = "Republic Thermal Imploder";
- displayNameShort = "Republic Thermal Imploder";
- count=1;
- ammo = macro_new_ammo(imploder)
- descriptionShort = "Republic Thermal Imploder";
- };
- class macro_new_mag(thermaldet,1):SWOP_termDet_Gm
- {
- scope=2;
- displayName = "Republic Thermal Detonator";
- displayNameShort = "Republic Thermal Detonator";
- count=1;
- ammo = macro_new_ammo(thermaldet)
- descriptionShort = "Republic Thermal Detonator";
- };
- /////////////////////////////////////////////////////
- /////////////Missile Magazines/////////////////////
- ////////////////////////////////////////////////////
- class macro_new_mag(rps1,1):RPG32_F
- {
- scope=1;
- weight=1;
- mass=1;
- }
- };
|