Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / uvid-15 / uvid-15-m.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2007 by Yurik V. Nikiforoff                                        #
5     #           yurik@megasignal.com                                            #
6     #############################################################################         
7     -->
8 <!-- Altimeter UVO-15 metric
9 3D instrument for Tu-154 -->
10 <PropertyList>
11  <path>uvid-15m.ac</path>
12 <!-- Internal instruments lighting -->
13 <animation>
14   <type>material</type>
15   <object-name>base</object-name>
16   <object-name>dig_a_dec</object-name>
17   <object-name>dig_a_hund</object-name>
18   <object-name>dig_a_ths</object-name>
19   <object-name>dig_a_decths</object-name>
20   <object-name>dig_p_ones</object-name>
21   <object-name>dig_p_dec</object-name>
22   <object-name>dig_p_hund</object-name>
23   <object-name>needle</object-name>
24   <emission>
25     <red-prop>tu154/light/instruments/int-red</red-prop>
26     <green-prop>tu154/light/instruments/int-green</green-prop>
27     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
28   </emission>
29 </animation>
30
31 <!--Needles-->
32 <animation>
33     <type>rotate</type>
34     <object-name>needle</object-name>
35     <property>instrumentation/altimeter/indicated-altitude-ft</property>
36     <factor>0.10973</factor>
37     <condition>
38      <property>tu154/systems/svs/powered</property>
39     </condition>
40     <axis>
41       <x>-1.0</x>
42       <y>0.0</y>
43       <z>0.0</z>
44     </axis>
45 </animation>
46
47 <!--Altitude digits-->
48 <animation>
49   <type>rotate</type>
50   <object-name>dig_a_dec</object-name>
51   <condition>
52     <property>tu154/systems/svs/powered</property>
53   </condition>
54   <property>instrumentation/altimeter/indicated-altitude-ft</property>
55   <factor>1.0973</factor>
56   <center>
57     <x-m>-0.01866</x-m>
58     <y-m>0</y-m>
59     <z-m>0.00547</z-m>
60   </center>
61   <axis>
62     <x>0.0</x>
63     <y>-1.0</y>
64     <z>0.0</z>
65   </axis>
66 </animation>
67 <animation>
68   <type>rotate</type>
69   <object-name>dig_a_hund</object-name>
70   <condition>
71     <property>tu154/systems/svs/powered</property>
72   </condition>
73   <expression>
74     <table>
75       <mod>
76         <product>
77           <property>instrumentation/altimeter/indicated-altitude-ft</property>
78           <value>0.3048</value>
79         </product>
80         <value>1000</value>
81       </mod>
82       <entry><ind>        0</ind>       <dep>   0</dep></entry>
83       <entry><ind>       90</ind>       <dep>   0</dep></entry>
84       <entry><ind>      100</ind>       <dep>   36</dep></entry>
85       <entry><ind>      190</ind>       <dep>   36</dep></entry>
86       <entry><ind>      200</ind>       <dep>   72</dep></entry>
87       <entry><ind>      290</ind>       <dep>   72</dep></entry>
88       <entry><ind>      300</ind>       <dep>   108</dep></entry>
89       <entry><ind>      390</ind>       <dep>   108</dep></entry>
90       <entry><ind>      400</ind>       <dep>   144</dep></entry>
91       <entry><ind>      490</ind>       <dep>   144</dep></entry>
92       <entry><ind>      500</ind>       <dep>   180</dep></entry>
93       <entry><ind>      590</ind>       <dep>   180</dep></entry>
94       <entry><ind>      600</ind>       <dep>   216</dep></entry>
95       <entry><ind>      690</ind>       <dep>   216</dep></entry>
96       <entry><ind>      700</ind>       <dep>   252</dep></entry>
97       <entry><ind>      790</ind>       <dep>   252</dep></entry>
98       <entry><ind>      800</ind>       <dep>   288</dep></entry>
99       <entry><ind>      890</ind>       <dep>   288</dep></entry>
100       <entry><ind>      900</ind>       <dep>   324</dep></entry>
101       <entry><ind>      990</ind>       <dep>   324</dep></entry>
102       <entry><ind>      999</ind>       <dep>   359.9</dep></entry>
103     </table>
104   </expression>
105   <center>
106     <x-m>-0.01866</x-m>
107     <y-m>0</y-m>
108     <z-m>0.00547</z-m>
109   </center>
110   <axis>
111     <x>0.0</x>
112     <y>-1.0</y>
113     <z>0.0</z>
114   </axis>
115 </animation>
116
117 <animation>
118   <type>rotate</type>
119   <object-name>dig_a_ths</object-name>
120   <condition>
121     <property>tu154/systems/svs/powered</property>
122   </condition>
123   <expression>
124     <table>
125       <mod>
126         <product>
127           <property>instrumentation/altimeter/indicated-altitude-ft</property>
128           <value>0.3048</value>
129         </product>
130         <value>10000</value>
131       </mod>
132       <entry><ind>         0</ind>      <dep>   0</dep></entry>
133       <entry><ind>       990</ind>      <dep>   0</dep></entry>
134       <entry><ind>      1000</ind>      <dep>   36</dep></entry>
135       <entry><ind>      1990</ind>      <dep>   36</dep></entry>
136       <entry><ind>      2000</ind>      <dep>   72</dep></entry>
137       <entry><ind>      2990</ind>      <dep>   72</dep></entry>
138       <entry><ind>      3000</ind>      <dep>   108</dep></entry>
139       <entry><ind>      3990</ind>      <dep>   108</dep></entry>
140       <entry><ind>      4000</ind>      <dep>   144</dep></entry>
141       <entry><ind>      4990</ind>      <dep>   144</dep></entry>
142       <entry><ind>      5000</ind>      <dep>   180</dep></entry>
143       <entry><ind>      5990</ind>      <dep>   180</dep></entry>
144       <entry><ind>      6000</ind>      <dep>   216</dep></entry>
145       <entry><ind>      6990</ind>      <dep>   216</dep></entry>
146       <entry><ind>      7000</ind>      <dep>   252</dep></entry>
147       <entry><ind>      7990</ind>      <dep>   252</dep></entry>
148       <entry><ind>      8000</ind>      <dep>   288</dep></entry>
149       <entry><ind>      8990</ind>      <dep>   288</dep></entry>
150       <entry><ind>      9000</ind>      <dep>   324</dep></entry>
151       <entry><ind>      9990</ind>      <dep>   324</dep></entry>
152       <entry><ind>      9999</ind>      <dep>   359.9</dep></entry>
153     </table>
154   </expression>
155   <center>
156     <x-m>-0.01866</x-m>
157     <y-m>0</y-m>
158     <z-m>0.00547</z-m>
159   </center>
160   <axis>
161     <x>0.0</x>
162     <y>-1.0</y>
163     <z>0.0</z>
164   </axis>
165 </animation>
166
167 <animation>
168   <type>rotate</type>
169   <object-name>dig_a_decths</object-name>
170   <condition>
171     <property>tu154/systems/svs/powered</property>
172   </condition>
173   <expression>
174     <table>
175       <mod>
176         <product>
177           <property>instrumentation/altimeter/indicated-altitude-ft</property>
178           <value>0.3048</value>
179         </product>
180         <value>100000</value>
181       </mod>
182       <entry><ind>          0</ind>     <dep>   0</dep></entry>
183       <entry><ind>       9990</ind>     <dep>   0</dep></entry>
184       <entry><ind>      10000</ind>     <dep>   36</dep></entry>
185       <entry><ind>      19990</ind>     <dep>   36</dep></entry>
186       <entry><ind>      20000</ind>     <dep>   72</dep></entry>
187       <entry><ind>      29990</ind>     <dep>   72</dep></entry>
188       <entry><ind>      30000</ind>     <dep>   108</dep></entry>
189       <entry><ind>      39990</ind>     <dep>   108</dep></entry>
190       <entry><ind>      40000</ind>     <dep>   144</dep></entry>
191       <entry><ind>      49990</ind>     <dep>   144</dep></entry>
192       <entry><ind>      50000</ind>     <dep>   180</dep></entry>
193       <entry><ind>      59990</ind>     <dep>   180</dep></entry>
194       <entry><ind>      60000</ind>     <dep>   216</dep></entry>
195       <entry><ind>      69990</ind>     <dep>   216</dep></entry>
196       <entry><ind>      70000</ind>     <dep>   252</dep></entry>
197       <entry><ind>      79990</ind>     <dep>   252</dep></entry>
198       <entry><ind>      80000</ind>     <dep>   288</dep></entry>
199       <entry><ind>      89990</ind>     <dep>   288</dep></entry>
200       <entry><ind>      90000</ind>     <dep>   324</dep></entry>
201       <entry><ind>      99990</ind>     <dep>   324</dep></entry>
202       <entry><ind>      99999</ind>     <dep>   359.9</dep></entry>
203     </table>
204   </expression>
205   <center>
206     <x-m>-0.01866</x-m>
207     <y-m>0</y-m>
208     <z-m>0.00547</z-m>
209   </center>
210   <axis>
211     <x>0.0</x>
212     <y>-1.0</y>
213     <z>0.0</z>
214   </axis>
215 </animation>
216
217
218 <!--Pressure digits-->
219 <animation>
220   <type>rotate</type>
221   <object-name>dig_p_ones</object-name>
222   <property>tu154/instrumentation/altimeter/mmhg</property>
223   <factor>36.0</factor>
224   <center>
225     <x-m>-0.01138</x-m>
226     <y-m>0.0</y-m>
227     <z-m>-0.0301</z-m>
228   </center>
229   <axis>
230     <x>0.0</x>
231     <y>-1.0</y>
232     <z>0.0</z>
233   </axis>
234 </animation>
235
236 <animation>
237   <type>rotate</type>
238   <object-name>dig_p_dec</object-name>
239   <expression>
240     <table>
241       <mod>
242         <property>tu154/instrumentation/altimeter/mmhg</property>
243         <value>100</value>
244       </mod>
245       <entry><ind>       0</ind>        <dep>   0</dep></entry>
246       <entry><ind>       9</ind>        <dep>   0</dep></entry>
247       <entry><ind>      10</ind>        <dep>   36</dep></entry>
248       <entry><ind>      19</ind>        <dep>   36</dep></entry>
249       <entry><ind>      20</ind>        <dep>   72</dep></entry>
250       <entry><ind>      29</ind>        <dep>   72</dep></entry>
251       <entry><ind>      30</ind>        <dep>   108</dep></entry>
252       <entry><ind>      39</ind>        <dep>   108</dep></entry>
253       <entry><ind>      40</ind>        <dep>   144</dep></entry>
254       <entry><ind>      49</ind>        <dep>   144</dep></entry>
255       <entry><ind>      50</ind>        <dep>   180</dep></entry>
256       <entry><ind>      59</ind>        <dep>   180</dep></entry>
257       <entry><ind>      60</ind>        <dep>   216</dep></entry>
258       <entry><ind>      69</ind>        <dep>   216</dep></entry>
259       <entry><ind>      70</ind>        <dep>   252</dep></entry>
260       <entry><ind>      79</ind>        <dep>   252</dep></entry>
261       <entry><ind>      80</ind>        <dep>   288</dep></entry>
262       <entry><ind>      89</ind>        <dep>   288</dep></entry>
263       <entry><ind>      90</ind>        <dep>   324</dep></entry>
264       <entry><ind>      99</ind>        <dep>   324</dep></entry>
265       <entry><ind>      99.9</ind>      <dep>   359.9</dep></entry>
266     </table>
267   </expression>
268   <center>
269     <x-m>-0.01138</x-m>
270     <y-m>0.0</y-m>
271     <z-m>-0.0301</z-m>
272   </center>
273   <axis>
274     <x>0.0</x>
275     <y>-1.0</y>
276     <z>0.0</z>
277   </axis>
278 </animation>
279
280 <animation>
281   <type>rotate</type>
282   <object-name>dig_p_hund</object-name>
283   <expression>
284     <table>
285       <mod>
286         <property>tu154/instrumentation/altimeter/mmhg</property>
287         <value>1000</value>
288       </mod>
289       <entry><ind>        0</ind>       <dep>   0</dep></entry>
290       <entry><ind>       99</ind>       <dep>   0</dep></entry>
291       <entry><ind>      100</ind>       <dep>   36</dep></entry>
292       <entry><ind>      199</ind>       <dep>   36</dep></entry>
293       <entry><ind>      200</ind>       <dep>   72</dep></entry>
294       <entry><ind>      299</ind>       <dep>   72</dep></entry>
295       <entry><ind>      300</ind>       <dep>   108</dep></entry>
296       <entry><ind>      399</ind>       <dep>   108</dep></entry>
297       <entry><ind>      400</ind>       <dep>   144</dep></entry>
298       <entry><ind>      499</ind>       <dep>   144</dep></entry>
299       <entry><ind>      500</ind>       <dep>   180</dep></entry>
300       <entry><ind>      599</ind>       <dep>   180</dep></entry>
301       <entry><ind>      600</ind>       <dep>   216</dep></entry>
302       <entry><ind>      699</ind>       <dep>   216</dep></entry>
303       <entry><ind>      700</ind>       <dep>   252</dep></entry>
304       <entry><ind>      799</ind>       <dep>   252</dep></entry>
305       <entry><ind>      800</ind>       <dep>   288</dep></entry>
306       <entry><ind>      899</ind>       <dep>   288</dep></entry>
307       <entry><ind>      900</ind>       <dep>   324</dep></entry>
308       <entry><ind>      999</ind>       <dep>   324</dep></entry>
309       <entry><ind>      999.9</ind>     <dep>   359.9</dep></entry>
310     </table>
311   </expression>
312   <center>
313     <x-m>-0.01138</x-m>
314     <y-m>0.0</y-m>
315     <z-m>-0.0301</z-m>
316   </center>
317   <axis>
318     <x>0.0</x>
319     <y>-1.0</y>
320     <z>0.0</z>
321   </axis>
322 </animation>
323
324 <!--Controls-->
325
326 <animation>
327   <type>knob</type>
328   <object-name>hs</object-name>
329   <visible>false</visible>
330   <action>
331     <binding>
332       <command>property-adjust</command>
333       <property>tu154/instrumentation/altimeter/inhgX100</property>
334       <min>0</min>
335       <max>3365</max>
336     </binding>
337   </action>
338 </animation>
339
340 </PropertyList>