config.cpp 3.8 KB

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