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