common.hpp 4.2 KB

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