Pilatus PC 12/47 : Adding a livery "Orange", improved dashboard.
[fg:toms-fgdata.git] / Aircraft / PC-12 / Models / Interior / Panel / Instruments / alt / alt.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <PropertyList>
4
5   <path>alt.ac</path>
6
7   <animation>
8     <object-name>ALT</object-name>
9     <object-name>ALT.knob</object-name>
10     <object-name>Cylinder</object-name>
11     <object-name>ALT.face</object-name>
12     <object-name>ALT.needle</object-name>
13     <object-name>ALTneg</object-name>
14     <object-name>Alt10000</object-name>
15     <object-name>Alt1000</object-name>
16     <object-name>Alt100</object-name>
17     <object-name>Alt10</object-name>
18
19     <object-name>kpa01</object-name>
20     <object-name>kpa02</object-name>
21     <object-name>kpa03</object-name>
22     <object-name>kpa04</object-name>
23
24     <object-name>inhg01</object-name>
25     <object-name>inhg02</object-name>
26     <object-name>inhg03</object-name>
27     <object-name>inhg04</object-name>
28
29     <object-name>vitre</object-name>
30   </animation>
31
32   <!-- working for Rembrandt -->
33   <effect>
34     <inherits-from>Aircraft/PC-12/Models/Effects/Glass/glass</inherits-from>
35     <object-name>vitre</object-name>
36   </effect>
37   
38   <animation>
39     <type>material</type>
40     <object-name>ALT.face</object-name>
41     <object-name>ALT.needle</object-name>
42     <object-name>ALTneg</object-name>
43     <object-name>Alt10000</object-name>
44     <object-name>Alt1000</object-name>
45     <object-name>Alt100</object-name>
46     <object-name>Alt10</object-name>
47
48     <object-name>kpa01</object-name>
49     <object-name>kpa02</object-name>
50     <object-name>kpa03</object-name>
51     <object-name>kpa04</object-name>
52
53     <object-name>inhg01</object-name>
54     <object-name>inhg02</object-name>
55     <object-name>inhg03</object-name>
56     <object-name>inhg04</object-name>
57     <emission>
58       <!-- <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop> -->
59       <red>   0.50 </red>
60       <green> 0.25 </green>
61       <blue>  0.25 </blue>
62     </emission>
63   </animation>
64
65   <animation>
66     <type>select</type>
67     <object-name>ALTneg</object-name>
68     <condition>
69       <less-than>
70         <property>instrumentation/altimeter/indicated-altitude-ft</property>
71         <value>0</value>
72       </less-than>
73     </condition>
74   </animation>
75
76   <animation>
77     <type>select</type>
78     <object-name>Alt10000</object-name>
79     <condition>
80       <greater-than>
81         <property>instrumentation/altimeter/indicated-altitude-ft</property>
82         <value>9999.999</value>
83       </greater-than>
84     </condition>
85   </animation>
86
87   <animation>
88     <type>rotate</type>
89     <object-name>ALT.needle</object-name>
90     <property>instrumentation/altimeter/indicated-altitude-ft</property>
91     <factor> 0.36 </factor>
92     <axis>
93       <x> -1 </x>
94       <y>  0 </y>
95       <z>  0 </z>
96     </axis>
97   </animation>
98
99   <animation>
100     <type>textranslate</type>
101     <object-name>Alt10</object-name>
102     <property>instrumentation/altimeter/indicated-altitude-ft</property>
103     <factor>0.01</factor>
104     <axis>
105       <x> 0 </x>
106       <y> 1 </y>
107       <z> 0 </z>
108     </axis>
109   </animation>
110
111   <animation>
112     <type>textranslate</type>
113     <object-name>Alt100</object-name>
114     <property>instrumentation/altimeter/indicated-altitude-ft</property>
115     <factor>0.001</factor>
116     <step>100</step>
117     <scroll>10</scroll>
118     <axis>
119       <x> 0 </x>
120       <y> 1 </y>
121       <z> 0 </z>
122     </axis>
123   </animation>
124
125   <animation>
126     <type>textranslate</type>
127     <object-name>Alt1000</object-name>
128     <property>instrumentation/altimeter/indicated-altitude-ft</property>
129     <factor>0.0001</factor>
130     <step>1000</step>
131     <scroll>10</scroll>
132     <axis>
133       <x> 0 </x>
134       <y> 1 </y>
135       <z> 0 </z>
136     </axis>
137   </animation>
138
139   <animation>
140     <type>textranslate</type>
141     <object-name>Alt10000</object-name>
142     <property>instrumentation/altimeter/indicated-altitude-ft</property>
143     <factor>0.00001</factor>
144     <step>10000</step>
145     <scroll>10</scroll>
146     <axis>
147       <x> 0 </x>
148       <y> 1 </y>
149       <z> 0 </z>
150     </axis>
151   </animation>
152
153   <animation>
154     <type>textranslate</type>
155     <object-name>inhg01</object-name>
156     <property>instrumentation/altimeter/setting-inhg</property>
157     <factor>0.01</factor>
158     <step>10</step>
159     <axis>
160       <x> 0 </x>
161       <y> 1 </y>
162       <z> 0 </z>
163     </axis>
164   </animation>
165
166   <animation>
167     <type>textranslate</type>
168     <object-name>inhg02</object-name>
169     <property>instrumentation/altimeter/setting-inhg</property>
170     <factor>0.1</factor>
171     <step>1</step>
172     <axis>
173       <x> 0 </x>
174       <y> 1 </y>
175       <z> 0 </z>
176     </axis>
177   </animation>
178
179   <animation>
180     <type>textranslate</type>
181     <object-name>inhg03</object-name>
182     <property>instrumentation/altimeter/setting-inhg</property>
183     <factor>1.0</factor>
184     <step>0.1</step>
185     <axis>
186       <x> 0 </x>
187       <y> 1 </y>
188       <z> 0 </z>
189     </axis>
190   </animation>
191
192   <animation>
193     <type>textranslate</type>
194     <object-name>inhg04</object-name>
195     <property>instrumentation/altimeter/setting-inhg</property>
196     <factor>10.0</factor>
197     <step>0.01</step>
198     <axis>
199       <x>0</x>
200       <y>1</y>
201       <z>0</z>
202     </axis>
203   </animation>
204
205   <animation>
206     <type>textranslate</type>
207     <object-name>kpa01</object-name>
208     <property>instrumentation/altimeter/setting-kpa</property>
209     <factor>0.001</factor>
210     <step>100</step>
211     <axis>
212       <x>0</x>
213       <y>1</y>
214       <z>0</z>
215     </axis>
216   </animation>
217
218   <animation>
219     <type>textranslate</type>
220     <object-name>kpa02</object-name>
221     <property>instrumentation/altimeter/setting-kpa</property>
222     <factor>0.01</factor>
223     <step>10</step>
224     <axis>
225       <x> 0 </x>
226       <y> 1 </y>
227       <z> 0 </z>
228     </axis>
229   </animation>
230
231   <animation>
232     <type>textranslate</type>
233     <object-name>kpa03</object-name>
234     <property>instrumentation/altimeter/setting-kpa</property>
235     <factor>0.1</factor>
236     <step>1</step>
237     <axis>
238       <x> 0 </x>
239       <y> 1 </y>
240       <z> 0 </z>
241     </axis>
242   </animation>
243
244   <animation>
245     <type>textranslate</type>
246     <object-name>kpa04</object-name>
247     <property>instrumentation/altimeter/setting-kpa</property>
248     <factor>1.0</factor>
249     <step>0.1</step>
250     <axis>
251       <x> 0 </x>
252       <y> 1 </y>
253       <z> 0 </z>
254     </axis>
255   </animation>
256
257   <!--  Hotspots -->
258   <animation>
259     <type>pick</type>
260     <object-name>ALT.knob</object-name>
261     <action>
262       <button>0</button>
263       <repeatable>true</repeatable>
264       <interval-sec>0.2</interval-sec>
265       <binding>
266         <command>property-adjust</command>
267         <property>instrumentation/altimeter/setting-inhg</property>
268         <step> 0.01 </step>
269         <min> 26 </min>
270         <max> 31 </max>
271         <wrap>false</wrap>
272       </binding>
273     </action>
274   </animation>
275
276   <animation>
277     <type>pick</type>
278     <object-name>ALT.knob</object-name>
279     <action>
280       <button>1</button>
281       <repeatable>true</repeatable>
282       <interval-sec>0.2</interval-sec>
283       <binding>
284         <command>property-adjust</command>
285         <property>instrumentation/altimeter/setting-inhg</property>
286         <step> -0.01 </step>
287         <min> 26 </min>
288         <max> 31 </max>
289         <wrap>false</wrap>
290       </binding>
291     </action>
292   </animation>
293
294   <animation>
295     <type>pick</type>
296     <object-name>ALT.knob</object-name>
297     <action>
298       <button>3</button>
299       <binding>
300         <command>property-adjust</command>
301         <property>instrumentation/altimeter/setting-inhg</property>
302         <step> 0.01 </step>
303         <min> 26 </min>
304         <max> 31 </max>
305         <wrap>false</wrap>
306       </binding>
307     </action>
308   </animation>
309
310   <animation>
311     <type>pick</type>
312     <object-name>ALT.knob</object-name>
313     <action>
314       <button>4</button>
315       <binding>
316         <command>property-adjust</command>
317         <property>instrumentation/altimeter/setting-inhg</property>
318         <step> -0.01 </step>
319         <min> 26 </min>
320         <max> 31 </max>
321         <wrap>false</wrap>
322       </binding>
323     </action>
324   </animation>
325
326 </PropertyList>