config.cpp 3.9 KB

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