123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284 |
- <?xml version="1.0"?>
- <PropertyList>
- <path>enginepanel.ac</path>
-
- <animation>
- <type>select</type>
- <object-name>ebcautext</object-name>
- <condition>
- <not>
- <property>controls/engines/engine/ebcautest</property>
- </not>
- </condition>
- </animation>
- <animation>
- <type>select</type>
- <object-name>ebcautext_active</object-name>
- <condition>
- <property>controls/engines/engine/ebcautest</property>
- </condition>
- </animation>
- <animation>
- <type>pick</type>
- <object-name>switchguard</object-name>
- <action>
- <button>0</button>
- <repeatable>false</repeatable>
- <binding>
- <condition>
- <property>controls/engines/engine/startselector</property>
- </condition>
- <command>property-toggle</command>
- <property>controls/engines/engine/switchguard</property>
- </binding>
- </action>
- <hovered>
- <binding>
- <command>set-tooltip</command>
- <tooltip-id>switchguard</tooltip-id>
- <!--
- <label>guard/unlock</label>
- -->
- <label>%s</label>
- <property>controls/engines/engine/switchguard</property>
- <mapping>nasal</mapping>
- <script>
- var mode = ['guard', 'unlock'];
- return mode[arg[0]];
- </script>
- </binding>
- </hovered>
- </animation>
-
- <animation>
- <type>pick</type>
- <object-name>startselector</object-name>
- <action>
- <repeatable>false</repeatable>
- <button>0</button>
- <binding>
- <command>nasal</command>
- <script>ec130.switch_startselector();</script>
- </binding>
- </action>
- <hovered>
- <binding>
- <command>set-tooltip</command>
- <tooltip-id>startselector</tooltip-id>
- <!--
- <label>engine starter</label>
- -->
- <label>%s</label>
- <property>controls/engines/engine/startselector</property>
- <mapping>nasal</mapping>
- <script>
- var mode = ['start Engine', 'switch OFF Engine'];
- return mode[arg[0]];
- </script>
- </binding>
- </hovered>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>switchguard</object-name>
- <condition>
- <property>controls/engines/engine/startselector</property>
- </condition>
- <property>controls/engines/engine/switchguard</property>
- <factor>105</factor>
- <offset-deg>-105</offset-deg>
- <center>
- <x-m>0.014</x-m>
- <y-m>0.041</y-m>
- <z-m>0.032</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>0</y>
- <z>1</z>
- </axis>
- </animation>
-
- <animation>
- <type>rotate</type>
- <object-name>startselector</object-name>
- <property>controls/engines/engine/startselector</property>
- <factor>40</factor>
- <offset-deg>-10</offset-deg>
- <center>
- <x-m>0.009</x-m>
- <y-m>0.059</y-m>
- <z-m>0.001</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>-1</y>
- <z>0</z>
- </axis>
- </animation>
-
- <animation>
- <type>pick</type>
- <object-name>ebcauguard</object-name>
- <action>
- <button>0</button>
- <repeatable>false</repeatable>
- <binding>
- <command>property-toggle</command>
- <property>controls/engines/engine/ebcauguard</property>
- </binding>
- </action>
- <hovered>
- <binding>
- <command>set-tooltip</command>
- <tooltip-id>ebcauguard</tooltip-id>
- <!--
- <label>guard/unlock</label>
- -->
- <label>%s</label>
- <property>controls/engines/engine/ebcauguard</property>
- <mapping>nasal</mapping>
- <script>
- var mode = ['guard', 'unlock'];
- return mode[arg[0]];
- </script>
- </binding>
- </hovered>
- </animation>
- <animation>
- <type>pick</type>
- <object-name>ebcaubutton</object-name>
- <action>
- <button>0</button>
- <repeatable>false</repeatable>
- <binding>
- <command>nasal</command>
- <script>ec130.toggle_ebcautest();</script>
- </binding>
- </action>
- <hovered>
- <binding>
- <command>set-tooltip</command>
- <tooltip-id>ebcautest</tooltip-id>
- <!--
- <label>guard/unlock</label>
- -->
- <label>%s</label>
- <property>controls/engines/engine/ebcautest</property>
- <mapping>nasal</mapping>
- <script>
- var mode = ['test', 'release'];
- return mode[arg[0]];
- </script>
- </binding>
- </hovered>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>ebcauguard</object-name>
- <property>controls/engines/engine/ebcauguard</property>
- <factor>105</factor>
- <offset-deg>-105</offset-deg>
- <center>
- <x-m>0.011</x-m>
- <y-m>0.041</y-m>
- <z-m>0.015</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>1</y>
- <z>0</z>
- </axis>
- </animation>
- <!-- dimming -->
- <animation>
- <type>material</type>
- <object-name>Plane</object-name>
- <object-name>ebcautext</object-name>
- <object-name>ebcautext_active</object-name>
- <condition>
- <property>systems/electrical/outputs/instrument-lights2-norm</property>
- <equals>
- <property>controls/lighting/instrument-lights-selection</property>
- <value>0</value>
- </equals>
- </condition>
- <emission>
- <red> 0.8 </red>
- <green> 0.8 </green>
- <blue> 1.0 </blue>
- <factor>0.5</factor>
- </emission>
- </animation>
- <animation>
- <type>material</type>
- <object-name>Plane</object-name>
- <object-name>ebcautext</object-name>
- <object-name>ebcautext_active</object-name>
- <condition>
- <greater-than>
- <property>controls/lighting/instrument-lights-selection</property>
- <value>0</value>
- </greater-than>
- </condition>
- <emission>
- <red> 0.8 </red>
- <green> 0.8 </green>
- <blue> 1.0 </blue>
- <factor-prop>systems/electrical/outputs/instrument-lights2-norm</factor-prop>
- </emission>
- </animation>
- <animation>
- <type>material</type>
- <object-name>ebcautext</object-name>
- <condition>
- <not>
- <property>controls/engines/engine/ebcautest</property>
- </not>
- </condition>
- <emission>
- <red> 0.8 </red>
- <green> 0.8 </green>
- <blue> 1.0 </blue>
- <factor-prop>systems/electrical/outputs/instrument-lights2-norm</factor-prop>
- <offset>-0.2</offset>
- </emission>
- </animation>
- <animation>
- <type>material</type>
- <object-name>ebcautext_active</object-name>
- <condition>
- <property>controls/engines/engine/ebcautest</property>
- </condition>
- <emission>
- <red> 1.0 </red>
- <green> 1.0 </green>
- <blue> 0.0 </blue>
- <factor-prop>systems/electrical/outputs/instrument-lights2-norm</factor-prop>
- <offset>0.8</offset>
- </emission>
- </animation>
- <!-- REMBRANDT support for transparent objects -->
- <effect>
- <inherits-from>Effects/model-transparent</inherits-from>
- <object-name>ebcauguard</object-name>
- <object-name>ebcautext</object-name>
- <object-name>ebcautext_active</object-name>
- <condition>
- <property>sim/rendering/rembrandt/enabled</property>
- </condition>
- </effect>
- </PropertyList>
|