config.cpp 25 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138
  1. #define COMPONENT weapons
  2. #include "../RD501_main/config_macros.hpp"
  3. #include "_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(weapons)
  7. {
  8. author=DANKAUTHORS;
  9. requiredAddons[]=
  10. {
  11. macro_lvl1_req
  12. };
  13. requiredVersion=0.1;
  14. units[]={};
  15. weapons[]={
  16. macro_new_weapon(scope,dc_15a_x4),
  17. macro_new_weapon(scope,dc_15a_acog),
  18. macro_new_weapon(scope,dc_15a_x4_x8)
  19. };
  20. };
  21. };
  22. //scopes
  23. class CfgWeapons
  24. {
  25. class ItemCore;
  26. class InventoryItem_Base_F;
  27. class InventoryOpticsItem_Base_F;
  28. #include "_scopes/DC_15A_modeled_x4.hpp"
  29. #include "_scopes/DC_15A_x4_acog.hpp"
  30. #include "_scopes/DC_15A_LE_x4_x8.hpp"
  31. class GrenadeLauncher;
  32. // class Throw: GrenadeLauncher
  33. // {
  34. // muzzles[] += {"NICEMEME_MUZZLE"};
  35. // class ThrowMuzzle;
  36. // class NICEMEME_MUZZLE: ThrowMuzzle
  37. // {
  38. // displayName = "AYAYAYAYYA";
  39. // magazines[] = {"smoke_meme_mag"};
  40. // };
  41. // };
  42. };
  43. class CfgMagazineWells
  44. {
  45. class macro_new_magwell(GL_Mags)
  46. {
  47. macro_new_magwell(GL_flare)[]=
  48. {
  49. GL_flare_rounds
  50. };
  51. macro_new_magwell(GL_AP)[]=
  52. {
  53. macro_new_mag(AT_GL,2)
  54. };
  55. macro_new_magwell(GL_HE)[]=
  56. {
  57. macro_new_mag(HE_GL,3)
  58. };
  59. macro_new_magwell(smoke)[]=
  60. {
  61. "3Rnd_Smoke_Grenade_shell",
  62. "3Rnd_SmokeRed_Grenade_shell",
  63. "3Rnd_SmokeGreen_Grenade_shell",
  64. "3Rnd_SmokeYellow_Grenade_shell",
  65. "3Rnd_SmokePurple_Grenade_shell",
  66. "3Rnd_SmokeBlue_Grenade_shell",
  67. "3Rnd_SmokeOrange_Grenade_shell",
  68. "ACE_HuntIR_M203",
  69. "RD501_emp_GL_x1_mag"
  70. };
  71. };
  72. class macro_new_magwell(DC17_GL_Mags)
  73. {
  74. macro_new_magwell(1rnd_GL_flare)[]=
  75. {
  76. MACRO_GL_flare_rounds_1rnd
  77. };
  78. macro_new_magwell(1rnd_smoke)[]=
  79. {
  80. "1Rnd_Smoke_Grenade_shell",
  81. "1Rnd_SmokeRed_Grenade_shell",
  82. "1Rnd_SmokeGreen_Grenade_shell",
  83. "1Rnd_SmokeYellow_Grenade_shell",
  84. "1Rnd_SmokePurple_Grenade_shell",
  85. "1Rnd_SmokeBlue_Grenade_shell",
  86. "1Rnd_SmokeOrange_Grenade_shell",
  87. "ACE_HuntIR_M203"
  88. };
  89. }
  90. class macro_new_magwell(DC_15a_energy)
  91. {
  92. macro_new_magwell(DC_15a_energy)[]=
  93. {
  94. macro_new_mag(DC15a_Med,30),
  95. macro_new_mag(DC15a_High,15),
  96. macro_new_mag(DC15a_Low,60)
  97. };
  98. };
  99. class macro_new_magwell(rocket_RPS)
  100. {
  101. macro_new_magwell(rocket_RPS)[]=
  102. {
  103. macro_new_mag(RPS_AT,1),
  104. macro_new_mag(RPS_AA,1)
  105. };
  106. };
  107. };
  108. class CfgMagazines
  109. {
  110. class CA_Magazine;
  111. class SWOP_e11_Mag;
  112. class UGL_FlareWhite_F;
  113. class macro_new_mag(westar_35,20): CA_Magazine
  114. {
  115. scope = 2;
  116. model = "SW_CloneWarsWeapons\ammo.p3d";
  117. displayName = "20Rnd WESTAR-35 Magazine";
  118. picture = "\SWOP_Main\swop_Pistols\ui\M_SB_EnergyCell_CA.paa";
  119. ammo = macro_new_ammo(westar_35);
  120. //ammo = "SWOP_DC17_Ammo_low_RD501";
  121. tracersEvery = 1;
  122. type = 16;
  123. count = 20;
  124. descriptionShort = "20 Round WESTAR-35 Magazine";
  125. mass = 6;
  126. initSpeed = 310;
  127. };
  128. class macro_new_mag(z6,400): SWOP_e11_Mag
  129. {
  130. author = "rd501";
  131. model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
  132. ammo = macro_new_ammo(z6);
  133. displayName = "400Rnd Z6 Rotary Blaster Magazine";
  134. descriptionShort = "400Rnd Z6 Magazine";
  135. count = 400;
  136. weight = 100;
  137. mass = 30;
  138. ACE_isBelt = 1;
  139. initSpeed = 500;//360;
  140. picture = "\SW_CloneWarsWeapons\SW_Z6\UI\SW_Z6-mag.paa";
  141. };
  142. #include "_mag/flare_mag.hpp"
  143. class macro_new_mag(AT_GL,2): CA_Magazine
  144. {
  145. author = "RD501";
  146. scope = 2;
  147. type = 16;
  148. displayName = "2 Rnd AP DC-15A Grenades";
  149. displayNameShort = "2 Rnd AP DC-15A";
  150. picture = "\A3\Weapons_f\Data\ui\gear_UGL_slug_CA.paa";
  151. ammo = macro_new_ammo(GL_AT);
  152. initSpeed = 220;//120;
  153. count = 2;
  154. nameSound = "";
  155. descriptionShort = "2Rnd AP DC-15A Grenade";
  156. //mass = 30;
  157. mass = 15;
  158. };
  159. class macro_new_mag(HE_GL,3): macro_new_mag(AT_GL,2)
  160. {
  161. displayName = "3 Rnd HE DC-15A Grenades";
  162. displayNameShort = "3 Rnd HE DC-15A";
  163. count=3;
  164. ammo = macro_new_ammo(GL_HE);
  165. descriptionShort = "3Rnd HE DC-15A Grenade";
  166. initSpeed = 120;
  167. };
  168. class SWOP_dc15xBlasterRifle_Mag;
  169. class macro_new_mag(DC15x,6): SWOP_dc15xBlasterRifle_Mag
  170. {
  171. author = "RD501";
  172. scope = 2;
  173. model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
  174. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\powercell_X_ca.paa";
  175. displayName = "6Rnd DC-15X Magazine";
  176. ammo =macro_new_ammo(DC15x);
  177. tracersEvery = 1;
  178. count = 6;
  179. descriptionShort = "6Rnd DC15X Magazine";
  180. mass = 20;
  181. initSpeed = 4000;
  182. };
  183. class macro_new_mag(DC15s,60): CA_Magazine
  184. {
  185. author = "RD501";
  186. scope = 2;
  187. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  188. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  189. displayName = "60Rnd DC-15S Carbine Magazine";
  190. ammo = macro_new_ammo(dc15s_carbine);
  191. tracersEvery = 1;
  192. type = 16;
  193. count = 60;
  194. descriptionShort = "60Rnd DC15 Blaster Magazine";
  195. //mass = 15;
  196. mass = 20;
  197. initSpeed = 310;
  198. };
  199. class SWOP_DC15ABlasterRifle_Mag;
  200. class macro_new_mag(DC15a_Med,30): SWOP_DC15ABlasterRifle_Mag
  201. {
  202. author = "RD501";
  203. scope = 2;
  204. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  205. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  206. displayName = "30Rnd DC-15A Mid Energy Rounds";
  207. ammo = macro_new_ammo(dc15a_med);
  208. tracersEvery = 1;
  209. count = 30;
  210. descriptionShort = "30Rnd DC15A Mid Energy";
  211. mass = 20;
  212. initSpeed = 380;
  213. };
  214. class macro_new_mag(DC15a_High,15): macro_new_mag(DC15a_Med,30)
  215. {
  216. displayName = "15Rnd DC-15A High Energy Rounds";
  217. ammo = macro_new_ammo(dc15a_high);
  218. count = 15;
  219. descriptionShort = "15Rnd DC15A High Energy Rounds";
  220. mass = 35;
  221. initSpeed = 1200;
  222. };
  223. class macro_new_mag(DC15a_Low,60): macro_new_mag(DC15a_Med,30)
  224. {
  225. displayName = "60Rnd DC-15A Low Energy Rounds";
  226. ammo = macro_new_ammo(dc15a_low);
  227. count = 60;
  228. descriptionShort = "60Rnd DC15A Low Energy";
  229. mass = 30;
  230. };
  231. class macro_new_mag(DC15a_box_mag,240): CA_Magazine
  232. {
  233. author = "RD501";
  234. scope = 2;
  235. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  236. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  237. displayName = "240Rnd Box DC-15A Low Energy Rounds";
  238. ammo = macro_new_ammo(dc15a_low);
  239. tracersEvery = 1;
  240. count =240;
  241. descriptionShort = "240Rnd DC15A Low Energy";
  242. mass = 40;
  243. initSpeed = 300;
  244. ACE_isBelt = 1;
  245. };
  246. class SWOP_DC17Pistol_Mag;
  247. class macro_new_mag(DC17,20): SWOP_DC17Pistol_Mag
  248. {
  249. scope = 2;
  250. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  251. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  252. displayName = "20Rnd DC17 Magazine.";
  253. ammo = macro_new_ammo(dc_17);
  254. tracersEvery = 1;
  255. type = 16;
  256. count = 20;
  257. descriptionShort = "20Rnd DC17 Magazine";
  258. mass = 6;
  259. initSpeed = 310;
  260. //initSpeed = 110;
  261. };
  262. class macro_new_mag(DC17,40): macro_new_mag(DC17,20)
  263. {
  264. displayName = "40Rnd DC17 Magazine.";
  265. tracersEvery = 1;
  266. count = 40;
  267. descriptionShort = "40Rnd DC17 Magazine";
  268. mass = 13;
  269. };
  270. class Titan_AA;
  271. class CA_LauncherMagazine;
  272. class macro_new_mag(RPS_AT,1): CA_LauncherMagazine
  273. {
  274. scope = 2;
  275. displayName = "RPS AT Rocket";
  276. ammo = macro_new_ammo(RPS_AT);
  277. type = "2 * 256";
  278. count = 1;
  279. picture = "\A3\weapons_f\launchers\nlaw\data\UI\gear_nlaw_rocket_ca.paa";
  280. model = "\A3\weapons_f\launchers\nlaw\nlaw_proxy";
  281. initSpeed = 60;
  282. maxLeadSpeed = 60;
  283. mass = 70;
  284. nameSound = "missiles";
  285. };
  286. class macro_new_mag(RPS_AA,1): Titan_AA
  287. {
  288. author = "Bohemia Interactive";
  289. scope = 2;
  290. displayName = "RPS AA Rocket";
  291. displayNameShort = "AA";
  292. ammo = macro_new_ammo(RPS_AA);
  293. type = "6 * 256";
  294. picture = "\A3\Weapons_F_beta\Launchers\titan\Data\UI\gear_titan_missile_atl_CA.paa";
  295. model = "\A3\Weapons_F_beta\Launchers\titan\titan_missile_atl";
  296. initSpeed = 18;
  297. maxLeadSpeed = 277.778;
  298. descriptionShort = "Type: Anti-Air<br />Rounds: 1<br />Used in: Titan MPRL";
  299. mass = 100;
  300. };
  301. class SWOP_b2rocket_Mag: CA_Magazine
  302. {
  303. scope = 2;
  304. displayName = "5Rnd B2 Wrist Rockets";
  305. model = "\SW_ExtraWeapons\PICKUPS\bolts.p3d";
  306. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\bolts_X_ca.paa";
  307. ammo = "R_WristRocket_F";
  308. tracersEvery = 1;
  309. type = 16;
  310. count = 5;
  311. descriptionShort = "5Rnd Wrist Rockets";
  312. mass = 3;
  313. initSpeed = 100;
  314. soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_2", 0.501187, 1.3, 400};
  315. nameSound = "missiles";
  316. };
  317. class SWOP_E5C_Mag;
  318. class SWOP_E5_Mag;
  319. class macro_new_mag(E5c_aqua,90): SWOP_E5C_Mag
  320. {
  321. author = "RD501";
  322. scope = 2;
  323. displayName = "90Rnd E5C-Aqua Magazine";
  324. ammo = macro_new_ammo(E5c_Aqua);
  325. tracersEvery = 1;
  326. count = 90;
  327. descriptionShort = "90Rnd E5-Aqua Magazine";
  328. };
  329. class macro_new_mag(E5_aqua,60): SWOP_E5_Mag
  330. {
  331. author = "RD501";
  332. scope = 2;
  333. displayName = "60Rnd E5-Aqua Magazine";
  334. ammo = macro_new_ammo(E5_Aqua);
  335. tracersEvery = 1;
  336. count = 60;
  337. descriptionShort = "60Rnd E5-A Magazine";
  338. };
  339. class SW_iondisruptor_BlasterRifle_Mag;
  340. class macro_new_mag(RAMER,6):SW_iondisruptor_BlasterRifle_Mag
  341. {
  342. scope = 2;
  343. model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
  344. displayName = "6Rnd ION Magazine";
  345. picture = "\SWOP_Main\SWOP_Rifles\SWOP_Blaster\data\ui\E11_Mag.paa";
  346. ammo = "SW_iondisruptor_BlasterRifle_Ammo";
  347. tracersEvery = 1;
  348. count = 6;
  349. descriptionShort = "6Rnd ION Magazine";
  350. mass = 50;
  351. initSpeed = 310;
  352. author = "RD501";
  353. };
  354. class macro_new_mag(T21,25): CA_Magazine
  355. {
  356. author = "RD501";
  357. scope = 2;
  358. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  359. Displayname = "25Rnd R-T21 Mag";
  360. ammo = macro_new_ammo(T21);
  361. tracersevery = 1;
  362. count = 25;
  363. descriptionshort = "25Rnd R-T21 Mag";
  364. mass = 20;
  365. initspeed = 250;
  366. };
  367. class macro_new_mag(DC15a_LE,15): CA_Magazine
  368. {
  369. author = "RD501";
  370. scope = 2;
  371. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  372. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  373. displayName = "15Rnd DC-15 LE Mag";
  374. ammo = macro_new_ammo(dc15_LE);
  375. tracersEvery = 1;
  376. //count = 10;
  377. count = 15;
  378. descriptionShort = "15Rnd DC-15 LE Mag";
  379. mass = 20;
  380. initSpeed = 1200;
  381. };
  382. class SWOP_DC15SAPistol_Mag;
  383. class macro_new_mag(DC15_razor_blade,9): SWOP_DC15SAPistol_Mag
  384. {
  385. scope = 2;
  386. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  387. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  388. displayName = "9Rnd DC15-SA Magazine";
  389. ammo =macro_new_ammo(DC15_Razor_Blade);
  390. tracersEvery = 1;
  391. type = 16;
  392. count = 9;
  393. descriptionShort = "9Rnd DC15SA Magazine";
  394. mass =4;
  395. initSpeed = 310;
  396. };
  397. class SWOP_Valken38Xauto_MagXXD: CA_Magazine
  398. {
  399. author = "RD501";
  400. scope = 2;
  401. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  402. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  403. displayName = "400Rnd Valken38X Magazine";
  404. tracersEvery = 1;
  405. count = 400;
  406. weight = 90;
  407. initSpeed = 1700;
  408. ammo = "valken_38xxd_ammo";
  409. descriptionShort = "400Rnd Valken38X Blaster Magazine";
  410. };
  411. class SmokeShell;
  412. class smoke_meme_mag: SmokeShell
  413. {
  414. author = "Bohemia Interactive";
  415. displayNameShort = "Yeet Smoke";
  416. ammo = "smoke_meme";
  417. picture = "\A3\Weapons_f\data\ui\gear_smokegrenade_blue_ca.paa";
  418. model = "\A3\Weapons_f\ammo\smokegrenade_blue";
  419. descriptionShort = "Type: Smoke Grenade - Blue<br />Rounds: 1<br />Used in: Hand";
  420. displayName = "[]M18 Smoke Grenade (Yeet)";
  421. };
  422. class macro_new_mag(DC15_underwater,40): CA_Magazine
  423. {
  424. author = "RD501";
  425. scope = 2;
  426. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  427. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  428. displayName = "40Rnd Republic Aqua Rounds";
  429. ammo = macro_new_ammo(dc15_underwater);
  430. tracersEvery = 1;
  431. type = 16;
  432. count = 40;
  433. descriptionShort = "40Rnd Republic Aqua Rounds";
  434. //mass = 15;
  435. mass = 20;
  436. initSpeed = 310;
  437. };
  438. class RPG32_HE_F;
  439. class macro_new_mag(chaingun_z6x,1000): RPG32_HE_F
  440. {
  441. dlc = "RD501";
  442. displayname = "Z6x 1000rnd Mag";
  443. displaynameshort = "1000rnd Mag";
  444. descriptionshort = "Z6x 1000rnd mag";
  445. ammo = macro_new_ammo(chaingun_z6x);
  446. // picture = "\OPTRE_weapons\rockets\icons\rocket.paa";
  447. // model = "\OPTRE_Weapons\Rockets\M41_tube.p3d";
  448. // modelSpecial = "\OPTRE_Weapons\Rockets\M41_launcher_loaded.p3d";
  449. count = 1000;
  450. mass = 100;
  451. initSpeed = 550;
  452. allowedSlots[] = {901, 701};
  453. tracersEvery = 100;
  454. ACE_isBelt = 1;
  455. };
  456. };
  457. class CfgAmmo
  458. {
  459. class GrenadeHand;
  460. class SWOP_DC17_Ammo;
  461. class M_Titan_AT;
  462. class R_PG32V_F;
  463. class R_TBG32V_F;
  464. class LaserAmmo_Minigun;
  465. class FlareBase;
  466. class G_40mm_HE;
  467. class SWOP_dc15xBlasterRifle_Ammo;
  468. class SWOP_DC15ABlasterRifle_Ammo;
  469. class SWOP_DC15ABlasterRifle_Full_Ammo;
  470. class SWOP_DC15ABlasterRifle_L_Ammo;
  471. class SWOP_DC15_Ammo;
  472. class ATMine_Range_Ammo;
  473. class PipeBombBase;
  474. class A_RocketHH15Clone_HEAT_FireForget;
  475. class M_Titan_AA;
  476. class DH17_Blaster_Ammo;
  477. class macro_new_ammo(westar_35):SWOP_DC17_Ammo
  478. {
  479. hit = pistol_hit_high;
  480. indirectHit = 0.0;
  481. indirectHitRange = 0.0;
  482. explosive = 0.0;
  483. caliber = pistol_cali_high;
  484. };
  485. class macro_new_ammo(dc_17): SWOP_DC17_Ammo
  486. {
  487. hit = 10;
  488. waterFriction = -0.001;//
  489. indirectHit = 0.2;
  490. indirectHitRange = 0.2;
  491. explosive = 0.05;
  492. caliber = 2.8;//7
  493. };
  494. class macro_new_ammo(z6):LaserAmmo_Minigun
  495. {
  496. hit = mg_hit_high;
  497. indirectHit = 0.0;
  498. indirectHitRange = 0.0;
  499. explosive = 0.0;
  500. caliber = mg_cali_high;
  501. ACE_caliber = 0;
  502. };
  503. #include "_ammo/40mm_flare.hpp"
  504. class macro_new_ammo(GL_AT): G_40mm_HE
  505. {
  506. hit = 350;
  507. indirectHit = 0;
  508. indirectHitRange = .1;
  509. timeToLive =30;
  510. model = "\GeonFighter\LaserGeon.p3d";
  511. fuseDistance = 3;
  512. explosive = 0.0001;
  513. deflecting = 5;
  514. caliber = 5;
  515. ace_frag_enabled = 0;
  516. ace_frag_force = 0;
  517. ace_frag_classes[] = {""};
  518. ace_frag_metal = 0;
  519. ace_frag_charge = 0;
  520. ace_frag_gurney_c = 0;
  521. ace_frag_gurney_k = "0";
  522. ace_rearm_caliber = 0;
  523. };
  524. class macro_new_ammo(GL_HE): G_40mm_HE
  525. {
  526. hit = 60;
  527. indirectHit = 50;
  528. indirectHitRange = 5;
  529. timeToLive =30;
  530. model = "SW_AV7\ion.p3d";
  531. fuseDistance = 3;
  532. };
  533. class macro_new_ammo(DC15x): SWOP_dc15xBlasterRifle_Ammo
  534. {
  535. hit = 55;//35
  536. indirectHit = 0;
  537. indirectHitRange = 0;
  538. explosive = 0.0;
  539. caliber = 6;//15
  540. waterFriction = -0.001;//
  541. timeToLive = 5;
  542. };
  543. class macro_new_ammo(dc15s_carbine):SWOP_DC15_Ammo
  544. {
  545. waterFriction = -0.001;//
  546. hit = 7;
  547. indirectHit = 0.1;
  548. indirectHitRange = 0.2;
  549. explosive = 0.1;//.4
  550. caliber = 2;//5
  551. timeToLive = 4;
  552. };
  553. class macro_new_ammo(dc15_underwater):macro_new_ammo(dc15s_carbine)
  554. {
  555. waterFriction = -0.001;//
  556. hit = 7;
  557. indirectHit = 0.1;
  558. indirectHitRange = 0.2;
  559. explosive = 0.1;//.4
  560. caliber = 2;//5
  561. timeToLive = 4;
  562. effectFly = "AmmoUnderwater";
  563. nvgOnly = 1;
  564. aiAmmoUsageFlags = "64 + 32";
  565. };
  566. class macro_new_ammo(dc15a_med):SWOP_DC15ABlasterRifle_Ammo
  567. {
  568. hit = 8;
  569. waterFriction = -0.001;
  570. indirectHit = 0.1;
  571. indirectHitRange = 0.2;
  572. explosive = 0.4;
  573. caliber = 3;//7
  574. timeToLive = 4;
  575. };
  576. class macro_new_ammo(dc15a_high):SWOP_DC15ABlasterRifle_Full_Ammo
  577. {
  578. hit = 20;
  579. waterFriction = -0.001;
  580. indirectHit = 0.5;
  581. indirectHitRange = 0.4;
  582. explosive = 0.2;
  583. caliber = 4;//10
  584. timeToLive = 4;
  585. };
  586. class macro_new_ammo(dc15a_low):SWOP_DC15ABlasterRifle_L_Ammo
  587. {
  588. hit = 6;
  589. waterFriction = -0.001;//
  590. indirectHit = 0.1;
  591. indirectHitRange = 0.2;
  592. explosive = 0.4;
  593. caliber = 2;//5
  594. timeToLive = 4;
  595. };
  596. class UNSC_Mine_Ammo: ATMine_Range_Ammo
  597. {
  598. hit = 2500;
  599. indirectHit = 2500;
  600. indirectHitRange = 20;
  601. };
  602. class TermMineA: PipeBombBase
  603. {
  604. hit = 400;
  605. indirectHit = 400;
  606. indirectHitRange = 25;
  607. };
  608. class TermMineC: PipeBombBase
  609. {
  610. hit = 2500;
  611. indirectHit = 2500;
  612. indirectHitRange = 15;
  613. };
  614. class macro_new_ammo(RPS_AT):A_RocketHH15Clone_HEAT_FireForget
  615. {
  616. aiAmmoUsageFlags = "128 + 256 +512";
  617. hit = 95;
  618. thrust = 130;//130;
  619. thrustTime = 3.5;
  620. timeToLive = 20;
  621. indirectHit = 20;
  622. indirectHitRange = 2;
  623. };
  624. class macro_new_ammo(RPS_AA) : M_Titan_AA
  625. {
  626. hit = 800;
  627. indirectHit = 400;
  628. indirectHitRange = 1;
  629. };
  630. class macro_new_ammo(E5c_Aqua): DH17_Blaster_Ammo
  631. {
  632. airFriction = 0;
  633. waterFriction = 0;
  634. effectFly = "AmmoUnderwater";
  635. };
  636. class macro_new_ammo(E5_Aqua): DH17_Blaster_Ammo
  637. {
  638. airFriction = 0;
  639. waterFriction = 0;
  640. effectFly = "AmmoUnderwater";
  641. };
  642. class SWOP_bactagammo:GrenadeHand
  643. {
  644. soundFly[] = {"\thermalD\diox1.ogg", 1, 1, 60};
  645. class NVGMarkers
  646. {
  647. class Blinking1
  648. {
  649. name = "blinkpos1";
  650. color[] = {0.01, 0.01, 0.01, 1};
  651. ambient[] = {0.005, 0.005, 0.005, 1};
  652. blinking = 1;
  653. brightness = 0.002;
  654. onlyInNvg = 1;
  655. };
  656. class Blinking2
  657. {
  658. color[] = {0.9, 0.1, 0.1};
  659. ambient[] = {0.1, 0.1, 0.1};
  660. name = "blinkpos2";
  661. blinking = 1;
  662. blinkingStartsOn = 1;
  663. blinkingPattern[] = {0.1, 0.9};
  664. blinkingPatternGuarantee = 1;
  665. drawLightSize = 0.35;
  666. drawLightCenterSize = 0.05;
  667. brightness = 0.002;
  668. dayLight = 1;
  669. onlyInNvg = 0;
  670. intensity = 75;
  671. drawLight = 1;
  672. activeLight = 0;
  673. useFlare = 0;
  674. };
  675. };
  676. };
  677. //212th stuff
  678. class SCI_PLX1_R : M_Titan_AT
  679. {
  680. hit = 95;
  681. indirectHit = 20;
  682. indirectHitRange = 2;
  683. };
  684. class SCI_RPS6_HEAA_R : R_PG32V_F
  685. {
  686. hit = 800;
  687. indirectHit = 400;
  688. indirectHitRange = 1;
  689. };
  690. class SCI_RPS6_HEDP_R : R_TBG32V_F
  691. {
  692. hit = 50;
  693. indirectHit = 60;
  694. indirectHitRange = 8;
  695. };
  696. class macro_new_ammo(dc15_LE): SWOP_DC15ABlasterRifle_Full_Ammo
  697. {
  698. //hit = 15;
  699. hit = 33;
  700. waterFriction = -0.001;//
  701. indirectHit = 0.5;
  702. indirectHitRange = 0.4;
  703. //explosive = 0.45;
  704. explosive = 0.4;
  705. caliber = 5;//10
  706. cartridge = "";
  707. cost = 1;
  708. model = "\SWOP_Main\Effects\Tracer\laserblue";
  709. tracerScale = 1.5;
  710. tracerStartTime = 0;
  711. tracerEndTime = 2;
  712. //timeToLive = 2;
  713. timeToLive = 4;
  714. nvgOnly = 0;
  715. typicalSpeed = 70;
  716. visibleFire = 3;
  717. audibleFire = 5;
  718. visibleFireTime = 4;
  719. dangerRadiusBulletClose = 16;
  720. dangerRadiusHit = 40;
  721. suppressionRadiusBulletClose = 10;
  722. suppressionRadiusHit = 14;
  723. };
  724. class SWOP_DC15SA_Ammo;
  725. class macro_new_ammo(DC15_Razor_Blade):SWOP_DC15SA_Ammo
  726. {
  727. hit = 50;
  728. indirectHit = 0.0;
  729. indirectHitRange = 0.0;
  730. explosive = 0;
  731. caliber = 5;
  732. CraterEffects = "ExploAmmoLaserCrater";
  733. };
  734. class macro_new_ammo(T21):SWOP_DC15SA_Ammo
  735. {
  736. hit = 55;
  737. indirecthit = 25
  738. indirecthitrange = 1
  739. explosive = 1;
  740. caliber = 10;
  741. CraterEffects = "ExploAmmoLaserCrater";
  742. timeToLive = 2;
  743. };
  744. class B_127x108_APDS;
  745. class SW_iondisruptor_BlasterRifle_Ammo: B_127x108_APDS
  746. {
  747. timeToLive = 2;
  748. };
  749. class valken_38xxd_ammo: SWOP_dc15xBlasterRifle_Ammo
  750. {
  751. hit = 55;
  752. indirectHit = 0;
  753. indirectHitRange = 0.00;
  754. explosive = 0.0;
  755. caliber = 10;
  756. timeToLive = 4;
  757. };
  758. class SmokeShell;
  759. class smoke_meme: SmokeShell
  760. {
  761. model = "\A3\Weapons_f\ammo\smokegrenade_blue_throw";
  762. smokeColor[] = {0.1183, 0.1867, 1, 1};
  763. effectsSmoke = "smoke_yeet";
  764. };
  765. //LOOK HERE $$$
  766. class M_NLAW_AT_F;
  767. class ammo_Penetrator_Base;
  768. class macro_new_ammo(chaingun_z6x_penetrator): ammo_Penetrator_Base
  769. {
  770. hit = 30;
  771. indirectHit = 0.0;
  772. indirectHitRange = 0.0;
  773. explosive = 0.0;
  774. caliber = 2;
  775. ACE_caliber = 0;
  776. timeToLive = 6;
  777. class HitEffects
  778. {
  779. Hit_Foliage_green="SWOP_LaserExploSmallblue2";
  780. Hit_Foliage_Dead="SWOP_LaserExploSmallblue2";
  781. Hit_Foliage_Green_big="SWOP_LaserExploSmallblue2";
  782. Hit_Foliage_Palm="SWOP_LaserExploSmallblue2";
  783. Hit_Foliage_Pine="SWOP_LaserExploSmallblue2";
  784. hitFoliage="SWOP_LaserExploSmallblue2";
  785. hitGlass="SWOP_LaserExploSmallblue2";
  786. hitGlassArmored="SWOP_LaserExploSmallblue2";
  787. hitWood="SWOP_LaserExploSmallblue2";
  788. hitMetal="SWOP_LaserExploSmallblue2";
  789. hitMetalPlate="SWOP_LaserExploSmallblue2";
  790. hitBuilding="SWOP_LaserExploSmallblue2";
  791. hitPlastic="SWOP_LaserExploSmallblue2";
  792. hitRubber="SWOP_LaserExploSmallblue2";
  793. hitTyre="SWOP_LaserExploSmallblue2";
  794. hitConcrete="SWOP_LaserExploSmallblue2";
  795. hitMan="SWOP_LaserExploSmallblue2";
  796. hitGroundSoft="SWOP_LaserExploSmallblue2";
  797. hitGroundRed="SWOP_LaserExploSmallblue2";
  798. hitGroundHard="SWOP_LaserExploSmallblue2";
  799. hitWater="SWOP_LaserExploSmallblue2";
  800. hitVirtual="SWOP_LaserExploSmallblue2";
  801. default_mat="SWOP_LaserExploSmallblue2";
  802. };
  803. coefGravity = 0.6;
  804. };
  805. class macro_new_ammo(chaingun_z6x): M_NLAW_AT_F
  806. {
  807. hit = 32;
  808. indirectHit = 20;
  809. indirectHitRange = 0.1;
  810. explosive = 0;
  811. caliber = 2;
  812. ACE_caliber = 0;
  813. model = "\SWOP_Main\Effects\Tracer\laserblue";
  814. effectFly = "SWOP_BlueLaserEffect";
  815. cost = 500;
  816. airFriction = 0;
  817. sideairFriction = 0;
  818. coefGravity = 0;
  819. maxSpeed = 1050;
  820. typicalSpeed = 1050;
  821. initTime = 0.0;
  822. thrustTime = 3.4;
  823. thrust = 500;
  824. fuseDistance = 0;
  825. simulationStep = 0.02;
  826. timeToLive = 4;
  827. effectsMissile = "SWOP_BlueLaserEffect";
  828. whistleDist = 20;
  829. aiAmmoUsageFlags = "64 + 128 + 256 + 512";
  830. submunitionAmmo = macro_new_ammo(chaingun_z6x_penetrator);
  831. submunitionDirectionType = "SubmunitionModelDirection";
  832. submunitionInitSpeed = 1000;
  833. submunitionParentSpeedCoef = 0;
  834. submunitionInitialOffset[] = {0,0,-0.2};
  835. triggerOnImpact = 1;
  836. deleteParentWhenTriggered = 0;
  837. flightProfiles[] = {"Direct"};
  838. CraterEffects = "ExploAmmoLaserCrater";
  839. explosionEffects = "SWOP_LaserExploSmallblue2";
  840. soundHit[] = {"A3\Sounds_F\arsenal\sfx\bullet_hits\concrete_01",1,1,150};
  841. soundHit1[] = {"A3\Sounds_F\arsenal\sfx\bullet_hits\concrete_01",1,1,200};
  842. soundHit2[] = {"A3\Sounds_F\arsenal\sfx\bullet_hits\concrete_01",1,1,200};
  843. soundHit3[] = {"A3\Sounds_F\arsenal\sfx\bullet_hits\concrete_01",1,1,2000};
  844. effectsSmoke = "SWOP_BlueLaserEffect";
  845. explosionSoundEffect = "";
  846. soundFly[] = {"",1,1,50};
  847. muzzleEffect = "";
  848. SoundSetExplosion[] = {""};
  849. class HitEffects
  850. {
  851. Hit_Foliage_green = "SWOP_LaserExploSmallblue2";
  852. Hit_Foliage_Dead = "SWOP_LaserExploSmallblue2";
  853. Hit_Foliage_Green_big = "SWOP_LaserExploSmallblue2";
  854. Hit_Foliage_Palm = "SWOP_LaserExploSmallblue2";
  855. Hit_Foliage_Pine = "SWOP_LaserExploSmallblue2";
  856. hitFoliage = "SWOP_LaserExploSmallblue2";
  857. hitGlass = "SWOP_LaserExploSmallblue2";
  858. hitGlassArmored = "SWOP_LaserExploSmallblue2";
  859. hitWood = "SWOP_LaserExploSmallblue2";
  860. hitMetal = "SWOP_LaserExploSmallblue2";
  861. hitMetalPlate = "SWOP_LaserExploSmallblue2";
  862. hitBuilding = "SWOP_LaserExploSmallblue2";
  863. hitPlastic = "SWOP_LaserExploSmallblue2";
  864. hitRubber = "SWOP_LaserExploSmallblue2";
  865. hitTyre = "SWOP_LaserExploSmallblue2";
  866. hitConcrete = "SWOP_LaserExploSmallblue2";
  867. hitMan = "SWOP_LaserExploSmallblue2";
  868. hitGroundSoft = "SWOP_LaserExploSmallblue2";
  869. hitGroundRed = "SWOP_LaserExploSmallblue2";
  870. hitGroundHard = "SWOP_LaserExploSmallblue2";
  871. hitWater = "SWOP_LaserExploSmallblue2";
  872. hitVirtual = "SWOP_LaserExploSmallblue2";
  873. default_mat = "SWOP_LaserExploSmallblue2";
  874. };
  875. class Direct{};
  876. class CamShakeExplode
  877. {
  878. power = 1;
  879. duration = 1.4;
  880. frequency = 20;
  881. distance = 1;
  882. };
  883. class CamShakeHit
  884. {
  885. power = 1;
  886. duration = 0.6;
  887. frequency = 20;
  888. distance = 1;
  889. };
  890. class CamShakeFire
  891. {
  892. power = 1;
  893. duration = 1.2;
  894. frequency = 20;
  895. distance = 1;
  896. };
  897. class CamShakePlayerFire
  898. {
  899. power = 1;
  900. duration = 0.1;
  901. frequency = 20;
  902. distance = 1;
  903. };
  904. };
  905. };
  906. class smoke_yeet
  907. {
  908. class SmokeShell
  909. {
  910. simulation = "particles";
  911. type = "SMOKEEFFECT_MEME";
  912. position[] = {0, 0, 0};
  913. intensity = 1;
  914. interval = 1;
  915. };
  916. class SmokeShell2
  917. {
  918. simulation = "particles";
  919. type = "SmokeShellWhite2";
  920. position[] = {0, 0, 0};
  921. intensity = 1;
  922. interval = 1;
  923. };
  924. class SmokeShellUW
  925. {
  926. simulation = "particles";
  927. type = "SmokeShellWhiteUW";
  928. position[] = {0, 0, 0};
  929. intensity = 1;
  930. interval = 1;
  931. };
  932. class SmokeShell2UW
  933. {
  934. simulation = "particles";
  935. type = "SmokeShellWhite2UW";
  936. position[] = {0, 0, 0};
  937. intensity = 1;
  938. interval = 1;
  939. };
  940. };
  941. class CfgCloudlets
  942. {
  943. class Default;
  944. class SMOKEEFFECT_MEME: Default
  945. {
  946. animationSpeedCoef = 1;
  947. colorCoef[] = {"colorR", "colorG", "colorB", "colorA"};
  948. sizeCoef = 1;
  949. position[] = {0, 0, 0};
  950. interval = 0.03;
  951. circleRadius = 0;
  952. circleVelocity[] = {0, 0, 0};
  953. particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
  954. particleFSNtieth = 16;
  955. particleFSIndex = 7;
  956. particleFSFrameCount = 48;
  957. particleFSLoop = 1;
  958. angleVar = 0.1;
  959. animationName = "";
  960. particleType = "Billboard";
  961. timerPeriod = 1;
  962. lifeTime = 20;
  963. moveVelocity[] = {0.0, 0.0, 0.0};//{0.2, 0.1, 0.1};
  964. rotationVelocity = 1;
  965. weight = 1.2777;
  966. volume = 1;
  967. rubbing = 0.05;
  968. size[] = {6, 16};//{0.1, 2, 6};
  969. color[] = {{0.6, 0.6, 0.6, 0.2}, {0.6, 0.6, 0.6, 0.05}, {0.6, 0.6, 0.6, 0}};
  970. animationSpeed[] = {1.5, 0.5};
  971. randomDirectionPeriod = 1;
  972. randomDirectionIntensity = 0.04;
  973. onTimerScript = "";
  974. beforeDestroyScript = "";
  975. destroyOnWaterSurface = 1;
  976. destroyOnWaterSurfaceOffset = -0.6;
  977. lifeTimeVar = 2;
  978. positionVar[] = {0, 0, 0};
  979. MoveVelocityVar[] = {0.25, 0.25, 0.25};
  980. rotationVelocityVar = 20;
  981. sizeVar = 0.5;
  982. colorVar[] = {0, 0, 0, 0.35};
  983. randomDirectionPeriodVar = 0;
  984. randomDirectionIntensityVar = 0;
  985. };
  986. };
  987. class CfgRecoils
  988. {
  989. class recoil_default;
  990. class Default;
  991. class macro_new_recoil(westar_pistol): recoil_default
  992. {
  993. muzzleOuter[] = {"0.05", ".5", "0.1", "0.2"};
  994. kickBack[] = {"0.04", "0.08"};
  995. temporary = "0.06";
  996. };
  997. class macro_new_recoil(dc15_rb): Default
  998. {
  999. muzzleOuter[] = {"0.3*0.2", "6", "0.3*1", ".6"};
  1000. muzzleInner[] = {0, 0, 0.1, 0.1};
  1001. kickBack[] = {"0.03*2", "0.06*2.5"};
  1002. permanent = "0.1*1.8";
  1003. temporary = "0.01*1.2";
  1004. };
  1005. class Valken_Super_auto_recoil: Default
  1006. {
  1007. muzzleOuter[] = {".08*0.25", ".08*0.25", "0.3*0.25", ".1*0.25"};
  1008. muzzleInner[] = {0, 0, 0.1, 0.1};
  1009. kickBack[] = {"0.03*0.25", "0.03*0.25"};
  1010. permanent = "0.1*0.25";
  1011. temporary = "0.01*0.25";
  1012. };
  1013. class macro_new_recoil(chaingun): Default
  1014. {
  1015. muzzleOuter[] = {"0.03", "0.4", "0.03", ".06"};
  1016. muzzleInner[] = {0, 0, 0.01, 0.01};
  1017. kickBack[] = {"0.02", "0.03"};
  1018. permanent = "0.013";
  1019. temporary = "0.013";
  1020. prone = 0.0; //coefficient of recoil forces while in prone (this is further multiplied by weapon resting coefficients)
  1021. };
  1022. };