123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432 |
- <?xml version="1.0"?>
- <PropertyList>
- <path>tacan.ac</path>
- <animation>
- <name>tacan</name>
- <object-name>chan-knob</object-name>
- <object-name>Y-sign</object-name>
- <object-name>X-sign</object-name>
- <object-name>drum-1</object-name>
- <object-name>drum-2</object-name>
- <object-name>drum-3</object-name>
- <object-name>go-lamp</object-name>
- <object-name>nogo-lamp</object-name>
- <object-name>go-lamp-off</object-name>
- <object-name>nogo-lamp-off</object-name>
- <object-name>xy-switch</object-name>
- <object-name>mode-switch</object-name>
- <object-name>mode-knob</object-name>
- </animation>
- <animation>
- <type>select</type>
- <object-name>tacan</object-name>
- <condition>
- <equals>
- <property>sim/current-view/name</property>
- <value>Cockpit View</value>
- </equals>
- </condition>
- </animation>
- <animation>
- <type>textranslate</type>
- <object-name>drum-1</object-name>
- <property>instrumentation/tacan/frequencies/selected-channel[1]</property>
- <factor>0.1</factor>
- <offset>-1</offset>
- <axis><y>-1</y></axis>
- </animation>
- <animation>
- <type>textranslate</type>
- <object-name>drum-2</object-name>
- <property>instrumentation/tacan/frequencies/selected-channel[2]</property>
- <factor>0.1</factor>
- <offset>-1</offset>
- <axis><y>-1</y></axis>
- </animation>
- <animation>
- <type>textranslate</type>
- <object-name>drum-3</object-name>
- <property>instrumentation/tacan/frequencies/selected-channel[3]</property>
- <factor>0.1</factor>
- <offset>-1</offset>
- <axis><y>-1</y></axis>
- </animation>
- <animation>
- <type>select</type>
- <object-name>Y-sign</object-name>
- <condition>
- <equals>
- <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
- <value>Y</value>
- </equals>
- </condition>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.9 </green>
- <blue> 0.9 </blue>
- </emission>
- </animation>
- <animation>
- <type>select</type>
- <object-name>X-sign</object-name>
- <condition>
- <equals>
- <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
- <value>X</value>
- </equals>
- </condition>
- </animation>
- <animation>
- <type>select</type>
- <object-name>go-lamp</object-name>
- <condition>
- <property>instrumentation/tacan/mode</property>
- <value>1</value>
- </condition>
- </animation>
- <animation>
- <type>material</type>
- <object-name>go-lamp</object-name>
- <emission>
- <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
- <red>1</red>
- <green>1</green>
- <blue>1</blue>
- </emission>
- <texture>divs-instr.png</texture>
- </animation>
- <!--animation>
- <type>select</type>
- <object-name>nogo-lamp</object-name>
- <condition>
- <factor-prop>instrumentation/tacan/mode</factor-prop>
- <value>0</value>
- </condition>
- </animation-->
- <!--animation>
- <type>material</type>
- <object-name>nogo-lamp</object-name>
- <emission>
- <property>instrumentation/tacan/mode</property>
- <red>1</red>
- <green>1</green>
- <blue>1</blue>
- </emission>
- <texture>divs-instr.png</texture>
- </animation-->
- <animation>
- <type>rotate</type>
- <object-name>mode-knob</object-name>
- <property>instrumentation/tacan/mode</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>2</ind><dep>-60</dep></entry>
- <entry><ind>4</ind><dep>-120</dep></entry>
- </interpolation>
- <center>
- <x-m>0.01765</x-m>
- <y-m>0.04122</y-m>
- <z-m>0.00491</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>0</y>
- <z>1</z>
- </axis>
- </animation>
- <animation>
- <type>pick</type>
- <visible>true</visible>
- <object-name>hotspot-tcn-mode-left</object-name>
- <action>
- <button>0</button>
- <repeatable>true</repeatable>
- <interval-sec>0.3</interval-sec>
- <binding>
- <command>property-adjust</command>
- <property>instrumentation/tacan/mode</property>
- <step>-1</step>
- <min>0</min>
- </binding>
- </action>
- </animation>
- <animation>
- <type>pick</type>
- <visible>true</visible>
- <object-name>hotspot-tcn-mode-right</object-name>
- <action>
- <button>0</button>
- <repeatable>true</repeatable>
- <interval-sec>0.3</interval-sec>
- <binding>
- <command>property-adjust</command>
- <property>instrumentation/tacan/mode</property>
- <step>1</step>
- <max>4</max>
- </binding>
- </action>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>chan-knob</object-name>
- <property>instrumentation/tacan/frequencies/selected-channel</property>
- <interpolation>
- <entry><ind>0</ind><dep>0</dep></entry>
- <entry><ind>63</ind><dep>-120</dep></entry>
- <entry><ind>126</ind><dep>-240</dep></entry>
- </interpolation>
- <center>
- <x-m>0.0143</x-m>
- <y-m>-0.0362</y-m>
- <z-m>0.00631</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>0</y>
- <z>1</z>
- </axis>
- </animation>
- <animation>
- <type>pick</type>
- <visible>true</visible>
- <object-name>hotspot-tcn-chan-left</object-name>
- <action>
- <button>0</button>
- <repeatable>true</repeatable>
- <interval-sec>0.2</interval-sec>
- <binding>
- <command>property-adjust</command>
- <property>instrumentation/tacan/frequencies/selected-channel</property>
- <step>-1</step>
- <min>1</min>
- </binding>
- </action>
- <action>
- <button>1</button>
- <repeatable>true</repeatable>
- <interval-sec>0.2</interval-sec>
- <binding>
- <command>property-adjust</command>
- <property>instrumentation/tacan/frequencies/selected-channel</property>
- <step>-10</step>
- <min>1</min>
- </binding>
- </action>
- </animation>
- <animation>
- <type>pick</type>
- <visible>true</visible>
- <object-name>hotspot-tcn-chan-right</object-name>
- <action>
- <button>0</button>
- <repeatable>true</repeatable>
- <interval-sec>0.2</interval-sec>
- <binding>
- <command>property-adjust</command>
- <property>instrumentation/tacan/frequencies/selected-channel</property>
- <step>1</step>
- <max>126</max>
- </binding>
- </action>
- <action>
- <button>1</button>
- <repeatable>true</repeatable>
- <interval-sec>0.2</interval-sec>
- <binding>
- <command>property-adjust</command>
- <property>instrumentation/tacan/frequencies/selected-channel</property>
- <step>10</step>
- <max>126</max>
- </binding>
- </action>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>xy-switch</object-name>
- <property>instrumentation/tacan/xy-switch</property>
- <factor>40</factor>
- <center>
- <x-m>0.0160</x-m>
- <y-m>-0.0000</y-m>
- <z-m>0.0003</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>pick</type>
- <visible>true</visible>
- <object-name>xy-switch</object-name>
- <action>
- <button>0</button>
- <repeatable>false</repeatable>
- <binding>
- <command>property-cycle</command>
- <property>instrumentation/tacan/frequencies/selected-channel[4]</property>
- <value>Y</value>
- <value>X</value>
- </binding>
- <binding>
- <command>property-cycle</command>
- <property>instrumentation/tacan/xy-switch</property>
- <value>1</value>
- <value>0</value>
- </binding>
- </action>
- </animation>
- <!-- lighting -->
- <!--<animation>
- <object-name>mount</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instruments-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.9 </green>
- <blue> 0.9 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>xy-switch</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.9 </green>
- <blue> 0.9 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>mode-switch</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.9 </green>
- <blue> 0.9 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>mode-knob</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.9 </green>
- <blue> 0.9 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>chan-knob</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.9 </green>
- <blue> 0.9 </blue>
- </emission>
- </animation>
- <animation>
- <type>material</type>
- <object-name>vol-knob</object-name>
- <object-name>test-button</object-name>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.9 </green>
- <blue> 0.9 </blue>
- </emission>
- </animation>
- -->
- <animation>
- <object-name>drum-1</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.0 </green>
- <blue> 0.0 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>drum-2</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.0 </green>
- <blue> 0.0 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>drum-3</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.0 </green>
- <blue> 0.0 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>X-sign</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.0 </green>
- <blue> 0.0 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>Y-sign</object-name>
- <type>material</type>
- <emission>
- <factor-prop>controls/lighting/instrument-lights-norm</factor-prop>
- <red> 0.9 </red>
- <green> 0.0 </green>
- <blue> 0.0 </blue>
- </emission>
- </animation>
- <animation>
- <object-name>tacan</object-name>
- <type>noshadow</type>
- </animation>
- <animation>
- <type>range</type>
- <min-m>0</min-m>
- <max-m>5</max-m>
- </animation>
- </PropertyList>
|