config.cpp 21 KB

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