config.cpp 3.4 KB

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