Update and add flashlight
[fgdata-textures-ng:fgdata-textures-ng.git] / Aircraft / Hurricane / Models / gear-main-switch.xml
1 <?xml version="1.0"?>
2   <PropertyList> 
3     <path>gear-main-switch.ac</path>
4         <animation> 
5       <type>rotate</type>
6       <object-name>Switch</object-name>
7       <property>controls/switches/gear-indicator-main</property>
8       <interpolation> 
9         <entry> 
10           <ind>0</ind>
11           <dep>-25</dep>
12         </entry>
13         <entry> 
14           <ind>1</ind>
15           <dep>25</dep>
16         </entry>
17       </interpolation>
18       <axis> 
19         <x>0</x>
20         <y>-1</y>
21         <z>0</z>
22       </axis>
23     </animation>
24     
25     <animation>
26       <type>material</type>
27       <condition>
28         <greater-than>
29           <property>/controls/lighting/panel-norm[1]</property>
30           <value>0</value>
31         </greater-than>
32         <property>/sim/rendering/rembrandt</property>
33       </condition>
34       <emission>
35         <factor-prop>/controls/lighting/panel-norm</factor-prop>
36         <red>0.0</red>
37         <green>0.0</green>
38         <blue>0.0</blue>
39       </emission>
40     </animation>
41
42     <animation>
43       <type>material</type>
44       <condition>
45         <greater-than>
46           <property>/controls/lighting/panel-norm</property>
47           <value>0</value>
48         </greater-than>
49         <not>
50           <property>/sim/rendering/rembrandt</property>
51         </not>
52       </condition>
53       <emission>
54         <factor-prop>/controls/lighting/panel-norm</factor-prop>
55         <red>0.75</red>
56         <green>0.25</green>
57         <blue>0.25</blue>
58       </emission>
59     </animation>
60     <!-- *** LoD *** -->
61     <animation> 
62       <type>range</type>
63       <min-m>0</min-m>
64       <max-m>5</max-m>
65     </animation>
66   </PropertyList>