alt.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>alt.ac</path>
  4. <animation>
  5. <type>material</type>
  6. <object-name>disk</object-name>
  7. <emission>
  8. <red>0.45</red>
  9. <green>0.09</green>
  10. <blue>0.00001</blue>
  11. <factor-prop>/sim/model//material/instruments/factor</factor-prop>
  12. </emission>
  13. </animation>
  14. <animation>
  15. <type>rotate</type>
  16. <object-name>Needle100</object-name>
  17. <property>/instrumentation/altimeter/indicated-altitude-ft</property>
  18. <factor>0.36</factor>
  19. <axis>
  20. <x>-1</x>
  21. <y>0</y>
  22. <z>0</z>
  23. </axis>
  24. </animation>
  25. <animation>
  26. <type>rotate</type>
  27. <object-name>Needle1000</object-name>
  28. <property>/instrumentation/altimeter/indicated-altitude-ft</property>
  29. <factor>0.036</factor>
  30. <axis>
  31. <x>-1</x>
  32. <y>0</y>
  33. <z>0</z>
  34. </axis>
  35. </animation>
  36. <animation>
  37. <type>rotate</type>
  38. <object-name>Needle10000</object-name>
  39. <property>/instrumentation/altimeter/indicated-altitude-ft</property>
  40. <factor>0.0036</factor>
  41. <axis>
  42. <x>-1</x>
  43. <y>0</y>
  44. <z>0</z>
  45. </axis>
  46. </animation>
  47. <animation>
  48. <type>texrotate</type>
  49. <object-name>inhg</object-name>
  50. <property>/instrumentation/altimeter/setting-inhg</property>
  51. <interpolation>
  52. <entry>
  53. <ind>27.90</ind>
  54. <dep>0.0</dep>
  55. </entry>
  56. <entry>
  57. <ind>28.0</ind>
  58. <dep>9.35</dep>
  59. </entry>
  60. <entry>
  61. <ind>28.5</ind>
  62. <dep>59.0</dep>
  63. </entry>
  64. <entry>
  65. <ind>29.0</ind>
  66. <dep>109.0</dep>
  67. </entry>
  68. <entry>
  69. <ind>29.5</ind>
  70. <dep>159.5</dep>
  71. </entry>
  72. <entry>
  73. <ind>29.9</ind>
  74. <dep>200.0</dep>
  75. </entry>
  76. <entry>
  77. <ind>30.0</ind>
  78. <dep>210.0</dep>
  79. </entry>
  80. <entry>
  81. <ind>30.5</ind>
  82. <dep>261.0</dep>
  83. </entry>
  84. <entry>
  85. <ind>31.0</ind>
  86. <dep>310.0</dep>
  87. </entry>
  88. <entry>
  89. <ind>31.4</ind>
  90. <dep>350.0</dep>
  91. </entry>
  92. </interpolation>
  93. <center>
  94. <x>0.5</x>
  95. <y>0.5</y>
  96. </center>
  97. <axis>
  98. <x>0</x>
  99. <y>0</y>
  100. <z>-1</z>
  101. </axis>
  102. </animation>
  103. <!-- Altimeter -->
  104. <animation>
  105. <type>knob</type>
  106. <object-name>click-L</object-name>
  107. <object-name>click-R</object-name>
  108. <visible>false</visible>
  109. <action>
  110. <binding>
  111. <command>property-adjust</command>
  112. <property>/instrumentation/altimeter/setting-inhg</property>
  113. <factor>0.01</factor>
  114. <min>26.0</min>
  115. <max>33.0</max>
  116. <wrap>false</wrap>
  117. </binding>
  118. </action>
  119. <hovered>
  120. <binding>
  121. <command>set-tooltip</command>
  122. <tooltip-id>alt-setting</tooltip-id>
  123. <label>Altimeter In Hg: %5.2f</label>
  124. <property>instrumentation/altimeter/setting-inhg</property>
  125. </binding>
  126. </hovered>
  127. </animation>
  128. <!-- dimming -->
  129. <animation>
  130. <type>material</type>
  131. <object-name>Face</object-name>
  132. <object-name>inhg</object-name>
  133. <condition>
  134. <greater-than>
  135. <property>/systems/electrical/outputs/instrument-lights</property>
  136. <value>10.0</value>
  137. </greater-than>
  138. </condition>
  139. <emission>
  140. <red> 0.8 </red>
  141. <green> 0.8 </green>
  142. <blue> 1.0 </blue>
  143. <factor-prop>/controls/lighting/stdby-instrument-lights-norm</factor-prop>
  144. </emission>
  145. </animation>
  146. <animation>
  147. <type>material</type>
  148. <object-name>Needle10000</object-name>
  149. <object-name>Needle1000</object-name>
  150. <object-name>Needle100</object-name>
  151. <condition>
  152. <greater-than>
  153. <property>/systems/electrical/outputs/instrument-lights</property>
  154. <value>10.0</value>
  155. </greater-than>
  156. </condition>
  157. <emission>
  158. <red> 0.8 </red>
  159. <green> 0.8 </green>
  160. <blue> 1.0 </blue>
  161. <factor>0.4</factor>
  162. </emission>
  163. </animation>
  164. </PropertyList>