1
0

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. #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(DC15a_LE,15): CA_Magazine
  359. {
  360. author = "RD501";
  361. scope = 2;
  362. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  363. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  364. displayName = "15Rnd DC-15 LE Mag";
  365. ammo = macro_new_ammo(dc15_LE);
  366. tracersEvery = 1;
  367. //count = 10;
  368. count = 15;
  369. descriptionShort = "15Rnd DC-15 LE Mag";
  370. mass = 20;
  371. initSpeed = 1200;
  372. };
  373. class SWOP_DC15SAPistol_Mag;
  374. class macro_new_mag(DC15_razor_blade,9): SWOP_DC15SAPistol_Mag
  375. {
  376. scope = 2;
  377. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  378. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  379. displayName = "9Rnd DC15-SA Magazine";
  380. ammo =macro_new_ammo(DC15_Razor_Blade);
  381. tracersEvery = 1;
  382. type = 16;
  383. count = 9;
  384. descriptionShort = "9Rnd DC15SA Magazine";
  385. mass =4;
  386. initSpeed = 310;
  387. };
  388. class SmokeShell;
  389. class smoke_meme_mag: SmokeShell
  390. {
  391. author = "Bohemia Interactive";
  392. displayNameShort = "Yeet Smoke";
  393. ammo = "smoke_meme";
  394. picture = "\A3\Weapons_f\data\ui\gear_smokegrenade_blue_ca.paa";
  395. model = "\A3\Weapons_f\ammo\smokegrenade_blue";
  396. descriptionShort = "Type: Smoke Grenade - Blue<br />Rounds: 1<br />Used in: Hand";
  397. displayName = "[]M18 Smoke Grenade (Yeet)";
  398. };
  399. class macro_new_mag(DC15_underwater,40): CA_Magazine
  400. {
  401. author = "RD501";
  402. scope = 2;
  403. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  404. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  405. displayName = "40Rnd Republic Aqua Rounds";
  406. ammo = macro_new_ammo(dc15_underwater);
  407. tracersEvery = 1;
  408. type = 16;
  409. count = 40;
  410. descriptionShort = "40Rnd Republic Aqua Rounds";
  411. //mass = 15;
  412. mass = 20;
  413. initSpeed = 310;
  414. };
  415. class 3AS_Chaingun_Drum_Mag;
  416. class macro_new_mag(z1000,3000) : 3AS_Chaingun_Drum_Mag
  417. {
  418. count = 3000;
  419. tracersEvery=1;
  420. ammo = macro_new_ammo(z1000)
  421. displayName="3000Rnd Z1000 Chaingun Drum";
  422. initSpeed=860;
  423. weight=1;
  424. scope=1;
  425. };
  426. };
  427. class CfgAmmo
  428. {
  429. class GrenadeHand;
  430. class SWOP_DC17_Ammo;
  431. class M_Titan_AT;
  432. class R_PG32V_F;
  433. class R_TBG32V_F;
  434. class LaserAmmo_Minigun;
  435. class FlareBase;
  436. class G_40mm_HE;
  437. class SWOP_dc15xBlasterRifle_Ammo;
  438. class SWOP_DC15ABlasterRifle_Ammo;
  439. class SWOP_DC15ABlasterRifle_Full_Ammo;
  440. class SWOP_DC15ABlasterRifle_L_Ammo;
  441. class SWOP_DC15_Ammo;
  442. class ATMine_Range_Ammo;
  443. class PipeBombBase;
  444. class A_RocketHH15Clone_HEAT_FireForget;
  445. class M_Titan_AA;
  446. class DH17_Blaster_Ammo;
  447. class 3AS_Chaingun_Ammo;
  448. class macro_new_ammo(westar_35):SWOP_DC17_Ammo
  449. {
  450. hit = pistol_hit_high;
  451. indirectHit = 0.0;
  452. indirectHitRange = 0.0;
  453. explosive = 0.0;
  454. caliber = pistol_cali_high;
  455. };
  456. class macro_new_ammo(dc_17): SWOP_DC17_Ammo
  457. {
  458. hit = 10;
  459. waterFriction = -0.001;//
  460. indirectHit = 0.2;
  461. indirectHitRange = 0.2;
  462. explosive = 0.05;
  463. caliber = 2.8;//7
  464. };
  465. class macro_new_ammo(z6):LaserAmmo_Minigun
  466. {
  467. hit = mg_hit_high;
  468. indirectHit = 0.0;
  469. indirectHitRange = 0.0;
  470. explosive = 0.0;
  471. caliber = mg_cali_high;
  472. ACE_caliber = 0;
  473. };
  474. #include "_ammo/40mm_flare.hpp"
  475. class macro_new_ammo(GL_AT): G_40mm_HE
  476. {
  477. hit = 350;
  478. indirectHit = 0;
  479. indirectHitRange = .1;
  480. timeToLive =30;
  481. model = "\GeonFighter\LaserGeon.p3d";
  482. fuseDistance = 3;
  483. explosive = 0.0001;
  484. deflecting = 5;
  485. caliber = 5;
  486. ace_frag_enabled = 0;
  487. ace_frag_force = 0;
  488. ace_frag_classes[] = {""};
  489. ace_frag_metal = 0;
  490. ace_frag_charge = 0;
  491. ace_frag_gurney_c = 0;
  492. ace_frag_gurney_k = "0";
  493. ace_rearm_caliber = 0;
  494. };
  495. class macro_new_ammo(GL_HE): G_40mm_HE
  496. {
  497. hit = 60;
  498. indirectHit = 50;
  499. indirectHitRange = 5;
  500. timeToLive =30;
  501. model = "SW_AV7\ion.p3d";
  502. fuseDistance = 3;
  503. };
  504. class macro_new_ammo(DC15x): SWOP_dc15xBlasterRifle_Ammo
  505. {
  506. hit = 55;//35
  507. indirectHit = 0;
  508. indirectHitRange = 0;
  509. explosive = 0.0;
  510. caliber = 6;//15
  511. waterFriction = -0.001;//
  512. timeToLive = 5;
  513. };
  514. class macro_new_ammo(dc15s_carbine):SWOP_DC15_Ammo
  515. {
  516. waterFriction = -0.001;//
  517. hit = 7;
  518. indirectHit = 0.1;
  519. indirectHitRange = 0.2;
  520. explosive = 0.1;//.4
  521. caliber = 2;//5
  522. timeToLive = 4;
  523. };
  524. class macro_new_ammo(dc15_underwater):macro_new_ammo(dc15s_carbine)
  525. {
  526. waterFriction = -0.001;//
  527. hit = 7;
  528. indirectHit = 0.1;
  529. indirectHitRange = 0.2;
  530. explosive = 0.1;//.4
  531. caliber = 2;//5
  532. timeToLive = 4;
  533. effectFly = "AmmoUnderwater";
  534. nvgOnly = 1;
  535. aiAmmoUsageFlags = "64 + 32";
  536. };
  537. class macro_new_ammo(dc15a_med):SWOP_DC15ABlasterRifle_Ammo
  538. {
  539. hit = 8;
  540. waterFriction = -0.001;
  541. indirectHit = 0.1;
  542. indirectHitRange = 0.2;
  543. explosive = 0.4;
  544. caliber = 3;//7
  545. timeToLive = 4;
  546. };
  547. class macro_new_ammo(dc15a_high):SWOP_DC15ABlasterRifle_Full_Ammo
  548. {
  549. hit = 20;
  550. waterFriction = -0.001;
  551. indirectHit = 0.5;
  552. indirectHitRange = 0.4;
  553. explosive = 0.2;
  554. caliber = 4;//10
  555. timeToLive = 4;
  556. };
  557. class macro_new_ammo(dc15a_low):SWOP_DC15ABlasterRifle_L_Ammo
  558. {
  559. hit = 6;
  560. waterFriction = -0.001;//
  561. indirectHit = 0.1;
  562. indirectHitRange = 0.2;
  563. explosive = 0.4;
  564. caliber = 2;//5
  565. timeToLive = 4;
  566. };
  567. class UNSC_Mine_Ammo: ATMine_Range_Ammo
  568. {
  569. hit = 2500;
  570. indirectHit = 2500;
  571. indirectHitRange = 20;
  572. };
  573. class TermMineA: PipeBombBase
  574. {
  575. hit = 400;
  576. indirectHit = 400;
  577. indirectHitRange = 25;
  578. };
  579. class TermMineC: PipeBombBase
  580. {
  581. hit = 2500;
  582. indirectHit = 2500;
  583. indirectHitRange = 15;
  584. };
  585. class macro_new_ammo(RPS_AT):A_RocketHH15Clone_HEAT_FireForget
  586. {
  587. aiAmmoUsageFlags = "128 + 256 +512";
  588. hit = 95;
  589. thrust = 130;//130;
  590. thrustTime = 3.5;
  591. timeToLive = 20;
  592. indirectHit = 20;
  593. indirectHitRange = 2;
  594. };
  595. class macro_new_ammo(RPS_AA) : M_Titan_AA
  596. {
  597. hit = 800;
  598. indirectHit = 400;
  599. indirectHitRange = 1;
  600. };
  601. class macro_new_ammo(E5c_Aqua): DH17_Blaster_Ammo
  602. {
  603. airFriction = 0;
  604. waterFriction = 0;
  605. effectFly = "AmmoUnderwater";
  606. };
  607. class macro_new_ammo(E5_Aqua): DH17_Blaster_Ammo
  608. {
  609. airFriction = 0;
  610. waterFriction = 0;
  611. effectFly = "AmmoUnderwater";
  612. };
  613. class SWOP_bactagammo:GrenadeHand
  614. {
  615. soundFly[] = {"\thermalD\diox1.ogg", 1, 1, 60};
  616. class NVGMarkers
  617. {
  618. class Blinking1
  619. {
  620. name = "blinkpos1";
  621. color[] = {0.01, 0.01, 0.01, 1};
  622. ambient[] = {0.005, 0.005, 0.005, 1};
  623. blinking = 1;
  624. brightness = 0.002;
  625. onlyInNvg = 1;
  626. };
  627. class Blinking2
  628. {
  629. color[] = {0.9, 0.1, 0.1};
  630. ambient[] = {0.1, 0.1, 0.1};
  631. name = "blinkpos2";
  632. blinking = 1;
  633. blinkingStartsOn = 1;
  634. blinkingPattern[] = {0.1, 0.9};
  635. blinkingPatternGuarantee = 1;
  636. drawLightSize = 0.35;
  637. drawLightCenterSize = 0.05;
  638. brightness = 0.002;
  639. dayLight = 1;
  640. onlyInNvg = 0;
  641. intensity = 75;
  642. drawLight = 1;
  643. activeLight = 0;
  644. useFlare = 0;
  645. };
  646. };
  647. };
  648. //212th stuff
  649. class SCI_PLX1_R : M_Titan_AT
  650. {
  651. hit = 95;
  652. indirectHit = 20;
  653. indirectHitRange = 2;
  654. };
  655. class SCI_RPS6_HEAA_R : R_PG32V_F
  656. {
  657. hit = 800;
  658. indirectHit = 400;
  659. indirectHitRange = 1;
  660. };
  661. class SCI_RPS6_HEDP_R : R_TBG32V_F
  662. {
  663. hit = 50;
  664. indirectHit = 60;
  665. indirectHitRange = 8;
  666. };
  667. class macro_new_ammo(dc15_LE): SWOP_DC15ABlasterRifle_Full_Ammo
  668. {
  669. //hit = 15;
  670. hit = 33;
  671. waterFriction = -0.001;//
  672. indirectHit = 0.5;
  673. indirectHitRange = 0.4;
  674. //explosive = 0.45;
  675. explosive = 0.4;
  676. caliber = 5;//10
  677. cartridge = "";
  678. cost = 1;
  679. model = "\SWOP_Main\Effects\Tracer\laserblue";
  680. tracerScale = 1.5;
  681. tracerStartTime = 0;
  682. tracerEndTime = 2;
  683. //timeToLive = 2;
  684. timeToLive = 4;
  685. nvgOnly = 0;
  686. typicalSpeed = 70;
  687. visibleFire = 3;
  688. audibleFire = 5;
  689. visibleFireTime = 4;
  690. dangerRadiusBulletClose = 16;
  691. dangerRadiusHit = 40;
  692. suppressionRadiusBulletClose = 10;
  693. suppressionRadiusHit = 14;
  694. };
  695. class SWOP_DC15SA_Ammo;
  696. class macro_new_ammo(DC15_Razor_Blade):SWOP_DC15SA_Ammo
  697. {
  698. hit = 50;
  699. indirectHit = 0.0;
  700. indirectHitRange = 0.0;
  701. explosive = 0;
  702. caliber = 5;
  703. CraterEffects = "ExploAmmoLaserCrater";
  704. };
  705. class B_127x108_APDS;
  706. class SW_iondisruptor_BlasterRifle_Ammo: B_127x108_APDS
  707. {
  708. timeToLive = 2;
  709. };
  710. class SmokeShell;
  711. class smoke_meme: SmokeShell
  712. {
  713. model = "\A3\Weapons_f\ammo\smokegrenade_blue_throw";
  714. smokeColor[] = {0.1183, 0.1867, 1, 1};
  715. effectsSmoke = "smoke_yeet";
  716. };
  717. //LOOK HERE $$$
  718. class macro_new_ammo(z1000) : 3AS_Chaingun_Ammo
  719. {
  720. hit=57.45;
  721. caliber=3.5999999;
  722. typicalSpeed=860;
  723. model="\A3\Weapons_f\Data\bullettracer\tracer_green";
  724. };
  725. };
  726. class smoke_yeet
  727. {
  728. class SmokeShell
  729. {
  730. simulation = "particles";
  731. type = "SMOKEEFFECT_MEME";
  732. position[] = {0, 0, 0};
  733. intensity = 1;
  734. interval = 1;
  735. };
  736. class SmokeShell2
  737. {
  738. simulation = "particles";
  739. type = "SmokeShellWhite2";
  740. position[] = {0, 0, 0};
  741. intensity = 1;
  742. interval = 1;
  743. };
  744. class SmokeShellUW
  745. {
  746. simulation = "particles";
  747. type = "SmokeShellWhiteUW";
  748. position[] = {0, 0, 0};
  749. intensity = 1;
  750. interval = 1;
  751. };
  752. class SmokeShell2UW
  753. {
  754. simulation = "particles";
  755. type = "SmokeShellWhite2UW";
  756. position[] = {0, 0, 0};
  757. intensity = 1;
  758. interval = 1;
  759. };
  760. };
  761. class CfgCloudlets
  762. {
  763. class Default;
  764. class SMOKEEFFECT_MEME: Default
  765. {
  766. animationSpeedCoef = 1;
  767. colorCoef[] = {"colorR", "colorG", "colorB", "colorA"};
  768. sizeCoef = 1;
  769. position[] = {0, 0, 0};
  770. interval = 0.03;
  771. circleRadius = 0;
  772. circleVelocity[] = {0, 0, 0};
  773. particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
  774. particleFSNtieth = 16;
  775. particleFSIndex = 7;
  776. particleFSFrameCount = 48;
  777. particleFSLoop = 1;
  778. angleVar = 0.1;
  779. animationName = "";
  780. particleType = "Billboard";
  781. timerPeriod = 1;
  782. lifeTime = 20;
  783. moveVelocity[] = {0.0, 0.0, 0.0};//{0.2, 0.1, 0.1};
  784. rotationVelocity = 1;
  785. weight = 1.2777;
  786. volume = 1;
  787. rubbing = 0.05;
  788. size[] = {6, 16};//{0.1, 2, 6};
  789. color[] = {{0.6, 0.6, 0.6, 0.2}, {0.6, 0.6, 0.6, 0.05}, {0.6, 0.6, 0.6, 0}};
  790. animationSpeed[] = {1.5, 0.5};
  791. randomDirectionPeriod = 1;
  792. randomDirectionIntensity = 0.04;
  793. onTimerScript = "";
  794. beforeDestroyScript = "";
  795. destroyOnWaterSurface = 1;
  796. destroyOnWaterSurfaceOffset = -0.6;
  797. lifeTimeVar = 2;
  798. positionVar[] = {0, 0, 0};
  799. MoveVelocityVar[] = {0.25, 0.25, 0.25};
  800. rotationVelocityVar = 20;
  801. sizeVar = 0.5;
  802. colorVar[] = {0, 0, 0, 0.35};
  803. randomDirectionPeriodVar = 0;
  804. randomDirectionIntensityVar = 0;
  805. };
  806. };
  807. class CfgRecoils
  808. {
  809. class recoil_default;
  810. class Default;
  811. class macro_new_recoil(westar_pistol): recoil_default
  812. {
  813. muzzleOuter[] = {"0.05", ".5", "0.1", "0.2"};
  814. kickBack[] = {"0.04", "0.08"};
  815. temporary = "0.06";
  816. };
  817. class macro_new_recoil(dc15_rb): Default
  818. {
  819. muzzleOuter[] = {"0.3*0.2", "6", "0.3*1", ".6"};
  820. muzzleInner[] = {0, 0, 0.1, 0.1};
  821. kickBack[] = {"0.03*2", "0.06*2.5"};
  822. permanent = "0.1*1.8";
  823. temporary = "0.01*1.2";
  824. };
  825. class Valken_Super_auto_recoil: Default
  826. {
  827. muzzleOuter[] = {".08*0.25", ".08*0.25", "0.3*0.25", ".1*0.25"};
  828. muzzleInner[] = {0, 0, 0.1, 0.1};
  829. kickBack[] = {"0.03*0.25", "0.03*0.25"};
  830. permanent = "0.1*0.25";
  831. temporary = "0.01*0.25";
  832. };
  833. class macro_new_recoil(chaingun): Default
  834. {
  835. muzzleOuter[] = {"0.03", "0.4", "0.03", ".06"};
  836. muzzleInner[] = {0, 0, 0.01, 0.01};
  837. kickBack[] = {"0.02", "0.03"};
  838. permanent = "0.013";
  839. temporary = "0.013";
  840. prone = 0.0; //coefficient of recoil forces while in prone (this is further multiplied by weapon resting coefficients)
  841. };
  842. };