config.cpp 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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(40mwemp) : 3AS_EC70_BluePlasma
  112. {
  113. hit=0.01;
  114. airLock=1;
  115. typicalSpeed=1100;
  116. caliber=1;
  117. airFriction=0;
  118. explosive = 0;
  119. JLTS_isEMPAmmo=1;
  120. };
  121. class macro_new_ammo(50mw) : 3AS_EC80_BluePlasma
  122. {
  123. hit=300;
  124. thrust=210;
  125. explosive=0.4;
  126. thrustTime=1.5;
  127. airLock=1;
  128. typicalSpeed=1100;
  129. caliber=5;
  130. airFriction=0;
  131. };
  132. class macro_new_ammo(UGL_AP): G_40mm_HE
  133. {
  134. hit = 350;
  135. indirectHit = 0;
  136. indirectHitRange = .1;
  137. timeToLive =30;
  138. model = "\GeonFighter\LaserGeon.p3d";
  139. fuseDistance = 3;
  140. explosive = 0.0001;
  141. deflecting = 5;
  142. caliber = 5;
  143. ace_frag_enabled = 0;
  144. ace_frag_force = 0;
  145. ace_frag_classes[] = {""};
  146. ace_frag_metal = 0;
  147. ace_frag_charge = 0;
  148. ace_frag_gurney_c = 0;
  149. ace_frag_gurney_k = "0";
  150. ace_rearm_caliber = 0;
  151. };
  152. class macro_new_ammo(UGL_HE) :G_40mm_HE
  153. {
  154. hit = 60;
  155. indirectHit = 50;
  156. indirectHitRange = 5;
  157. timeToLive =30;
  158. model = "SW_AV7\ion.p3d";
  159. fuseDistance = 3;
  160. };
  161. class RD501_grenade_emp_ammo: G_40mm_HE
  162. {
  163. JLTS_isEMPAmmo=1;
  164. hit = 0.1;
  165. indirectHit = 0.01;
  166. indirectHitRange = 12;
  167. timeToLive =30;
  168. model = "\thermalD\EMP_Grenade_ammo.p3d";
  169. fuseDistance = 1
  170. explosive = 0.0001;
  171. deflecting = 5;
  172. caliber = 5;
  173. ace_frag_enabled = 0;
  174. ace_frag_force = 0;
  175. ace_frag_classes[] = {""};
  176. ace_frag_metal = 0;
  177. ace_frag_charge = 0;
  178. ace_frag_gurney_c = 0;
  179. ace_frag_gurney_k = "0";
  180. ace_rearm_caliber = 0;
  181. explosionEffects="JLTS_fx_exp_EMP";
  182. grenadeBurningSound[]=
  183. {
  184. "EMPSoundLoop1",
  185. 0.5
  186. };
  187. EMPSoundLoop1[]=
  188. {
  189. "MRC\JLTS\weapons\Grenades\sounds\grenade_burning.wss",
  190. 0.125893,
  191. 1,
  192. 70
  193. };
  194. SoundSetExplosion[]=
  195. {
  196. "JLTS_GrenadeEMP_Exp_SoundSet",
  197. "JLTS_GrenadeEMP_Tail_SoundSet",
  198. "Explosion_Debris_SoundSet"
  199. };
  200. aiAmmoUsageFlags=0;
  201. class CamShakeExplode
  202. {
  203. distance=10;
  204. duration=1;
  205. frequency=20;
  206. power=0;
  207. };
  208. };
  209. };