common.hpp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. vtol=4;
  2. airBrakeFrictionCoef = 80.4;
  3. rudderInfluence = 0.9*2;
  4. VTOLYawInfluence = 6*4;
  5. VTOLPitchInfluence = 6*4;
  6. VTOLRollInfluence = 6*5;
  7. gearsUpFrictionCoef = 25;
  8. class EventHandlers{};
  9. class Turrets:Turrets
  10. {
  11. class MainTurret:MainTurret
  12. {
  13. isCopilot = 1;
  14. weapons[] = {
  15. macro_basic_air_weapons,
  16. macro_new_weapon(voltic,y_wing),
  17. macro_new_weapon(generic,republic_aircraft_cannon)
  18. };
  19. magazines[] = {
  20. macro_basic_air_mags,
  21. macro_new_mag(generic_aircraft_cannon_green,1000),
  22. macro_new_mag(generic_aircraft_cannon_green,1000),
  23. macro_new_mag(voltic,200),
  24. macro_new_mag(voltic,200),
  25. macro_new_mag(voltic,200),
  26. macro_new_mag(voltic,200),
  27. macro_new_mag(voltic,200)
  28. };
  29. };
  30. };
  31. class pilotCamera
  32. {
  33. class OpticsIn
  34. {
  35. class Wide
  36. {
  37. opticsDisplayName = "WFOV";
  38. initAngleX = 0;
  39. minAngleX = 0;
  40. maxAngleX = 0;
  41. initAngleY = 0;
  42. minAngleY = 0;
  43. maxAngleY = 0;
  44. initFov = "(75 / 120)";
  45. minFov = "(75 / 120)";
  46. maxFov = "(75 / 120)";
  47. directionStabilized = 1;
  48. visionMode[] = {"Normal", "NVG", "Ti"};
  49. thermalMode[] = {0, 1,7};
  50. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
  51. opticsPPEffects[] = {"OpticsCHAbera2", "OpticsBlur2"};
  52. };
  53. class Medium: Wide
  54. {
  55. opticsDisplayName = "MFOV";
  56. initFov="0.425/4";//"(30 / 120)";
  57. minFov="0.425/4";//"(30 / 120)";
  58. maxFov="0.425/4";//"(30 / 120)";
  59. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_medium_F.p3d";
  60. };
  61. class Narrow: Wide
  62. {
  63. opticsDisplayName = "NFOV";
  64. initFov="0.425/8";//"(30 / 120)";
  65. minFov="0.425/8";//"(30 / 120)";
  66. maxFov="0.425/8";//"(30 / 120)";
  67. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  68. };
  69. class NarrowX16: Wide
  70. {
  71. opticsDisplayName = "NFOV";
  72. initFov="0.425/16";//"(30 / 120)";
  73. minFov="0.425/16";//"(30 / 120)";
  74. maxFov="0.425/16";//"(30 / 120)";
  75. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  76. };
  77. class NarrowX24: Wide
  78. {
  79. opticsDisplayName = "NFOV";
  80. initFov="0.425/24";//"(30 / 120)";
  81. minFov="0.425/24";//"(30 / 120)";
  82. maxFov="0.425/24";//"(30 / 120)";
  83. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  84. };
  85. class NarrowX36: Wide
  86. {
  87. opticsDisplayName = "NFOV";
  88. initFov="0.425/36";//"(30 / 120)";
  89. minFov="0.425/36";//"(30 / 120)";
  90. maxFov="0.425/36";//"(30 / 120)";
  91. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  92. };
  93. class NarrowX48: Wide
  94. {
  95. opticsDisplayName = "NFOV";
  96. initFov="0.425/48";//"(30 / 120)";
  97. minFov="0.425/48";//"(30 / 120)";
  98. maxFov="0.425/48";//"(30 / 120)";
  99. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  100. };
  101. class NarrowX60: Wide
  102. {
  103. opticsDisplayName = "NFOV";
  104. initFov="0.425/60";//"(30 / 120)";
  105. minFov="0.425/60";//"(30 / 120)";
  106. maxFov="0.425/60";//"(30 / 120)";
  107. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  108. };
  109. class NarrowX80: Wide
  110. {
  111. opticsDisplayName = "NFOV";
  112. initFov="0.425/80";//"(30 / 120)";
  113. minFov="0.425/80";//"(30 / 120)";
  114. maxFov="0.425/80";//"(30 / 120)";
  115. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  116. };
  117. class NarrowX100: Wide
  118. {
  119. opticsDisplayName = "NFOV";
  120. initFov="0.425/100";//"(30 / 120)";
  121. minFov="0.425/100";//"(30 / 120)";
  122. maxFov="0.425/100";//"(30 / 120)";
  123. gunnerOpticsModel = "\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  124. };
  125. };
  126. minTurn = -180;
  127. maxTurn = 180;
  128. initTurn = 0;
  129. minElev = -10;
  130. maxElev = 90;
  131. initElev = 0;
  132. maxXRotSpeed = 1;
  133. maxYRotSpeed = 1;
  134. maxMouseXRotSpeed = 0.5;
  135. maxMouseYRotSpeed = 0.5;
  136. pilotOpticsShowCursor = 1;
  137. controllable = 1;
  138. };
  139. class ACE_SelfActions:ACE_SelfActions
  140. {
  141. #include "../../common/universal_hud_color_changer.hpp"
  142. };
  143. #include "../../common/universal_mfd.hpp"