tank_cannons.hpp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. class macro_new_ammo(saber_tx130): TurboLaser_Laserx2
  2. {
  3. hit = 750;
  4. indirectHit = 100;
  5. indirectHitRange = 3;
  6. explosive = 0.1;
  7. explosionSoundEffect = "DefaultExplosion";
  8. CraterWaterEffects = "ImpactEffectsWaterExplosion";
  9. explosionEffects = "ATRocketExplosion";
  10. CraterEffects = "ExploAmmoLaserCrater";
  11. model = "SW_AV7\ion.p3d";
  12. warheadName = "AP";
  13. effectFly = "SWOP_BlueLaserEffect";
  14. caliber = 7;
  15. //submunitionAmmo = "ammo_Penetrator_120mm";
  16. };
  17. class macro_new_ammo(aat_mbt): TurboLaser_Laserx2//AAT_Laser
  18. {
  19. hit = 450;
  20. indirectHit = 120;
  21. indirectHitRange = 10;
  22. explosive = 0.4;
  23. cost = 30;
  24. caliber = 20;
  25. typicalSpeed = 70;
  26. aiAmmoUsageFlags = "64 + 128 + 256 + 512";
  27. allowAgainstInfantry = 1;
  28. CraterEffects = "ATMissileCrater";
  29. explosionEffects = "IEDMineSmallExplosion";
  30. model = "\SWOP_Main\Effects\Tracer\LaserRed";
  31. tracerScale = 3;
  32. effectFly = "SWOP_RedLaserEffect";
  33. tracerStartTime = 0;
  34. tracerEndTime = 10;
  35. timeToLive=10;
  36. }
  37. class macro_new_ammo(aat_king): TurboLaser_Laserx2//AAT_Laser
  38. {
  39. hit = 575;
  40. indirectHit = 130;
  41. indirectHitRange = 10;
  42. visibleFire = 42;
  43. audibleFire = 42;
  44. explosionSoundEffect = "DefaultExplosion";
  45. explosive = 0.1;
  46. cost = 22;
  47. CraterEffects = "ATMissileCrater";
  48. explosionEffects = "IEDMineSmallExplosion";
  49. model = "\SWOP_Main\Effects\Tracer\LaserRed";
  50. effectFly = "SWOP_RedLaserEffect";
  51. tracerStartTime = 0;
  52. tracerEndTime = 10;
  53. airFriction = 0;
  54. muzzleEffect = "";
  55. caliber = 5;
  56. typicalSpeed = 70;
  57. aiAmmoUsageFlags = "64 + 128 + 256 + 512";
  58. allowAgainstInfantry = 1;
  59. timeToLive=10;
  60. };
  61. class macro_new_ammo(mynock_mbt_ap): macro_new_ammo(aat_king)//AAT_Laser
  62. {
  63. displayname = "Compacted Durasteel AP Shell"
  64. warheadName = "Compacted Durasteel AP Shell"
  65. hit = 1000;
  66. indirectHit = 1000;
  67. indirectHitRange = 0.5;
  68. visibleFire = 42;
  69. audibleFire = 42;
  70. explosionSoundEffect = "DefaultExplosion";
  71. explosive = 0;
  72. cost = 22;
  73. CraterEffects = "ATMissileCrater";
  74. explosionEffects = "IEDMineSmallExplosion";
  75. model = "SW_AV7\ion.p3d";
  76. effectFly = "SWOP_BlueLaserEffect";
  77. tracerStartTime = 0;
  78. tracerEndTime = 10;
  79. airFriction = 0;
  80. muzzleEffect = "";
  81. caliber = 10;
  82. tracerScale = 10;
  83. typicalSpeed = 70;
  84. aiAmmoUsageFlags = "64 + 128 + 256 + 512";
  85. allowAgainstInfantry = 1;
  86. timeToLive=10;
  87. };
  88. class macro_new_ammo(mynock_mbt_he): macro_new_ammo(mynock_mbt_ap)
  89. {
  90. displayname = "Depleted Coaxium HE Shell"
  91. warheadName = "Depleted Coaxium HE Shell"
  92. hit = 650;
  93. indirectHit = 650;
  94. indirectHitRange = 12;
  95. visibleFire = 42;
  96. audibleFire = 42;
  97. explosionSoundEffect = "DefaultExplosion";
  98. explosive = 1;
  99. cost = 22;
  100. CraterEffects = "ATRocketCrater";
  101. ExplosionEffects = "MortarExplosion";
  102. tracerStartTime = 0;
  103. tracerEndTime = 10;
  104. airFriction = 0;
  105. muzzleEffect = "";
  106. tracerScale = 10;
  107. caliber = 10;
  108. typicalSpeed = 70;
  109. aiAmmoUsageFlags = "64 + 128 + 256 + 512";
  110. allowAgainstInfantry = 1;
  111. timeToLive=10;
  112. };
  113. class macro_new_ammo(mynock_mbt_td): macro_new_ammo(aat_king)//AAT_Laser
  114. {
  115. displayname = "Tankbuster Shell"
  116. warheadName = "Tankbuster Shell"
  117. hit = 15000;
  118. indirectHit = 0;
  119. indirectHitRange = 0;
  120. visibleFire = 42;
  121. audibleFire = 42;
  122. explosionSoundEffect = "DefaultExplosion";
  123. explosive = 0;
  124. cost = 22;
  125. CraterEffects = "ATMissileCrater";
  126. explosionEffects = "IEDMineSmallExplosion";
  127. model = "SW_AV7\ion.p3d";
  128. effectFly = "SWOP_BlueLaserEffect";
  129. tracerStartTime = 0;
  130. tracerEndTime = 10;
  131. airFriction = 0;
  132. muzzleEffect = "";
  133. caliber = 1;
  134. tracerScale = 4;
  135. typicalSpeed = 600;
  136. aiAmmoUsageFlags = "64 + 128 + 256 + 512";
  137. allowAgainstInfantry = 1;
  138. timeToLive=20;
  139. };
  140. class macro_new_ammo(atte):ATTE_Laser
  141. {
  142. hit = 1600;
  143. indirectHit = 400;
  144. indirectHitRange = 15;
  145. visibleFire = 42;
  146. audibleFire = 42;
  147. visibleFireTime = 6;
  148. typicalSpeed = 1400;
  149. explosive = 0.4;
  150. cost = 42;
  151. deflecting = 15;
  152. timeToLive = 15;
  153. explosionEffects = "IEDMineSmallExplosion";
  154. model = "SW_AV7\ion.p3d";
  155. tracerScale = 2;
  156. effectFly = "SWOP_BlueLaserEffect";
  157. tracerStartTime = 0;
  158. tracerEndTime = 10;
  159. airFriction = 0;
  160. muzzleEffect = "";
  161. caliber = 8;
  162. CraterEffects = "ExploAmmoLaserCrater";
  163. };