config.cpp 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(V19)
  5. {
  6. addonRootClass=macro_patch_name(vehicles)
  7. requiredAddons[]=
  8. {
  9. macro_patch_name(vehicles)
  10. };
  11. requiredVersion=0.1;
  12. units[]=
  13. {
  14. macro_new_vehicle(v19,MKI)
  15. };
  16. weapons[]=
  17. {
  18. };
  19. };
  20. };
  21. class CfgVehicles
  22. {
  23. class 3as_V19_base;
  24. class macro_new_vehicle(v19,MKI):3as_V19_base
  25. {
  26. side=1;
  27. scope=2;
  28. scopeCurator=2;
  29. displayName = "Republic V19 Torrent";
  30. forceInGarage = 1;
  31. //dmg stuff
  32. armor=1925;
  33. armorStructural = 1;
  34. vtol = 4;
  35. faction = macro_republic_faction
  36. editorSubcategory = macro_editor_cat_air(Republic_vtol)
  37. vehicleClass = macro_editor_vehicle_type_air(Republic)
  38. ballisticsComputer = 1+8;
  39. visualTarget = 1;
  40. visualTargetSize = 1;
  41. reportOwnPosition = true;
  42. radarTargetSize = 1;
  43. radarTarget = 1;
  44. nvTarget = 1;
  45. laserTarget = 1;
  46. laserScanner = 0;
  47. irTarget = 1;
  48. irTargetSize = 1;
  49. countermeasureActivationRadius = 2000;
  50. RD501_magclamp_large_offset[] = {0.0, 0.0, -6.0};
  51. RD501_magclamp_small_forbidden = 1;
  52. //flight model
  53. maxSpeed=1100;
  54. aileronSensitivity=0.41;
  55. elevatorSensitivity=0.41;
  56. airBrakeFrictionCoef=120;
  57. brakeDistance = 80;
  58. noseDownCoef = 0;
  59. acceleration = 225;
  60. draconicForceXCoef=15;
  61. draconicForceYCoef=6;
  62. draconicForceZCoef=12;
  63. altFullForce=18000;
  64. altNoForce=19000;
  65. draconicTorqueXCoef[]={2.0,1.5,1.0,0.9,1.0,0.9,0.75,0.8,0.9,0.95,1.0};
  66. draconicTorqueYCoef[]={1.5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
  67. VTOLYawInfluence="3.5";
  68. VTOLPitchInfluence="10";
  69. VTOLRollInfluence="9";
  70. rudderInfluence=0.9;
  71. envelope[] = {0.5,2.11,2.43,1.97,1.72,2.69,3.87,5.27,6.89,8.72,9.7,9.6,9.2,8.5,8.2,8};
  72. thrustCoef[] = {1.5,3.69,3.62,3.68,3.74,3.81,3.89,3.95,3.96,3.96,3.92,3.4,0.4,0,0,0};
  73. elevatorCoef[] = {0.3,0.5,0.66,0.52,0.49,0.46,0.43,0.4,0.35,0.3,0.25,0.18,0.17,0.16,0.15,0.15};
  74. aileronCoef[] = {0.4,0.5,0.8,0.95,1.02,1.04,1.03,1.01,1,0.7,0.6,0.55,0.5,0.45,0.4,0.35};
  75. rudderCoef[]={0,0.6,0.9,1.0,1.1,1.0,0.9,0.8,0.6,0.35,0.3,0.25,0.2};
  76. rudderControlsSensitivityCoef=4.5;
  77. gearsUpFrictionCoef=0;
  78. class EventHandlers{};
  79. #include "../../common/universal_mfd.hpp"
  80. weapons[] = {
  81. macro_new_weapon(laser,v_wing),
  82. macro_new_weapon(wynd,a2a),
  83. macro_new_weapon(wynd,ugm),
  84. macro_basic_air_weapons
  85. };
  86. magazines[] = {
  87. macro_basic_air_mags,
  88. macro_new_mag(generic_aircraft_gun_asg,3000),
  89. macro_new_mag(a2a,4),
  90. macro_new_mag(a2a,4),
  91. macro_new_mag(a2a,4),
  92. macro_new_mag(ugm,10)
  93. };
  94. class pilotCamera
  95. {
  96. class OpticsIn
  97. {
  98. class Wide
  99. {
  100. opticsDisplayName="WFOV";
  101. initAngleX=0;
  102. minAngleX=-10;
  103. maxAngleX=90;
  104. initAngleY=0;
  105. minAngleY=-90;
  106. maxAngleY=90;
  107. initFov=0.425;//"(30 / 120)";
  108. minFov=0.425;//"(30 / 120)";
  109. maxFov=0.425;//"(30 / 120)";
  110. directionStabilized=1;
  111. thermalMode[] = {0,1,2,3,4,5};
  112. visionMode[]=
  113. {
  114. "Normal",
  115. "NVG",
  116. "Ti"
  117. };
  118. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
  119. opticsPPEffects[]=
  120. {
  121. "OpticsCHAbera2",
  122. "OpticsBlur2"
  123. };
  124. };
  125. class zoomx4: Wide
  126. {
  127. opticsDisplayName="NFOV";
  128. initFov="(0.425/4)";//"(3.75 / 120)";
  129. minFov="(0.425/4)";//"(3.75 / 120)";
  130. maxFov="(0.425/4)";//"(3.75 / 120)";
  131. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  132. };
  133. class zoomX8: Wide
  134. {
  135. opticsDisplayName="NFOV";
  136. initFov="(0.42/8)";//"(.375 / 120)";
  137. minFov="(0.42/8)";//"(.375 / 120)";
  138. maxFov="(0.42/8)";//"(.375 / 120)";
  139. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  140. };
  141. class zoomX20: Wide
  142. {
  143. opticsDisplayName="NFOV";
  144. initFov="(0.42/20)";//"(.375 / 120)";
  145. minFov="(0.42/20)";//"(.375 / 120)";
  146. maxFov="(0.42/20)";//"(.375 / 120)";
  147. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  148. };
  149. class zoomX50: Wide
  150. {
  151. opticsDisplayName="NFOV";
  152. initFov="(0.42/50)";//"(.375 / 120)";
  153. minFov="(0.42/50)";//"(.375 / 120)";
  154. maxFov="(0.42/50)";//"(.375 / 120)";
  155. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  156. };
  157. class zoomX70: Wide
  158. {
  159. opticsDisplayName="NFOV";
  160. initFov="(0.42/70)";//"(.375 / 120)";
  161. minFov="(0.42/70)";//"(.375 / 120)";
  162. maxFov="(0.42/70)";//"(.375 / 120)";
  163. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  164. };
  165. showMiniMapInOptics=1;
  166. showUAVViewInOptics=0;
  167. showSlingLoadManagerInOptics=1;
  168. };
  169. minTurn=-180;
  170. maxTurn=180;
  171. initTurn=0;
  172. minElev=-10;
  173. maxElev=90;
  174. initElev=-10;
  175. maxXRotSpeed=0.30000001;
  176. maxYRotSpeed=0.30000001;
  177. pilotOpticsShowCursor=1;
  178. controllable=1;
  179. };
  180. };
  181. };