config.cpp 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. #include "../../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(ARC_170X)
  5. {
  6. addonRootClass=macro_patch_name(vehicles)
  7. requiredAddons[]=
  8. {
  9. macro_patch_name(vehicles),
  10. "3as_arc_170"
  11. };
  12. requiredVersion=0.1;
  13. units[]=
  14. {
  15. macro_new_vehicle(arc_170,razor),
  16. macro_new_vehicle(arc_170,blue),
  17. macro_new_vehicle(arc_170,red),
  18. macro_new_vehicle(arc_170,orange)
  19. };
  20. weapons[]={};
  21. };
  22. };
  23. class CfgVehicles
  24. {
  25. #include "arc170_inheritance.hpp"
  26. class macro_new_vehicle(arc_170,blue): 3as_arc_170_blue
  27. {
  28. displayName="ARC-170 (Blue)";
  29. #include "../../common/universal_mfd.hpp"
  30. #include "arc170_common.hpp"
  31. };
  32. class macro_new_vehicle(arc_170,razor): 3as_arc_170_razor
  33. {
  34. displayName="ARC-170 (Green)";
  35. #include "../../common/universal_mfd.hpp"
  36. #include "arc170_common.hpp"
  37. };
  38. class macro_new_vehicle(arc_170,red): 3as_arc_170_red
  39. {
  40. displayName="ARC-170 (Red)";
  41. #include "../../common/universal_mfd.hpp"
  42. #include "arc170_common.hpp"
  43. };
  44. class macro_new_vehicle(arc_170,orange): 3as_arc_170_orange
  45. {
  46. displayName="ARC-175 Bomber";
  47. #include "../../common/universal_mfd.hpp"
  48. scope = 2;
  49. scopeCurator = 2;
  50. scopeArsenal = 2;
  51. stallSpeed=5;
  52. 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};
  53. draconicForceYCoef=6;
  54. 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};
  55. faction="RD501_Republic_Faction";
  56. editorSubcategory="RD501_Editor_Category_Air_Republic_vtol";
  57. /*class ACE_SelfActions: ACE_SelfActions
  58. {
  59. #include "../../common/universal_hud_color_changer.hpp"
  60. };*/
  61. maxSpeed=680;
  62. aileronSensitivity=0.41;
  63. elevatorSensitivity=0.21;
  64. airBrakeFrictionCoef=120;
  65. brakeDistance = 140;
  66. noseDownCoef = 0;
  67. acceleration = 100;
  68. class Components: Components
  69. {
  70. class TransportPylonsComponent
  71. {
  72. uiPicture = "\A3\Air_F_Gamma\Plane_Fighter_03\Data\UI\Plane_A143_3DEN_CA.paa";
  73. class Pylons
  74. {};
  75. class Presets
  76. {};
  77. };
  78. };
  79. class pilotCamera
  80. {
  81. class OpticsIn
  82. {
  83. class Wide
  84. {
  85. opticsDisplayName="WFOV";
  86. initAngleX=0;
  87. minAngleX=-10;
  88. maxAngleX=90;
  89. initAngleY=0;
  90. minAngleY=-90;
  91. maxAngleY=90;
  92. initFov=0.425;//"(30 / 120)";
  93. minFov=0.425;//"(30 / 120)";
  94. maxFov=0.425;//"(30 / 120)";
  95. directionStabilized=1;
  96. thermalMode[] = {0,1,2,3,4,5};
  97. visionMode[]=
  98. {
  99. "Normal",
  100. "NVG",
  101. "Ti"
  102. };
  103. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_wide_F.p3d";
  104. opticsPPEffects[]=
  105. {
  106. "OpticsCHAbera2",
  107. "OpticsBlur2"
  108. };
  109. };
  110. class zoomx4: Wide
  111. {
  112. opticsDisplayName="NFOV";
  113. initFov="(0.425/4)";//"(3.75 / 120)";
  114. minFov="(0.425/4)";//"(3.75 / 120)";
  115. maxFov="(0.425/4)";//"(3.75 / 120)";
  116. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  117. };
  118. class zoomX8: Wide
  119. {
  120. opticsDisplayName="NFOV";
  121. initFov="(0.42/8)";//"(.375 / 120)";
  122. minFov="(0.42/8)";//"(.375 / 120)";
  123. maxFov="(0.42/8)";//"(.375 / 120)";
  124. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  125. };
  126. class zoomX20: Wide
  127. {
  128. opticsDisplayName="NFOV";
  129. initFov="(0.42/20)";//"(.375 / 120)";
  130. minFov="(0.42/20)";//"(.375 / 120)";
  131. maxFov="(0.42/20)";//"(.375 / 120)";
  132. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  133. };
  134. class zoomX50: Wide
  135. {
  136. opticsDisplayName="NFOV";
  137. initFov="(0.42/50)";//"(.375 / 120)";
  138. minFov="(0.42/50)";//"(.375 / 120)";
  139. maxFov="(0.42/50)";//"(.375 / 120)";
  140. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  141. };
  142. class zoomX70: Wide
  143. {
  144. opticsDisplayName="NFOV";
  145. initFov="(0.42/70)";//"(.375 / 120)";
  146. minFov="(0.42/70)";//"(.375 / 120)";
  147. maxFov="(0.42/70)";//"(.375 / 120)";
  148. gunnerOpticsModel="\A3\Drones_F\Weapons_F_Gamma\Reticle\UAV_Optics_Gunner_narrow_F.p3d";
  149. };
  150. showMiniMapInOptics=1;
  151. showUAVViewInOptics=0;
  152. showSlingLoadManagerInOptics=1;
  153. };
  154. minTurn=-180;
  155. maxTurn=180;
  156. initTurn=0;
  157. minElev=-10;
  158. maxElev=90;
  159. initElev=-10;
  160. maxXRotSpeed=0.30000001;
  161. maxYRotSpeed=0.30000001;
  162. pilotOpticsShowCursor=1;
  163. controllable=1;
  164. };
  165. weapons[] = {
  166. macro_basic_air_weapons,
  167. macro_new_weapon(voltic,y_wing),
  168. macro_new_weapon(wynd,agm),
  169. macro_new_weapon(wynd,lgm),
  170. macro_new_weapon(bomb,SDB),
  171. macro_new_weapon(bomb,LGB),
  172. macro_new_weapon(bomb,cluster),
  173. macro_new_weapon(bomb,cluster_emp),
  174. macro_new_weapon(bomb,carpet_I)
  175. };
  176. magazines[] = {
  177. macro_basic_air_mags,
  178. macro_new_mag(voltic,200),
  179. macro_new_mag(voltic,200),
  180. macro_new_mag(voltic,200),
  181. macro_new_mag(voltic,200),
  182. macro_new_mag(voltic,200),
  183. macro_new_mag(agm,6),
  184. macro_new_mag(agm,6),
  185. macro_new_mag(agm,6),
  186. macro_new_mag(agm,6),
  187. macro_new_mag(agm,6),
  188. macro_new_mag(lgm,4),
  189. macro_new_mag(lgm,4),
  190. macro_new_mag(lgm,4),
  191. macro_new_mag(carpet_I_bomb_mag,20),
  192. macro_new_mag(carpet_I_bomb_mag,20),
  193. macro_new_mag(cluster_bomb,4),
  194. macro_new_mag(cluster_bomb,4),
  195. macro_new_mag(cluster_bomb,4),
  196. macro_new_mag(cluster_emp,2),
  197. macro_new_mag(sdb_bomb,4),
  198. macro_new_mag(sdb_bomb,4),
  199. macro_new_mag(sdb_bomb,4),
  200. macro_new_mag(lgb_bomb,4),
  201. macro_new_mag(lgb_bomb,4),
  202. macro_new_mag(lgb_bomb,4)
  203. };
  204. };
  205. };