Update and add flashlight
[fgdata-textures-ng:fgdata-textures-ng.git] / Aircraft / Hurricane / Models / trim-wheel-elev.xml
1 <?xml version="1.0"?>
2 <PropertyList>
3   <path>trim-wheel-elev.ac</path>
4   <animation>
5     <type>rotate</type>
6     <object-name>cylinder</object-name>
7     <property>controls/flight/elevator-trim</property>
8     <factor>1440</factor>
9     <axis>
10       <x>0</x>
11       <y>-1</y>
12       <z>0</z>
13     </axis>
14   </animation>
15
16   <animation>
17     <type>material</type>
18     <condition>
19       <greater-than>
20         <property>/controls/lighting/panel-norm[1]</property>
21         <value>0</value>
22       </greater-than>
23       <property>/sim/rendering/rembrandt</property>
24     </condition>
25     <emission>
26       <factor-prop>/controls/lighting/panel-norm</factor-prop>
27       <red>0.0</red>
28       <green>0.0</green>
29       <blue>0.0</blue>
30     </emission>
31   </animation>
32
33   <animation>
34     <type>material</type>
35     <condition>
36       <greater-than>
37         <property>/controls/lighting/panel-norm</property>
38         <value>0</value>
39       </greater-than>
40       <not>
41         <property>/sim/rendering/rembrandt</property>
42       </not>
43     </condition>
44     <emission>
45       <factor-prop>/controls/lighting/panel-norm</factor-prop>
46       <red>0.75</red>
47       <green>0.25</green>
48       <blue>0.25</blue>
49     </emission>
50   </animation>
51 </PropertyList>