chronograph.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>chronograph.ac</path>
  4. <animation>
  5. <object-name>mount</object-name>
  6. <object-name>bkg</object-name>
  7. <object-name>knob</object-name>
  8. <object-name>button</object-name>
  9. <object-name>disk</object-name>
  10. <object-name>face</object-name>
  11. <object-name>HourHand</object-name>
  12. <object-name>MinuteHand</object-name>
  13. <object-name>SecondHand</object-name>
  14. <object-name>ElapsedMinutesHand</object-name>
  15. <object-name>time-offset-left</object-name>
  16. <object-name>time-offset-right</object-name>
  17. <object-name>chronometer-button</object-name>
  18. <object-name>vitre</object-name>
  19. </animation>
  20. <animation>
  21. <type>noshadow</type>
  22. <object-name>vitre</object-name>
  23. </animation>
  24. <animation>
  25. <type>shader</type>
  26. <shader>chrome</shader>
  27. <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
  28. <object-name>vitre</object-name>
  29. </animation>
  30. <animation>
  31. <type>material</type>
  32. <object-name>face</object-name>
  33. <object-name>HourHand</object-name>
  34. <object-name>MinuteHand</object-name>
  35. <object-name>SecondHand</object-name>
  36. <object-name>ElapsedMinutesHand</object-name>
  37. <emission>
  38. <red> 0.030 </red>
  39. <green> 0.015 </green>
  40. <blue> 0.005 </blue>
  41. <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
  42. </emission>
  43. </animation>
  44. <animation>
  45. <type>select</type>
  46. <object-name>clock</object-name>
  47. <condition>
  48. <equals>
  49. <property>sim/current-view/name</property>
  50. <value>Cockpit View</value>
  51. </equals>
  52. </condition>
  53. </animation>
  54. <animation>
  55. <type>rotate</type>
  56. <object-name>HourHand</object-name>
  57. <property>instrumentation/clock/indicated-sec</property>
  58. <factor> 0.00833333333333333 </factor>
  59. <axis>
  60. <x> -1 </x>
  61. <y> 0 </y>
  62. <z> 0 </z>
  63. </axis>
  64. </animation>
  65. <animation>
  66. <type>rotate</type>
  67. <object-name>MinuteHand</object-name>
  68. <property>instrumentation/clock/indicated-sec</property>
  69. <factor> 0.1 </factor>
  70. <axis>
  71. <x> -1 </x>
  72. <y> 0 </y>
  73. <z> 0 </z>
  74. </axis>
  75. </animation>
  76. <animation>
  77. <type>rotate</type>
  78. <object-name>SecondHand</object-name>
  79. <property>instrumentation/clock/elapsed-sec</property>
  80. <factor> 6 </factor>
  81. <axis>
  82. <x> -1 </x>
  83. <y> 0 </y>
  84. <z> 0 </z>
  85. </axis>
  86. </animation>
  87. <animation>
  88. <type>rotate</type>
  89. <object-name>ElapsedMinutesHand</object-name>
  90. <property>instrumentation/clock/elapsed-sec</property>
  91. <factor> 0.1 </factor>
  92. <axis>
  93. <x> -1 </x>
  94. <y> 0 </y>
  95. <z> 0 </z>
  96. </axis>
  97. </animation>
  98. <!-- Clock Setting Knob -->
  99. <animation>
  100. <name>time-offset-left-fine</name>
  101. <type>pick</type>
  102. <visible>true</visible>
  103. <object-name>time-offset-left</object-name>
  104. <action>
  105. <button>0</button>
  106. <repeatable>true</repeatable>
  107. <interval-sec>0.2</interval-sec>
  108. <binding>
  109. <command>property-adjust</command>
  110. <property>instrumentation/clock/offset-sec</property>
  111. <step>-60</step>
  112. </binding>
  113. </action>
  114. </animation>
  115. <animation>
  116. <name>time-offset-left-hours</name>
  117. <type>pick</type>
  118. <visible>false</visible>
  119. <object-name>time-offset-left</object-name>
  120. <action>
  121. <button>1</button>
  122. <repeatable>true</repeatable>
  123. <interval-sec>0.2</interval-sec>
  124. <binding>
  125. <command>property-adjust</command>
  126. <property>instrumentation/clock/offset-sec</property>
  127. <step>-3600</step>
  128. </binding>
  129. </action>
  130. </animation>
  131. <animation>
  132. <name>time-offset-right-fine</name>
  133. <type>pick</type>
  134. <visible>fale</visible>
  135. <object-name>time-offset-right</object-name>
  136. <action>
  137. <button>0</button>
  138. <repeatable>true</repeatable>
  139. <interval-sec>0.2</interval-sec>
  140. <binding>
  141. <command>property-adjust</command>
  142. <property>instrumentation/clock/offset-sec</property>
  143. <step>60</step>
  144. </binding>
  145. </action>
  146. </animation>
  147. <animation>
  148. <name>time-offset-right-hours</name>
  149. <type>pick</type>
  150. <visible>false</visible>
  151. <object-name>time-offset-right</object-name>
  152. <action>
  153. <button>1</button>
  154. <repeatable>true</repeatable>
  155. <interval-sec>0.2</interval-sec>
  156. <binding>
  157. <command>property-adjust</command>
  158. <property>instrumentation/clock/offset-sec</property>
  159. <step>3600</step>
  160. </binding>
  161. </action>
  162. </animation>
  163. <!-- Chronometer Start Stop Button
  164. <animation>
  165. <name>start-stop-reset</name>
  166. <type>pick</type>
  167. <visible>true</visible>
  168. <object-name>chronometer-button</object-name>
  169. <action>
  170. <button>0</button>
  171. <repeatable>false</repeatable>
  172. <binding>
  173. <command>nasal</command>
  174. <script>chronograph.click()</script>
  175. </binding>
  176. </action>
  177. </animation> -->
  178. </PropertyList>