config.cpp 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  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(30mw) : 3AS_EC60_BluePlasma
  56. {
  57. hit=19;
  58. airLock=1;
  59. typicalSpeed=800;
  60. caliber=2.2;
  61. };
  62. class macro_new_ammo(40mw) : 3AS_EC70_BluePlasma
  63. {
  64. hit=35;
  65. airLock=1;
  66. typicalSpeed=1100;
  67. caliber=2.8;
  68. };
  69. class macro_new_ammo(50mw) : 3AS_EC80_BluePlasma
  70. {
  71. hit=60;
  72. airLock=1;
  73. typicalSpeed=1100;
  74. caliber=2.8;
  75. };
  76. class macro_new_ammo(UGL_HE): G_40mm_HE
  77. {
  78. hit = 350;
  79. indirectHit = 0;
  80. indirectHitRange = .1;
  81. timeToLive =30;
  82. model = "\GeonFighter\LaserGeon.p3d";
  83. fuseDistance = 3;
  84. explosive = 0.0001;
  85. deflecting = 5;
  86. caliber = 5;
  87. ace_frag_enabled = 0;
  88. ace_frag_force = 0;
  89. ace_frag_classes[] = {""};
  90. ace_frag_metal = 0;
  91. ace_frag_charge = 0;
  92. ace_frag_gurney_c = 0;
  93. ace_frag_gurney_k = "0";
  94. ace_rearm_caliber = 0;
  95. };
  96. class macro_new_ammo(UGL_AP) :G_40mm_HE
  97. {
  98. hit = 60;
  99. indirectHit = 50;
  100. indirectHitRange = 5;
  101. timeToLive =30;
  102. model = "SW_AV7\ion.p3d";
  103. fuseDistance = 3;
  104. };
  105. class RD501_grenade_emp_ammo: G_40mm_HE
  106. {
  107. JLTS_isEMPAmmo=1;
  108. hit = 0.1;
  109. indirectHit = 0.01;
  110. indirectHitRange = 12;
  111. timeToLive =30;
  112. model = "\thermalD\EMP_Grenade_ammo.p3d";
  113. fuseDistance = 1
  114. explosive = 0.0001;
  115. deflecting = 5;
  116. caliber = 5;
  117. ace_frag_enabled = 0;
  118. ace_frag_force = 0;
  119. ace_frag_classes[] = {""};
  120. ace_frag_metal = 0;
  121. ace_frag_charge = 0;
  122. ace_frag_gurney_c = 0;
  123. ace_frag_gurney_k = "0";
  124. ace_rearm_caliber = 0;
  125. explosionEffects="JLTS_fx_exp_EMP";
  126. grenadeBurningSound[]=
  127. {
  128. "EMPSoundLoop1",
  129. 0.5
  130. };
  131. EMPSoundLoop1[]=
  132. {
  133. "MRC\JLTS\weapons\Grenades\sounds\grenade_burning.wss",
  134. 0.125893,
  135. 1,
  136. 70
  137. };
  138. SoundSetExplosion[]=
  139. {
  140. "JLTS_GrenadeEMP_Exp_SoundSet",
  141. "JLTS_GrenadeEMP_Tail_SoundSet",
  142. "Explosion_Debris_SoundSet"
  143. };
  144. aiAmmoUsageFlags=0;
  145. class CamShakeExplode
  146. {
  147. distance=10;
  148. duration=1;
  149. frequency=20;
  150. power=0;
  151. };
  152. };
  153. };