config.cpp 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948
  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 LR AP DC-15A Grenades";
  153. displayNameShort = "2 Rnd LR 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 LR 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 LR HE DC-15A Grenades";
  166. displayNameShort = "3 RndLR HE DC-15A";
  167. count=3;
  168. ammo = macro_new_ammo(GL_HE)
  169. descriptionShort = "3Rnd LR 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 Titan_AT;
  277. class macro_new_mag(RPS_AT,1): Titan_AT
  278. {
  279. scope = 2;
  280. displayName = "RPS AT Rocket";
  281. ammo = macro_new_ammo(RPS_AT);
  282. type = "2 * 256";
  283. count = 1;
  284. initSpeed = 60;
  285. maxLeadSpeed = 60;
  286. mass = 70;
  287. };
  288. class macro_new_mag(RPS_AA,1): Titan_AA
  289. {
  290. author = "Bohemia Interactive";
  291. scope = 2;
  292. displayName = "RPS AA Rocket";
  293. displayNameShort = "AA";
  294. ammo = macro_new_ammo(RPS_AA);
  295. type = "6 * 256";
  296. picture = "\A3\Weapons_F_beta\Launchers\titan\Data\UI\gear_titan_missile_atl_CA.paa";
  297. model = "\A3\Weapons_F_beta\Launchers\titan\titan_missile_atl";
  298. initSpeed = 18;
  299. maxLeadSpeed = 277.778;
  300. descriptionShort = "Type: Anti-Air<br />Rounds: 1<br />Used in: Titan MPRL";
  301. mass = 100;
  302. };
  303. class SWOP_b2rocket_Mag: CA_Magazine
  304. {
  305. scope = 2;
  306. displayName = "5Rnd B2 Wrist Rockets";
  307. model = "\SW_ExtraWeapons\PICKUPS\bolts.p3d";
  308. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\bolts_X_ca.paa";
  309. ammo = "R_WristRocket_F";
  310. tracersEvery = 1;
  311. type = 16;
  312. count = 5;
  313. descriptionShort = "5Rnd Wrist Rockets";
  314. mass = 3;
  315. initSpeed = 100;
  316. soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_2", 0.501187, 1.3, 400};
  317. nameSound = "missiles";
  318. };
  319. class SWOP_E5C_Mag;
  320. class SWOP_E5_Mag;
  321. class macro_new_mag(E5c_aqua,90): SWOP_E5C_Mag
  322. {
  323. author = "RD501";
  324. scope = 2;
  325. displayName = "90Rnd E5C-Aqua Magazine";
  326. ammo = macro_new_ammo(E5c_Aqua);
  327. tracersEvery = 1;
  328. count = 90;
  329. descriptionShort = "90Rnd E5-Aqua Magazine";
  330. };
  331. class macro_new_mag(E5_aqua,60): SWOP_E5_Mag
  332. {
  333. author = "RD501";
  334. scope = 2;
  335. displayName = "60Rnd E5-Aqua Magazine";
  336. ammo = macro_new_ammo(E5_Aqua);
  337. tracersEvery = 1;
  338. count = 60;
  339. descriptionShort = "60Rnd E5-A Magazine";
  340. };
  341. class SW_iondisruptor_BlasterRifle_Mag;
  342. class macro_new_mag(RAMER,6):SW_iondisruptor_BlasterRifle_Mag
  343. {
  344. scope = 2;
  345. model = "\SW_ExtraWeapons\PICKUPS\power_cell.p3d";
  346. displayName = "6Rnd ION Magazine";
  347. picture = "\SWOP_Main\SWOP_Rifles\SWOP_Blaster\data\ui\E11_Mag.paa";
  348. ammo = "SW_iondisruptor_BlasterRifle_Ammo";
  349. tracersEvery = 1;
  350. count = 6;
  351. descriptionShort = "6Rnd ION Magazine";
  352. mass = 50;
  353. initSpeed = 310;
  354. author = "RD501";
  355. };
  356. class macro_new_mag(DC15a_LE,15): CA_Magazine
  357. {
  358. author = "RD501";
  359. scope = 2;
  360. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  361. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  362. displayName = "15Rnd DC-15 LE Mag";
  363. ammo = macro_new_ammo(dc15_LE);
  364. tracersEvery = 1;
  365. //count = 10;
  366. count = 15;
  367. descriptionShort = "15Rnd DC-15 LE Mag";
  368. mass = 20;
  369. initSpeed = 1200;
  370. };
  371. class SWOP_DC15SAPistol_Mag;
  372. class macro_new_mag(DC15_razor_blade,9): SWOP_DC15SAPistol_Mag
  373. {
  374. scope = 2;
  375. model = "\SW_ExtraWeapons\PICKUPS\energy_cell.p3d";
  376. picture = "\SW_ExtraWeapons\PICKUPS\UI\icons\energycell_X_ca.paa";
  377. displayName = "9Rnd DC15-SA Magazine";
  378. ammo =macro_new_ammo(DC15_Razor_Blade);
  379. tracersEvery = 1;
  380. type = 16;
  381. count = 9;
  382. descriptionShort = "9Rnd DC15SA Magazine";
  383. mass =4;
  384. initSpeed = 310;
  385. };
  386. class SmokeShell;
  387. class smoke_meme_mag: SmokeShell
  388. {
  389. author = "Bohemia Interactive";
  390. displayNameShort = "Yeet Smoke";
  391. ammo = "smoke_meme";
  392. picture = "\A3\Weapons_f\data\ui\gear_smokegrenade_blue_ca.paa";
  393. model = "\A3\Weapons_f\ammo\smokegrenade_blue";
  394. descriptionShort = "Type: Smoke Grenade - Blue<br />Rounds: 1<br />Used in: Hand";
  395. displayName = "[]M18 Smoke Grenade (Yeet)";
  396. };
  397. class macro_new_mag(DC15_underwater,40): 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 = "40Rnd Republic Aqua Rounds";
  404. ammo = macro_new_ammo(dc15_underwater);
  405. tracersEvery = 1;
  406. type = 16;
  407. count = 40;
  408. descriptionShort = "40Rnd Republic Aqua Rounds";
  409. //mass = 15;
  410. mass = 20;
  411. initSpeed = 310;
  412. };
  413. class 3AS_Chaingun_Drum_Mag;
  414. class macro_new_mag(z1000,3000) : 3AS_Chaingun_Drum_Mag
  415. {
  416. count = 3000;
  417. tracersEvery=1;
  418. ammo = macro_new_ammo(z1000)
  419. displayName="3000Rnd Z1000 Chaingun Drum";
  420. initSpeed=860;
  421. weight=1;
  422. scope=1;
  423. };
  424. };
  425. class CfgAmmo
  426. {
  427. class GrenadeHand;
  428. class SWOP_DC17_Ammo;
  429. class M_Titan_AT;
  430. class R_PG32V_F;
  431. class R_TBG32V_F;
  432. class LaserAmmo_Minigun;
  433. class FlareBase;
  434. class G_40mm_HE;
  435. class SWOP_dc15xBlasterRifle_Ammo;
  436. class SWOP_DC15ABlasterRifle_Ammo;
  437. class SWOP_DC15ABlasterRifle_Full_Ammo;
  438. class SWOP_DC15ABlasterRifle_L_Ammo;
  439. class SWOP_DC15_Ammo;
  440. class ATMine_Range_Ammo;
  441. class PipeBombBase;
  442. class A_RocketHH15Clone_HEAT_FireForget;
  443. class M_Titan_AA;
  444. class DH17_Blaster_Ammo;
  445. class 3AS_Chaingun_Ammo;
  446. class M_Titan_AT;
  447. class macro_new_ammo(westar_35):SWOP_DC17_Ammo
  448. {
  449. hit = pistol_hit_high;
  450. indirectHit = 0.0;
  451. indirectHitRange = 0.0;
  452. explosive = 0.0;
  453. caliber = pistol_cali_high;
  454. };
  455. class macro_new_ammo(dc_17): SWOP_DC17_Ammo
  456. {
  457. hit = 10;
  458. waterFriction = -0.001;//
  459. indirectHit = 0.2;
  460. indirectHitRange = 0.2;
  461. explosive = 0.05;
  462. caliber = 2.8;//7
  463. };
  464. class macro_new_ammo(z6):LaserAmmo_Minigun
  465. {
  466. hit = mg_hit_high;
  467. indirectHit = 0.0;
  468. indirectHitRange = 0.0;
  469. explosive = 0.0;
  470. caliber = mg_cali_high;
  471. ACE_caliber = 0;
  472. };
  473. #include "_ammo/40mm_flare.hpp"
  474. class macro_new_ammo(GL_AT): G_40mm_HE
  475. {
  476. hit = 350;
  477. indirectHit = 0;
  478. indirectHitRange = .1;
  479. timeToLive =30;
  480. model = "\GeonFighter\LaserGeon.p3d";
  481. fuseDistance = 3;
  482. explosive = 0.0001;
  483. deflecting = 5;
  484. caliber = 5;
  485. ace_frag_enabled = 0;
  486. ace_frag_force = 0;
  487. ace_frag_classes[] = {""};
  488. ace_frag_metal = 0;
  489. ace_frag_charge = 0;
  490. ace_frag_gurney_c = 0;
  491. ace_frag_gurney_k = "0";
  492. ace_rearm_caliber = 0;
  493. };
  494. class macro_new_ammo(GL_HE): G_40mm_HE
  495. {
  496. hit = 60;
  497. indirectHit = 50;
  498. indirectHitRange = 5;
  499. timeToLive =30;
  500. model = "SW_AV7\ion.p3d";
  501. fuseDistance = 3;
  502. };
  503. class macro_new_ammo(DC15x): SWOP_dc15xBlasterRifle_Ammo
  504. {
  505. hit = 55;//35
  506. indirectHit = 0;
  507. indirectHitRange = 0;
  508. explosive = 0.0;
  509. caliber = 6;//15
  510. waterFriction = -0.001;//
  511. timeToLive = 5;
  512. };
  513. class macro_new_ammo(dc15s_carbine):SWOP_DC15_Ammo
  514. {
  515. waterFriction = -0.001;//
  516. hit = 7;
  517. indirectHit = 0.1;
  518. indirectHitRange = 0.2;
  519. explosive = 0.1;//.4
  520. caliber = 2;//5
  521. timeToLive = 4;
  522. };
  523. class macro_new_ammo(dc15_underwater):macro_new_ammo(dc15s_carbine)
  524. {
  525. waterFriction = -0.001;//
  526. hit = 7;
  527. indirectHit = 0.1;
  528. indirectHitRange = 0.2;
  529. explosive = 0.1;//.4
  530. caliber = 2;//5
  531. timeToLive = 4;
  532. effectFly = "AmmoUnderwater";
  533. nvgOnly = 1;
  534. aiAmmoUsageFlags = "64 + 32";
  535. };
  536. class macro_new_ammo(dc15a_med):SWOP_DC15ABlasterRifle_Ammo
  537. {
  538. hit = 8;
  539. waterFriction = -0.001;
  540. indirectHit = 0.1;
  541. indirectHitRange = 0.2;
  542. explosive = 0.4;
  543. caliber = 3;//7
  544. timeToLive = 4;
  545. };
  546. class macro_new_ammo(dc15a_high):SWOP_DC15ABlasterRifle_Full_Ammo
  547. {
  548. hit = 20;
  549. waterFriction = -0.001;
  550. indirectHit = 0.5;
  551. indirectHitRange = 0.4;
  552. explosive = 0.2;
  553. caliber = 4;//10
  554. timeToLive = 4;
  555. };
  556. class macro_new_ammo(dc15a_low):SWOP_DC15ABlasterRifle_L_Ammo
  557. {
  558. hit = 6;
  559. waterFriction = -0.001;//
  560. indirectHit = 0.1;
  561. indirectHitRange = 0.2;
  562. explosive = 0.4;
  563. caliber = 2;//5
  564. timeToLive = 4;
  565. };
  566. class UNSC_Mine_Ammo: ATMine_Range_Ammo
  567. {
  568. hit = 2500;
  569. indirectHit = 2500;
  570. indirectHitRange = 20;
  571. };
  572. class TermMineA: PipeBombBase
  573. {
  574. hit = 400;
  575. indirectHit = 400;
  576. indirectHitRange = 25;
  577. };
  578. class TermMineC: PipeBombBase
  579. {
  580. hit = 2500;
  581. indirectHit = 2500;
  582. indirectHitRange = 15;
  583. };
  584. class macro_new_ammo(RPS_AT):M_Titan_AT
  585. {
  586. aiAmmoUsageFlags = "128 + 256 +512";
  587. hit = 95;
  588. thrust = 130;//130;
  589. thrustTime = 3.5;
  590. timeToLive = 20;
  591. indirectHit = 20;
  592. indirectHitRange = 2;
  593. };
  594. class macro_new_ammo(RPS_AA) : M_Titan_AA
  595. {
  596. hit = 800;
  597. indirectHit = 400;
  598. indirectHitRange = 1;
  599. };
  600. class macro_new_ammo(E5c_Aqua): DH17_Blaster_Ammo
  601. {
  602. airFriction = 0;
  603. waterFriction = 0;
  604. effectFly = "AmmoUnderwater";
  605. };
  606. class macro_new_ammo(E5_Aqua): DH17_Blaster_Ammo
  607. {
  608. airFriction = 0;
  609. waterFriction = 0;
  610. effectFly = "AmmoUnderwater";
  611. };
  612. class SWOP_bactagammo:GrenadeHand
  613. {
  614. soundFly[] = {"\thermalD\diox1.ogg", 1, 1, 60};
  615. class NVGMarkers
  616. {
  617. class Blinking1
  618. {
  619. name = "blinkpos1";
  620. color[] = {0.01, 0.01, 0.01, 1};
  621. ambient[] = {0.005, 0.005, 0.005, 1};
  622. blinking = 1;
  623. brightness = 0.002;
  624. onlyInNvg = 1;
  625. };
  626. class Blinking2
  627. {
  628. color[] = {0.9, 0.1, 0.1};
  629. ambient[] = {0.1, 0.1, 0.1};
  630. name = "blinkpos2";
  631. blinking = 1;
  632. blinkingStartsOn = 1;
  633. blinkingPattern[] = {0.1, 0.9};
  634. blinkingPatternGuarantee = 1;
  635. drawLightSize = 0.35;
  636. drawLightCenterSize = 0.05;
  637. brightness = 0.002;
  638. dayLight = 1;
  639. onlyInNvg = 0;
  640. intensity = 75;
  641. drawLight = 1;
  642. activeLight = 0;
  643. useFlare = 0;
  644. };
  645. };
  646. };
  647. //212th stuff
  648. class SCI_PLX1_R : M_Titan_AT
  649. {
  650. hit = 95;
  651. indirectHit = 20;
  652. indirectHitRange = 2;
  653. };
  654. class SCI_RPS6_HEAA_R : R_PG32V_F
  655. {
  656. hit = 800;
  657. indirectHit = 400;
  658. indirectHitRange = 1;
  659. };
  660. class SCI_RPS6_HEDP_R : R_TBG32V_F
  661. {
  662. hit = 50;
  663. indirectHit = 60;
  664. indirectHitRange = 8;
  665. };
  666. class macro_new_ammo(dc15_LE): SWOP_DC15ABlasterRifle_Full_Ammo
  667. {
  668. //hit = 15;
  669. hit = 33;
  670. waterFriction = -0.001;//
  671. indirectHit = 0.5;
  672. indirectHitRange = 0.4;
  673. //explosive = 0.45;
  674. explosive = 0.4;
  675. caliber = 5;//10
  676. cartridge = "";
  677. cost = 1;
  678. model = "\SWOP_Main\Effects\Tracer\laserblue";
  679. tracerScale = 1.5;
  680. tracerStartTime = 0;
  681. tracerEndTime = 2;
  682. //timeToLive = 2;
  683. timeToLive = 4;
  684. nvgOnly = 0;
  685. typicalSpeed = 70;
  686. visibleFire = 3;
  687. audibleFire = 5;
  688. visibleFireTime = 4;
  689. dangerRadiusBulletClose = 16;
  690. dangerRadiusHit = 40;
  691. suppressionRadiusBulletClose = 10;
  692. suppressionRadiusHit = 14;
  693. };
  694. class SWOP_DC15SA_Ammo;
  695. class macro_new_ammo(DC15_Razor_Blade):SWOP_DC15SA_Ammo
  696. {
  697. hit = 50;
  698. indirectHit = 0.0;
  699. indirectHitRange = 0.0;
  700. explosive = 0;
  701. caliber = 5;
  702. CraterEffects = "ExploAmmoLaserCrater";
  703. };
  704. class B_127x108_APDS;
  705. class SW_iondisruptor_BlasterRifle_Ammo: B_127x108_APDS
  706. {
  707. timeToLive = 2;
  708. };
  709. class SmokeShell;
  710. class smoke_meme: SmokeShell
  711. {
  712. model = "\A3\Weapons_f\ammo\smokegrenade_blue_throw";
  713. smokeColor[] = {0.1183, 0.1867, 1, 1};
  714. effectsSmoke = "smoke_yeet";
  715. };
  716. //LOOK HERE $$$
  717. class macro_new_ammo(z1000) : 3AS_Chaingun_Ammo
  718. {
  719. hit=57.45;
  720. caliber=3.5999999;
  721. ACE_caliber=1;
  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. };