config.cpp 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960
  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 Mode_SemiAuto;
  26. class ItemCore;
  27. class InventoryItem_Base_F;
  28. class InventoryOpticsItem_Base_F;
  29. #include "_scopes/DC_15A_modeled_x4.hpp"
  30. #include "_scopes/DC_15A_x4_acog.hpp"
  31. #include "_scopes/DC_15A_LE_x4_x8.hpp"
  32. #include "_scopes/DC_15A_2-6x_acog.hpp"
  33. class GrenadeLauncher;
  34. class JLTS_stun_muzzle;
  35. class RD501_stun_muzzle: JLTS_stun_muzzle
  36. {
  37. magazines[]=
  38. {
  39. macro_new_mag(stun,5)
  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. macro_new_mag(UGL_AP,2)
  55. };
  56. macro_new_magwell(GL_HE)[]=
  57. {
  58. macro_new_mag(HE_GL,3),
  59. macro_new_mag(UGL_EMP,1),
  60. macro_new_mag(UGL_HE,3)
  61. };
  62. macro_new_magwell(smoke)[]=
  63. {
  64. "3Rnd_Smoke_Grenade_shell",
  65. "3Rnd_SmokeRed_Grenade_shell",
  66. "3Rnd_SmokeGreen_Grenade_shell",
  67. "3Rnd_SmokeYellow_Grenade_shell",
  68. "3Rnd_SmokePurple_Grenade_shell",
  69. "3Rnd_SmokeBlue_Grenade_shell",
  70. "3Rnd_SmokeOrange_Grenade_shell",
  71. "ACE_HuntIR_M203"
  72. };
  73. };
  74. class macro_new_magwell(DC17_GL_Mags)
  75. {
  76. macro_new_magwell(1rnd_GL_flare)[]=
  77. {
  78. MACRO_GL_flare_rounds_1rnd
  79. };
  80. macro_new_magwell(1rnd_smoke)[]=
  81. {
  82. "1Rnd_Smoke_Grenade_shell",
  83. "1Rnd_SmokeRed_Grenade_shell",
  84. "1Rnd_SmokeGreen_Grenade_shell",
  85. "1Rnd_SmokeYellow_Grenade_shell",
  86. "1Rnd_SmokePurple_Grenade_shell",
  87. "1Rnd_SmokeBlue_Grenade_shell",
  88. "1Rnd_SmokeOrange_Grenade_shell",
  89. "ACE_HuntIR_M203"
  90. };
  91. }
  92. class macro_new_magwell(DC15C_Shotgun)
  93. {
  94. macro_new_magwell(shotgun)[]=
  95. {
  96. macro_new_mag(shotgun_scatter,6),
  97. macro_new_mag(shotgun_HE,6),
  98. macro_new_mag(shotgun_EMP,2)
  99. };
  100. };
  101. class macro_new_magwell(DC_15a_energy)
  102. {
  103. macro_new_magwell(DC_15a_energy)[]=
  104. {
  105. macro_new_mag(DC15a_Med,30),
  106. macro_new_mag(DC15a_High,15),
  107. macro_new_mag(DC15a_Low,60)
  108. };
  109. };
  110. class macro_new_magwell(rocket_RPS)
  111. {
  112. macro_new_magwell(rocket_RPS)[]=
  113. {
  114. macro_new_mag(RPS_AT,1),
  115. macro_new_mag(RPS_AA,1)
  116. };
  117. };
  118. };
  119. class CfgMagazines
  120. {
  121. class CA_Magazine;
  122. class SWOP_e11_Mag;
  123. class UGL_FlareWhite_F;
  124. class macro_new_mag(westar_35,20): CA_Magazine
  125. {
  126. scope = 2;
  127. model = "SW_CloneWarsWeapons\ammo.p3d";
  128. displayName = "20Rnd WESTAR-35 Magazine";
  129. picture = "\SWOP_Main\swop_Pistols\ui\M_SB_EnergyCell_CA.paa";
  130. ammo = macro_new_ammo(westar_35);
  131. //ammo = "SWOP_DC17_Ammo_low_RD501";
  132. tracersEvery = 1;
  133. type = 16;
  134. count = 20;
  135. descriptionShort = "20 Round WESTAR-35 Magazine";
  136. mass = 6;
  137. initSpeed = 310;
  138. };
  139. class macro_new_mag(z6,400): SWOP_e11_Mag
  140. {
  141. author = "rd501";
  142. model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
  143. ammo = macro_new_ammo(z6);
  144. displayName = "400Rnd Z6 Rotary Blaster Magazine";
  145. descriptionShort = "400Rnd Z6 Magazine";
  146. count = 400;
  147. weight = 100;
  148. mass = 30;
  149. ACE_isBelt = 1;
  150. initSpeed = 500;//360;
  151. picture = "\SW_CloneWarsWeapons\SW_Z6\UI\SW_Z6-mag.paa";
  152. };
  153. #include "_mag/flare_mag.hpp"
  154. class 1Rnd_HE_Grenade_shell;
  155. class macro_new_mag(AT_GL,2): CA_Magazine
  156. {
  157. author = "RD501";
  158. scope = 2;
  159. type = 16;
  160. displayName = "2 Rnd LR AP DC-15A Grenades";
  161. displayNameShort = "2 Rnd LR AP DC-15A";
  162. picture = "\A3\Weapons_f\Data\ui\gear_UGL_slug_CA.paa";
  163. ammo = macro_new_ammo(GL_AT)
  164. initSpeed = 220;//120;
  165. count = 2;
  166. nameSound = "";
  167. descriptionShort = "2Rnd LR AP DC-15A Grenade";
  168. //mass = 30;
  169. mass = 15;
  170. };
  171. class macro_new_mag(HE_GL,3): macro_new_mag(AT_GL,2)
  172. {
  173. displayName = "3 Rnd LR HE DC-15A Grenades";
  174. displayNameShort = "3 RndLR HE DC-15A";
  175. count=3;
  176. ammo = macro_new_ammo(GL_HE)
  177. descriptionShort = "3Rnd LR HE DC-15A Grenade";
  178. initSpeed = 120;
  179. };
  180. class SWOP_dc15xBlasterRifle_Mag;
  181. class macro_new_mag(DC15x,6): SWOP_dc15xBlasterRifle_Mag
  182. {
  183. author = "RD501";
  184. scope = 2;
  185. model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
  186. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\powercell_X_ca.paa";
  187. displayName = "6Rnd DC-15X Magazine";
  188. ammo =macro_new_ammo(DC15x);
  189. tracersEvery = 1;
  190. count = 6;
  191. descriptionShort = "6Rnd DC15X Magazine";
  192. mass = 20;
  193. initSpeed = 4000;
  194. };
  195. class macro_new_mag(DC15s,60): CA_Magazine
  196. {
  197. author = "RD501";
  198. scope = 2;
  199. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  200. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  201. displayName = "60Rnd DC-15S Carbine Magazine";
  202. ammo = macro_new_ammo(dc15s_carbine);
  203. tracersEvery = 1;
  204. type = 16;
  205. count = 60;
  206. descriptionShort = "60Rnd DC15 Blaster Magazine";
  207. //mass = 15;
  208. mass = 20;
  209. initSpeed = 310;
  210. };
  211. class SWOP_DC15ABlasterRifle_Mag;
  212. class macro_new_mag(DC15a_Med,30): SWOP_DC15ABlasterRifle_Mag
  213. {
  214. author = "RD501";
  215. scope = 2;
  216. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  217. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  218. displayName = "30Rnd DC-15A Mid Energy Rounds";
  219. ammo = macro_new_ammo(dc15a_med);
  220. tracersEvery = 1;
  221. count = 30;
  222. descriptionShort = "30Rnd DC15A Mid Energy";
  223. mass = 20;
  224. initSpeed = 380;
  225. };
  226. class macro_new_mag(DC15a_High,15): macro_new_mag(DC15a_Med,30)
  227. {
  228. displayName = "15Rnd DC-15A High Energy Rounds";
  229. ammo = macro_new_ammo(dc15a_high);
  230. count = 15;
  231. descriptionShort = "15Rnd DC15A High Energy Rounds";
  232. mass = 35;
  233. initSpeed = 1200;
  234. };
  235. class macro_new_mag(DC15a_Low,60): macro_new_mag(DC15a_Med,30)
  236. {
  237. displayName = "60Rnd DC-15A Low Energy Rounds";
  238. ammo = macro_new_ammo(dc15a_low);
  239. count = 60;
  240. descriptionShort = "60Rnd DC15A Low Energy";
  241. mass = 30;
  242. };
  243. class macro_new_mag(DC15a_box_mag,240): CA_Magazine
  244. {
  245. author = "RD501";
  246. scope = 2;
  247. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  248. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  249. displayName = "240Rnd Box DC-15A Low Energy Rounds";
  250. ammo = macro_new_ammo(dc15a_low);
  251. tracersEvery = 1;
  252. count =240;
  253. descriptionShort = "240Rnd DC15A Low Energy";
  254. mass = 40;
  255. initSpeed = 300;
  256. ACE_isBelt = 1;
  257. };
  258. class SWOP_DC17Pistol_Mag;
  259. class macro_new_mag(DC17,20): SWOP_DC17Pistol_Mag
  260. {
  261. scope = 2;
  262. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  263. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  264. displayName = "20Rnd DC17 Magazine.";
  265. ammo = macro_new_ammo(dc_17);
  266. tracersEvery = 1;
  267. type = 16;
  268. count = 20;
  269. descriptionShort = "20Rnd DC17 Magazine";
  270. mass = 6;
  271. initSpeed = 310;
  272. //initSpeed = 110;
  273. };
  274. class macro_new_mag(DC17,40): macro_new_mag(DC17,20)
  275. {
  276. displayName = "40Rnd DC17 Magazine.";
  277. tracersEvery = 1;
  278. count = 40;
  279. descriptionShort = "40Rnd DC17 Magazine";
  280. mass = 13;
  281. };
  282. class Titan_AA;
  283. class CA_LauncherMagazine;
  284. class Titan_AT;
  285. class macro_new_mag(RPS_AT,1): Titan_AT
  286. {
  287. scope = 2;
  288. displayName = "RPS AT Rocket";
  289. ammo = macro_new_ammo(RPS_AT);
  290. type = "2 * 256";
  291. count = 1;
  292. initSpeed = 60;
  293. maxLeadSpeed = 60;
  294. mass = 70;
  295. };
  296. class macro_new_mag(RPS_AA,1): Titan_AA
  297. {
  298. author = "Bohemia Interactive";
  299. scope = 2;
  300. displayName = "RPS AA Rocket";
  301. displayNameShort = "AA";
  302. ammo = macro_new_ammo(RPS_AA);
  303. type = "6 * 256";
  304. picture = "\A3\Weapons_F_beta\Launchers\titan\Data\UI\gear_titan_missile_atl_CA.paa";
  305. model = "\A3\Weapons_F_beta\Launchers\titan\titan_missile_atl";
  306. initSpeed = 18;
  307. maxLeadSpeed = 277.778;
  308. descriptionShort = "Type: Anti-Air<br />Rounds: 1<br />Used in: Titan MPRL";
  309. mass = 100;
  310. };
  311. class SWOP_b2rocket_Mag: CA_Magazine
  312. {
  313. scope = 2;
  314. displayName = "5Rnd B2 Wrist Rockets";
  315. model = "\SW_ExtraWeapons\PICKUPS\bolts.p3d";
  316. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\bolts_X_ca.paa";
  317. ammo = "R_WristRocket_F";
  318. tracersEvery = 1;
  319. type = 16;
  320. count = 5;
  321. descriptionShort = "5Rnd Wrist Rockets";
  322. mass = 3;
  323. initSpeed = 100;
  324. soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_2", 0.501187, 1.3, 400};
  325. nameSound = "missiles";
  326. };
  327. class SWOP_E5C_Mag;
  328. class SWOP_E5_Mag;
  329. class macro_new_mag(E5c_aqua,90): SWOP_E5C_Mag
  330. {
  331. author = "RD501";
  332. scope = 2;
  333. displayName = "90Rnd E5C-Aqua Magazine";
  334. ammo = macro_new_ammo(E5c_Aqua);
  335. tracersEvery = 1;
  336. count = 90;
  337. descriptionShort = "90Rnd E5-Aqua Magazine";
  338. };
  339. class macro_new_mag(E5_aqua,60): SWOP_E5_Mag
  340. {
  341. author = "RD501";
  342. scope = 2;
  343. displayName = "60Rnd E5-Aqua Magazine";
  344. ammo = macro_new_ammo(E5_Aqua);
  345. tracersEvery = 1;
  346. count = 60;
  347. descriptionShort = "60Rnd E5-A Magazine";
  348. };
  349. class SW_iondisruptor_BlasterRifle_Mag;
  350. class macro_new_mag(RAMER,6):SW_iondisruptor_BlasterRifle_Mag
  351. {
  352. scope = 2;
  353. model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
  354. displayName = "6Rnd ION Magazine";
  355. picture = "\SWOP_Main\SWOP_Rifles\SWOP_Blaster\data\ui\E11_Mag.paa";
  356. ammo = "SW_iondisruptor_BlasterRifle_Ammo";
  357. tracersEvery = 1;
  358. count = 6;
  359. descriptionShort = "6Rnd ION Magazine";
  360. mass = 50;
  361. initSpeed = 310;
  362. author = "RD501";
  363. };
  364. class macro_new_mag(DC15a_LE,15): CA_Magazine
  365. {
  366. author = "RD501";
  367. scope = 2;
  368. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  369. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  370. displayName = "15Rnd DC-15 LE Mag";
  371. ammo = macro_new_ammo(dc15_LE);
  372. tracersEvery = 1;
  373. //count = 10;
  374. count = 15;
  375. descriptionShort = "15Rnd DC-15 LE Mag";
  376. mass = 20;
  377. initSpeed = 1200;
  378. };
  379. class SWOP_DC15SAPistol_Mag;
  380. class macro_new_mag(DC15_razor_blade,9): SWOP_DC15SAPistol_Mag
  381. {
  382. scope = 2;
  383. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  384. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  385. displayName = "9Rnd DC15-SA Magazine";
  386. ammo =macro_new_ammo(DC15_Razor_Blade);
  387. tracersEvery = 1;
  388. type = 16;
  389. count = 9;
  390. descriptionShort = "9Rnd DC15SA Magazine";
  391. mass =4;
  392. initSpeed = 310;
  393. };
  394. class SmokeShell;
  395. class smoke_meme_mag: SmokeShell
  396. {
  397. author = "Bohemia Interactive";
  398. displayNameShort = "Yeet Smoke";
  399. ammo = "smoke_meme";
  400. picture = "\A3\Weapons_f\data\ui\gear_smokegrenade_blue_ca.paa";
  401. model = "\A3\Weapons_f\ammo\smokegrenade_blue";
  402. descriptionShort = "Type: Smoke Grenade - Blue<br />Rounds: 1<br />Used in: Hand";
  403. displayName = "[]M18 Smoke Grenade (Yeet)";
  404. };
  405. class macro_new_mag(DC15_underwater,40): CA_Magazine
  406. {
  407. author = "RD501";
  408. scope = 2;
  409. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  410. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  411. displayName = "40Rnd Republic Aqua Rounds";
  412. ammo = macro_new_ammo(dc15_underwater);
  413. tracersEvery = 1;
  414. type = 16;
  415. count = 40;
  416. descriptionShort = "40Rnd Republic Aqua Rounds";
  417. //mass = 15;
  418. mass = 20;
  419. initSpeed = 310;
  420. };
  421. class 3AS_Chaingun_Drum_Mag;
  422. class macro_new_mag(z1000,3000) : 3AS_Chaingun_Drum_Mag
  423. {
  424. count = 3000;
  425. tracersEvery=1;
  426. ammo = macro_new_ammo(z1000)
  427. displayName="3000Rnd Z1000 Chaingun Drum";
  428. initSpeed=860;
  429. weight=1;
  430. scope=1;
  431. };
  432. };
  433. class CfgAmmo
  434. {
  435. class GrenadeHand;
  436. class SWOP_DC17_Ammo;
  437. class M_Titan_AT;
  438. class R_PG32V_F;
  439. class R_TBG32V_F;
  440. class LaserAmmo_Minigun;
  441. class FlareBase;
  442. class G_40mm_HE;
  443. class SWOP_dc15xBlasterRifle_Ammo;
  444. class SWOP_DC15ABlasterRifle_Ammo;
  445. class SWOP_DC15ABlasterRifle_Full_Ammo;
  446. class SWOP_DC15ABlasterRifle_L_Ammo;
  447. class SWOP_DC15_Ammo;
  448. class ATMine_Range_Ammo;
  449. class PipeBombBase;
  450. class A_RocketHH15Clone_HEAT_FireForget;
  451. class M_Titan_AA;
  452. class DH17_Blaster_Ammo;
  453. class 3AS_Chaingun_Ammo;
  454. class M_Titan_AT;
  455. class macro_new_ammo(westar_35):SWOP_DC17_Ammo
  456. {
  457. hit = pistol_hit_high;
  458. indirectHit = 0.0;
  459. indirectHitRange = 0.0;
  460. explosive = 0.0;
  461. caliber = pistol_cali_high;
  462. };
  463. class macro_new_ammo(dc_17): SWOP_DC17_Ammo
  464. {
  465. hit = 10;
  466. waterFriction = -0.001;//
  467. indirectHit = 0.2;
  468. indirectHitRange = 0.2;
  469. explosive = 0.05;
  470. caliber = 2.8;//7
  471. };
  472. class macro_new_ammo(z6):LaserAmmo_Minigun
  473. {
  474. hit = mg_hit_high;
  475. indirectHit = 0.0;
  476. indirectHitRange = 0.0;
  477. explosive = 0.0;
  478. caliber = mg_cali_high;
  479. ACE_caliber = 0;
  480. };
  481. #include "_ammo/40mm_flare.hpp"
  482. class macro_new_ammo(GL_AT): G_40mm_HE
  483. {
  484. hit = 350;
  485. indirectHit = 0;
  486. indirectHitRange = .1;
  487. timeToLive =30;
  488. model = "\GeonFighter\LaserGeon.p3d";
  489. fuseDistance = 3;
  490. explosive = 0.0001;
  491. deflecting = 5;
  492. caliber = 5;
  493. ace_frag_enabled = 0;
  494. ace_frag_force = 0;
  495. ace_frag_classes[] = {""};
  496. ace_frag_metal = 0;
  497. ace_frag_charge = 0;
  498. ace_frag_gurney_c = 0;
  499. ace_frag_gurney_k = "0";
  500. ace_rearm_caliber = 0;
  501. };
  502. class macro_new_ammo(GL_HE): G_40mm_HE
  503. {
  504. hit = 60;
  505. indirectHit = 50;
  506. indirectHitRange = 5;
  507. timeToLive =30;
  508. model = "SW_AV7\ion.p3d";
  509. fuseDistance = 3;
  510. };
  511. class macro_new_ammo(DC15x): SWOP_dc15xBlasterRifle_Ammo
  512. {
  513. hit = 55;//35
  514. indirectHit = 0;
  515. indirectHitRange = 0;
  516. explosive = 0.0;
  517. caliber = 6;//15
  518. waterFriction = -0.001;//
  519. timeToLive = 5;
  520. };
  521. class macro_new_ammo(dc15s_carbine):SWOP_DC15_Ammo
  522. {
  523. waterFriction = -0.001;//
  524. hit = 7;
  525. indirectHit = 0.1;
  526. indirectHitRange = 0.2;
  527. explosive = 0.1;//.4
  528. caliber = 2;//5
  529. timeToLive = 4;
  530. };
  531. class macro_new_ammo(dc15_underwater):macro_new_ammo(dc15s_carbine)
  532. {
  533. waterFriction = -0.001;//
  534. hit = 7;
  535. indirectHit = 0.1;
  536. indirectHitRange = 0.2;
  537. explosive = 0.1;//.4
  538. caliber = 2;//5
  539. timeToLive = 4;
  540. effectFly = "AmmoUnderwater";
  541. nvgOnly = 1;
  542. aiAmmoUsageFlags = "64 + 32";
  543. };
  544. class macro_new_ammo(dc15a_med):SWOP_DC15ABlasterRifle_Ammo
  545. {
  546. hit = 8;
  547. waterFriction = -0.001;
  548. indirectHit = 0.1;
  549. indirectHitRange = 0.2;
  550. explosive = 0.4;
  551. caliber = 3;//7
  552. timeToLive = 4;
  553. };
  554. class macro_new_ammo(dc15a_high):SWOP_DC15ABlasterRifle_Full_Ammo
  555. {
  556. hit = 20;
  557. waterFriction = -0.001;
  558. indirectHit = 0.5;
  559. indirectHitRange = 0.4;
  560. explosive = 0.2;
  561. caliber = 4;//10
  562. timeToLive = 4;
  563. };
  564. class macro_new_ammo(dc15a_low):SWOP_DC15ABlasterRifle_L_Ammo
  565. {
  566. hit = 6;
  567. waterFriction = -0.001;//
  568. indirectHit = 0.1;
  569. indirectHitRange = 0.2;
  570. explosive = 0.4;
  571. caliber = 2;//5
  572. timeToLive = 4;
  573. };
  574. class UNSC_Mine_Ammo: ATMine_Range_Ammo
  575. {
  576. hit = 2500;
  577. indirectHit = 2500;
  578. indirectHitRange = 20;
  579. };
  580. class TermMineA: PipeBombBase
  581. {
  582. hit = 400;
  583. indirectHit = 400;
  584. indirectHitRange = 25;
  585. };
  586. class TermMineC: PipeBombBase
  587. {
  588. hit = 2500;
  589. indirectHit = 2500;
  590. indirectHitRange = 15;
  591. };
  592. class macro_new_ammo(RPS_AT):M_Titan_AT
  593. {
  594. aiAmmoUsageFlags = "128 + 256 +512";
  595. hit = 95;
  596. thrust = 130;//130;
  597. thrustTime = 3.5;
  598. timeToLive = 20;
  599. indirectHit = 20;
  600. indirectHitRange = 2;
  601. };
  602. class macro_new_ammo(RPS_AA) : M_Titan_AA
  603. {
  604. hit = 800;
  605. indirectHit = 400;
  606. indirectHitRange = 1;
  607. };
  608. class macro_new_ammo(E5c_Aqua): DH17_Blaster_Ammo
  609. {
  610. airFriction = 0;
  611. waterFriction = 0;
  612. effectFly = "AmmoUnderwater";
  613. };
  614. class macro_new_ammo(E5_Aqua): DH17_Blaster_Ammo
  615. {
  616. airFriction = 0;
  617. waterFriction = 0;
  618. effectFly = "AmmoUnderwater";
  619. };
  620. class SWOP_bactagammo:GrenadeHand
  621. {
  622. soundFly[] = {"\thermalD\diox1.ogg", 1, 1, 60};
  623. class NVGMarkers
  624. {
  625. class Blinking1
  626. {
  627. name = "blinkpos1";
  628. color[] = {0.01, 0.01, 0.01, 1};
  629. ambient[] = {0.005, 0.005, 0.005, 1};
  630. blinking = 1;
  631. brightness = 0.002;
  632. onlyInNvg = 1;
  633. };
  634. class Blinking2
  635. {
  636. color[] = {0.9, 0.1, 0.1};
  637. ambient[] = {0.1, 0.1, 0.1};
  638. name = "blinkpos2";
  639. blinking = 1;
  640. blinkingStartsOn = 1;
  641. blinkingPattern[] = {0.1, 0.9};
  642. blinkingPatternGuarantee = 1;
  643. drawLightSize = 0.35;
  644. drawLightCenterSize = 0.05;
  645. brightness = 0.002;
  646. dayLight = 1;
  647. onlyInNvg = 0;
  648. intensity = 75;
  649. drawLight = 1;
  650. activeLight = 0;
  651. useFlare = 0;
  652. };
  653. };
  654. };
  655. //212th stuff
  656. class SCI_PLX1_R : M_Titan_AT
  657. {
  658. hit = 95;
  659. indirectHit = 20;
  660. indirectHitRange = 2;
  661. };
  662. class SCI_RPS6_HEAA_R : R_PG32V_F
  663. {
  664. hit = 800;
  665. indirectHit = 400;
  666. indirectHitRange = 1;
  667. };
  668. class SCI_RPS6_HEDP_R : R_TBG32V_F
  669. {
  670. hit = 50;
  671. indirectHit = 60;
  672. indirectHitRange = 8;
  673. };
  674. class macro_new_ammo(dc15_LE): SWOP_DC15ABlasterRifle_Full_Ammo
  675. {
  676. //hit = 15;
  677. hit = 33;
  678. waterFriction = -0.001;//
  679. indirectHit = 0.5;
  680. indirectHitRange = 0.4;
  681. //explosive = 0.45;
  682. explosive = 0.4;
  683. caliber = 5;//10
  684. cartridge = "";
  685. cost = 1;
  686. model = "\SWOP_Main\Effects\Tracer\laserblue";
  687. tracerScale = 1.5;
  688. tracerStartTime = 0;
  689. tracerEndTime = 2;
  690. //timeToLive = 2;
  691. timeToLive = 4;
  692. nvgOnly = 0;
  693. typicalSpeed = 70;
  694. visibleFire = 3;
  695. audibleFire = 5;
  696. visibleFireTime = 4;
  697. dangerRadiusBulletClose = 16;
  698. dangerRadiusHit = 40;
  699. suppressionRadiusBulletClose = 10;
  700. suppressionRadiusHit = 14;
  701. };
  702. class SWOP_DC15SA_Ammo;
  703. class macro_new_ammo(DC15_Razor_Blade):SWOP_DC15SA_Ammo
  704. {
  705. hit = 50;
  706. indirectHit = 0.0;
  707. indirectHitRange = 0.0;
  708. explosive = 0;
  709. caliber = 5;
  710. CraterEffects = "ExploAmmoLaserCrater";
  711. };
  712. class B_127x108_APDS;
  713. class SW_iondisruptor_BlasterRifle_Ammo: B_127x108_APDS
  714. {
  715. timeToLive = 2;
  716. };
  717. class SmokeShell;
  718. class smoke_meme: SmokeShell
  719. {
  720. model = "\A3\Weapons_f\ammo\smokegrenade_blue_throw";
  721. smokeColor[] = {0.1183, 0.1867, 1, 1};
  722. effectsSmoke = "smoke_yeet";
  723. };
  724. //LOOK HERE $$$
  725. class macro_new_ammo(z1000) : 3AS_Chaingun_Ammo
  726. {
  727. hit=57.45;
  728. caliber=3.5999999;
  729. indirectHit = 3;
  730. indirectHitRange = 0.5;
  731. explosive = 0.4;
  732. ACE_caliber=1;
  733. typicalSpeed=860;
  734. model="\A3\Weapons_f\Data\bullettracer\tracer_green";
  735. };
  736. };
  737. class smoke_yeet
  738. {
  739. class SmokeShell
  740. {
  741. simulation = "particles";
  742. type = "SMOKEEFFECT_MEME";
  743. position[] = {0, 0, 0};
  744. intensity = 1;
  745. interval = 1;
  746. };
  747. class SmokeShell2
  748. {
  749. simulation = "particles";
  750. type = "SmokeShellWhite2";
  751. position[] = {0, 0, 0};
  752. intensity = 1;
  753. interval = 1;
  754. };
  755. class SmokeShellUW
  756. {
  757. simulation = "particles";
  758. type = "SmokeShellWhiteUW";
  759. position[] = {0, 0, 0};
  760. intensity = 1;
  761. interval = 1;
  762. };
  763. class SmokeShell2UW
  764. {
  765. simulation = "particles";
  766. type = "SmokeShellWhite2UW";
  767. position[] = {0, 0, 0};
  768. intensity = 1;
  769. interval = 1;
  770. };
  771. };
  772. class CfgCloudlets
  773. {
  774. class Default;
  775. class SMOKEEFFECT_MEME: Default
  776. {
  777. animationSpeedCoef = 1;
  778. colorCoef[] = {"colorR", "colorG", "colorB", "colorA"};
  779. sizeCoef = 1;
  780. position[] = {0, 0, 0};
  781. interval = 0.03;
  782. circleRadius = 0;
  783. circleVelocity[] = {0, 0, 0};
  784. particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
  785. particleFSNtieth = 16;
  786. particleFSIndex = 7;
  787. particleFSFrameCount = 48;
  788. particleFSLoop = 1;
  789. angleVar = 0.1;
  790. animationName = "";
  791. particleType = "Billboard";
  792. timerPeriod = 1;
  793. lifeTime = 20;
  794. moveVelocity[] = {0.0, 0.0, 0.0};//{0.2, 0.1, 0.1};
  795. rotationVelocity = 1;
  796. weight = 1.2777;
  797. volume = 1;
  798. rubbing = 0.05;
  799. size[] = {6, 16};//{0.1, 2, 6};
  800. color[] = {{0.6, 0.6, 0.6, 0.2}, {0.6, 0.6, 0.6, 0.05}, {0.6, 0.6, 0.6, 0}};
  801. animationSpeed[] = {1.5, 0.5};
  802. randomDirectionPeriod = 1;
  803. randomDirectionIntensity = 0.04;
  804. onTimerScript = "";
  805. beforeDestroyScript = "";
  806. destroyOnWaterSurface = 1;
  807. destroyOnWaterSurfaceOffset = -0.6;
  808. lifeTimeVar = 2;
  809. positionVar[] = {0, 0, 0};
  810. MoveVelocityVar[] = {0.25, 0.25, 0.25};
  811. rotationVelocityVar = 20;
  812. sizeVar = 0.5;
  813. colorVar[] = {0, 0, 0, 0.35};
  814. randomDirectionPeriodVar = 0;
  815. randomDirectionIntensityVar = 0;
  816. };
  817. };
  818. class CfgRecoils
  819. {
  820. class recoil_default;
  821. class Default;
  822. class macro_new_recoil(westar_pistol): recoil_default
  823. {
  824. muzzleOuter[] = {"0.05", ".5", "0.1", "0.2"};
  825. kickBack[] = {"0.04", "0.08"};
  826. temporary = "0.06";
  827. };
  828. class macro_new_recoil(dc15_rb): Default
  829. {
  830. muzzleOuter[] = {"0.3*0.2", "6", "0.3*1", ".6"};
  831. muzzleInner[] = {0, 0, 0.1, 0.1};
  832. kickBack[] = {"0.03*2", "0.06*2.5"};
  833. permanent = "0.1*1.8";
  834. temporary = "0.01*1.2";
  835. };
  836. class Valken_Super_auto_recoil: Default
  837. {
  838. muzzleOuter[] = {".08*0.25", ".08*0.25", "0.3*0.25", ".1*0.25"};
  839. muzzleInner[] = {0, 0, 0.1, 0.1};
  840. kickBack[] = {"0.03*0.25", "0.03*0.25"};
  841. permanent = "0.1*0.25";
  842. temporary = "0.01*0.25";
  843. };
  844. };