config.cpp 3.6 KB

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