MFD3d.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. <?xml version="1.0"?>
  2. <!--
  3. Author : Syd Adams
  4. Primus 2000 MFD
  5. -->
  6. <PropertyList>
  7. <path>mfd3d.ac</path>
  8. <!-- rembrandt auto switching for glass -->
  9. <effect>
  10. <inherits-from>Effects/model-transparent</inherits-from>
  11. <condition>
  12. <greater-than>
  13. <property>sim/multiplay/generic/float[6]</property>
  14. <value>9</value>
  15. </greater-than>
  16. <property>/sim/rendering/rembrandt/enabled</property>
  17. </condition>
  18. <object-name>MFD.hsi.002</object-name>
  19. <object-name>MFD.bkg.001</object-name>
  20. </effect>
  21. <panel>
  22. <name>panel-area</name>
  23. <path>Aircraft/AS350/Models/Interior/Instruments/garmin500h/MFD/nd.xml</path>
  24. <bottom-left>
  25. <x-m>0.00025</x-m>
  26. <y-m>-0.080</y-m>
  27. <z-m>-0.080</z-m>
  28. </bottom-left>
  29. <bottom-right>
  30. <x-m>0.00025</x-m>
  31. <y-m>0.080</y-m>
  32. <z-m>-0.080</z-m>
  33. </bottom-right>
  34. <top-left>
  35. <x-m>0.00025</x-m>
  36. <y-m>-0.080</y-m>
  37. <z-m>0.108</z-m>
  38. </top-left>
  39. </panel>
  40. <model>
  41. <name>Mtext3d</name>
  42. <path>Aircraft/AS350/Models/Interior/Instruments/garmin500h/MFD/Mtext3d.xml</path>
  43. <offsets>
  44. <x-m>0.0005</x-m>
  45. <y-m>0</y-m>
  46. <z-m>0</z-m>
  47. <pitch-deg>0</pitch-deg>
  48. </offsets>
  49. </model>
  50. <animation>
  51. <type>texrotate</type>
  52. <object-name>MFD.hsi</object-name>
  53. <property>orientation/heading-magnetic-deg</property>
  54. <axis>
  55. <x>0</x>
  56. <y>0</y>
  57. <z>-1</z>
  58. </axis>
  59. <center>
  60. <x>0.5</x>
  61. <y>0.5</y>
  62. </center>
  63. </animation>
  64. <animation>
  65. <type>select</type>
  66. <object-name>MFD.tcas-off</object-name>
  67. <condition>
  68. <not>
  69. <property>instrumentation/primus2000/dc840/tcas</property>
  70. </not>
  71. </condition>
  72. </animation>
  73. <animation>
  74. <type>rotate</type>
  75. <object-name>MFD.hdg-bug</object-name>
  76. <property>autopilot/internal/heading-bug-error-deg</property>
  77. <axis>
  78. <x>-1</x>
  79. <y>0</y>
  80. <z>0</z>
  81. </axis>
  82. <center>
  83. <x-m>0.0</x-m>
  84. <y-m>0.0</y-m>
  85. <z-m>0.018</z-m>
  86. </center>
  87. </animation>
  88. <animation>
  89. <type>select</type>
  90. <object-name>MFD.vor</object-name>
  91. <condition>
  92. <property>instrumentation/primus2000/dc840/mfd-wx</property>
  93. </condition>
  94. </animation>
  95. <animation>
  96. <type>select</type>
  97. <object-name>MFD.apt</object-name>
  98. <condition>
  99. <property>instrumentation/primus2000/dc840/mfd-wx</property>
  100. </condition>
  101. </animation>
  102. <animation>
  103. <type>select</type>
  104. <object-name>MFD.hdg-bug</object-name>
  105. <condition>
  106. <and>
  107. <greater-than>
  108. <property>autopilot/internal/heading-bug-error-deg</property>
  109. <value>-55.0</value>
  110. </greater-than>
  111. <less-than>
  112. <property>autopilot/internal/heading-bug-error-deg</property>
  113. <value>55.0</value>
  114. </less-than>
  115. <property>instrumentation/primus2000/dc840/mfd-map</property>
  116. </and>
  117. </condition>
  118. </animation>
  119. <animation>
  120. <type>select</type>
  121. <object-name>Lhdg-arrow</object-name>
  122. <condition>
  123. <and>
  124. <less-than>
  125. <property>autopilot/internal/heading-bug-error-deg</property>
  126. <value>-55</value>
  127. </less-than>
  128. <property>instrumentation/primus2000/dc840/mfd-map</property>
  129. </and>
  130. </condition>
  131. </animation>
  132. <animation>
  133. <type>select</type>
  134. <object-name>Rhdg-arrow</object-name>
  135. <condition>
  136. <and>
  137. <greater-than>
  138. <property>autopilot/internal/heading-bug-error-deg</property>
  139. <value>55</value>
  140. </greater-than>
  141. <property>instrumentation/primus2000/dc840/mfd-map</property>
  142. </and>
  143. </condition>
  144. </animation>
  145. <animation>
  146. <type>select</type>
  147. <object-name>MFD.tcas-auto</object-name>
  148. <condition>
  149. <property>instrumentation/primus2000/dc840/tcas</property>
  150. </condition>
  151. </animation>
  152. <animation>
  153. <type>select</type>
  154. <object-name>MFD.hsi</object-name>
  155. <object-name>MFD.hdg-bracket</object-name>
  156. <object-name>MagHdg</object-name>
  157. <object-name>MFD.staticplane</object-name>
  158. <condition>
  159. <property>instrumentation/primus2000/dc840/mfd-map</property>
  160. </condition>
  161. </animation>
  162. <animation>
  163. <type>select</type>
  164. <object-name>MFD.trunorth</object-name>
  165. <object-name>MFD.plane</object-name>
  166. <condition>
  167. <not>
  168. <property>instrumentation/primus2000/dc840/mfd-map</property>
  169. </not>
  170. </condition>
  171. </animation>
  172. <animation>
  173. <type>textranslate</type>
  174. <object-name>MFD.menu</object-name>
  175. <property>instrumentation/primus2000/mfd/menu-num</property>
  176. <factor>0.05</factor>
  177. <axis>
  178. <x>0</x>
  179. <y>-1</y>
  180. <z>0</z>
  181. </axis>
  182. </animation>
  183. <animation>
  184. <type>rotate</type>
  185. <object-name>MFD.plane</object-name>
  186. <property>orientation/heading-deg</property>
  187. <center>
  188. <x-m>0.0</x-m>
  189. <y-m>0.0</y-m>
  190. <z-m>0.018</z-m>
  191. </center>
  192. <axis>
  193. <x>-1</x>
  194. <y>0</y>
  195. <z>0</z>
  196. </axis>
  197. </animation>
  198. <!-- terrain map
  199. <model>
  200. <name>ai1</name>
  201. <path>Aircraft/wildcat/Models/Instruments/MFD/map/map.xml</path>
  202. <offsets>
  203. <x-m>-0.0025</x-m>
  204. <y-m>0</y-m>
  205. <z-m>0</z-m>
  206. <pitch-deg>0</pitch-deg>
  207. </offsets>
  208. </model>-->
  209. <!-- Buttons -->
  210. <!-- Top row from left to right -->
  211. <!-- Arport on/off
  212. <animation>
  213. <type>pick</type>
  214. <visible>true</visible>
  215. <object-name>buttont1</object-name>
  216. <action>
  217. <button>0</button>
  218. <repeatable>true</repeatable>
  219. <binding>
  220. <command>property-toggle</command>
  221. <property>instrumentation/nd/display/arpt</property>
  222. </binding>
  223. </action>
  224. </animation> -->
  225. <!-- fix On/Off
  226. <animation>
  227. <type>pick</type>
  228. <visible>true</visible>
  229. <object-name>buttont2</object-name>
  230. <action>
  231. <button>0</button>
  232. <repeatable>true</repeatable>
  233. <binding>
  234. <command>property-toggle</command>
  235. <property>instrumentation/nd/display/fix</property>
  236. </binding>
  237. </action>
  238. </animation> -->
  239. <!-- tcas On/Off
  240. <animation>
  241. <type>pick</type>
  242. <visible>true</visible>
  243. <object-name>buttont3</object-name>
  244. <action>
  245. <button>0</button>
  246. <repeatable>true</repeatable>
  247. <binding>
  248. <command>property-toggle</command>
  249. <property>instrumentation/nd/display/tcas</property>
  250. </binding>
  251. </action>
  252. </animation> -->
  253. <!-- vor On/Off
  254. <animation>
  255. <type>pick</type>
  256. <visible>true</visible>
  257. <object-name>buttont4</object-name>
  258. <action>
  259. <button>0</button>
  260. <repeatable>true</repeatable>
  261. <binding>
  262. <command>property-toggle</command>
  263. <property>instrumentation/nd/display/vor</property>
  264. </binding>
  265. </action>
  266. </animation> -->
  267. <!-- mfd range
  268. <animation>
  269. <type>pick</type>
  270. <visible>true</visible>
  271. <object-name>buttont5</object-name>
  272. <action>
  273. <button>0</button>
  274. <repeatable>true</repeatable>
  275. <binding>
  276. <command>property-toggle</command>
  277. <property>instrumentation/nd/display/vor</property>
  278. </binding>
  279. </action>
  280. </animation> -->
  281. <!-- buttons buttont5 buttont6 not currently used -->
  282. <!-- Left side buttons -->
  283. <!-- vor On/Off
  284. <animation>
  285. <type>pick</type>
  286. <visible>true</visible>
  287. <object-name>button1</object-name>
  288. <action>
  289. <button>0</button>
  290. <repeatable>true</repeatable>
  291. <binding>
  292. <command>property-toggle</command>
  293. <property>instrumentation/primus2000/dc840/mfd-map</property>
  294. </binding>
  295. </action>
  296. </animation> -->
  297. <!-- wx On/Off
  298. <animation>
  299. <type>pick</type>
  300. <visible>true</visible>
  301. <object-name>button5</object-name>
  302. <action>
  303. <button>0</button>
  304. <repeatable>true</repeatable>
  305. <binding>
  306. <command>property-toggle</command>
  307. <property>instrumentation/primus2000/dc840/mfd-wx</property>
  308. </binding>
  309. <binding>
  310. <command>property-toggle</command>
  311. <property>instrumentation/primus2000/dc840/wx</property>
  312. </binding>
  313. </action>
  314. </animation> -->
  315. <!-- right side buttons -->
  316. <!-- vor On/Off
  317. <animation>
  318. <type>pick</type>
  319. <visible>true</visible>
  320. <object-name>button9</object-name>
  321. <action>
  322. <button>0</button>
  323. <repeatable>true</repeatable>
  324. <binding>
  325. <command>property-toggle</command>
  326. <property>instrumentation/primus2000/dc840/tcas</property>
  327. </binding>
  328. </action>
  329. </animation> -->
  330. <!-- range knob
  331. <animation>
  332. <type>pick</type>
  333. <object-name>leftknob</object-name>
  334. <action>
  335. <button>0</button>
  336. <repeatable>false</repeatable>
  337. <binding>
  338. <command>nasal</command>
  339. <script>bo105.set_range(1);</script>
  340. </binding>
  341. </action>
  342. <action>
  343. <button>1</button>
  344. <repeatable>false</repeatable>
  345. <binding>
  346. <command>nasal</command>
  347. <script>bo105.set_range(-1);</script>
  348. </binding>
  349. </action>
  350. <action>
  351. <button>3</button>
  352. <repeatable>false</repeatable>
  353. <binding>
  354. <command>nasal</command>
  355. <script>bo105.set_range(1);</script>
  356. </binding>
  357. </action>
  358. <action>
  359. <button>4</button>
  360. <repeatable>false</repeatable>
  361. <binding>
  362. <command>nasal</command>
  363. <script>bo105.set_range(-1);</script>
  364. </binding>
  365. </action>
  366. </animation> -->
  367. </PropertyList>