config.cpp 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. #include "../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(ammo)
  5. {
  6. author=RD501;
  7. addonRootClass= macro_patch_name(weapons)
  8. requiredAddons[]=
  9. {
  10. macro_patch_name(weapons)
  11. };
  12. requiredVersion=0.1;
  13. units[]={};
  14. weapons[]={};
  15. };
  16. };
  17. class CfgAmmo
  18. {
  19. class 3AS_EC20_BluePlasma;
  20. class 3AS_EC30_BluePlasma;
  21. class 3AS_EC40_BluePlasma;
  22. class 3AS_EC50_BluePlasma;
  23. class 3AS_EC60_BluePlasma;
  24. class 3AS_EC70_BluePlasma;
  25. class 3AS_EC80_BluePlasma;
  26. class JLTS_bullet_carbine_red;
  27. class G_40mm_HE;
  28. class SWOP_BCCKtermimploder;
  29. class SWOP_termDet;
  30. class macro_new_ammo(2mw):3AS_EC20_BluePlasma
  31. {
  32. hit=4;
  33. airLock=1;
  34. typicalSpeed=400;
  35. caliber=1.2;
  36. airFriction=0;
  37. };
  38. class macro_new_ammo(5mw) : 3AS_EC30_BluePlasma
  39. {
  40. hit=6;
  41. airLock=1;
  42. typicalSpeed=400;
  43. caliber=1.4;
  44. airFriction=0;
  45. };
  46. class macro_new_ammo(10mw) : 3AS_EC40_BluePlasma
  47. {
  48. hit=9;
  49. airLock=1;
  50. typicalSpeed=550;
  51. caliber=1;
  52. airFriction=0;
  53. explosive = 0;
  54. };
  55. class macro_new_ammo(10mws) : 3AS_EC40_BluePlasma
  56. {
  57. hit=9;
  58. airLock=1;
  59. typicalSpeed=550;
  60. caliber=1;
  61. visibleFire=1;
  62. audibleFire=5;
  63. visibleFireTime=3;
  64. airFriction=0;
  65. explosive = 0;
  66. };
  67. class macro_new_ammo(20mw) : 3AS_EC50_BluePlasma
  68. {
  69. hit=12;
  70. airLock=1;
  71. typicalSpeed=700;
  72. caliber=2.8;
  73. airFriction=0;
  74. explosive = 0.4;
  75. };
  76. class macro_new_ammo(20mw_d) : JLTS_bullet_carbine_red
  77. {
  78. hit=12;
  79. airLock=1;
  80. typicalSpeed=700;
  81. caliber=2.8;
  82. airFriction=0;
  83. };
  84. class macro_new_ammo(20mwup) : 3AS_EC50_BluePlasma
  85. {
  86. hit=10;
  87. airLock=1;
  88. typicalSpeed=500;
  89. indirectHit = 3;
  90. indirectHitRange = 0.5;
  91. explosive = 0.4;
  92. caliber=0.6;
  93. airFriction=0;
  94. };
  95. class macro_new_ammo(20mwdp) : 3AS_EC50_BluePlasma
  96. {
  97. hit=17;
  98. airLock=1;
  99. typicalSpeed=800;
  100. caliber=2.8;
  101. airFriction=0;
  102. explosive = 0.2;
  103. };
  104. class macro_new_ammo(30mw) : 3AS_EC60_BluePlasma
  105. {
  106. hit=35;
  107. airLock=1;
  108. typicalSpeed=1000;
  109. caliber=2.4;
  110. airFriction=0;
  111. explosive = 0.4;
  112. };
  113. class macro_new_ammo(30mw_d) : JLTS_bullet_carbine_red
  114. {
  115. hit=35;
  116. airLock=1;
  117. typicalSpeed=1000;
  118. caliber=2.4;
  119. airFriction=0;
  120. };
  121. class macro_new_ammo(40mw) : 3AS_EC70_BluePlasma
  122. {
  123. hit=60;
  124. airLock=1;
  125. typicalSpeed=1100;
  126. caliber=3.6;
  127. airFriction=0;
  128. explosive = 0.4;
  129. };
  130. class macro_new_ammo(40mwemp) : 3AS_EC70_BluePlasma
  131. {
  132. hit=0.01;
  133. airLock=1;
  134. typicalSpeed=1100;
  135. caliber=1;
  136. airFriction=0;
  137. explosive = 0;
  138. JLTS_isEMPAmmo=1;
  139. };
  140. class macro_new_ammo(50mw) : 3AS_EC80_BluePlasma
  141. {
  142. hit=300;
  143. thrust=210;
  144. explosive=0.4;
  145. thrustTime=1.5;
  146. airLock=1;
  147. typicalSpeed=1100;
  148. caliber=5;
  149. airFriction=0;
  150. };
  151. class macro_new_ammo(UGL_AP): G_40mm_HE
  152. {
  153. hit = 350;
  154. indirectHit = 0;
  155. indirectHitRange = .1;
  156. timeToLive =30;
  157. model = "\GeonFighter\LaserGeon.p3d";
  158. fuseDistance = 3;
  159. explosive = 0.0001;
  160. deflecting = 5;
  161. caliber = 5;
  162. ace_frag_enabled = 0;
  163. ace_frag_force = 0;
  164. ace_frag_classes[] = {""};
  165. ace_frag_metal = 0;
  166. ace_frag_charge = 0;
  167. ace_frag_gurney_c = 0;
  168. ace_frag_gurney_k = "0";
  169. ace_rearm_caliber = 0;
  170. };
  171. class macro_new_ammo(UGL_HE) :G_40mm_HE
  172. {
  173. hit = 60;
  174. indirectHit = 50;
  175. indirectHitRange = 5;
  176. timeToLive =30;
  177. model = "SW_AV7\ion.p3d";
  178. fuseDistance = 3;
  179. };
  180. class RD501_grenade_emp_ammo: G_40mm_HE
  181. {
  182. JLTS_isEMPAmmo=1;
  183. hit = 0.1;
  184. indirectHit = 0.01;
  185. indirectHitRange = 12;
  186. timeToLive =30;
  187. model = "\thermalD\EMP_Grenade_ammo.p3d";
  188. fuseDistance = 1
  189. explosive = 0.0001;
  190. deflecting = 5;
  191. caliber = 5;
  192. ace_frag_enabled = 0;
  193. ace_frag_force = 0;
  194. ace_frag_classes[] = {""};
  195. ace_frag_metal = 0;
  196. ace_frag_charge = 0;
  197. ace_frag_gurney_c = 0;
  198. ace_frag_gurney_k = "0";
  199. ace_rearm_caliber = 0;
  200. explosionEffects="JLTS_fx_exp_EMP";
  201. grenadeBurningSound[]=
  202. {
  203. "EMPSoundLoop1",
  204. 0.5
  205. };
  206. EMPSoundLoop1[]=
  207. {
  208. "MRC\JLTS\weapons\Grenades\sounds\grenade_burning.wss",
  209. 0.125893,
  210. 1,
  211. 70
  212. };
  213. SoundSetExplosion[]=
  214. {
  215. "JLTS_GrenadeEMP_Exp_SoundSet",
  216. "JLTS_GrenadeEMP_Tail_SoundSet",
  217. "Explosion_Debris_SoundSet"
  218. };
  219. aiAmmoUsageFlags=0;
  220. class CamShakeExplode
  221. {
  222. distance=10;
  223. duration=1;
  224. frequency=20;
  225. power=0;
  226. };
  227. };
  228. class macro_new_ammo(imploder) : SWOP_BCCKtermimploder
  229. {
  230. hit=50;
  231. indirectHit=45;
  232. indirectHitRange=2;
  233. }
  234. class macro_new_ammo(thermaldet) : SWOP_termDet
  235. {
  236. hit=18;
  237. indirectHit=14;
  238. indirectHitRange=8;
  239. }
  240. };