config.cpp 3.3 KB

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