1
0

config.cpp 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  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 JLTS_stun_mag_long;
  22. class 1Rnd_Smoke_Grenade_shell;
  23. class UGL_FlareWhite_F;
  24. class SWOP_DC15SA_Ammo;
  25. class 3AS_ThermalDetonator;
  26. class 3AS_BaridumCore;
  27. class 2Rnd_12Gauge_Pellets;
  28. class SmokeShell;
  29. class 442_thermal_det_mag;
  30. ////////////////////////////////////////////////////
  31. /////////////Rifle/Pistol Magazines/////////////////
  32. ////////////////////////////////////////////////////
  33. class macro_new_mag(2mw,30) : 3AS_45Rnd_EC50_Mag
  34. {
  35. displayName="30 Round 2MW Cell";
  36. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc17a.paa";
  37. count = 30;
  38. mass=4;
  39. ammo=macro_new_ammo(2mw)
  40. initSpeed=400;
  41. descriptionShort="Low power magazine";
  42. };
  43. class macro_new_mag(5mw,60) : 3AS_45Rnd_EC50_Mag
  44. {
  45. displayName="75 Round 5MW Cell";
  46. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15s.paa";
  47. count = 75;
  48. ammo=macro_new_ammo(5mw)
  49. initSpeed=400;
  50. descriptionShort="Low power magazine";
  51. };
  52. class macro_new_mag(5mw,10) : 3AS_45Rnd_EC50_Mag
  53. {
  54. displayName="15 Round 5MW Cell";
  55. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc17.paa";
  56. count = 15;
  57. mass=4;
  58. ammo=macro_new_ammo(5mw)
  59. initSpeed=400;
  60. descriptionShort="Low power magazine";
  61. };
  62. class macro_new_mag(5mw_dual,10) : 3AS_45Rnd_EC50_Mag
  63. {
  64. displayName="15 Round 5MW Cell(Dual)";
  65. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc17.paa";
  66. count = 15;
  67. mass=4;
  68. ammo=macro_new_ammo(5mw_dual)
  69. initSpeed=400;
  70. descriptionShort="Low power magazine";
  71. };
  72. class macro_new_mag(10mw,30) : 3AS_45Rnd_EC50_Mag
  73. {
  74. displayName="40 Round 10MW Cell";
  75. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15c.paa";
  76. count = 40;
  77. ammo=macro_new_ammo(10mw)
  78. initSpeed=550;
  79. descriptionShort="Medium power magazine";
  80. };
  81. class macro_new_mag(10mws,30) : 3AS_45Rnd_EC50_Mag
  82. {
  83. displayName="40 Round 10MW Stealth Cell";
  84. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15c.paa";
  85. count = 40;
  86. ammo=macro_new_ammo(10mws)
  87. initSpeed=550;
  88. descriptionShort="Medium power magazine";
  89. };
  90. class macro_new_mag(10mw,400) : 3AS_45Rnd_EC50_Mag
  91. {
  92. displayName="400 Round 10MW Cell";
  93. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_z6.paa";
  94. count = 400;
  95. ammo=macro_new_ammo(10mw)
  96. initSpeed=550;
  97. descriptionShort="Medium power box magazine";
  98. };
  99. class macro_new_mag(20mw,20) : 3AS_45Rnd_EC50_Mag
  100. {
  101. displayName="25 Round 20MW Cell";
  102. count = 25;
  103. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15a_up.paa";
  104. ammo=macro_new_ammo(20mw)
  105. initSpeed=700;
  106. descriptionShort="Medium power magazine";
  107. };
  108. class macro_new_mag(20mwup,20) : 3AS_45Rnd_EC50_Mag
  109. {
  110. displayName="25 Round 20MW UP Cell";
  111. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15a_up.paa";
  112. count = 25;
  113. ammo=macro_new_ammo(20mwup)
  114. initSpeed=600;
  115. descriptionShort="Medium power unstable plasma magazine";
  116. };
  117. class macro_new_mag(20mwdp,20) : 3AS_45Rnd_EC50_Mag
  118. {
  119. displayName="25 Round 20MW DP Cell";
  120. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15a_dp.paa";
  121. count = 25;
  122. ammo=macro_new_ammo(20mwdp)
  123. initSpeed=700;
  124. descriptionShort="Medium power dense plasma magazine";
  125. };
  126. class macro_new_mag(20mw,240) : 3AS_45Rnd_EC50_Mag
  127. {
  128. displayName="240 Round 20MW Cell";
  129. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_dc15l.paa";
  130. count = 240;
  131. ammo=macro_new_ammo(20mw)
  132. initSpeed=700;
  133. descriptionShort="Medium power box magazine";
  134. };
  135. class macro_new_mag(20mw,90) : 3AS_45Rnd_EC50_Mag
  136. {
  137. displayName="90 Round E5C Cell";
  138. count = 90;
  139. ammo=macro_new_ammo(20mw_d)
  140. initSpeed=700;
  141. descriptionShort="Medium power box magazine";
  142. };
  143. class macro_new_mag(30mw,10) : 3AS_45Rnd_EC50_Mag
  144. {
  145. displayName="10 Round 30MW Cell";
  146. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_valken38.paa";
  147. count = 10;
  148. ammo=macro_new_ammo(30mw)
  149. initSpeed=1000;
  150. descriptionShort="High power magazine";
  151. };
  152. class macro_new_mag(30mw,15) : 3AS_45Rnd_EC50_Mag
  153. {
  154. displayName="15 Round E5S Cell";
  155. count = 15;
  156. ammo=macro_new_ammo(30mw_d)
  157. initSpeed=1000;
  158. descriptionShort="High power magazine";
  159. };
  160. class macro_new_mag(30mw,7) : 3AS_45Rnd_EC50_Mag
  161. {
  162. displayName="7 Round 30MW Cell";
  163. count = 7;
  164. ammo=macro_new_ammo(30mw)
  165. initSpeed=800;
  166. descriptionShort="High power magazine";
  167. };
  168. class macro_new_mag(40mw,5) : 3AS_45Rnd_EC50_Mag
  169. {
  170. displayName="5 Round 40MW Cell";
  171. count = 5;
  172. ammo=macro_new_ammo(40mw)
  173. initSpeed=1100;
  174. descriptionShort="High power magazine";
  175. };
  176. class macro_new_mag(40mwemp,1) : 3AS_45Rnd_EC50_Mag
  177. {
  178. displayName="1 Round 40MW EMP Cell";
  179. count = 1;
  180. ammo=macro_new_ammo(40mwemp)
  181. initSpeed=1100;
  182. descriptionShort="EMP Round";
  183. };
  184. class macro_new_mag(50mw,10) : 3AS_45Rnd_EC50_Mag
  185. {
  186. displayName="10 Round 50MW Cell";
  187. count = 10;
  188. ammo=macro_new_ammo(50mw)
  189. initSpeed=1100;
  190. descriptionShort="High power magazine";
  191. };
  192. class macro_new_mag(50mw,8) : 3AS_45Rnd_EC50_Mag
  193. {
  194. displayName="8 Round 50MW Cell";
  195. count = 8;
  196. mass=4;
  197. ammo=macro_new_ammo(50mw)
  198. initSpeed=1100;
  199. descriptionShort="High power magazine";
  200. };
  201. class macro_new_mag(Devastator,50) : 3AS_45Rnd_EC50_Mag
  202. {
  203. displayName="Devastator Primary Magazine";
  204. count = 50;
  205. mass=4;
  206. ammo=macro_new_ammo(devastator_small)
  207. initSpeed=1100;
  208. descriptionShort="High power magazine";
  209. };
  210. class macro_new_mag(Devastator,2) : 3AS_45Rnd_EC50_Mag
  211. {
  212. displayName="Devastator High Energy Magazine";
  213. count = 2;
  214. mass=4;
  215. ammo=macro_new_ammo(devastator_large)
  216. initSpeed=1100;
  217. descriptionShort="High power magazine";
  218. };
  219. class macro_new_mag(viper,5) : 3AS_45Rnd_EC50_Mag
  220. {
  221. displayName="Viper Magazine";
  222. count = 5;
  223. mass=4;
  224. ammo=macro_new_ammo(viper)
  225. initSpeed=1100;
  226. descriptionShort="High power magazine";
  227. };
  228. class macro_new_mag(stun,5):JLTS_stun_mag_long
  229. {
  230. displayName="5 Round Stun Cell";
  231. descriptionShort = "5 Round Stun Cell";
  232. displayNameShort = "5 Round Stun Cell";
  233. count=5;
  234. picture="\MRC\JLTS\weapons\Core\data\ui\stun_mag_ui_ca";
  235. ammo=macro_new_ammo(surrender_stun)
  236. };
  237. class macro_new_mag(r2_charge_pack,10):3AS_45Rnd_EC50_Mag
  238. {
  239. displayName="R2 Charge Pack";
  240. descriptionShort = "Charge Pack";
  241. displayNameShort = "Charge Pack";
  242. count=10;
  243. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_battery.paa";
  244. ammo=macro_new_ammo(40mw)
  245. };
  246. ////////////////////////////////////////////////////
  247. /////////Grenade Launcher Magazines/////////////////
  248. ////////////////////////////////////////////////////
  249. class macro_new_mag(UGL_HE,3):1Rnd_HE_Grenade_shell
  250. {
  251. displayName = "3 Rnd SR HE DC-15A Grenades";
  252. displayNameShort = "3 Rnd SR HE DC-15A";
  253. count=3;
  254. ammo = macro_new_ammo(UGL_HE)
  255. descriptionShort = "3Rd HE SR DC-15A Grenade";
  256. }
  257. class macro_new_mag(UGL_AP,2):1Rnd_HE_Grenade_shell
  258. {
  259. displayName = "2 Rnd SR AP DC-15A Grenades";
  260. displayNameShort = "2 Rnd SR AP DC-15A";
  261. count=2;
  262. ammo = macro_new_ammo(UGL_AP)
  263. descriptionShort = "2Rd AP DC-15A Grenade";
  264. }
  265. class macro_new_mag(UGL_EMP,1) : 1Rnd_HE_Grenade_shell
  266. {
  267. ammo = "RD501_grenade_emp_ammo";
  268. count = 1;
  269. descriptionShort = "1Rnd EMP DC-15A Grenade";
  270. displayName = "1 Rnd EMP DC-15A Grenades";
  271. displayNameShort = "1Rnd EMP DC-15A";
  272. mass = 50;
  273. maxLeadSpeed = 25;
  274. maxThrowHoldTime = 2;
  275. maxThrowIntensityCoef = 1.4;
  276. minThrowIntensityCoef = 0.3;
  277. modelSpecial = "";
  278. nameSound = "";
  279. quickReload = 0 ;
  280. reloadAction = "";
  281. scope = 2;
  282. selectionFireAnim = "zasleh";
  283. simulation = "ProxyMagazines";
  284. type = 16;
  285. useAction = 0;
  286. useActionTitle = "";
  287. value = 1;
  288. weaponpoolavailable = 1;
  289. weight = 0;
  290. class InventoryPlacements;
  291. class Library
  292. {
  293. libTextDesc = "";
  294. };
  295. }
  296. class macro_new_mag(UGL_HE,6):1Rnd_HE_Grenade_shell
  297. {
  298. displayName = "6 Rd HE RGL6 Grenades";
  299. displayNameShort = "6 Rnd HE RGL6";
  300. count=6;
  301. ammo = macro_new_ammo(UGL_HE)
  302. descriptionShort = "6Rd HE RGL6 Grenade";
  303. }
  304. class macro_new_mag(UGL_AP,6):1Rnd_HE_Grenade_shell
  305. {
  306. displayName = "6 Rd AP RGL6 Grenades";
  307. displayNameShort = "6 Rd AP RGL6";
  308. count=6;
  309. ammo = macro_new_ammo(UGL_AP)
  310. descriptionShort = "6Rd AP RGL6 Grenade";
  311. }
  312. class macro_new_mag(UGL_EMP,6) : 1Rnd_HE_Grenade_shell
  313. {
  314. ammo = "RD501_grenade_emp_ammo";
  315. count = 6;
  316. descriptionShort = "6Rnd EMP RGL6 Grenade";
  317. displayName = "6 Rnd EMP RGL6 Grenades";
  318. displayNameShort = "6Rnd EMP RGL6";
  319. mass = 50;
  320. maxLeadSpeed = 25;
  321. maxThrowHoldTime = 2;
  322. maxThrowIntensityCoef = 1.4;
  323. minThrowIntensityCoef = 0.3;
  324. modelSpecial = "";
  325. nameSound = "";
  326. quickReload = 0 ;
  327. reloadAction = "";
  328. scope = 2;
  329. selectionFireAnim = "zasleh";
  330. simulation = "ProxyMagazines";
  331. type = 16;
  332. useAction = 0;
  333. useActionTitle = "";
  334. value = 1;
  335. weaponpoolavailable = 1;
  336. weight = 0;
  337. class InventoryPlacements;
  338. class Library
  339. {
  340. libTextDesc = "";
  341. };
  342. };
  343. class macro_new_mag(UGL_Smoke,6):1Rnd_Smoke_Grenade_shell
  344. {
  345. displayName = "6 Rd White Smoke RGL6 Grenades";
  346. displayNameShort = "6 Rnd White Smoke RGL6";
  347. count=6;
  348. ammo = "G_40mm_Smoke";
  349. descriptionShort = "6Rd White Smoke RGL6 Grenade";
  350. };
  351. class macro_new_mag(UGL_Flare,6):UGL_FlareWhite_F
  352. {
  353. displayName = "6 Rd White Flare RGL6 Grenades";
  354. displayNameShort = "6 Rnd White Flare RGL6";
  355. count=6;
  356. ammo = "F_40mm_White";
  357. descriptionShort = "6Rd White Flare RGL6 Grenade";
  358. };
  359. class macro_new_mag(UGL_Supersmoke,6):1Rnd_Smoke_Grenade_shell
  360. {
  361. displayName = "6 Rd VapeNation Magazine";
  362. displayNameShort = "6 Rnd VapeNation Magazine";
  363. count=6;
  364. ammo = macro_new_ammo(UGL_Supersmoke)
  365. descriptionShort = "6Rd VapeNation Magazine";
  366. };
  367. class macro_new_mag(Devastator_stun,1):1Rnd_HE_Grenade_shell
  368. {
  369. displayName = "1 Rd Devastator Stun Magazine";
  370. displayNameShort = "1 Rnd Devastator Stun Magazine";
  371. count=1;
  372. ammo = macro_new_ammo(Devastator_stun)
  373. descriptionShort = "1Rd Devastator Stun Magazine";
  374. };
  375. class macro_new_mag(Devastator_dioxis,1):1Rnd_Smoke_Grenade_shell
  376. {
  377. displayName = "1 Rd Devastator Dioxis Magazine";
  378. displayNameShort = "1 Rnd Devastator Dioxis Magazine";
  379. count=1;
  380. ammo = macro_new_ammo(Devastator_dioxis)
  381. descriptionShort = "1Rd Devastator Dioxis Magazine";
  382. };
  383. ////////////////////////////////////////////////////
  384. /////////////Grenades Magazines/////////////////////
  385. ////////////////////////////////////////////////////
  386. class macro_new_mag(imploder,1):3AS_BaridumCore
  387. {
  388. author="RD501";
  389. scope=2;
  390. displayName = "Republic Thermal Imploder";
  391. displayNameShort = "Thermal Imploder";
  392. count=1;
  393. ammo = macro_new_ammo(imploder)
  394. descriptionShort = "Republic Thermal Imploder";
  395. };
  396. class macro_new_mag(throwable_c_type,1):3AS_BaridumCore
  397. {
  398. author="RD501";
  399. scope=2;
  400. displayName = "Republic Throwable C-Type";
  401. displayNameShort = "Throwable C-Type";
  402. count=1;
  403. initSpeed=12;
  404. ammo = macro_new_ammo(throwable_c_type)
  405. descriptionShort = "Republic Throwable C-Type";
  406. };
  407. class macro_new_mag(thermaldet,1):3AS_ThermalDetonator
  408. {
  409. author="RD501";
  410. scope=2;
  411. displayName = "Republic Thermal Detonator";
  412. displayNameShort = "Thermal Detonator";
  413. count=1;
  414. ammo = macro_new_ammo(thermaldet)
  415. descriptionShort = "Republic Thermal Detonator";
  416. };
  417. class macro_new_mag(thermaldet_cis,1):442_thermal_det_mag
  418. {
  419. author="RD501";
  420. scope=2;
  421. displayName = "CIS Thermal Detonator";
  422. displayNameShort = "Thermal Detonator";
  423. count=1;
  424. ammo = macro_new_ammo(thermaldet_cis)
  425. descriptionShort = "CIS Thermal Detonator";
  426. };
  427. class macro_new_mag(squad_shield_sigma,1):3AS_BaridumCore
  428. {
  429. author="RD501";
  430. scope=2;
  431. displayName = "Republic Squad Shield Sigma";
  432. displayNameShort = "Squad Shield Sigma";
  433. count=1;
  434. ammo = macro_new_ammo(squad_shield_sigma)
  435. descriptionShort = "Republic Thermal Imploder";
  436. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_imploder.paa";
  437. };
  438. class macro_new_mag(squad_shield_alpha,1):3AS_BaridumCore
  439. {
  440. author="RD501";
  441. scope=2;
  442. displayName = "Republic Squad Shield Alpha";
  443. displayNameShort = "Squad Shield Alpha";
  444. count=1;
  445. ammo = macro_new_ammo(squad_shield_alpha)
  446. descriptionShort = "Republic Thermal Imploder";
  447. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_imploder.paa";
  448. };
  449. class macro_new_mag(personal_shield,1):3AS_BaridumCore
  450. {
  451. author="RD501";
  452. scope=2;
  453. displayName = "Republic Personal Shield";
  454. displayNameShort = "Personal Shield";
  455. count=1;
  456. ammo = macro_new_ammo(personal_shield)
  457. descriptionShort = "Personal Shield";
  458. picture="\RD501_Weapons\_mag\data\rd501_icon_mag_imploder.paa";
  459. };
  460. class macro_new_mag(super_smoke,1):SmokeShell
  461. {
  462. author="RD501"
  463. scope=2;
  464. displayName = "Republic J00-L VapeNation"
  465. displayNameShort = "VapeNation"
  466. count=1;
  467. ammo=macro_new_ammo(super_smoke)
  468. };
  469. class macro_new_mag(dioxis,1):SmokeShell
  470. {
  471. author="RD501"
  472. scope=2;
  473. displayName = "Dioxis Grenade"
  474. displayNameShort = "Dioxis"
  475. count=1;
  476. ammo=macro_new_ammo(dioxis)
  477. };
  478. class macro_new_mag(blueshadow,1):SmokeShell
  479. {
  480. author="RD501"
  481. scope=2;
  482. displayName = "Blue Shadow Grenade"
  483. displayNameShort = "Blue Shadow"
  484. count=1;
  485. ammo=macro_new_ammo(blueshadow)
  486. };
  487. ////////////////////////////////////////////////////
  488. /////////////Missile Magazines/////////////////////
  489. ////////////////////////////////////////////////////
  490. class RPG32_F;
  491. class RPG32_HE_F;
  492. class macro_new_mag(rps1,1):RPG32_F
  493. {
  494. author="RD501";
  495. scope=1;
  496. weight=1;
  497. mass=1;
  498. };
  499. class macro_new_mag(rps4heat,1): RPG32_F
  500. {
  501. author="RD501";
  502. displayName="RPS4 HEAT Rocket";
  503. descriptionShort="HEAT Rocket";
  504. ammo=macro_new_ammo(rps4heat)
  505. };
  506. class macro_new_mag(rps4he,1): RPG32_HE_F
  507. {
  508. author="RD501";
  509. displayName="RPS4 HE Rocket";
  510. descriptionShort="HE Rocket";
  511. };
  512. class macro_new_mag(rps4burst,1) : RPG32_F
  513. {
  514. author="RD501";
  515. displayName="RPS4 Smoke Cluster Rocket";
  516. descriptionShort="Burst Rocket";
  517. count=1;
  518. scope=2;
  519. ammo = macro_new_ammo(rps4burst);
  520. };
  521. class macro_new_mag(rps4emp,1): RPG32_F
  522. {
  523. author="RD501";
  524. displayName="RPS4 EMP Rocket";
  525. descriptionShort="EMP Rocket";
  526. ammo=macro_new_ammo(rps4emp)
  527. };
  528. ////////////////////////////////////////////////////
  529. /////////////Shotgun Magazines/////////////////////
  530. ////////////////////////////////////////////////////
  531. class macro_new_mag(shotgun_scatter,6):2Rnd_12Gauge_Pellets
  532. {
  533. scope=2;
  534. displayName = "6 Rnd SP Magazine";
  535. displayNameShort = "6 Rnd SP Mag";
  536. count=6;
  537. ammo = macro_new_ammo(shotgun_scatter)
  538. descriptionShort = "6 Rnd SP";
  539. };
  540. class macro_new_mag(shotgun_HE,6):2Rnd_12Gauge_Pellets
  541. {
  542. scope=2;
  543. displayName = "6 Rnd UP Magazine";
  544. displayNameShort = "6 Rnd UP Mag";
  545. count=6;
  546. ammo = macro_new_ammo(shotgun_HE)
  547. descriptionShort = "6 Rnd UP";
  548. };
  549. class macro_new_mag(shotgun_EMP,2):2Rnd_12Gauge_Pellets
  550. {
  551. scope=2;
  552. displayName = "2 Rnd EMP Magazine";
  553. displayNameShort = "2 Rnd EMP Mag";
  554. count=2;
  555. ammo = macro_new_ammo(shotgun_EMP)
  556. descriptionShort = "2 Rnd EMP";
  557. };
  558. class macro_new_mag(shotgun_slug,6):2Rnd_12Gauge_Pellets
  559. {
  560. scope=2;
  561. displayName = "6 Rnd Slug Magazine";
  562. displayNameShort = "6 Rnd Slug Mag";
  563. count=6;
  564. ammo = macro_new_ammo(30mw)
  565. descriptionShort = "6 Rnd Slug";
  566. };
  567. class macro_new_mag(shotgun_scatter,12):2Rnd_12Gauge_Pellets
  568. {
  569. scope=2;
  570. displayName = "12 Rnd SP Magazine";
  571. displayNameShort = "12 Rnd SP Mag";
  572. count=12;
  573. ammo = macro_new_ammo(shotgun_scatter)
  574. descriptionShort = "12 Rnd SP";
  575. };
  576. class macro_new_mag(shotgun_HE,12):2Rnd_12Gauge_Pellets
  577. {
  578. scope=2;
  579. displayName = "12 Rnd UP Magazine";
  580. displayNameShort = "12 Rnd UP Mag";
  581. count=12;
  582. ammo = macro_new_ammo(shotgun_HE)
  583. descriptionShort = "12 Rnd UP";
  584. };
  585. class macro_new_mag(shotgun_slug,15):macro_new_mag(30mw,10)
  586. {
  587. scope=2;
  588. initSpeed=600;
  589. displayName = "15 Rnd Slug Magazine";
  590. displayNameShort = "15 Rnd Slug Mag";
  591. count=15;
  592. ammo = macro_new_ammo(30mw)
  593. descriptionShort = "15 Rnd Slug";
  594. picture = "\a3\Weapons_F_Enoch\MagazineProxies\data\UI\icon_2rnd_12gauge_slugs_CA.paa";
  595. };
  596. ////////////////////////////////////////////////////
  597. /////////////Flare Magazines/////////////////////
  598. ////////////////////////////////////////////////////
  599. class macro_new_mag(40mm_white,3): UGL_FlareWhite_F
  600. {
  601. author = "RD501";
  602. scope = 2;
  603. type = 16;
  604. displayName = "Flare 3 Rounds (White)";
  605. displayNameShort = "White Flare";
  606. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_CA.paa";
  607. model = "\A3\Weapons_F\Ammo\UGL_Flare";
  608. ammo = macro_new_ammo(40mm_white);
  609. initSpeed = 80;
  610. count = 3;
  611. nameSound = "";
  612. descriptionShort = "Type: Flare 3 Rounds - White <br />Rounds: 1<br />Used in: EGLM, 3GL";
  613. weaponPoolAvailable = 1;
  614. mass = 4;
  615. };
  616. class macro_new_mag(40mm_white,1):macro_new_mag(40mm_white,3)
  617. {
  618. displayName = "Flare 1 Rounds (White)";
  619. descriptionShort = "Type: Flare 1 Rounds - White";
  620. mass = 1;
  621. count = 1;
  622. };
  623. class macro_new_mag(40mm_CIR,3): macro_new_mag(40mm_white,3)
  624. {
  625. author = "Bohemia Interactive";
  626. displayName = "Flare 3 Rounds (IR)";
  627. ammo = macro_new_ammo(40mm_cir);
  628. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_purple_CA.paa";
  629. descriptionShort = "Type: Flare - IR<br />Rounds: 1<br />Used in: EGLM, 3GL";
  630. displayNameShort = "IR";
  631. };
  632. class macro_new_mag(40mm_CIR,1):macro_new_mag(40mm_CIR,3)
  633. {
  634. displayName = "Flare 1 Rounds (IR)";
  635. descriptionShort = "Type: Flare 1 Rounds - IR";
  636. mass = 1;
  637. count = 1;
  638. };
  639. class macro_new_mag(40mm_Green,3): macro_new_mag(40mm_white,3)
  640. {
  641. author = "Bohemia Interactive";
  642. displayName = "Flare 3 Rounds (Green)";
  643. displayNameShort = "Green Flare";
  644. ammo = macro_new_ammo(40mm_green);
  645. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_Green_CA.paa";
  646. descriptionShort = "Type: Flare - Green<br />Rounds: 1<br />Used in: EGLM, 3GL";
  647. };
  648. class macro_new_mag(40mm_Green,1):macro_new_mag(40mm_Green,3)
  649. {
  650. displayName = "Flare 1 Rounds (Green)";
  651. descriptionShort = "Type: Flare 1 Rounds - Green";
  652. mass = 1;
  653. count = 1;
  654. };
  655. class macro_new_mag(40mm_Red,3): macro_new_mag(40mm_white,3)
  656. {
  657. author = "Bohemia Interactive";
  658. displayName = "Flare 3 Rounds (Red)";
  659. ammo = macro_new_ammo(40mm_red);
  660. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_Red_CA.paa";
  661. descriptionShort = "Type: Flare - Red<br />Rounds: 1<br />Used in: EGLM, 3GL";
  662. displayNameShort = "Red Flare";
  663. };
  664. class macro_new_mag(40mm_Red,1):macro_new_mag(40mm_Red,3)
  665. {
  666. displayName = "Flare 1 Rounds (Red)";
  667. descriptionShort = "Type: Flare 1 Rounds - Red";
  668. mass = 1;
  669. count = 1;
  670. };
  671. class macro_new_mag(40mm_Yellow,3): macro_new_mag(40mm_white,3)
  672. {
  673. author = "Bohemia Interactive";
  674. displayName = "Flare 3 Rounds (Yellow)";
  675. ammo = macro_new_ammo(40mm_yellow);
  676. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_yelow_CA.paa";
  677. descriptionShort = "Type: Flare - Yellow<br />Rounds: 1<br />Used in: EGLM, 3GL";
  678. displayNameShort = "Yellow Flare";
  679. };
  680. class macro_new_mag(40mm_Yellow,1):macro_new_mag(40mm_Yellow,3)
  681. {
  682. displayName = "Flare 1 Rounds (Yellow)";
  683. descriptionShort = "Type: Flare 1 Rounds - Yellow";
  684. mass = 1;
  685. count = 1;
  686. };
  687. class macro_new_mag(40mm_Blue,3): macro_new_mag(40mm_white,3)
  688. {
  689. author = "Bohemia Interactive";
  690. displayName = "Flare 3 Rounds (Blue)";
  691. ammo = macro_new_ammo(40mm_blue);
  692. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_yelow_CA.paa";
  693. descriptionShort = "Type: Flare - Blue<br />Rounds: 1<br />Used in: EGLM, 3GL";
  694. displayNameShort = "Blue Flare";
  695. };
  696. class macro_new_mag(40mm_Blue,1):macro_new_mag(40mm_Blue,3)
  697. {
  698. displayName = "Flare 1 Rounds (Blue)";
  699. descriptionShort = "Type: Flare 1 Rounds - Blue";
  700. mass = 1;
  701. count = 1;
  702. };
  703. class macro_new_mag(40mm_Cyan,3): macro_new_mag(40mm_white,3)
  704. {
  705. author = "Bohemia Interactive";
  706. displayName = "Flare 3 Rounds (Cyan)";
  707. ammo = macro_new_ammo(40mm_cyan);
  708. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_yelow_CA.paa";
  709. descriptionShort = "Type: Flare - Cyan<br />Rounds: 1<br />Used in: EGLM, 3GL";
  710. displayNameShort = "Cyan Flare";
  711. };
  712. class macro_new_mag(40mm_Cyan,1):macro_new_mag(40mm_Cyan,3)
  713. {
  714. displayName = "Flare 1 Rounds (Cyan)";
  715. descriptionShort = "Type: Flare 1 Rounds - Cyan";
  716. mass = 1;
  717. count = 1;
  718. };
  719. class macro_new_mag(40mm_Purple,3): macro_new_mag(40mm_white,3)
  720. {
  721. author = "Bohemia Interactive";
  722. displayName = "Flare 3 Rounds (Purple)";
  723. ammo = macro_new_ammo(40mm_purple);
  724. picture = "\A3\Weapons_F\Data\UI\gear_UGL_Flare_yelow_CA.paa";
  725. descriptionShort = "Type: Flare - Purple<br />Rounds: 1<br />Used in: EGLM, 3GL";
  726. displayNameShort = "Purple Flare";
  727. };
  728. class macro_new_mag(40mm_Purple,1):macro_new_mag(40mm_Purple,3)
  729. {
  730. displayName = "Flare 1 Rounds (Purple)";
  731. descriptionShort = "Type: Flare 1 Rounds - Purple";
  732. mass = 1;
  733. count = 1;
  734. };
  735. };