aircraft_laser_gun.hpp 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. class macro_new_weapon(generic,aircraft_laser) : SWOP_Cannon_trid
  2. {
  3. scope = 2;
  4. displayName = "Aircraft Laser Gun";
  5. //magazines[] = {"10000Rnd_RD501_RED_AircraftGun_Mag"};
  6. modes[] = {"LowROF"};
  7. canLock = 1;//changed from tri
  8. ballisticsComputer = 1;
  9. //multiplier=1;
  10. weaponLockSystem = 0;//changed
  11. magazines[] = {macro_new_mag(generic_aircraft_gun_blue,1000)};
  12. magazineWell[] = {macro_new_magwell(generic_aircraft_laser)};
  13. class LowROF: LowROF
  14. {
  15. displayName = "Energy Laser";
  16. multiplier=1;
  17. sounds[] = {"StandardSound"};
  18. class StandardSound
  19. {
  20. begin1[] = {"vulture\vulturecannon1.ogg", 0.7, 1, 3000};
  21. begin2[] = {"vulture\vulturecannon2.ogg", 0.7, 1, 3000};
  22. begin3[] = {"vulture\vulturecannon3.ogg", 0.7, 1, 3000};
  23. begin4[] = {"vulture\vulturecannon4.ogg", 0.7, 1, 3000};
  24. begin5[] = {"vulture\vulturecannon5.ogg", 0.7, 1, 3000};
  25. soundBegin[] = {"begin1", 0.2, "begin2", 0.2, "begin3", 0.2, "begin4", 0.2, "begin5", 0.2};
  26. };
  27. flashSize = 1;
  28. dispersion = 0.012;
  29. autoFire=true;
  30. aiRateOfFire = 0.001;
  31. reloadTime=0.06;
  32. aiRateOfFireDispersion = 0.0;
  33. aiRateOfFireDistance = 0;
  34. minRange = 0;
  35. minRangeProbab = 1;
  36. midRange = 7500;
  37. midRangeProbab = 1;
  38. maxRange = 15000;
  39. maxRangeProbab = 1;
  40. weaponLockDelay = 0;
  41. weaponLockSystem = 0;
  42. lockAcquire = 1;
  43. FCSMaxLeadSpeed = 1000;
  44. burst = 30;//30;
  45. };
  46. };
  47. class macro_new_weapon(generic,rebel_aircraft_laser) : macro_new_weapon(generic,aircraft_laser)
  48. {
  49. displayName = "Rebel Aircraft Laser Gun";
  50. class LowROF: LowROF
  51. {
  52. class StandardSound
  53. {
  54. begin1[] = {"XT\sounds\laser.ogg",1,1,3000};
  55. soundBegin[] = {"begin1",1};
  56. };
  57. };
  58. };
  59. class macro_new_weapon(generic,ion_aircraft_laser) : macro_new_weapon(generic,aircraft_laser)
  60. {
  61. displayName = "ION Aircraft Laser Gun";
  62. ballisticsComputer = "1+4";
  63. class LowROF: LowROF
  64. {
  65. class StandardSound
  66. {
  67. begin1[] = {"TIEdef\ioncanon1.ogg",1.1,1.1,3000};
  68. begin2[] = {"TIEdef\ioncanon2.ogg",1.1,1.1,3000};
  69. begin3[] = {"TIEdef\ioncanon3.ogg",1.1,1.1,3000};
  70. soundBegin[] = {"begin1",0.33,"begin2",0.33,"begin3",0.34};
  71. };
  72. };
  73. };
  74. class macro_new_weapon(generic,tie_aircraft_laser) : macro_new_weapon(generic,aircraft_laser)
  75. {
  76. displayName = "TIE Aircraft Laser Gun";
  77. class LowROF: LowROF
  78. {
  79. class StandardSound
  80. {
  81. begin1[] = {"TIE\Sounds\tielaser1.ogg",1.1,1,3000};
  82. begin10[] = {"TIE\Sounds\TIELaserCharge.wss",1.1,1,3000};
  83. begin2[] = {"TIE\Sounds\tielaser2.ogg",1.1,1,3000};
  84. begin3[] = {"TIE\Sounds\tielaser3.ogg",1.1,1,3000};
  85. begin4[] = {"TIE\Sounds\TIELaserCharge.wss",1.1,1,3000};
  86. begin5[] = {"TIE\Sounds\tielaser4.ogg",1.1,1,3000};
  87. begin6[] = {"TIE\Sounds\tielaser5.ogg",1.1,1,3000};
  88. begin7[] = {"TIE\Sounds\tielaser6.ogg",1.1,1,3000};
  89. begin8[] = {"TIE\Sounds\tielaser7.ogg",1.1,1,3000};
  90. begin9[] = {"TIE\Sounds\tielaser8.ogg",1.1,1,3000};
  91. soundBegin[] = {"begin1",0.1,"begin2",0.1,"begin3",0.1,"begin4",0.1,"begin5",0.1,"begin6",0.1,"begin7",0.1,"begin8",0.1,"begin9",0.1,"begin10",0.1};
  92. };
  93. };
  94. };
  95. class macro_new_weapon(generic,purple_aircraft_laser) : macro_new_weapon(generic,aircraft_laser)
  96. {
  97. displayName = "Aircraft Laser Gun";
  98. class LowROF: LowROF
  99. {
  100. class StandardSound
  101. {
  102. begin1[] = {"SWOP_vehiclecommon\Speeder\Speederbike\Sounds\canon",1.5,1,2500};
  103. soundBegin[] = {"begin1",1};
  104. };
  105. };
  106. };
  107. class macro_new_weapon(generic,plasma_aircraft_laser) : macro_new_weapon(generic,aircraft_laser)
  108. {
  109. displayName = "Aircraft Laser Gun";
  110. class LowROF: LowROF
  111. {
  112. class StandardSound
  113. {
  114. begin1[] = {"rd501_vehicle_weapons\_sounds\laser_cannon\laser_cannon_shot.ogg",1.5,1,2500};
  115. soundBegin[] = {"begin1",1};
  116. };
  117. };
  118. };