chronograph.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  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. </animation>
  19. <!--Working For Rembrandt-->
  20. <animation>
  21. <object-name>vitre</object-name>
  22. </animation>
  23. <animation>
  24. <type>noshadow</type>
  25. <object-name>vitre</object-name>
  26. </animation>
  27. <animation>
  28. <type>shader</type>
  29. <shader>chrome</shader>
  30. <texture>Aircraft/Generic/Effects/glass_shader.png</texture>
  31. <object-name>vitre</object-name>
  32. </animation>
  33. <!--Working For Rembrandt-->
  34. <!--
  35. <animation>
  36. <type>material</type>
  37. <object-name>face</object-name>
  38. <object-name>HourHand</object-name>
  39. <object-name>MinuteHand</object-name>
  40. <object-name>SecondHand</object-name>
  41. <object-name>ElapsedMinutesHand</object-name>
  42. <emission>
  43. <red>0.28</red>
  44. <green>0.40</green>
  45. <blue>0.24</blue>
  46. <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
  47. </emission>
  48. </animation>
  49. -->
  50. <!-- dimming -->
  51. <animation>
  52. <name>all</name>
  53. <object-name>face</object-name>
  54. <object-name>HourHand</object-name>
  55. <object-name>MinuteHand</object-name>
  56. <object-name>SecondHand</object-name>
  57. <object-name>ElapsedMinutesHand</object-name>
  58. </animation>
  59. <animation>
  60. <type>material</type>
  61. <object-name>all</object-name>
  62. <condition>
  63. <property>systems/electrical/outputs/instrument-lights-norm</property>
  64. <equals>
  65. <property>controls/lighting/instrument-lights-selection</property>
  66. <value>0</value>
  67. </equals>
  68. </condition>
  69. <emission>
  70. <red> 0.8 </red>
  71. <green> 0.8 </green>
  72. <blue> 1.0 </blue>
  73. <factor>0.5</factor>
  74. </emission>
  75. </animation>
  76. <animation>
  77. <type>material</type>
  78. <object-name>all</object-name>
  79. <condition>
  80. <greater-than>
  81. <property>controls/lighting/instrument-lights-selection</property>
  82. <value>0</value>
  83. </greater-than>
  84. </condition>
  85. <emission>
  86. <red> 0.8 </red>
  87. <green> 0.8 </green>
  88. <blue> 1.0 </blue>
  89. <factor-prop>systems/electrical/outputs/instrument-lights-norm</factor-prop>
  90. </emission>
  91. </animation>
  92. <animation>
  93. <type>rotate</type>
  94. <object-name>HourHand</object-name>
  95. <property>instrumentation/clock/indicated-sec</property>
  96. <factor> 0.00833333333333333 </factor>
  97. <axis>
  98. <x> -1 </x>
  99. <y> 0 </y>
  100. <z> 0 </z>
  101. </axis>
  102. </animation>
  103. <animation>
  104. <type>rotate</type>
  105. <object-name>MinuteHand</object-name>
  106. <property>instrumentation/clock/indicated-sec</property>
  107. <factor> 0.1 </factor>
  108. <axis>
  109. <x> -1 </x>
  110. <y> 0 </y>
  111. <z> 0 </z>
  112. </axis>
  113. </animation>
  114. <animation>
  115. <type>rotate</type>
  116. <object-name>SecondHand</object-name>
  117. <property>instrumentation/clock/elapsed-sec</property>
  118. <factor> 6 </factor>
  119. <axis>
  120. <x> -1 </x>
  121. <y> 0 </y>
  122. <z> 0 </z>
  123. </axis>
  124. </animation>
  125. <animation>
  126. <type>rotate</type>
  127. <object-name>ElapsedMinutesHand</object-name>
  128. <property>instrumentation/clock/elapsed-sec</property>
  129. <factor> 0.1 </factor>
  130. <axis>
  131. <x> -1 </x>
  132. <y> 0 </y>
  133. <z> 0 </z>
  134. </axis>
  135. </animation>
  136. <!-- Clock Setting Knob -->
  137. <animation>
  138. <type>pick</type>
  139. <object-name>time-offset-left</object-name>
  140. <visible>true</visible>
  141. <action>
  142. <button>0</button>
  143. <repeatable>true</repeatable>
  144. <interval-sec>0.2</interval-sec>
  145. <binding>
  146. <command>property-adjust</command>
  147. <property>instrumentation/clock/offset-sec</property>
  148. <step>-60</step>
  149. </binding>
  150. </action>
  151. </animation>
  152. <animation>
  153. <type>pick</type>
  154. <object-name>time-offset-left</object-name>
  155. <visible>false</visible>
  156. <action>
  157. <button>1</button>
  158. <repeatable>true</repeatable>
  159. <interval-sec>0.2</interval-sec>
  160. <binding>
  161. <command>property-adjust</command>
  162. <property>instrumentation/clock/offset-sec</property>
  163. <step>-3600</step>
  164. </binding>
  165. </action>
  166. </animation>
  167. <animation>
  168. <type>pick</type>
  169. <object-name>time-offset-right</object-name>
  170. <visible>fale</visible>
  171. <action>
  172. <button>0</button>
  173. <repeatable>true</repeatable>
  174. <interval-sec>0.2</interval-sec>
  175. <binding>
  176. <command>property-adjust</command>
  177. <property>instrumentation/clock/offset-sec</property>
  178. <step>60</step>
  179. </binding>
  180. </action>
  181. </animation>
  182. <animation>
  183. <type>pick</type>
  184. <object-name>time-offset-right</object-name>
  185. <visible>false</visible>
  186. <action>
  187. <button>1</button>
  188. <repeatable>true</repeatable>
  189. <interval-sec>0.2</interval-sec>
  190. <binding>
  191. <command>property-adjust</command>
  192. <property>instrumentation/clock/offset-sec</property>
  193. <step>3600</step>
  194. </binding>
  195. </action>
  196. </animation>
  197. <!-- Chronometer Start Stop Button -->
  198. <animation>
  199. <type>pick</type>
  200. <object-name>chronometer-button</object-name>
  201. <visible>false</visible>
  202. <action>
  203. <button>0</button>
  204. <repeatable>false</repeatable>
  205. <binding>
  206. <command>nasal</command>
  207. <script>chronograph.click()</script>
  208. </binding>
  209. </action>
  210. </animation>
  211. </PropertyList>