123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162 |
- <?xml version="1.0"?>
- <!-- U/C switches -->
- <PropertyList>
- <path>undercarriage-up-down.ac</path>
-
- <animation>
- <type>material</type>
- <object-name>srew</object-name>
- </animation>
- <animation>
- <type>rotate</type>
- <object-name>up-guard</object-name>
- <property>/controls/gear/gear-guard</property>
- <factor>-180</factor>
- <!-- <offset>180</offset>-->
- <center>
- <x-m> 4.93528</x-m>
- <y-m>-0.00615</y-m>
- <z-m> 0.99727</z-m>
- </center>
- <axis>
- <x>0</x>
- <y>0</y>
- <z>-1</z>
- </axis>
- </animation>
- <animation>
- <type>pick</type>
- <object-name>up-guard</object-name>
- <visible>true</visible>
- <action>
- <button>0</button>
- <repeatable>false</repeatable>
- <binding>
- <command>property-toggle</command>
- <property>/controls/gear/gear-guard</property>
- </binding>
- </action>
- </animation>
- <animation>
- <type>translate</type>
- <object-name>up-button</object-name>
- <object-name>up-lamp</object-name>
- <property>/controls/gear/gear-down</property>
- <interpolation>
- <entry><ind>0</ind><dep>0.002</dep></entry>
- <entry><ind>1</ind><dep>0</dep></entry>
- </interpolation>
- <axis>
- <x>-1</x>
- <y>0</y>
- <z>0</z>
- </axis>
- </animation>
- <animation>
- <type>pick</type>
- <object-name>up-button</object-name>
- <object-name>up-lamp</object-name>
- <visible>true</visible>
- <action>
- <button>0</button>
- <repeatable>false</repeatable>
- <binding>
- <command>nasal</command>
- <script>controls.gearDown(-1.0)</script>
- </binding>
- </action>
- </animation>
-
- <animation>
- <object-name>up-lamp</object-name>
- <type>material</type>
- <condition>
- <equals>
- <property>gear/gear[0]/position-norm</property>
- <value>1</value>
- </equals>
- </condition>
-
- <emission>
- <red>0.0357</red>
- <green>0.0</green>
- <blue>0.0</blue>
- </emission>
- <ambient>
- <red>1.0</red>
- <green>0.0</green>
- <blue>0.0</blue>
- </ambient>
-
- </animation>
-
- <!-- **************** gear-down **************** -->
- <animation>
- <type>translate</type>
- <object-name>down-button</object-name>
- <object-name>down-button-front</object-name>
- <property>/controls/gear/gear-down</property>
- <interpolation>
- <entry><ind>0</ind><dep>0.002</dep></entry>
- <entry><ind>1</ind><dep>0</dep></entry>
- </interpolation>
- <axis>
- <x>1</x>
- <y>0</y>
- <z>0</z>
- </axis>
- </animation>
-
- <animation>
- <condition>
- <greater-than>
- <property>/gear/gear[0]/position-norm</property>
- <value>0.5</value>
- </greater-than>
- </condition>
-
- <type>material</type>
- <object-name>down-button-front</object-name>
- <emission>
- <factor-prop>/gear/gear[0]/position-norm</factor-prop>
- <red>0.0</red>
- <green>1.0</green>
- <blue>0.0</blue>
- </emission>
- <ambient>
- <factor-prop>/gear/gear[0]/position-norm</factor-prop>
- <red>0.0</red>
- <green>1.0</green>
- <blue>0.0</blue>
- </ambient>
- </animation>
- <animation>
- <type>pick</type>
- <object-name>down-button</object-name>
- <visible>true</visible>
- <action>
- <button>0</button>
- <repeatable>false</repeatable>
- <binding>
- <command>nasal</command>
- <script>controls.gearDown(1.0)</script>
- </binding>
- </action>
- </animation>
-
- <!-- *** LoD *** -->
- <animation>
- <type>range</type>
- <min-m>0</min-m>
- <max-m>5</max-m>
- </animation>
- </PropertyList>
|