tach(1).xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>tach.ac</path>
  4. <animation>
  5. <type>rotate</type>
  6. <object-name>Knob</object-name>
  7. <property>controls/lighting/tach-light-norm</property>
  8. <factor>180</factor>
  9. <axis>
  10. <x>-1</x>
  11. <y>0</y>
  12. <z>0</z>
  13. </axis>
  14. <center>
  15. <x-m>0.000</x-m>
  16. <y-m>-0.017</y-m>
  17. <z-m>-0.036</z-m>
  18. </center>
  19. </animation>
  20. <animation>
  21. <type>knob</type>
  22. <object-name>Knob</object-name>
  23. <visible>true</visible>
  24. <action>
  25. <name>scrollwheel</name>
  26. <binding>
  27. <command>property-adjust</command>
  28. <property>controls/lighting/tach-light-norm</property>
  29. <factor>0.1</factor>
  30. <min>0</min>
  31. <max>1.0</max>
  32. <wrap>false</wrap>
  33. </binding>
  34. </action>
  35. <hovered>
  36. <binding>
  37. <command>set-tooltip</command>
  38. <tooltip-id>tach</tooltip-id>
  39. <label>RPM light %1.0f%%</label>
  40. <mapping>percent</mapping>
  41. <property>controls/lighting/tach-light-norm</property>
  42. </binding>
  43. </hovered>
  44. </animation>
  45. <animation>
  46. <type>select</type>
  47. <object-name>digit1</object-name>
  48. <object-name>digit2</object-name>
  49. <object-name>digit3</object-name>
  50. <condition>
  51. <or>
  52. <equals>
  53. <property>controls/electric/directbat-switch</property>
  54. <value>true</value>
  55. </equals>
  56. <equals>
  57. <property>controls/electric/engine/generator</property>
  58. <value>true</value>
  59. </equals>
  60. </or>
  61. </condition>
  62. </animation>
  63. <animation>
  64. <type>textranslate</type>
  65. <object-name>digit3</object-name>
  66. <property>/rotors/main/rpm</property>
  67. <step>1</step>
  68. <factor>0.1</factor>
  69. <bias>0.0001</bias>
  70. <axis>
  71. <x>0</x>
  72. <y>1</y>
  73. <z>0</z>
  74. </axis>
  75. </animation>
  76. <animation>
  77. <type>textranslate</type>
  78. <object-name>digit2</object-name>
  79. <property>/rotors/main/rpm</property>
  80. <step>10</step>
  81. <factor>0.01</factor>
  82. <bias>0.0001</bias>
  83. <axis>
  84. <x>0</x>
  85. <y>1</y>
  86. <z>0</z>
  87. </axis>
  88. </animation>
  89. <animation>
  90. <type>textranslate</type>
  91. <object-name>digit1</object-name>
  92. <property>/rotors/main/rpm</property>
  93. <step>100</step>
  94. <factor>0.001</factor>
  95. <bias>0.0001</bias>
  96. <axis>
  97. <x>0</x>
  98. <y>1</y>
  99. <z>0</z>
  100. </axis>
  101. </animation>
  102. <animation>
  103. <type>material</type>
  104. <object-name>NR</object-name>
  105. <object-name>NF</object-name>
  106. <emission>
  107. <red> 0.4 </red>
  108. <green> 0.4 </green>
  109. <blue> 0.4 </blue>
  110. <factor-prop>systems/electrical/outputs/tach-light-norm</factor-prop>
  111. <offset>0.3</offset>
  112. </emission>
  113. </animation>
  114. <animation>
  115. <type>textranslate</type>
  116. <object-name>NR</object-name>
  117. <property>/rotors/main/rpm</property>
  118. <interpolation>
  119. <entry><ind> 0</ind><dep>0 </dep></entry>
  120. <entry><ind>170</ind><dep>0.0281</dep></entry>
  121. <entry><ind>300</ind><dep>0.1312</dep></entry>
  122. <entry><ind>320</ind><dep>0.1531</dep></entry>
  123. <entry><ind>350</ind><dep>0.1875</dep></entry>
  124. <entry><ind>375</ind><dep>0.2562</dep></entry>
  125. <entry><ind>405</ind><dep>0.3406</dep></entry>
  126. <entry><ind>430</ind><dep>0.4094</dep></entry>
  127. </interpolation>
  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>NF</object-name>
  137. <property>/engines/engine/n2-rpm</property>
  138. <interpolation>
  139. <entry><ind> 0</ind><dep>0 </dep></entry>
  140. <entry><ind>14670</ind><dep>0.0281</dep></entry>
  141. <entry><ind>25890</ind><dep>0.1312</dep></entry>
  142. <entry><ind>27610</ind><dep>0.1531</dep></entry>
  143. <entry><ind>30200</ind><dep>0.1875</dep></entry>
  144. <entry><ind>32360</ind><dep>0.2562</dep></entry>
  145. <entry><ind>34950</ind><dep>0.3406</dep></entry>
  146. <entry><ind>37100</ind><dep>0.4094</dep></entry>
  147. </interpolation>
  148. <axis>
  149. <x>0</x>
  150. <y>1</y>
  151. <z>0</z>
  152. </axis>
  153. </animation>
  154. <!-- dimming -->
  155. <animation>
  156. <type>material</type>
  157. <object-name>face.002</object-name>
  158. <object-name>Knob</object-name>
  159. <condition>
  160. <property>controls/lighting/instrument-lights</property>
  161. <!-- <equals>
  162. <property>controls/lighting/instrument-lights-selection</property>
  163. <value>0</value>
  164. </equals>-->
  165. </condition>
  166. <emission>
  167. <red> 0.8 </red>
  168. <green> 0.8 </green>
  169. <blue> 1.0 </blue>
  170. <factor>0.5</factor>
  171. </emission>
  172. </animation>
  173. <animation>
  174. <type>material</type>
  175. <object-name>face.002</object-name>
  176. <object-name>Knob</object-name>
  177. <condition>
  178. <greater-than>
  179. <property>controls/lighting/instrument-lights-selection</property>
  180. <value>0</value>
  181. </greater-than>
  182. </condition>
  183. <emission>
  184. <red> 0.8 </red>
  185. <green> 0.8 </green>
  186. <blue> 1.0 </blue>
  187. <factor-prop>controls/lighting/instrument-lights</factor-prop>
  188. </emission>
  189. </animation>
  190. </PropertyList>