1
0
Fork 0
fgdata/Aircraft/c172p/Models/Interior/Panel/Instruments/digital-clock/digital-clock.xml
Stuart Buchanan 73a67f2328 c172p-detailed sync for 2018.3
from https://github.com/c172p-team/c172p/tree/release/2018.3
commit 0ddd75dbb7431f955d1dd8f468b30300bad6b9d1
2018-09-02 20:58:05 +01:00

182 lines
5 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<path>digital-clock.ac</path>
<effect>
<inherits-from>../../../../Effects/interior/lm-digitalclock</inherits-from>
<object-name>Case</object-name>
<object-name>DigitalClock</object-name>
<object-name>KnobLeft</object-name>
<object-name>KnobCenter</object-name>
<object-name>KnobRight</object-name>
</effect>
<effect>
<inherits-from>../../../../Effects/interior/interior-glass-reflection-panel-front</inherits-from>
<object-name>glass_panel</object-name>
</effect>
<animation>
<type>material</type>
<object-name>DigitalClock</object-name>
<object-name>HR.001</object-name>
<object-name>HR.002</object-name>
<object-name>MN.001</object-name>
<object-name>MN.002</object-name>
<object-name>Case</object-name>
<condition>
<not>
<property>/sim/rendering/shaders/skydome</property>
</not>
</condition>
<emission>
<red>1.0</red>
<green>0.95</green>
<blue>0.88</blue>
<factor-prop>/sim/model/material/instruments/integral-factor</factor-prop>
</emission>
</animation>
<animation>
<type>select</type>
<object-name>M877.timerind</object-name>
<condition>
<equals>
<property>instrumentation/clock/lc2/mode-string</property>
<value>ET</value>
</equals>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>M877.colon</object-name>
<condition>
<property>instrumentation/clock/lc2/power</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>HR.001</object-name>
<condition>
<property>instrumentation/clock/lc2/digit[3]</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>HR.002</object-name>
<condition>
<property>instrumentation/clock/lc2/digit[2]</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>MN.001</object-name>
<condition>
<property>instrumentation/clock/lc2/digit[1]</property>
</condition>
</animation>
<animation>
<type>select</type>
<object-name>MN.002</object-name>
<condition>
<property>instrumentation/clock/lc2/digit[0]</property>
</condition>
</animation>
<animation>
<type>textranslate</type>
<object-name>HR.001</object-name>
<property>instrumentation/clock/lc2/indicated-hour</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>HR.002</object-name>
<property>instrumentation/clock/lc2/indicated-hour</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>MN.001</object-name>
<property>instrumentation/clock/lc2/indicated-min</property>
<factor>0.01</factor>
<step>10</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>textranslate</type>
<object-name>MN.002</object-name>
<property>instrumentation/clock/lc2/indicated-min</property>
<factor>0.1</factor>
<step>1</step>
<axis>
<x>1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
<animation>
<type>pick</type>
<object-name>KnobLeft</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>clock.astrotech.left_knob();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>KnobCenter</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>clock.astrotech.select_mode();</script>
</binding>
</action>
</animation>
<animation>
<type>pick</type>
<object-name>KnobRight</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>nasal</command>
<script>clock.astrotech.right_knob();</script>
</binding>
</action>
</animation>
</PropertyList>