alt.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>alti.ac</path>
  4. <animation>
  5. <type>rotate</type>
  6. <object-name>needle</object-name>
  7. <property>position/altitude-ft</property>
  8. <factor>0.36</factor>
  9. <center>
  10. <x-m>0</x-m>
  11. <y-m>0</y-m>
  12. <z-m>0</z-m>
  13. </center>
  14. <axis>
  15. <x>-1</x>
  16. <y>0</y>
  17. <z>0</z>
  18. </axis>
  19. </animation>
  20. <!-- altimeter drum counter -->
  21. <animation>
  22. <type>textranslate</type>
  23. <object-name>drum-1</object-name>
  24. <property>position/altitude-ft</property>
  25. <factor>0.00001</factor>
  26. <offset>-7500</offset>
  27. <step>10000</step>
  28. <scroll>25</scroll>
  29. <center>
  30. <x-m>0</x-m>
  31. <y-m>0</y-m>
  32. <z-m>0</z-m>
  33. </center>
  34. <axis>
  35. <x>0</x>
  36. <y>-1</y>
  37. <z>0</z>
  38. </axis>
  39. </animation>
  40. <animation>
  41. <type>textranslate</type>
  42. <object-name>drum-2</object-name>
  43. <property>position/altitude-ft</property>
  44. <factor>0.0001</factor>
  45. <offset>-750</offset>
  46. <step>1000</step>
  47. <scroll>25</scroll>
  48. <center>
  49. <x-m>0</x-m>
  50. <y-m>0</y-m>
  51. <z-m>0</z-m>
  52. </center>
  53. <axis>
  54. <x>0</x>
  55. <y>-1</y>
  56. <z>0</z>
  57. </axis>
  58. </animation>
  59. <animation>
  60. <type>textranslate</type>
  61. <object-name>drum-3</object-name>
  62. <property>position/altitude-ft</property>
  63. <factor>0.001</factor>
  64. <offset>-75</offset>
  65. <step>100</step>
  66. <scroll>25</scroll>
  67. <center>
  68. <x-m>0</x-m>
  69. <y-m>0</y-m>
  70. <z-m>0</z-m>
  71. </center>
  72. <axis>
  73. <x>0</x>
  74. <y>-1</y>
  75. <z>0</z>
  76. </axis>
  77. </animation>
  78. <!-- barometer drum counter -->
  79. <animation>
  80. <type>textranslate</type>
  81. <object-name>drum-inhg-1</object-name>
  82. <property>instrumentation/altimeter/setting-inhg</property>
  83. <factor>10</factor>
  84. <offset>-0.01</offset>
  85. <center>
  86. <x-m>0</x-m>
  87. <y-m>0</y-m>
  88. <z-m>0</z-m>
  89. </center>
  90. <axis>
  91. <x>0</x>
  92. <y>-1</y>
  93. <z>0</z>
  94. </axis>
  95. </animation>
  96. <animation>
  97. <type>textranslate</type>
  98. <object-name>drum-inhg-2</object-name>
  99. <property>instrumentation/altimeter/setting-inhg</property>
  100. <factor>1</factor>
  101. <offset>-0.1</offset>
  102. <step>0.1</step>
  103. <scroll>0.01</scroll>
  104. <center>
  105. <x-m>0</x-m>
  106. <y-m>0</y-m>
  107. <z-m>0</z-m>
  108. </center>
  109. <axis>
  110. <x>0</x>
  111. <y>-1</y>
  112. <z>0</z>
  113. </axis>
  114. </animation>
  115. <animation>
  116. <type>textranslate</type>
  117. <object-name>drum-inhg-3</object-name>
  118. <property>instrumentation/altimeter/setting-inhg</property>
  119. <factor>0.1</factor>
  120. <offset>-1</offset>
  121. <step>1</step>
  122. <scroll>0.01</scroll>
  123. <center>
  124. <x-m>0</x-m>
  125. <y-m>0</y-m>
  126. <z-m>0</z-m>
  127. </center>
  128. <axis>
  129. <x>0</x>
  130. <y>-1</y>
  131. <z>0</z>
  132. </axis>
  133. </animation>
  134. <animation>
  135. <type>textranslate</type>
  136. <object-name>drum-inhg-4</object-name>
  137. <property>instrumentation/altimeter/setting-inhg</property>
  138. <factor>0.01</factor>
  139. <offset>-10</offset>
  140. <step>10</step>
  141. <scroll>0.01</scroll>
  142. <center>
  143. <x-m>0</x-m>
  144. <y-m>0</y-m>
  145. <z-m>0</z-m>
  146. </center>
  147. <axis>
  148. <x>0</x>
  149. <y>-1</y>
  150. <z>0</z>
  151. </axis>
  152. </animation>
  153. <animation>
  154. <type>pick</type>
  155. <object-name>InhgKnob</object-name>
  156. <action>
  157. <button>0</button>
  158. <repeatable>true</repeatable>
  159. <interval-sec>0.1</interval-sec>
  160. <binding>
  161. <command>property-adjust</command>
  162. <property>instrumentation/altimeter/setting-inhg</property>
  163. <step> 0.01 </step>
  164. <min> 27.50 </min>
  165. <max> 31.00 </max>
  166. <wrap> 0.00 </wrap>
  167. </binding>
  168. </action>
  169. </animation>
  170. <animation>
  171. <type>pick</type>
  172. <object-name>InhgKnob</object-name>
  173. <action>
  174. <button>1</button>
  175. <repeatable>true</repeatable>
  176. <interval-sec>0.1</interval-sec>
  177. <binding>
  178. <command>property-adjust</command>
  179. <property>instrumentation/altimeter/setting-inhg</property>
  180. <step> -0.01 </step>
  181. <min> 27.50 </min>
  182. <max> 31.00 </max>
  183. <wrap> 0.00 </wrap>
  184. </binding>
  185. </action>
  186. </animation>
  187. <animation>
  188. <type>pick</type>
  189. <object-name>InhgKnob</object-name>
  190. <action>
  191. <button>3</button>
  192. <binding>
  193. <command>property-adjust</command>
  194. <property>instrumentation/altimeter/setting-inhg</property>
  195. <step> 0.01 </step>
  196. <min> 27.50 </min>
  197. <max> 31.00 </max>
  198. <wrap> 0.00 </wrap>
  199. </binding>
  200. </action>
  201. </animation>
  202. <animation>
  203. <type>pick</type>
  204. <object-name>InhgKnob</object-name>
  205. <action>
  206. <button>4</button>
  207. <binding>
  208. <command>property-adjust</command>
  209. <property>instrumentation/altimeter/setting-inhg</property>
  210. <step> -0.01 </step>
  211. <min> 27.50 </min>
  212. <max> 31.00 </max>
  213. <wrap> 0.00 </wrap>
  214. </binding>
  215. </action>
  216. </animation>
  217. <animation>
  218. <type>select</type>
  219. <object-name>off-flag</object-name>
  220. <condition>
  221. <less-than>
  222. <property>systems/electrical/volts</property>
  223. <value>24</value>
  224. </less-than>
  225. </condition>
  226. </animation>
  227. <animation>
  228. <type>rotate</type>
  229. <object-name>InhgKnob</object-name>
  230. <property>instrumentation/altimeter/setting-inhg</property>
  231. <factor>200</factor>
  232. <center>
  233. <x-m>0.025</x-m>
  234. <y-m>-0.037</y-m>
  235. <z-m>-0.035</z-m>
  236. </center>
  237. <axis>
  238. <x>-1</x>
  239. <y>0</y>
  240. <z>0</z>
  241. </axis>
  242. </animation>
  243. <!-- lighting -->
  244. <animation>
  245. <object-name>mount</object-name>
  246. <object-name>InhgKnob</object-name>
  247. <type>material</type>
  248. <emission>
  249. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  250. <red>0.5</red>
  251. <green>0.2</green>
  252. <blue>0.2</blue>
  253. </emission>
  254. </animation>
  255. <animation>
  256. <object-name>face</object-name>
  257. <object-name>drum-1</object-name>
  258. <object-name>drum-2</object-name>
  259. <object-name>drum-3</object-name>
  260. <object-name>drum-4</object-name>
  261. <object-name>drum-5</object-name>
  262. <object-name>drum-dec</object-name>
  263. <object-name>off-flag</object-name>
  264. <object-name>drum-inhg-1</object-name>
  265. <object-name>drum-inhg-2</object-name>
  266. <object-name>drum-inhg-3</object-name>
  267. <object-name>drum-inhg-4</object-name>
  268. <object-name>needle-w</object-name>
  269. <type>material</type>
  270. <emission>
  271. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  272. <red>0.5</red>
  273. <green>0.5</green>
  274. <blue>0.4</blue>
  275. </emission>
  276. </animation>
  277. <animation>
  278. <object-name>off-flag</object-name>
  279. <type>material</type>
  280. <emission>
  281. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  282. <red> 1 </red>
  283. <green> 1 </green>
  284. <blue> 1 </blue>
  285. </emission>
  286. </animation>
  287. <animation>
  288. <type>range</type>
  289. <min-m>0</min-m>
  290. <max-m>10</max-m>
  291. </animation>
  292. </PropertyList>