config.cpp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class RD501_patch_V19
  5. {
  6. addonRootClass=MACRO_QUOTE(RD501_patch_vehicles);
  7. requiredAddons[]=
  8. {
  9. RD501_patch_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_QUOTE(macro_faction(republic));
  36. editorSubcategory = MACRO_QUOTE(macro_editor_cat_air(Republic_vtol));
  37. vehicleClass = MACRO_QUOTE(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. acceleration=500;
  54. maxSpeed=1750;
  55. stallSpeed=5;
  56. 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};
  57. draconicForceYCoef=6;
  58. 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};
  59. thrustCoef[] = {3.0,3.0,3.2,3.6,4,5,6,7,9,4,3.4,3,2.2,2,2,2};
  60. class EventHandlers{};
  61. #include "../../common/universal_mfd.hpp"
  62. /*class ViewPilot: ViewPilot
  63. {
  64. initAngleX = 0;
  65. };*/
  66. weapons[] = {
  67. macro_new_weapon(laser,v_wing),
  68. macro_new_weapon(wynd,a2a),
  69. macro_new_weapon(wynd,ugm),
  70. macro_basic_air_weapons
  71. };
  72. magazines[] = {
  73. macro_basic_air_mags,
  74. macro_new_mag(generic_aircraft_gun_asg,3000),
  75. macro_new_mag(a2a,4),
  76. macro_new_mag(a2a,4),
  77. macro_new_mag(a2a,4),
  78. macro_new_mag(ugm,10)
  79. };
  80. class pilotCamera
  81. {
  82. class OpticsIn
  83. {
  84. class Wide
  85. {
  86. opticsDisplayName="WFOV";
  87. initAngleX=0;
  88. minAngleX=-10;
  89. maxAngleX=90;
  90. initAngleY=0;
  91. minAngleY=-90;
  92. maxAngleY=90;
  93. initFov=0.425;//"(30 / 120)";
  94. minFov=0.425;//"(30 / 120)";
  95. maxFov=0.425;//"(30 / 120)";
  96. directionStabilized=1;
  97. thermalMode[] = {0,1,2,3,4,5};
  98. visionMode[]=
  99. {
  100. "Normal",
  101. "NVG",
  102. "Ti"
  103. };
  104. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
  105. opticsPPEffects[]=
  106. {
  107. "OpticsCHAbera2",
  108. "OpticsBlur2"
  109. };
  110. };
  111. class zoomx4: Wide
  112. {
  113. opticsDisplayName="NFOV";
  114. initFov="(0.425/4)";//"(3.75 / 120)";
  115. minFov="(0.425/4)";//"(3.75 / 120)";
  116. maxFov="(0.425/4)";//"(3.75 / 120)";
  117. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  118. };
  119. class zoomX8: Wide
  120. {
  121. opticsDisplayName="NFOV";
  122. initFov="(0.42/8)";//"(.375 / 120)";
  123. minFov="(0.42/8)";//"(.375 / 120)";
  124. maxFov="(0.42/8)";//"(.375 / 120)";
  125. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  126. };
  127. class zoomX20: Wide
  128. {
  129. opticsDisplayName="NFOV";
  130. initFov="(0.42/20)";//"(.375 / 120)";
  131. minFov="(0.42/20)";//"(.375 / 120)";
  132. maxFov="(0.42/20)";//"(.375 / 120)";
  133. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  134. };
  135. class zoomX50: Wide
  136. {
  137. opticsDisplayName="NFOV";
  138. initFov="(0.42/50)";//"(.375 / 120)";
  139. minFov="(0.42/50)";//"(.375 / 120)";
  140. maxFov="(0.42/50)";//"(.375 / 120)";
  141. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  142. };
  143. class zoomX70: Wide
  144. {
  145. opticsDisplayName="NFOV";
  146. initFov="(0.42/70)";//"(.375 / 120)";
  147. minFov="(0.42/70)";//"(.375 / 120)";
  148. maxFov="(0.42/70)";//"(.375 / 120)";
  149. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  150. };
  151. showMiniMapInOptics=1;
  152. showUAVViewInOptics=0;
  153. showSlingLoadManagerInOptics=1;
  154. };
  155. minTurn=-180;
  156. maxTurn=180;
  157. initTurn=0;
  158. minElev=-10;
  159. maxElev=90;
  160. initElev=-10;
  161. maxXRotSpeed=0.30000001;
  162. maxYRotSpeed=0.30000001;
  163. pilotOpticsShowCursor=1;
  164. controllable=1;
  165. };
  166. };
  167. };