aircraft_laser_gun.hpp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. class macro_new_weapon(generic,aircraft_laser) : Gatling_30mm_Plane_CAS_01_F
  2. {
  3. scope = 2;
  4. displayName = "Aircraft Laser Gun";
  5. //magazines[] = {"10000Rnd_RD501_RED_AircraftGun_Mag"};
  6. modes[] = {"LowROF"};
  7. canLock=0;
  8. ballisticsComputer=1;
  9. weaponLockSystem = 0;//changed
  10. magazines[] = {macro_new_mag(generic_aircraft_gun,1000)};
  11. class LowROF: LowROF
  12. {
  13. displayName="Aircraft Laser Cannon";
  14. sounds[]=
  15. {
  16. "StandardSound"
  17. };
  18. class StandardSound
  19. {
  20. begin1[]=
  21. {
  22. "3AS\3AS_AAT\data\sounds\AAT_Cannon.wss",
  23. 1,
  24. 0.89999998,
  25. 6000
  26. };
  27. begin2[]=
  28. {
  29. "3AS\3AS_AAT\data\sounds\AAT_Cannon.wss",
  30. 1,
  31. 0.89999998,
  32. 6000
  33. };
  34. soundBegin[]=
  35. {
  36. "begin1",
  37. 0.1,
  38. "begin2",
  39. 0.5
  40. };
  41. class SoundTails
  42. {
  43. class TailForest
  44. {
  45. sound[]=
  46. {
  47. "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_forest",
  48. 1,
  49. 1,
  50. 2200
  51. };
  52. frequency=1;
  53. volume="(1-interior/1.4)*forest";
  54. };
  55. class TailHouses
  56. {
  57. sound[]=
  58. {
  59. "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_houses",
  60. 1,
  61. 1,
  62. 2200
  63. };
  64. frequency=1;
  65. volume="(1-interior/1.4)*houses";
  66. };
  67. class TailInterior
  68. {
  69. sound[]=
  70. {
  71. "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_interior",
  72. 1.99526,
  73. 1,
  74. 2200
  75. };
  76. frequency=1;
  77. volume="interior";
  78. };
  79. class TailMeadows
  80. {
  81. sound[]=
  82. {
  83. "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_meadows",
  84. 1,
  85. 1,
  86. 2200
  87. };
  88. frequency=1;
  89. volume="(1-interior/1.4)*(meadows/2 max sea/2)";
  90. };
  91. class TailTrees
  92. {
  93. sound[]=
  94. {
  95. "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_trees",
  96. 1,
  97. 1,
  98. 2200
  99. };
  100. frequency=1;
  101. volume="(1-interior/1.4)*trees";
  102. };
  103. };
  104. };
  105. soundContinuous=0;
  106. autoFire=1;
  107. multiplier=1;
  108. flash="gunfire";
  109. flashSize=0.1;
  110. recoil="Empty";
  111. ffMagnitude=0.5;
  112. ffFrequency=11;
  113. ffCount=6;
  114. showToPlayer=1;
  115. burst = 1;
  116. reloadTime=0.04;
  117. dispersion = 0.00001;
  118. aiRateOfFire=1;
  119. aiRateOfFireDistance=10;
  120. minRange=0;
  121. minRangeProbab=0.0099999998;
  122. midRange=1;
  123. midRangeProbab=0.0099999998;
  124. maxRange=2;
  125. maxRangeProbab=0.0099999998;
  126. };
  127. };