Update and add flashlight
[fgdata-textures-ng:fgdata-textures-ng.git] / Aircraft / Hurricane / Models / control-stick.xml
1 <?xml version="1.0"?>
2   <PropertyList> 
3     <path>control-stick.ac</path>
4     <animation> 
5       <type>rotate</type>
6       <object-name>Control-Stick</object-name>
7       <property>controls/flight/elevator</property>
8       <interpolation> 
9         <entry> 
10           <ind>-1.0</ind>
11           <dep>-12.5</dep>
12         </entry>
13         <entry> 
14           <ind>0.0</ind>
15           <dep>0</dep>
16         </entry>
17         <entry> 
18           <ind>1.0</ind>
19           <dep>12.5</dep>
20         </entry>
21       </interpolation>
22       <axis> 
23         <x>0</x>
24         <y>-1</y>
25         <z>0</z>
26       </axis>
27     </animation>
28     <animation> 
29       <type>rotate</type>
30       <object-name>Handle</object-name>
31       <property>controls/flight/aileron</property>
32       <interpolation> 
33         <entry> 
34           <ind>-1.0</ind>
35           <dep>-40</dep>
36         </entry>
37         <entry> 
38           <ind>0.0</ind>
39           <dep>0</dep>
40         </entry>
41         <entry> 
42           <ind>1.0</ind>
43           <dep>40</dep>
44         </entry>
45       </interpolation>
46       <center> 
47         <x-m>0</x-m>
48         <y-m>0</y-m>
49         <z-m>0.42</z-m>
50       </center>
51       <axis> 
52         <x>-1</x>
53         <y>0</y>
54         <z>0</z>
55       </axis>
56     </animation>
57     
58     <animation>
59       <type>material</type>
60       <condition>
61         <greater-than>
62           <property>/controls/lighting/panel-norm[1]</property>
63           <value>0</value>
64         </greater-than>
65         <property>/sim/rendering/rembrandt</property>
66       </condition>
67       <emission>
68         <factor-prop>/controls/lighting/panel-norm</factor-prop>
69         <red>0.0</red>
70         <green>0.0</green>
71         <blue>0.0</blue>
72       </emission>
73     </animation>
74
75     <animation>
76       <type>material</type>
77       <condition>
78         <greater-than>
79           <property>/controls/lighting/panel-norm</property>
80           <value>0</value>
81         </greater-than>
82         <not>
83           <property>/sim/rendering/rembrandt</property>
84         </not>
85       </condition>
86       <emission>
87         <factor-prop>/controls/lighting/panel-norm</factor-prop>
88         <red>0.75</red>
89         <green>0.25</green>
90         <blue>0.25</blue>
91       </emission>
92     </animation>
93   </PropertyList>