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