config.cpp 4.0 KB

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