ki525a.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430
  1. <?xml version="1.0" ?>
  2. <!--
  3. This file is part of FlightGear, the free flight simulator
  4. http://www.flightgear.org/
  5. Copyright (C) 2009 Torsten Dreyer, Torsten (at) t3r _dot_ de
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License as
  8. published by the Free Software Foundation; either version 2 of the
  9. License, or (at your option) any later version.
  10. This program is distributed in the hope that it will be useful, but
  11. WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. General Public License for more details.
  14. -->
  15. <!--
  16. Animations for the ki525 hsi indicator
  17. Maintainer: Torsten Dreyer
  18. -->
  19. <PropertyList>
  20. <path>ki525a.ac</path>
  21. <params>
  22. <has-gs>instrumentation/nav[0]/has-gs</has-gs>
  23. <gs-in-range>instrumentation/nav[0]/gs-in-range</gs-in-range>
  24. <gs-needle-deflection>instrumentation/kcs55/ki525/gs-deflection</gs-needle-deflection>
  25. <cdi-needle-deflection>instrumentation/kcs55/ki525/cdi-deflection</cdi-needle-deflection>
  26. <selected-heading>instrumentation/kcs55/ki525/selected-heading-deg</selected-heading>
  27. <selected-course>instrumentation/kcs55/ki525/selected-course-deg</selected-course>
  28. <to-flag>instrumentation/kcs55/ki525/to-flag</to-flag>
  29. <from-flag>instrumentation/kcs55/ki525/from-flag</from-flag>
  30. <nav-flag>instrumentation/kcs55/ki525/nav-flag</nav-flag>
  31. <indicated-heading>instrumentation/kcs55/kg102/indicated-heading-deg</indicated-heading>
  32. <hdg-flag>instrumentation/kcs55/kg102/flag-norm</hdg-flag>
  33. </params>
  34. <animation>
  35. <type>range</type>
  36. <min-m>0</min-m>
  37. <max-m>10</max-m>
  38. </animation>
  39. <animation>
  40. <type>rotate</type>
  41. <object-name>CompassRose</object-name>
  42. <property alias="../../params/indicated-heading"/>
  43. <factor>1.0</factor>
  44. <axis>
  45. <x>1.0</x>
  46. <y>0.0</y>
  47. <z>0.0</z>
  48. </axis>
  49. <center>
  50. <x-m>-0.001</x-m>
  51. <y-m>0</y-m>
  52. <z-m>0</z-m>
  53. </center>
  54. </animation>
  55. <animation>
  56. <type>rotate</type>
  57. <object-name>HDGBug</object-name>
  58. <property alias="../../params/indicated-heading"/>
  59. <factor>1.0</factor>
  60. <axis>
  61. <x>1.0</x>
  62. <y>0.0</y>
  63. <z>0.0</z>
  64. </axis>
  65. <center>
  66. <x-m>0</x-m>
  67. <y-m>0</y-m>
  68. <z-m>0</z-m>
  69. </center>
  70. </animation>
  71. <animation>
  72. <type>rotate</type>
  73. <object-name>HDGBug</object-name>
  74. <property alias="../../params/selected-heading"/>
  75. <factor>-1.0</factor>
  76. <axis>
  77. <x>1.0</x>
  78. <y>0.0</y>
  79. <z>0.0</z>
  80. </axis>
  81. <center>
  82. <x-m>0</x-m>
  83. <y-m>0</y-m>
  84. <z-m>0</z-m>
  85. </center>
  86. </animation>
  87. <animation>
  88. <type>rotate</type>
  89. <object-name>HDGSelector</object-name>
  90. <property alias="../../params/selected-heading"/>
  91. <factor>-8.0</factor>
  92. <axis>
  93. <x>1.0</x>
  94. <y>0.0</y>
  95. <z>0.0</z>
  96. </axis>
  97. <center>
  98. <x-m>0</x-m>
  99. <y-m>0.0309671</y-m>
  100. <z-m>-0.0274502</z-m>
  101. </center>
  102. </animation>
  103. <animation>
  104. <type>rotate</type>
  105. <object-name>HDGSelector</object-name>
  106. <property alias="../../params/indicated-heading"/>
  107. <factor>8.0</factor>
  108. <axis>
  109. <x>1.0</x>
  110. <y>0.0</y>
  111. <z>0.0</z>
  112. </axis>
  113. <center>
  114. <x-m>0</x-m>
  115. <y-m>0.0309671</y-m>
  116. <z-m>-0.0274502</z-m>
  117. </center>
  118. </animation>
  119. <animation>
  120. <type>rotate</type>
  121. <object-name>OBSSelector</object-name>
  122. <property alias="../../params/selected-course"/>
  123. <factor>-8.0</factor>
  124. <axis>
  125. <x>1.0</x>
  126. <y>0.0</y>
  127. <z>0.0</z>
  128. </axis>
  129. <center>
  130. <x-m>0</x-m>
  131. <y-m>-0.0309671</y-m>
  132. <z-m>-0.0274502</z-m>
  133. </center>
  134. </animation>
  135. <animation>
  136. <type>rotate</type>
  137. <object-name>OBSSelector</object-name>
  138. <property alias="../../params/indicated-heading"/>
  139. <factor>8.0</factor>
  140. <axis>
  141. <x>1.0</x>
  142. <y>0.0</y>
  143. <z>0.0</z>
  144. </axis>
  145. <center>
  146. <x-m>0</x-m>
  147. <y-m>-0.0309671</y-m>
  148. <z-m>-0.0274502</z-m>
  149. </center>
  150. </animation>
  151. <animation>
  152. <type>rotate</type>
  153. <object-name>CDIPlate</object-name>
  154. <object-name>ArrowHead</object-name>
  155. <object-name>ArrowTail</object-name>
  156. <object-name>ArrowBody</object-name>
  157. <object-name>TO</object-name>
  158. <object-name>FROM</object-name>
  159. <property alias="../../params/indicated-heading"/>
  160. <factor>1.0</factor>
  161. <axis>
  162. <x>1.0</x>
  163. <y>0.0</y>
  164. <z>0.0</z>
  165. </axis>
  166. <center>
  167. <x-m>0</x-m>
  168. <y-m>0</y-m>
  169. <z-m>0</z-m>
  170. </center>
  171. </animation>
  172. <animation>
  173. <type>rotate</type>
  174. <object-name>CDIPlate</object-name>
  175. <object-name>ArrowHead</object-name>
  176. <object-name>ArrowTail</object-name>
  177. <object-name>ArrowBody</object-name>
  178. <object-name>TO</object-name>
  179. <object-name>FROM</object-name>
  180. <property alias="../../params/selected-course"/>
  181. <factor>-1.0</factor>
  182. <axis>
  183. <x>1.0</x>
  184. <y>0.0</y>
  185. <z>0.0</z>
  186. </axis>
  187. <center>
  188. <x-m>0</x-m>
  189. <y-m>0</y-m>
  190. <z-m>0</z-m>
  191. </center>
  192. </animation>
  193. <animation>
  194. <type>knob</type>
  195. <object-name>HDGSelector</object-name>
  196. <visible>true</visible>
  197. <action>
  198. <binding>
  199. <command>property-adjust</command>
  200. <property alias="../../../../params/selected-heading"/>
  201. <factor>1</factor>
  202. <min>0</min>
  203. <max>360</max>
  204. <wrap>true</wrap>
  205. </binding>
  206. </action>
  207. <hovered>
  208. <binding>
  209. <command>set-tooltip</command>
  210. <tooltip-id>HDG</tooltip-id>
  211. <label>Heading: %3.0f</label>
  212. <property alias="../../../../params/selected-heading"/>
  213. </binding>
  214. </hovered>
  215. </animation>
  216. <animation>
  217. <type>knob</type>
  218. <object-name>OBSSelector</object-name>
  219. <visible>true</visible>
  220. <action>
  221. <binding>
  222. <command>property-adjust</command>
  223. <property alias="../../../../params/selected-course"/>
  224. <factor>1</factor>
  225. <min>0</min>
  226. <max>360</max>
  227. <wrap>1</wrap>
  228. </binding>
  229. </action>
  230. <hovered>
  231. <binding>
  232. <command>set-tooltip</command>
  233. <tooltip-id>OBS</tooltip-id>
  234. <label>Bearing: %3.0f</label>
  235. <property alias="../../../../params/selected-course"/>
  236. </binding>
  237. </hovered>
  238. </animation>
  239. <animation>
  240. <type>rotate</type>
  241. <object-name>NAV</object-name>
  242. <property alias="../../params/nav-flag"/>
  243. <interpolation>
  244. <entry>
  245. <ind>0</ind>
  246. <dep>0</dep>
  247. </entry>
  248. <entry>
  249. <ind>0.5</ind>
  250. <dep>0.0</dep>
  251. </entry>
  252. <entry>
  253. <ind>0.90</ind>
  254. <dep>30.0</dep>
  255. </entry>
  256. <entry>
  257. <ind>1.0</ind>
  258. <dep>40</dep>
  259. </entry>
  260. </interpolation>
  261. <axis>
  262. <x>1.0</x>
  263. <y>0.0</y>
  264. <z>0.0</z>
  265. </axis>
  266. <center>
  267. <x-m>0</x-m>
  268. <y-m>-0.0217139</y-m>
  269. <z-m>0.0212677</z-m>
  270. </center>
  271. </animation>
  272. <animation>
  273. <type>rotate</type>
  274. <object-name>HDG</object-name>
  275. <property alias="../../params/hdg-flag"/>
  276. <interpolation>
  277. <entry>
  278. <ind>0</ind>
  279. <dep>-40.0</dep>
  280. </entry>
  281. <entry>
  282. <ind>1.0</ind>
  283. <dep>0</dep>
  284. </entry>
  285. </interpolation>
  286. <axis>
  287. <x>1.0</x>
  288. <y>0.0</y>
  289. <z>0.0</z>
  290. </axis>
  291. <center>
  292. <x-m>0</x-m>
  293. <y-m>0.0217139</y-m>
  294. <z-m>0.0212677</z-m>
  295. </center>
  296. </animation>
  297. <animation>
  298. <type>translate</type>
  299. <object-name>TO</object-name>
  300. <property alias="../../params/to-flag"/>
  301. <factor>0.00712488</factor>
  302. <axis>
  303. <x>0.0</x>
  304. <y>0.0</y>
  305. <z>1.0</z>
  306. </axis>
  307. </animation>
  308. <animation>
  309. <type>translate</type>
  310. <object-name>FROM</object-name>
  311. <property alias="../../params/from-flag"/>
  312. <factor>-0.00712488</factor>
  313. <axis>
  314. <x>0.0</x>
  315. <y>0.0</y>
  316. <z>1.0</z>
  317. </axis>
  318. </animation>
  319. <animation>
  320. <type>translate</type>
  321. <object-name>GS</object-name>
  322. <property alias="../../params/gs-needle-deflection"/>
  323. <factor>0.016</factor>
  324. <axis>
  325. <x>0.0</x>
  326. <y>0.0</y>
  327. <z>1.0</z>
  328. </axis>
  329. </animation>
  330. <animation>
  331. <type>select</type>
  332. <object-name>GS</object-name>
  333. <condition>
  334. <property alias="../../../params/has-gs"/>
  335. <property alias="../../../params/gs-in-range"/>
  336. </condition>
  337. </animation>
  338. <animation>
  339. <type>rotate</type>
  340. <object-name>ArrowBody</object-name>
  341. <property alias="../../params/cdi-needle-deflection"/>
  342. <factor>2.5</factor>
  343. <axis>
  344. <x>0.0</x>
  345. <y>0.0</y>
  346. <z>1.0</z>
  347. </axis>
  348. <center>
  349. <x-m>-0.0417058</x-m>
  350. <y-m>0</y-m>
  351. <z-m>0</z-m>
  352. </center>
  353. </animation>
  354. <!-- dimming -->
  355. <animation>
  356. <name>all</name>
  357. <object-name>CompassRose</object-name>
  358. <object-name>TO</object-name>
  359. <object-name>FROM</object-name>
  360. <object-name>ArrowHead</object-name>
  361. <object-name>ArrowTail</object-name>
  362. <object-name>ArrowBody</object-name>
  363. <object-name>NAV</object-name>
  364. <object-name>HDG</object-name>
  365. <object-name>HDGBug</object-name>
  366. <object-name>CDIPlate</object-name>
  367. <object-name>GS</object-name>
  368. <object-name>GSMarker</object-name>
  369. <object-name>GSLabel</object-name>
  370. <object-name>Marker</object-name>
  371. <object-name>LubberLine</object-name>
  372. <object-name>OBSSelector</object-name>
  373. <object-name>HDGSelector</object-name>
  374. </animation>
  375. <animation>
  376. <type>material</type>
  377. <object-name>all</object-name>
  378. <condition>
  379. <property>/controls/lighting/instrument-lights</property>
  380. </condition>
  381. <emission>
  382. <red> 0.8 </red>
  383. <green> 0.8 </green>
  384. <blue> 1.0 </blue>
  385. <factor>0.5</factor>
  386. </emission>
  387. </animation>
  388. <animation>
  389. <type>material</type>
  390. <object-name>all</object-name>
  391. <condition>
  392. <property>/controls/lighting/instrument-lights</property>
  393. </condition>
  394. <emission>
  395. <red> 0.8 </red>
  396. <green> 0.8 </green>
  397. <blue> 1.0 </blue>
  398. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  399. </emission>
  400. </animation>
  401. </PropertyList>