CanberraBI8-set.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  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 (YASim FDM)</description>
  17. <status type="string">FGUK SE V1.7</status>
  18. <startup>
  19. <splash-texture>Aircraft/CanberraBI8/CanberraBI8-splash.rgb</splash-texture>
  20. </startup>
  21. <previews>
  22. <preview>
  23. <type>interior</type>
  24. <splash type="bool">true</splash>
  25. <path>Splash/splash.png</path>
  26. </preview>
  27. <preview>
  28. <type>exterior</type>
  29. <splash type="bool">true</splash>
  30. <path>Splash/splash1.png</path>
  31. </preview>
  32. <preview>
  33. <type>exterior</type>
  34. <splash type="bool">true</splash>
  35. <path>Splash/splash2.png</path>
  36. </preview>
  37. <preview>
  38. <type>exterior</type>
  39. <splash type="bool">true</splash>
  40. <path>Splash/splash3.png</path>
  41. </preview>
  42. <preview>
  43. <type>exterior</type>
  44. <splash type="bool">true</splash>
  45. <path>Splash/splash4.png</path>
  46. </preview>
  47. <preview>
  48. <type>exterior</type>
  49. <splash type="bool">true</splash>
  50. <path>Splash/splash5.png</path>
  51. </preview>
  52. <preview>
  53. <type>exterior</type>
  54. <splash type="bool">true</splash>
  55. <path>Splash/splash6.png</path>
  56. </preview>
  57. </previews>
  58. <mp-systems>
  59. <radar-enabled type="bool">true</radar-enabled>
  60. <ecm-rwr-enabled type="bool">true</ecm-rwr-enabled>
  61. <combat-enabled type="bool">true</combat-enabled>
  62. </mp-systems>
  63. <multiplay>
  64. <generic>
  65. <!-- Nav lights on -->
  66. <int n="0" alias="/controls/lighting/nav-lights-switch" />
  67. <!-- Beacon on -->
  68. <int n="1" alias="/controls/lighting/beacon-switch" />
  69. <!-- int[2] reserved for radar -->
  70. <!-- Landing lights on -->
  71. <int n="3" alias="/controls/lighting/landing-lights-switch" />
  72. <!-- Taxi light on -->
  73. <int n="4" alias="/controls/lighting/taxi-light-switch" />
  74. <!-- Engine Status -->
  75. <int n="5" alias="/engines/engine[0]/state" />
  76. <int n="7" alias="/sim/crashed" />
  77. <int n="8" type="int">0</int>
  78. <int n="9" type="int">0</int>
  79. <int n="10" type="int">0</int>
  80. <int n="11" type="int">0</int>
  81. <int n="12" type="int">0</int>
  82. <float n="0" alias="/gear/gear[0]/sprayspeed-ms"/>
  83. <float n="1" alias="/gear/gear[1]/sprayspeed-ms"/>
  84. <float n="2" alias="/gear/gear[2]/sprayspeed-ms"/>
  85. <float n="3" alias="/gear/gear[0]/spray-density"/>
  86. <float n="4" alias="/gear/gear[1]/spray-density"/>
  87. <float n="5" alias="/gear/gear[2]/spray-density"/>
  88. <float n="16" alias="/engines/engine[0]/thrust-lbs" /> <!-- Thrust for Multiplayer Sound -->
  89. </generic>
  90. </multiplay>
  91. <virtual-cockpit archive="y">true</virtual-cockpit>
  92. <chase-distance-m type="double" archive="y">-30.0</chase-distance-m>
  93. <view n="0">
  94. <internal archive="y">true</internal>
  95. <config>
  96. <x-offset-m archive="y">-0.22</x-offset-m>
  97. <y-offset-m archive="y">1.38</y-offset-m>
  98. <z-offset-m archive="y">3.74</z-offset-m>
  99. <pitch-offset-deg>0</pitch-offset-deg>
  100. <default-field-of-view-deg>55</default-field-of-view-deg>
  101. </config>
  102. </view>
  103. <view n="100">
  104. <name>Bomb Aimer View</name>
  105. <type>lookfrom</type>
  106. <internal archive="y">true</internal>
  107. <config>
  108. <from-model type="bool">true</from-model>
  109. <from-model-idx type="int">0</from-model-idx>
  110. <ground-level-nearplane-m type="double">0.05f</ground-level-nearplane-m>
  111. <default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
  112. <default-pitch-deg type="double">-15</default-pitch-deg>
  113. <default-heading-deg type="double">0</default-heading-deg>
  114. <front-direction-deg type="double">0</front-direction-deg>
  115. <front-left-direction-deg type="double">45</front-left-direction-deg>
  116. <left-direction-deg type="double">90</left-direction-deg>
  117. <back-left-direction-deg type="double">135</back-left-direction-deg>
  118. <back-direction-deg type="double">180</back-direction-deg>
  119. <back-right-direction-deg type="double">225</back-right-direction-deg>
  120. <right-direction-deg type="double">270</right-direction-deg>
  121. <front-right-direction-deg type="double">315</front-right-direction-deg>
  122. <x-offset-m archive="y">0.1</x-offset-m>
  123. <y-offset-m archive="y">-0.11</y-offset-m>
  124. <z-offset-m archive="y">0.55</z-offset-m>
  125. <pitch-offset-deg>-15</pitch-offset-deg>
  126. <default-field-of-view-deg>85</default-field-of-view-deg>
  127. </config>
  128. </view>
  129. <view n="101">
  130. <name>Drop View</name>
  131. <type>lookat</type>
  132. <config>
  133. <eye-lat-deg-path>/sim/view[101]/latitude-deg</eye-lat-deg-path>
  134. <eye-lon-deg-path>/sim/view[101]/longitude-deg</eye-lon-deg-path>
  135. <eye-alt-ft-path>/sim/view[101]/altitude-ft</eye-alt-ft-path>
  136. <eye-roll-deg-path>/sim/view[101]/roll-deg</eye-roll-deg-path>
  137. <eye-pitch-deg-path>/sim/view[101]/pitch-deg</eye-pitch-deg-path>
  138. <eye-heading-deg-path>/sim/view[101]/heading-deg</eye-heading-deg-path>
  139. <at-model type="bool">true</at-model>
  140. <at-model-idx type="int">0</at-model-idx>
  141. <ground-level-nearplane-m type="double">1.0f</ground-level-nearplane-m>
  142. <default-field-of-view-deg type="double">8.0</default-field-of-view-deg>
  143. <x-offset-m type="double">0</x-offset-m>
  144. <y-offset-m type="double">0</y-offset-m>
  145. <z-offset-m type="double">0</z-offset-m>
  146. <target-z-offset-m archive="y" type="double">10.0</target-z-offset-m>
  147. </config>
  148. </view>
  149. <view n="102">
  150. <name>Pilot cam</name>
  151. <internal archive="y">false</internal>
  152. <config>
  153. <from-model type="bool">true</from-model>
  154. <from-model-idx type="int">0</from-model-idx>
  155. <x-offset-m archive="y">-0.22</x-offset-m>
  156. <y-offset-m archive="y">1.38</y-offset-m>
  157. <z-offset-m archive="y">3.34</z-offset-m>
  158. <pitch-offset-deg>0</pitch-offset-deg>
  159. <heading-offset-deg>180</heading-offset-deg>
  160. <default-field-of-view-deg>95</default-field-of-view-deg>
  161. </config>
  162. </view>
  163. <current-view>
  164. <field-of-view>55.0</field-of-view>
  165. </current-view>
  166. <!-- Shift the camera target point back -->
  167. <view n="1">
  168. <config>
  169. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  170. </config>
  171. </view>
  172. <view n="2">
  173. <config>
  174. <y-offset-m archive="y" type="double">5.4</y-offset-m>
  175. <z-offset-m archive="y">-19.7</z-offset-m>
  176. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  177. </config>
  178. </view>
  179. <view n="3">
  180. <config>
  181. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  182. </config>
  183. </view>
  184. <view n="5">
  185. <config>
  186. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  187. </config>
  188. </view>
  189. <view n="6">
  190. <config>
  191. <target-z-offset-m archive="y" type="double">8.0</target-z-offset-m>
  192. </config>
  193. </view>
  194. <!-- Sound -->
  195. <sound>
  196. <audible>true</audible>
  197. <path>Aircraft/CanberraBI8/Sounds/CanberraBI8-sound.xml</path>
  198. </sound>
  199. <!-- Hud -->
  200. <hud>
  201. <path n="1">Aircraft/CanberraBI8/Huds/hud2.xml</path>
  202. <visibility n="1">true</visibility>
  203. <palette>
  204. <color n="0">
  205. <alpha type="float">0.85</alpha>
  206. <antialiased type="bool">true</antialiased>
  207. <brightness type="float">0.85</brightness>
  208. <transparent type="bool">true</transparent>
  209. <red type="float">0.38</red>
  210. <green type="float">1.0</green>
  211. <blue type="float">0.22</blue>
  212. </color>
  213. <color n="1">
  214. <alpha type="float">0.85</alpha>
  215. <antialiased type="bool">true</antialiased>
  216. <brightness type="float">0.85</brightness>
  217. <transparent type="bool">true</transparent>
  218. <red type="float">1.0</red>
  219. <green type="float">0.2</green>
  220. <blue type="float">0.0</blue>
  221. </color>
  222. </palette>
  223. </hud>
  224. <!-- Model -->
  225. <model>
  226. <path>Aircraft/CanberraBI8/Models/CanberraBI8.xml</path>
  227. <livery>
  228. <file type="string"/>
  229. </livery>
  230. <CanberraBI8>
  231. <inner-haze>0.5</inner-haze>
  232. <outer-haze>0.25</outer-haze>
  233. <texture>skin.rgb</texture>
  234. </CanberraBI8>
  235. </model>
  236. <rendering>
  237. <refl_correction type="string">-0.42</refl_correction>
  238. </rendering>
  239. <!-- Systems -->
  240. <systems>
  241. <!-- <autopilot>
  242. <path>Aircraft/CanberraBI8/Systems/autopilot2.xml</path>
  243. </autopilot>-->
  244. <autopilot n="100">
  245. <path>Aircraft/Hunter/Systems/glass-rain.xml</path>
  246. </autopilot>
  247. <electrical>
  248. <path>Aircraft/CanberraBI8/Systems/CanberraBI8-electrical.xml</path>
  249. </electrical>
  250. </systems>
  251. <!--sub models -->
  252. <submodels>
  253. <serviceable type="bool">1</serviceable>
  254. <path>Aircraft/CanberraBI8/CanberraBI8-submodels.xml</path>
  255. </submodels>
  256. <!-- Flaps - Only two detents -->
  257. <flaps>
  258. <setting>0.00</setting>
  259. <setting>1.00</setting>
  260. </flaps>
  261. <!-- Spoilers - Four detents -->
  262. <spoilers>
  263. <setting>0.00</setting>
  264. <setting>0.33</setting>
  265. <setting>0.66</setting>
  266. <setting>1.00</setting>
  267. </spoilers>
  268. <menubar include="Dialogs/canberra-menu.xml"/>
  269. </sim>
  270. <ai>
  271. <submodels>
  272. <trajectory-markers type="bool">0</trajectory-markers>
  273. </submodels>
  274. </ai>
  275. <!-- Autopilot
  276. <autopilot>
  277. <locks>
  278. <aoa type="string">initialised</aoa>
  279. <auto-flap-control type="string">manual</auto-flap-control>
  280. <auto-landing type="string">enabled</auto-landing>
  281. <auto-take-off type="string">enabled</auto-take-off>
  282. <common-aileron-control type="string">off</common-aileron-control>
  283. <common-elevator-control type="string">off</common-elevator-control>
  284. <ca-roll-hold type="string">initialised</ca-roll-hold>
  285. <ca-true-heading-hold type="string">initialised</ca-true-heading-hold>
  286. <ca-dg-heading-hold type="string">initialised</ca-dg-heading-hold>
  287. <ca-nav1-hold type="string">initialised</ca-nav1-hold>
  288. <ce-altitude-hold type="string">initialised</ce-altitude-hold>
  289. <ce-aoa-hold type="string">initialised</ce-aoa-hold>
  290. <ce-mach-climb-hold type="string">initialised</ce-mach-climb-hold>
  291. <ce-pitch-hold type="string">initialised</ce-pitch-hold>
  292. <ce-agl-hold type="string">initialised</ce-agl-hold>
  293. <ce-vfps-hold type="string">initialised</ce-vfps-hold>
  294. <rudder-control type="string">initialised</rudder-control>
  295. </locks>
  296. <settings>
  297. <approach-aoa-deg type="float">5.0</approach-aoa-deg>
  298. <auto-flap-target-aoa-deg type="float">0.0</auto-flap-target-aoa-deg>
  299. <auto-landing-touchdown-alt-ft type="float">300.0</auto-landing-touchdown-alt-ft>
  300. <auto-landing-circuit-speed-kt type="float">200.0</auto-landing-circuit-speed-kt>
  301. <climb-out-pitch-trans-time-sec type="float">9.0</climb-out-pitch-trans-time-sec>
  302. <ground-roll-heading-deg type="float">-999.9</ground-roll-heading-deg>
  303. <ground-roll-rotate-speed-kts type="float">70</ground-roll-rotate-speed-kts>
  304. <take-off-initial-pitch-deg type="float">0.0</take-off-initial-pitch-deg>
  305. <take-off-final-pitch-deg type="float">9.0</take-off-final-pitch-deg>
  306. <target-agl-ft type="float">800</target-agl-ft>
  307. <target-altitude-ft type="float">3000</target-altitude-ft>
  308. <target-aoa-deg type="float">1.5</target-aoa-deg>
  309. <target-climb-rate-fps type="float">10</target-climb-rate-fps>
  310. <target-pitch-deg type="float">0</target-pitch-deg>
  311. <target-speed-kt type="float">350.0</target-speed-kt>
  312. <target-mach type="float">0.6</target-mach>
  313. </settings>
  314. </autopilot>
  315. -->
  316. <!-- Start with the Parking Brake on, canopy and BB doors open -->
  317. <controls>
  318. <gear>
  319. <brake-parking type="float">1.0</brake-parking>
  320. </gear>
  321. <hatch>
  322. <hatch-pos-norm type="float">1.0</hatch-pos-norm>
  323. </hatch>
  324. <canopy>
  325. <canopy-pos-norm type="float">1.0</canopy-pos-norm>
  326. </canopy>
  327. <bb-doors>
  328. <left-bb-door-pos-norm type="float">1.0</left-bb-door-pos-norm>
  329. <right-bb-door-pos-norm type="float">1.0</right-bb-door-pos-norm>
  330. </bb-doors>
  331. </controls>
  332. <!-- Key mappings -->
  333. <input>
  334. <keyboard>
  335. <key n="67">
  336. <name>C</name>
  337. <desc>Toggle Canopy</desc>
  338. <binding n="0">
  339. <command>nasal</command>
  340. <script>CanberraBI8.toggle_canopy()</script>
  341. </binding>
  342. </key>
  343. <key n="68">
  344. <name>D</name>
  345. <desc>Toggle Bomb Bay Doors</desc>
  346. <binding n="0">
  347. <command>nasal</command>
  348. <script>CanberraBI8.toggle_bb_doors()</script>
  349. </binding>
  350. </key>
  351. <key n="69">
  352. <name>E</name>
  353. <desc>Toggle Entrance Hatch</desc>
  354. <binding n="0">
  355. <command>nasal</command>
  356. <script>CanberraBI8.toggle_hatch()</script>
  357. </binding>
  358. </key>
  359. <key n="74">
  360. <name>J</name>
  361. <desc>Release Red Beard</desc>
  362. <binding n="0">
  363. <command>property-assign</command>
  364. <property>/ai/submodels/red-beard-released</property>
  365. <value type="bool">true</value>
  366. </binding>
  367. </key>
  368. <key n="75">
  369. <name>K</name>
  370. <desc>Toggle trajectory markers</desc>
  371. <binding n="0">
  372. <command>nasal</command>
  373. <script>CanberraBI8.toggle_traj_mkr()</script>
  374. </binding>
  375. </key>
  376. <!-- Update Drop View position -->
  377. <key n="85">
  378. <name>U</name>
  379. <desc>Update Drop View position</desc>
  380. <binding n="0">
  381. <command>nasal</command>
  382. <script>CanberraBI8.update_drop_view_pos()</script>
  383. </binding>
  384. </key>
  385. <key n="123">
  386. <name>}</name>
  387. <desc>Engine Autostop</desc>
  388. <binding>
  389. <command>nasal</command>
  390. <script>emu.autostop();</script>
  391. </binding>
  392. </key>
  393. <key n="125">
  394. <name>}</name>
  395. <desc>Engine Autostart</desc>
  396. <binding>
  397. <command>nasal</command>
  398. <script>emu.autostart();</script>
  399. </binding>
  400. </key>
  401. </keyboard>
  402. </input>
  403. <!-- Engine indexes -->
  404. <engines>
  405. <engine n="0">
  406. <engine-num type="int">0</engine-num>
  407. </engine>
  408. <engine n="1">
  409. <engine-num type="int">1</engine-num>
  410. </engine>
  411. </engines>
  412. <!-- Fuel Tank indexes -->
  413. <consumables>
  414. <fuel>
  415. <tank n="0">
  416. <tank-num type="int">0</tank-num>
  417. </tank>
  418. <tank n="1">
  419. <tank-num type="int">1</tank-num>
  420. </tank>
  421. <tank n="2">
  422. <tank-num type="int">2</tank-num>
  423. </tank>
  424. <tank n="3">
  425. <tank-num type="int">3</tank-num>
  426. </tank>
  427. <tank n="4">
  428. <tank-num type="int">4</tank-num>
  429. </tank>
  430. </fuel>
  431. </consumables>
  432. <!-- Weight entry for Red Beard -->
  433. <yasim>
  434. <weights>
  435. <red-beard-lbs type="float">2000</red-beard-lbs>
  436. </weights>
  437. </yasim>
  438. <!-- Nasal files/scripts -->
  439. <nasal>
  440. <CanberraBI8>
  441. <file>Aircraft/CanberraBI8/Nasal/CanberraBI8.nas</file>
  442. <script>start_up();</script>
  443. <file>Aircraft/CanberraBI8/Nasal/light.nas</file>
  444. <file>Aircraft/CanberraBI8/Nasal/liveries.nas</file>
  445. </CanberraBI8>
  446. <lights>
  447. <file>Aircraft/CanberraBI8/Nasal/Lights.nas</file>
  448. </lights>
  449. <low>
  450. <file>Aircraft/CanberraBI8/Nasal/low.nas</file>
  451. </low>
  452. <engines>
  453. <file>Aircraft/CanberraBI8/Nasal/generic-yasim-engine.nas</file>
  454. </engines>
  455. <emu>
  456. <file>Aircraft/CanberraBI8/Nasal/emu.nas</file>
  457. </emu>
  458. </nasal>
  459. </PropertyList>