Update and add flashlight
[fgdata-textures-ng:fgdata-textures-ng.git] / Aircraft / Hurricane / Models / Instrumentation / turn.xml
1 <?xml version="1.0"?>
2 <!-- turn and slip indicator -->
3 <PropertyList>
4   <path>turn.ac</path>
5   <animation>
6     <type>rotate</type>
7     <object-name>Needle1</object-name>
8     <property>instrumentation/slip-skid-ball/indicated-slip-skid</property>
9     <interpolation>
10       <entry>
11         <ind>-3</ind>
12         <dep>-30</dep>
13       </entry>
14       <entry>
15         <ind>0</ind>
16         <dep>0</dep>
17       </entry>
18       <entry>
19         <ind>3</ind>
20         <dep>30</dep>
21       </entry>
22     </interpolation>
23     <axis>
24       <x>-1</x>
25       <y>0</y>
26       <z>0</z>
27     </axis>
28   </animation>
29   <animation>
30     <type>rotate</type>
31     <object-name>Needle2</object-name>
32     <property>instrumentation/turn-indicator/indicated-turn-rate</property>
33     <interpolation>
34       <entry>
35         <ind>-4</ind>
36         <dep>-60</dep>
37       </entry>
38       <entry>
39         <ind>-3</ind>
40         <dep>-45</dep>
41       </entry>
42       <entry>
43         <ind>-2</ind>
44         <dep>-30</dep>
45       </entry>
46       <entry>
47         <ind>-1</ind>
48         <dep>-15</dep>
49       </entry>
50       <entry>
51         <ind>0</ind>
52         <dep>0</dep>
53       </entry>
54       <entry>
55         <ind>1</ind>
56         <dep>15</dep>
57       </entry>
58       <entry>
59         <ind>2</ind>
60         <dep>30</dep>
61       </entry>
62       <entry>
63         <ind>3</ind>
64         <dep>45</dep>
65       </entry>
66       <entry>
67         <ind>4</ind>
68         <dep>60</dep>
69       </entry>
70     </interpolation>
71     <axis>
72       <x>1</x>
73       <y>0</y>
74       <z>0</z>
75     </axis>
76   </animation>
77   
78   <animation>
79     <type>material</type>
80     <condition>
81       <greater-than>
82         <property>/controls/lighting/panel-norm[1]</property>
83         <value>0</value>
84       </greater-than>
85       <property>/sim/rendering/rembrandt</property>
86     </condition>
87     <emission>
88       <factor-prop>/controls/lighting/panel-norm</factor-prop>
89       <red>0.0</red>
90       <green>0.0</green>
91       <blue>0.0</blue>
92     </emission>
93   </animation>
94
95   <animation>
96     <type>material</type>
97     <condition>
98       <greater-than>
99         <property>/controls/lighting/panel-norm</property>
100         <value>0</value>
101       </greater-than>
102       <not>
103         <property>/sim/rendering/rembrandt</property>
104       </not>
105     </condition>
106     <emission>
107       <factor-prop>/controls/lighting/panel-norm</factor-prop>
108       <red>0.75</red>
109       <green>0.25</green>
110       <blue>0.25</blue>
111     </emission>
112   </animation>
113   
114   <!-- *** LoD *** -->
115   <animation>
116     <type>range</type>
117     <min-m>0</min-m>
118     <max-m>5</max-m>
119   </animation>
120 </PropertyList>