123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- #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;
- ///Rifle/Pistol Magazines
- class macro_new_mag(2mw,30) : 3AS_45Rnd_EC50_Mag
- {
- displayName="30 Round 2MW Cell";
- count = 30;
- ammo=macro_new_ammo(2mw)
- typicalSpeed=400;
- descriptionShort="Low power magazine";
- };
- class macro_new_mag(5mw,60) : 3AS_45Rnd_EC50_Mag
- {
- displayName="60 Round 5MW Cell";
- count = 60;
- ammo=macro_new_ammo(5mw)
- typicalSpeed=400;
- descriptionShort="Low power magazine";
- };
- class macro_new_mag(5mw,10) : 3AS_45Rnd_EC50_Mag
- {
- displayName="10 Round 5MW Cell";
- count = 10;
- ammo=macro_new_ammo(5mw)
- typicalSpeed=400;
- descriptionShort="Low power magazine";
- };
- class macro_new_mag(10mw,30) : 3AS_45Rnd_EC50_Mag
- {
- displayName="30 Round 10MW Cell";
- count = 30;
- ammo=macro_new_ammo(10mw)
- typicalSpeed=450;
- descriptionShort="Medium power magazine";
- };
- class macro_new_mag(10mw,400) : 3AS_45Rnd_EC50_Mag
- {
- displayName="400 Round 10MW Cell";
- 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=500;
- descriptionShort="Medium power magazine";
- };
- class macro_new_mag(20mwup,20) : 3AS_45Rnd_EC50_Mag
- {
- displayName="20 Round 20MW UP Cell";
- count = 20;
- ammo=macro_new_ammo(20mwup)
- typicalSpeed=500;
- descriptionShort="Medium power unstable plasma magazine";
- };
- class macro_new_mag(20mwdp,20) : 3AS_45Rnd_EC50_Mag
- {
- displayName="20 Round 20MW DP Cell";
- count = 20;
- 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";
- count = 240;
- ammo=macro_new_ammo(20mw)
- typicalSpeed=500;
- descriptionShort="Medium power box magazine";
- };
- class macro_new_mag(30mw,10) : 3AS_45Rnd_EC50_Mag
- {
- displayName="10 Round 30MW Cell";
- count = 10;
- 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(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";
- count=5;
- picture="\MRC\JLTS\weapons\Core\data\ui\stun_mag_ui_ca.paa";
- };
- ///
- ///Grenade Launcher Magazines
- ///
- class macro_new_mag(UGL_HE,3):1Rnd_HE_Grenade_shell
- {
- displayName = "3 Rd HE DC-15A Grenades";
- displayNameShort = "3 Rnd HE DC-15A";
- count=3;
- ammo = macro_new_ammo(UGL_HE)
- descriptionShort = "3Rd HE DC-15A Grenade";
- }
- class macro_new_mag(UGL_AP,2):1Rnd_HE_Grenade_shell
- {
- displayName = "2 Rd AP DC-15A Grenades";
- displayNameShort = "2 Rd AP DC-15A";
- count=2;
- ammo = macro_new_ammo(UGL_HE)
- 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_HE)
- 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";
- };
- };
|