config.cpp 3.1 KB

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