tach.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <?xml version="1.0"?>
  2. <!-- note: tach.nas Nasal code must be loaded via the aircraft -set file -->
  3. <PropertyList>
  4. <path>tach.ac</path>
  5. <animation>
  6. <type>rotate</type>
  7. <object-name>N2Needle1</object-name>
  8. <property>instrumentation/tachi/indicated-n2-pct[0]</property>
  9. <interpolation>
  10. <entry>
  11. <ind>0</ind>
  12. <dep>52</dep>
  13. </entry>
  14. <entry>
  15. <ind>50</ind>
  16. <dep>92.5</dep>
  17. </entry>
  18. <entry>
  19. <ind>80</ind>
  20. <dep>187.75</dep>
  21. </entry>
  22. <entry>
  23. <ind>90</ind>
  24. <dep>223</dep>
  25. </entry>
  26. <entry>
  27. <ind>100</ind>
  28. <dep>268.73</dep>
  29. </entry>
  30. <entry>
  31. <ind>110</ind>
  32. <dep>314</dep>
  33. </entry>
  34. <entry>
  35. <ind>120</ind>
  36. <dep>360</dep>
  37. </entry>
  38. </interpolation>
  39. <axis>
  40. <x>-1</x>
  41. </axis>
  42. </animation>
  43. <animation>
  44. <type>rotate</type>
  45. <object-name>N2Needle2</object-name>
  46. <property>instrumentation/tachi/indicated-n2-pct[1]</property>
  47. <interpolation>
  48. <entry>
  49. <ind>0</ind>
  50. <dep>52</dep>
  51. </entry>
  52. <entry>
  53. <ind>50</ind>
  54. <dep>92.5</dep>
  55. </entry>
  56. <entry>
  57. <ind>80</ind>
  58. <dep>187.75</dep>
  59. </entry>
  60. <entry>
  61. <ind>90</ind>
  62. <dep>223</dep>
  63. </entry>
  64. <entry>
  65. <ind>100</ind>
  66. <dep>268.73</dep>
  67. </entry>
  68. <entry>
  69. <ind>110</ind>
  70. <dep>314</dep>
  71. </entry>
  72. <entry>
  73. <ind>120</ind>
  74. <dep>360</dep>
  75. </entry>
  76. </interpolation>
  77. <axis>
  78. <x>-1</x>
  79. </axis>
  80. </animation>
  81. <animation>
  82. <type>rotate</type>
  83. <object-name>RotorNeedle</object-name>
  84. <property>instrumentation/tachi/indicated-nr-pct</property>
  85. <interpolation>
  86. <entry>
  87. <ind>0</ind>
  88. <dep>52</dep>
  89. </entry>
  90. <entry>
  91. <ind>50</ind>
  92. <dep>92.5</dep>
  93. </entry>
  94. <entry>
  95. <ind>80</ind>
  96. <dep>187.75</dep>
  97. </entry>
  98. <entry>
  99. <ind>90</ind>
  100. <dep>223</dep>
  101. </entry>
  102. <entry>
  103. <ind>100</ind>
  104. <dep>268.73</dep>
  105. </entry>
  106. <entry>
  107. <ind>110</ind>
  108. <dep>314</dep>
  109. </entry>
  110. <entry>
  111. <ind>120</ind>
  112. <dep>360</dep>
  113. </entry>
  114. </interpolation>
  115. <axis>
  116. <x>-1</x>
  117. </axis>
  118. </animation>
  119. <!-- dimming -->
  120. <animation>
  121. <type>material</type>
  122. <object-name>Face</object-name>
  123. <condition>
  124. <greater-than>
  125. <property>/systems/electrical/outputs/instrument-lights</property>
  126. <value>10.0</value>
  127. </greater-than>
  128. </condition>
  129. <emission>
  130. <red> 0.8 </red>
  131. <green> 0.8 </green>
  132. <blue> 1.0 </blue>
  133. <factor-prop>/controls/lighting/stdby-instrument-lights-norm</factor-prop>
  134. </emission>
  135. </animation>
  136. <animation>
  137. <type>material</type>
  138. <object-name>RotorNeedle</object-name>
  139. <object-name>N2Needle1</object-name>
  140. <object-name>N2Needle2</object-name>
  141. <condition>
  142. <greater-than>
  143. <property>/systems/electrical/outputs/instrument-lights</property>
  144. <value>10.0</value>
  145. </greater-than>
  146. </condition>
  147. <emission>
  148. <red> 0.8 </red>
  149. <green> 0.8 </green>
  150. <blue> 1.0 </blue>
  151. <factor>0.4</factor>
  152. </emission>
  153. </animation>
  154. <animation>
  155. <type>noshadow</type>
  156. <object-name>RotorNeedle</object-name>
  157. <object-name>N2Needle1</object-name>
  158. <object-name>N2Needle2</object-name>
  159. <object-name>Face</object-name>
  160. </animation>
  161. </PropertyList>