| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <PropertyList> |
| 4 | |
| 5 | <path>digital-clock.ac</path> |
| 6 | |
| 7 | <effect> |
| 8 | <inherits-from>../../../../Effects/interior/lm-digitalclock</inherits-from> |
| 9 | <object-name>Case</object-name> |
| 10 | <object-name>DigitalClock</object-name> |
| 11 | <object-name>KnobLeft</object-name> |
| 12 | <object-name>KnobCenter</object-name> |
| 13 | <object-name>KnobRight</object-name> |
| 14 | </effect> |
| 15 | <effect> |
| 16 | <inherits-from>../../../../Effects/interior/interior-glass-reflection-panel-front</inherits-from> |
| 17 | <object-name>glass_panel</object-name> |
| 18 | </effect> |
| 19 | |
| 20 | <animation> |
| 21 | <type>material</type> |
| 22 | <object-name>DigitalClock</object-name> |
| 23 | <object-name>HR.001</object-name> |
| 24 | <object-name>HR.002</object-name> |
| 25 | <object-name>MN.001</object-name> |
| 26 | <object-name>MN.002</object-name> |
| 27 | <object-name>Case</object-name> |
| 28 | <condition> |
| 29 | <or> |
| 30 | <not> |
| 31 | <property>sim/rendering/shaders/skydome</property> |
| 32 | </not> |
| 33 | <equals> |
| 34 | <property>sim/rendering/shaders/model</property> |
| 35 | <value>0</value> |
| 36 | </equals> |
| 37 | </or> |
| 38 | </condition> |
| 39 | <emission> |
| 40 | <red-prop>/sim/model/material/instruments/default-red-combined-factor</red-prop> |
| 41 | <green-prop>/sim/model/material/instruments/default-green-combined-factor</green-prop> |
| 42 | <blue-prop>/sim/model/material/instruments/default-blue-combined-factor</blue-prop> |
| 43 | </emission> |
| 44 | </animation> |
| 45 | |
| 46 | <animation> |
| 47 | <type>select</type> |
| 48 | <object-name>M877.timerind</object-name> |
| 49 | <condition> |
| 50 | <equals> |
| 51 | <property>instrumentation/clock/lc2/mode-string</property> |
| 52 | <value>ET</value> |
| 53 | </equals> |
| 54 | </condition> |
| 55 | </animation> |
| 56 | |
| 57 | <animation> |
| 58 | <type>select</type> |
| 59 | <object-name>M877.colon</object-name> |
| 60 | <condition> |
| 61 | <property>instrumentation/clock/lc2/power</property> |
| 62 | </condition> |
| 63 | </animation> |
| 64 | |
| 65 | <animation> |
| 66 | <type>select</type> |
| 67 | <object-name>HR.001</object-name> |
| 68 | <condition> |
| 69 | <property>instrumentation/clock/lc2/digit[3]</property> |
| 70 | </condition> |
| 71 | </animation> |
| 72 | |
| 73 | <animation> |
| 74 | <type>select</type> |
| 75 | <object-name>HR.002</object-name> |
| 76 | <condition> |
| 77 | <property>instrumentation/clock/lc2/digit[2]</property> |
| 78 | </condition> |
| 79 | </animation> |
| 80 | |
| 81 | <animation> |
| 82 | <type>select</type> |
| 83 | <object-name>MN.001</object-name> |
| 84 | <condition> |
| 85 | <property>instrumentation/clock/lc2/digit[1]</property> |
| 86 | </condition> |
| 87 | </animation> |
| 88 | |
| 89 | <animation> |
| 90 | <type>select</type> |
| 91 | <object-name>MN.002</object-name> |
| 92 | <condition> |
| 93 | <property>instrumentation/clock/lc2/digit[0]</property> |
| 94 | </condition> |
| 95 | </animation> |
| 96 | |
| 97 | <animation> |
| 98 | <type>textranslate</type> |
| 99 | <object-name>HR.001</object-name> |
| 100 | <property>instrumentation/clock/lc2/indicated-hour</property> |
| 101 | <factor>0.01</factor> |
| 102 | <step>10</step> |
| 103 | <axis> |
| 104 | <x>1</x> |
| 105 | <y>0</y> |
| 106 | <z>0</z> |
| 107 | </axis> |
| 108 | </animation> |
| 109 | |
| 110 | <animation> |
| 111 | <type>textranslate</type> |
| 112 | <object-name>HR.002</object-name> |
| 113 | <property>instrumentation/clock/lc2/indicated-hour</property> |
| 114 | <factor>0.1</factor> |
| 115 | <step>1</step> |
| 116 | <axis> |
| 117 | <x>1</x> |
| 118 | <y>0</y> |
| 119 | <z>0</z> |
| 120 | </axis> |
| 121 | </animation> |
| 122 | |
| 123 | <animation> |
| 124 | <type>textranslate</type> |
| 125 | <object-name>MN.001</object-name> |
| 126 | <property>instrumentation/clock/lc2/indicated-min</property> |
| 127 | <factor>0.01</factor> |
| 128 | <step>10</step> |
| 129 | <axis> |
| 130 | <x>1</x> |
| 131 | <y>0</y> |
| 132 | <z>0</z> |
| 133 | </axis> |
| 134 | </animation> |
| 135 | |
| 136 | <animation> |
| 137 | <type>textranslate</type> |
| 138 | <object-name>MN.002</object-name> |
| 139 | <property>instrumentation/clock/lc2/indicated-min</property> |
| 140 | <factor>0.1</factor> |
| 141 | <step>1</step> |
| 142 | <axis> |
| 143 | <x>1</x> |
| 144 | <y>0</y> |
| 145 | <z>0</z> |
| 146 | </axis> |
| 147 | </animation> |
| 148 | |
| 149 | <animation> |
| 150 | <type>pick</type> |
| 151 | <object-name>KnobLeft</object-name> |
| 152 | <action> |
| 153 | <button>0</button> |
| 154 | <repeatable>false</repeatable> |
| 155 | <binding> |
| 156 | <command>nasal</command> |
| 157 | <script>clock.astrotech.left_knob();</script> |
| 158 | </binding> |
| 159 | </action> |
| 160 | </animation> |
| 161 | |
| 162 | <animation> |
| 163 | <type>pick</type> |
| 164 | <object-name>KnobCenter</object-name> |
| 165 | <action> |
| 166 | <button>0</button> |
| 167 | <repeatable>false</repeatable> |
| 168 | <binding> |
| 169 | <command>nasal</command> |
| 170 | <script>clock.astrotech.select_mode();</script> |
| 171 | </binding> |
| 172 | </action> |
| 173 | </animation> |
| 174 | |
| 175 | <animation> |
| 176 | <type>pick</type> |
| 177 | <object-name>KnobRight</object-name> |
| 178 | <action> |
| 179 | <button>0</button> |
| 180 | <repeatable>false</repeatable> |
| 181 | <binding> |
| 182 | <command>nasal</command> |
| 183 | <script>clock.astrotech.right_knob();</script> |
| 184 | </binding> |
| 185 | </action> |
| 186 | </animation> |
| 187 | </PropertyList> |