CanberraBI8r-setOLD.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. <?xml version="1.0"?>
  2. <!--
  3. ************************************************************************
  4. English Electric Canberra B(I)8 simulation config.
  5. 2006-03-05 Lee Elliott
  6. 2006-03-09 Josh Babcock
  7. ************************************************************************
  8. -->
  9. <PropertyList>
  10. <sim include="CanberraBI8-help.xml">
  11. <status>alpha</status>
  12. <author>Lee Elliott, Josh Babcock</author>
  13. <flight-model>yasim</flight-model>
  14. <aero>CanberraBI8-yasim</aero>
  15. <fuel-fraction>1.0</fuel-fraction>
  16. <description>English Electric Canberra B(I)8 (Rembrandt ) (YASim FDM)</description>
  17. <status type="string">FGUK SE V1.5</status>
  18. <startup>
  19. <splash-texture>Aircraft/CanberraBI8/CanberraBI8-splash.rgb</splash-texture>
  20. </startup>
  21. <virtual-cockpit archive="y">true</virtual-cockpit>
  22. <chase-distance-m type="double" archive="y">-30.0</chase-distance-m>
  23. <view n="0">
  24. <internal archive="y">true</internal>
  25. <config>
  26. <x-offset-m archive="y">-0.22</x-offset-m>
  27. <y-offset-m archive="y">1.38</y-offset-m>
  28. <z-offset-m archive="y">3.74</z-offset-m>
  29. <pitch-offset-deg>0</pitch-offset-deg>
  30. <default-field-of-view-deg>55</default-field-of-view-deg>
  31. </config>
  32. </view>
  33. <view n="100">
  34. <name>Bomb Aimer View</name>
  35. <type>lookfrom</type>
  36. <internal archive="y">true</internal>
  37. <config>
  38. <from-model type="bool">true</from-model>
  39. <from-model-idx type="int">0</from-model-idx>
  40. <ground-level-nearplane-m type="double">0.05f</ground-level-nearplane-m>
  41. <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
  42. <default-pitch-deg type="double">-15</default-pitch-deg>
  43. <default-heading-deg type="double">0</default-heading-deg>
  44. <front-direction-deg type="double">0</front-direction-deg>
  45. <front-left-direction-deg type="double">45</front-left-direction-deg>
  46. <left-direction-deg type="double">90</left-direction-deg>
  47. <back-left-direction-deg type="double">135</back-left-direction-deg>
  48. <back-direction-deg type="double">180</back-direction-deg>
  49. <back-right-direction-deg type="double">225</back-right-direction-deg>
  50. <right-direction-deg type="double">270</right-direction-deg>
  51. <front-right-direction-deg type="double">315</front-right-direction-deg>
  52. <x-offset-m archive="y">0.1</x-offset-m>
  53. <y-offset-m archive="y">-0.11</y-offset-m>
  54. <z-offset-m archive="y">0.55</z-offset-m>
  55. <pitch-offset-deg>-15</pitch-offset-deg>
  56. <default-field-of-view-deg>85</default-field-of-view-deg>
  57. </config>
  58. </view>
  59. <view n="101">
  60. <name>Drop View</name>
  61. <type>lookat</type>
  62. <config>
  63. <eye-lat-deg-path>/sim/view[101]/latitude-deg</eye-lat-deg-path>
  64. <eye-lon-deg-path>/sim/view[101]/longitude-deg</eye-lon-deg-path>
  65. <eye-alt-ft-path>/sim/view[101]/altitude-ft</eye-alt-ft-path>
  66. <eye-roll-deg-path>/sim/view[101]/roll-deg</eye-roll-deg-path>
  67. <eye-pitch-deg-path>/sim/view[101]/pitch-deg</eye-pitch-deg-path>
  68. <eye-heading-deg-path>/sim/view[101]/heading-deg</eye-heading-deg-path>
  69. <at-model type="bool">true</at-model>
  70. <at-model-idx type="int">0</at-model-idx>
  71. <ground-level-nearplane-m type="double">1.0f</ground-level-nearplane-m>
  72. <default-field-of-view-deg type="double">8.0</default-field-of-view-deg>
  73. <x-offset-m type="double">0</x-offset-m>
  74. <y-offset-m type="double">0</y-offset-m>
  75. <z-offset-m type="double">0</z-offset-m>
  76. <target-z-offset-m archive="y" type="double">10.0</target-z-offset-m>
  77. </config>
  78. </view>
  79. <current-view>
  80. <field-of-view>55.0</field-of-view>
  81. </current-view>
  82. <!-- Shift the camera target point back -->
  83. <view n="1">
  84. <config>
  85. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  86. </config>
  87. </view>
  88. <view n="2">
  89. <config>
  90. <y-offset-m archive="y" type="double">5.4</y-offset-m>
  91. <z-offset-m archive="y">-19.7</z-offset-m>
  92. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  93. </config>
  94. </view>
  95. <view n="3">
  96. <config>
  97. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  98. </config>
  99. </view>
  100. <view n="5">
  101. <config>
  102. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  103. </config>
  104. </view>
  105. <view n="6">
  106. <config>
  107. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  108. </config>
  109. </view>
  110. <!-- Sound -->
  111. <sound>
  112. <audible>true</audible>
  113. <path>Aircraft/CanberraBI8/Sounds/CanberraBI8-sound.xml</path>
  114. </sound>
  115. <!-- Hud -->
  116. <hud>
  117. <path n="1">Aircraft/CanberraBI8/Huds/hud2.xml</path>
  118. <visibility n="1">true</visibility>
  119. <palette>
  120. <color n="0">
  121. <alpha type="float">0.85</alpha>
  122. <antialiased type="bool">true</antialiased>
  123. <brightness type="float">0.85</brightness>
  124. <transparent type="bool">true</transparent>
  125. <red type="float">0.38</red>
  126. <green type="float">1.0</green>
  127. <blue type="float">0.22</blue>
  128. </color>
  129. <color n="1">
  130. <alpha type="float">0.85</alpha>
  131. <antialiased type="bool">true</antialiased>
  132. <brightness type="float">0.85</brightness>
  133. <transparent type="bool">true</transparent>
  134. <red type="float">1.0</red>
  135. <green type="float">0.2</green>
  136. <blue type="float">0.0</blue>
  137. </color>
  138. </palette>
  139. </hud>
  140. <!-- Model -->
  141. <model>
  142. <path>Aircraft/CanberraBI8/Models/CanberraBI8.xml</path>
  143. <livery>
  144. <file type="string"/>
  145. </livery>
  146. <CanberraBI8>
  147. <inner-haze>0.5</inner-haze>
  148. <outer-haze>0.25</outer-haze>
  149. <texture>skin.rgb</texture>
  150. </CanberraBI8>
  151. </model>
  152. <!-- Systems -->
  153. <systems>
  154. <autopilot>
  155. <path>Aircraft/CanberraBI8/Systems/CanberraBI8-autopilot.xml</path>
  156. </autopilot>
  157. <electrical>
  158. <path>Aircraft/CanberraBI8/Systems/CanberraBI8-electrical.xml</path>
  159. </electrical>
  160. </systems>
  161. <!--sub models -->
  162. <submodels>
  163. <serviceable type="bool">1</serviceable>
  164. <path>Aircraft/CanberraBI8/CanberraBI8-submodels.xml</path>
  165. </submodels>
  166. <!-- Flaps - Only two detents -->
  167. <flaps>
  168. <setting>0.00</setting>
  169. <setting>1.00</setting>
  170. </flaps>
  171. <!-- Spoilers - Four detents -->
  172. <spoilers>
  173. <setting>0.00</setting>
  174. <setting>0.33</setting>
  175. <setting>0.66</setting>
  176. <setting>1.00</setting>
  177. </spoilers>
  178. <menubar include="Dialogs/canberra-menu.xml"/>
  179. </sim>
  180. <ai>
  181. <submodels>
  182. <trajectory-markers type="bool">0</trajectory-markers>
  183. </submodels>
  184. </ai>
  185. <!-- Autopilot -->
  186. <autopilot>
  187. <locks>
  188. <aoa type="string">initialised</aoa>
  189. <auto-flap-control type="string">manual</auto-flap-control>
  190. <auto-landing type="string">enabled</auto-landing>
  191. <auto-take-off type="string">enabled</auto-take-off>
  192. <common-aileron-control type="string">off</common-aileron-control>
  193. <common-elevator-control type="string">off</common-elevator-control>
  194. <ca-roll-hold type="string">initialised</ca-roll-hold>
  195. <ca-true-heading-hold type="string">initialised</ca-true-heading-hold>
  196. <ca-dg-heading-hold type="string">initialised</ca-dg-heading-hold>
  197. <ca-nav1-hold type="string">initialised</ca-nav1-hold>
  198. <ce-altitude-hold type="string">initialised</ce-altitude-hold>
  199. <ce-aoa-hold type="string">initialised</ce-aoa-hold>
  200. <ce-mach-climb-hold type="string">initialised</ce-mach-climb-hold>
  201. <ce-pitch-hold type="string">initialised</ce-pitch-hold>
  202. <ce-agl-hold type="string">initialised</ce-agl-hold>
  203. <ce-vfps-hold type="string">initialised</ce-vfps-hold>
  204. <rudder-control type="string">initialised</rudder-control>
  205. </locks>
  206. <settings>
  207. <approach-aoa-deg type="float">5.0</approach-aoa-deg>
  208. <auto-flap-target-aoa-deg type="float">0.0</auto-flap-target-aoa-deg>
  209. <auto-landing-touchdown-alt-ft type="float">300.0</auto-landing-touchdown-alt-ft>
  210. <auto-landing-circuit-speed-kt type="float">200.0</auto-landing-circuit-speed-kt>
  211. <climb-out-pitch-trans-time-sec type="float">9.0</climb-out-pitch-trans-time-sec>
  212. <ground-roll-heading-deg type="float">-999.9</ground-roll-heading-deg>
  213. <ground-roll-rotate-speed-kts type="float">70</ground-roll-rotate-speed-kts>
  214. <take-off-initial-pitch-deg type="float">0.0</take-off-initial-pitch-deg>
  215. <take-off-final-pitch-deg type="float">9.0</take-off-final-pitch-deg>
  216. <target-agl-ft type="float">800</target-agl-ft>
  217. <target-altitude-ft type="float">3000</target-altitude-ft>
  218. <target-aoa-deg type="float">1.5</target-aoa-deg>
  219. <target-climb-rate-fps type="float">10</target-climb-rate-fps>
  220. <target-pitch-deg type="float">0</target-pitch-deg>
  221. <target-speed-kt type="float">350.0</target-speed-kt>
  222. <target-mach type="float">0.6</target-mach>
  223. </settings>
  224. </autopilot>
  225. <!-- Start with the Parking Brake on, canopy and BB doors open -->
  226. <controls>
  227. <gear>
  228. <brake-parking type="float">1.0</brake-parking>
  229. </gear>
  230. <hatch>
  231. <hatch-pos-norm type="float">1.0</hatch-pos-norm>
  232. </hatch>
  233. <canopy>
  234. <canopy-pos-norm type="float">1.0</canopy-pos-norm>
  235. </canopy>
  236. <bb-doors>
  237. <left-bb-door-pos-norm type="float">1.0</left-bb-door-pos-norm>
  238. <right-bb-door-pos-norm type="float">1.0</right-bb-door-pos-norm>
  239. </bb-doors>
  240. </controls>
  241. <!-- Key mappings -->
  242. <input>
  243. <keyboard>
  244. <key n="67">
  245. <name>C</name>
  246. <desc>Toggle Canopy</desc>
  247. <binding n="0">
  248. <command>nasal</command>
  249. <script>CanberraBI8.toggle_canopy()</script>
  250. </binding>
  251. </key>
  252. <key n="68">
  253. <name>D</name>
  254. <desc>Toggle Bomb Bay Doors</desc>
  255. <binding n="0">
  256. <command>nasal</command>
  257. <script>CanberraBI8.toggle_bb_doors()</script>
  258. </binding>
  259. </key>
  260. <key n="69">
  261. <name>E</name>
  262. <desc>Toggle Entrance Hatch</desc>
  263. <binding n="0">
  264. <command>nasal</command>
  265. <script>CanberraBI8.toggle_hatch()</script>
  266. </binding>
  267. </key>
  268. <key n="74">
  269. <name>J</name>
  270. <desc>Release Red Beard</desc>
  271. <binding n="0">
  272. <command>property-assign</command>
  273. <property>/ai/submodels/red-beard-released</property>
  274. <value type="bool">true</value>
  275. </binding>
  276. </key>
  277. <key n="75">
  278. <name>K</name>
  279. <desc>Toggle trajectory markers</desc>
  280. <binding n="0">
  281. <command>nasal</command>
  282. <script>CanberraBI8.toggle_traj_mkr()</script>
  283. </binding>
  284. </key>
  285. <!-- Update Drop View position -->
  286. <key n="85">
  287. <name>U</name>
  288. <desc>Update Drop View position</desc>
  289. <binding n="0">
  290. <command>nasal</command>
  291. <script>CanberraBI8.update_drop_view_pos()</script>
  292. </binding>
  293. </key>
  294. </keyboard>
  295. </input>
  296. <!-- Engine indexes -->
  297. <engines>
  298. <engine n="0">
  299. <engine-num type="int">0</engine-num>
  300. </engine>
  301. <engine n="1">
  302. <engine-num type="int">1</engine-num>
  303. </engine>
  304. </engines>
  305. <!-- Fuel Tank indexes -->
  306. <consumables>
  307. <fuel>
  308. <tank n="0">
  309. <tank-num type="int">0</tank-num>
  310. </tank>
  311. <tank n="1">
  312. <tank-num type="int">1</tank-num>
  313. </tank>
  314. <tank n="2">
  315. <tank-num type="int">2</tank-num>
  316. </tank>
  317. <tank n="3">
  318. <tank-num type="int">3</tank-num>
  319. </tank>
  320. <tank n="4">
  321. <tank-num type="int">4</tank-num>
  322. </tank>
  323. </fuel>
  324. </consumables>
  325. <!-- Weight entry for Red Beard -->
  326. <yasim>
  327. <weights>
  328. <red-beard-lbs type="float">2000</red-beard-lbs>
  329. </weights>
  330. </yasim>
  331. <!-- Nasal files/scripts -->
  332. <nasal>
  333. <CanberraBI8>
  334. <file>Aircraft/CanberraBI8/Nasal/CanberraBI8.nas</file>
  335. <file>Aircraft/CanberraBI8/Nasal/light.nas</file>
  336. <script>start_up();</script>
  337. <file>Aircraft/CanberraBI8/Nasal/light.nas</file>
  338. <file>Aircraft/CanberraBI8/Nasal/liveries.nas</file>
  339. </CanberraBI8>
  340. <low>
  341. <file>Aircraft/CanberraBI8/Nasal/low.nas</file>
  342. </low>
  343. </nasal>
  344. </PropertyList>