config.cpp 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. #include "../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(magazines)
  5. {
  6. author=RD501;
  7. addonRootClass= macro_patch_name(weapons)
  8. requiredAddons[]=
  9. {
  10. macro_patch_name(weapons)
  11. };
  12. requiredVersion=0.1;
  13. units[]={};
  14. weapons[]={};
  15. };
  16. };
  17. class CfgMagazines
  18. {
  19. class 3AS_45Rnd_EC50_Mag;
  20. class 1Rnd_HE_Grenade_shell;
  21. class DCStun_Mag;
  22. class 1Rnd_Smoke_Grenade_shell;
  23. class UGL_FlareWhite_F;
  24. class SWOP_DC15SA_Ammo;
  25. class SWOP_termDet_Gm;
  26. class SWOP_BCCKtermimploder_G;
  27. class RPG32_F;
  28. ///Rifle/Pistol Magazines
  29. class macro_new_mag(2mw,30) : 3AS_45Rnd_EC50_Mag
  30. {
  31. displayName="30 Round 2MW Cell";
  32. count = 30;
  33. ammo=macro_new_ammo(2mw)
  34. typicalSpeed=400;
  35. descriptionShort="Low power magazine";
  36. };
  37. class macro_new_mag(5mw,60) : 3AS_45Rnd_EC50_Mag
  38. {
  39. displayName="60 Round 5MW Cell";
  40. count = 60;
  41. ammo=macro_new_ammo(5mw)
  42. typicalSpeed=400;
  43. descriptionShort="Low power magazine";
  44. };
  45. class macro_new_mag(5mw,10) : 3AS_45Rnd_EC50_Mag
  46. {
  47. displayName="15 Round 5MW Cell";
  48. count = 15;
  49. ammo=macro_new_ammo(5mw)
  50. typicalSpeed=400;
  51. descriptionShort="Low power magazine";
  52. };
  53. class macro_new_mag(10mw,30) : 3AS_45Rnd_EC50_Mag
  54. {
  55. displayName="30 Round 10MW Cell";
  56. count = 30;
  57. ammo=macro_new_ammo(10mw)
  58. typicalSpeed=450;
  59. descriptionShort="Medium power magazine";
  60. };
  61. class macro_new_mag(10mws,30) : 3AS_45Rnd_EC50_Mag
  62. {
  63. displayName="30 Round 10MW Stealth Cell";
  64. count = 30;
  65. ammo=macro_new_ammo(10mws)
  66. typicalSpeed=450;
  67. descriptionShort="Medium power magazine";
  68. };
  69. class macro_new_mag(10mw,400) : 3AS_45Rnd_EC50_Mag
  70. {
  71. displayName="400 Round 10MW Cell";
  72. count = 400;
  73. ammo=macro_new_ammo(10mw)
  74. typicalSpeed=450;
  75. descriptionShort="Medium power box magazine";
  76. };
  77. class macro_new_mag(20mw,20) : 3AS_45Rnd_EC50_Mag
  78. {
  79. displayName="20 Round 20MW Cell";
  80. count = 20;
  81. ammo=macro_new_ammo(20mw)
  82. typicalSpeed=700;
  83. descriptionShort="Medium power magazine";
  84. };
  85. class macro_new_mag(20mwup,20) : 3AS_45Rnd_EC50_Mag
  86. {
  87. displayName="20 Round 20MW UP Cell";
  88. count = 20;
  89. ammo=macro_new_ammo(20mwup)
  90. typicalSpeed=500;
  91. descriptionShort="Medium power unstable plasma magazine";
  92. };
  93. class macro_new_mag(20mwdp,20) : 3AS_45Rnd_EC50_Mag
  94. {
  95. displayName="20 Round 20MW DP Cell";
  96. count = 20;
  97. ammo=macro_new_ammo(20mwdp)
  98. typicalSpeed=700;
  99. descriptionShort="Medium power dense plasma magazine";
  100. };
  101. class macro_new_mag(20mw,240) : 3AS_45Rnd_EC50_Mag
  102. {
  103. displayName="240 Round 20MW Cell";
  104. count = 240;
  105. ammo=macro_new_ammo(20mw)
  106. typicalSpeed=800;
  107. descriptionShort="Medium power box magazine";
  108. };
  109. class macro_new_mag(30mw,10) : 3AS_45Rnd_EC50_Mag
  110. {
  111. displayName="10 Round 30MW Cell";
  112. count = 10;
  113. ammo=macro_new_ammo(30mw)
  114. typicalSpeed=1000;
  115. descriptionShort="High power magazine";
  116. };
  117. class macro_new_mag(30mw,7) : 3AS_45Rnd_EC50_Mag
  118. {
  119. displayName="7 Round 30MW Cell";
  120. count = 7;
  121. ammo=macro_new_ammo(30mw)
  122. typicalSpeed=800;
  123. descriptionShort="High power magazine";
  124. };
  125. class macro_new_mag(40mw,5) : 3AS_45Rnd_EC50_Mag
  126. {
  127. displayName="5 Round 40MW Cell";
  128. count = 5;
  129. ammo=macro_new_ammo(40mw)
  130. typicalSpeed=1100;
  131. descriptionShort="High power magazine";
  132. };
  133. class macro_new_mag(40mwemp,1) : 3AS_45Rnd_EC50_Mag
  134. {
  135. displayName="1 Round 40MW EMP Cell";
  136. count = 1;
  137. ammo=macro_new_ammo(40mwemp)
  138. typicalSpeed=1100;
  139. descriptionShort="EMP Round";
  140. };
  141. class macro_new_mag(50mw,10) : 3AS_45Rnd_EC50_Mag
  142. {
  143. displayName="10 Round 50MW Cell";
  144. count = 10;
  145. ammo=macro_new_ammo(50mw)
  146. typicalSpeed=1100;
  147. descriptionShort="High power magazine";
  148. };
  149. class macro_new_mag(50mw,8) : 3AS_45Rnd_EC50_Mag
  150. {
  151. displayName="8 Round 50MW Cell";
  152. count = 8;
  153. ammo=macro_new_ammo(50mw)
  154. typicalSpeed=1100;
  155. descriptionShort="High power magazine";
  156. };
  157. class macro_new_mag(stun,5):DCStun_Mag
  158. {
  159. displayName="5 Round Stun Cell";
  160. descriptionShort = "5 Round Stun Cell";
  161. displayNameShort = "5 Round Stun Cell";
  162. count=5;
  163. picture="\MRC\JLTS\weapons\Core\data\ui\stun_mag_ui_ca.paa";
  164. };
  165. ////////////////////////////////////////////////////
  166. /////////Grenade Launcher Magazines/////////////////
  167. ////////////////////////////////////////////////////
  168. class macro_new_mag(UGL_HE,3):1Rnd_HE_Grenade_shell
  169. {
  170. displayName = "3 Rnd SR HE DC-15A Grenades";
  171. displayNameShort = "3 Rnd SR HE DC-15A";
  172. count=3;
  173. ammo = macro_new_ammo(UGL_HE)
  174. descriptionShort = "3Rd HE SR DC-15A Grenade";
  175. }
  176. class macro_new_mag(UGL_AP,2):1Rnd_HE_Grenade_shell
  177. {
  178. displayName = "2 Rnd SR AP DC-15A Grenades";
  179. displayNameShort = "2 Rnd SR AP DC-15A";
  180. count=2;
  181. ammo = macro_new_ammo(UGL_AP)
  182. descriptionShort = "2Rd AP DC-15A Grenade";
  183. }
  184. class macro_new_mag(UGL_EMP,1) : 1Rnd_HE_Grenade_shell
  185. {
  186. ammo = "RD501_grenade_emp_ammo";
  187. count = 1;
  188. descriptionShort = "1Rnd EMP DC-15A Grenade";
  189. displayName = "1 Rnd EMP DC-15A Grenades";
  190. displayNameShort = "1Rnd EMP DC-15A";
  191. mass = 50;
  192. maxLeadSpeed = 25;
  193. maxThrowHoldTime = 2;
  194. maxThrowIntensityCoef = 1.4;
  195. minThrowIntensityCoef = 0.3;
  196. model = "\thermalD\EMP_Grenade_ammo.p3d";
  197. modelSpecial = "";
  198. nameSound = "";
  199. picture = "\thermalD\flash_x_ca.paa";
  200. quickReload = 0 ;
  201. reloadAction = "";
  202. scope = 2;
  203. selectionFireAnim = "zasleh";
  204. simulation = "ProxyMagazines";
  205. type = 16;
  206. useAction = 0;
  207. useActionTitle = "";
  208. value = 1;
  209. weaponpoolavailable = 1;
  210. weight = 0;
  211. class InventoryPlacements;
  212. class Library
  213. {
  214. libTextDesc = "";
  215. };
  216. }
  217. class macro_new_mag(UGL_HE,6):1Rnd_HE_Grenade_shell
  218. {
  219. displayName = "6 Rd HE RGL6 Grenades";
  220. displayNameShort = "6 Rnd HE RGL6";
  221. count=6;
  222. ammo = macro_new_ammo(UGL_HE)
  223. descriptionShort = "6Rd HE RGL6 Grenade";
  224. }
  225. class macro_new_mag(UGL_AP,6):1Rnd_HE_Grenade_shell
  226. {
  227. displayName = "6 Rd AP RGL6 Grenades";
  228. displayNameShort = "6 Rd AP RGL6";
  229. count=6;
  230. ammo = macro_new_ammo(UGL_AP)
  231. descriptionShort = "6Rd AP RGL6 Grenade";
  232. }
  233. class macro_new_mag(UGL_EMP,6) : 1Rnd_HE_Grenade_shell
  234. {
  235. ammo = "RD501_grenade_emp_ammo";
  236. count = 6;
  237. descriptionShort = "6Rnd EMP RGL6 Grenade";
  238. displayName = "6 Rnd EMP RGL6 Grenades";
  239. displayNameShort = "6Rnd EMP RGL6";
  240. mass = 50;
  241. maxLeadSpeed = 25;
  242. maxThrowHoldTime = 2;
  243. maxThrowIntensityCoef = 1.4;
  244. minThrowIntensityCoef = 0.3;
  245. model = "\thermalD\EMP_Grenade_ammo.p3d";
  246. modelSpecial = "";
  247. nameSound = "";
  248. picture = "\thermalD\flash_x_ca.paa";
  249. quickReload = 0 ;
  250. reloadAction = "";
  251. scope = 2;
  252. selectionFireAnim = "zasleh";
  253. simulation = "ProxyMagazines";
  254. type = 16;
  255. useAction = 0;
  256. useActionTitle = "";
  257. value = 1;
  258. weaponpoolavailable = 1;
  259. weight = 0;
  260. class InventoryPlacements;
  261. class Library
  262. {
  263. libTextDesc = "";
  264. };
  265. };
  266. class macro_new_mag(UGL_Smoke,6):1Rnd_Smoke_Grenade_shell
  267. {
  268. displayName = "6 Rd White Smoke RGL6 Grenades";
  269. displayNameShort = "6 Rnd White Smoke RGL6";
  270. count=6;
  271. ammo = "G_40mm_Smoke";
  272. descriptionShort = "6Rd White Smoke RGL6 Grenade";
  273. };
  274. class macro_new_mag(UGL_Flare,6):UGL_FlareWhite_F
  275. {
  276. displayName = "6 Rd White Flare RGL6 Grenades";
  277. displayNameShort = "6 Rnd White Flare RGL6";
  278. count=6;
  279. ammo = "F_40mm_White";
  280. descriptionShort = "6Rd White Flare RGL6 Grenade";
  281. };
  282. /////////////////////////////////////////////////////
  283. /////////////Grenades Magazines/////////////////////
  284. ////////////////////////////////////////////////////
  285. class macro_new_mag(imploder,1):SWOP_BCCKtermimploder_G
  286. {
  287. scope=2;
  288. displayName = "Republic Thermal Imploder";
  289. displayNameShort = "Republic Thermal Imploder";
  290. count=1;
  291. ammo = macro_new_ammo(imploder)
  292. descriptionShort = "Republic Thermal Imploder";
  293. };
  294. class macro_new_mag(thermaldet,1):SWOP_termDet_Gm
  295. {
  296. scope=2;
  297. displayName = "Republic Thermal Detonator";
  298. displayNameShort = "Republic Thermal Detonator";
  299. count=1;
  300. ammo = macro_new_ammo(thermaldet)
  301. descriptionShort = "Republic Thermal Detonator";
  302. };
  303. /////////////////////////////////////////////////////
  304. /////////////Missile Magazines/////////////////////
  305. ////////////////////////////////////////////////////
  306. class macro_new_mag(rps1,1):RPG32_F
  307. {
  308. scope=1;
  309. }
  310. };