Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / uvo / uvo.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2007 by Yurik V. Nikiforoff                                        #
5     #           yurik@megasignal.com                                            #
6     #           Jul 2007                                                        #
7     #############################################################################         
8     -->
9
10 <!-- UVO altimeter
11      3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>uvo.ac</path>
14  
15   <effect>
16     <inherits-from>Effects/model-transparent</inherits-from>
17   <object-name>long_needle</object-name>
18   <object-name>short_needle</object-name>
19  </effect>
20
21  
22 <!-- Internal instruments lighting -->
23 <animation>
24   <type>material</type>
25   <object-name>base</object-name>
26   <object-name>long_needle</object-name>
27   <object-name>short_needle</object-name>
28   <object-name>dig_p_ones</object-name>
29   <object-name>dig_p_dec</object-name>
30   <object-name>dig_p_hund</object-name>
31   <emission>
32     <red-prop>tu154/light/instruments/int-red</red-prop>
33     <green-prop>tu154/light/instruments/int-green</green-prop>
34     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
35   </emission>
36 </animation>
37
38 <!--Needles-->
39 <animation>
40   <type>rotate</type>
41   <object-name>long_needle</object-name>
42   <property>instrumentation/altimeter/indicated-altitude-ft</property>
43   <factor>-0.11</factor>
44   <condition>
45     <property>tu154/systems/svs/powered</property>
46   </condition>
47   <axis>
48     <x>1.0</x>
49     <y>0.0</y>
50     <z>0.0</z>
51   </axis>
52 </animation>
53 <animation>
54   <type>rotate</type>
55   <object-name>short_needle</object-name>
56   <property>instrumentation/altimeter/indicated-altitude-ft</property>
57   <factor>-0.011</factor>
58   <condition>
59     <property>tu154/systems/svs/powered</property>
60   </condition>
61   <axis>
62     <x>1.0</x>
63     <y>0.0</y>
64     <z>0.0</z>
65   </axis>
66 </animation>
67
68
69 <!--Pressure digits-->
70 <animation>
71   <type>rotate</type>
72   <object-name>dig_p_ones</object-name>
73   <property>tu154/instrumentation/altimeter/mmhg</property>
74   <factor>36.0</factor>
75   <center>
76     <x-m>-0.01117</x-m>
77     <y-m>0.0</y-m>
78     <z-m>-0.02310</z-m>
79   </center>
80   <axis>
81     <x>0.0</x>
82     <y>-1.0</y>
83     <z>0.0</z>
84   </axis>
85 </animation>
86
87 <animation>
88   <type>rotate</type>
89   <object-name>dig_p_dec</object-name>
90   <expression>
91     <table>
92       <mod>
93         <property>tu154/instrumentation/altimeter/mmhg</property>
94         <value>100</value>
95       </mod>
96       <entry><ind>       0</ind>        <dep>   0</dep></entry>
97       <entry><ind>       9</ind>        <dep>   0</dep></entry>
98       <entry><ind>      10</ind>        <dep>   36</dep></entry>
99       <entry><ind>      19</ind>        <dep>   36</dep></entry>
100       <entry><ind>      20</ind>        <dep>   72</dep></entry>
101       <entry><ind>      29</ind>        <dep>   72</dep></entry>
102       <entry><ind>      30</ind>        <dep>   108</dep></entry>
103       <entry><ind>      39</ind>        <dep>   108</dep></entry>
104       <entry><ind>      40</ind>        <dep>   144</dep></entry>
105       <entry><ind>      49</ind>        <dep>   144</dep></entry>
106       <entry><ind>      50</ind>        <dep>   180</dep></entry>
107       <entry><ind>      59</ind>        <dep>   180</dep></entry>
108       <entry><ind>      60</ind>        <dep>   216</dep></entry>
109       <entry><ind>      69</ind>        <dep>   216</dep></entry>
110       <entry><ind>      70</ind>        <dep>   252</dep></entry>
111       <entry><ind>      79</ind>        <dep>   252</dep></entry>
112       <entry><ind>      80</ind>        <dep>   288</dep></entry>
113       <entry><ind>      89</ind>        <dep>   288</dep></entry>
114       <entry><ind>      90</ind>        <dep>   324</dep></entry>
115       <entry><ind>      99</ind>        <dep>   324</dep></entry>
116       <entry><ind>      99.9</ind>      <dep>   359.9</dep></entry>
117     </table>
118   </expression>
119   <center>
120     <x-m>-0.01117</x-m>
121     <y-m>0.0</y-m>
122     <z-m>-0.02310</z-m>
123   </center>
124   <axis>
125     <x>0.0</x>
126     <y>-1.0</y>
127     <z>0.0</z>
128   </axis>
129 </animation>
130
131 <animation>
132   <type>rotate</type>
133   <object-name>dig_p_hund</object-name>
134   <expression>
135     <table>
136       <mod>
137         <property>tu154/instrumentation/altimeter/mmhg</property>
138         <value>1000</value>
139       </mod>
140       <entry><ind>        0</ind>       <dep>   0</dep></entry>
141       <entry><ind>       99</ind>       <dep>   0</dep></entry>
142       <entry><ind>      100</ind>       <dep>   36</dep></entry>
143       <entry><ind>      199</ind>       <dep>   36</dep></entry>
144       <entry><ind>      200</ind>       <dep>   72</dep></entry>
145       <entry><ind>      299</ind>       <dep>   72</dep></entry>
146       <entry><ind>      300</ind>       <dep>   108</dep></entry>
147       <entry><ind>      399</ind>       <dep>   108</dep></entry>
148       <entry><ind>      400</ind>       <dep>   144</dep></entry>
149       <entry><ind>      499</ind>       <dep>   144</dep></entry>
150       <entry><ind>      500</ind>       <dep>   180</dep></entry>
151       <entry><ind>      599</ind>       <dep>   180</dep></entry>
152       <entry><ind>      600</ind>       <dep>   216</dep></entry>
153       <entry><ind>      699</ind>       <dep>   216</dep></entry>
154       <entry><ind>      700</ind>       <dep>   252</dep></entry>
155       <entry><ind>      799</ind>       <dep>   252</dep></entry>
156       <entry><ind>      800</ind>       <dep>   288</dep></entry>
157       <entry><ind>      899</ind>       <dep>   288</dep></entry>
158       <entry><ind>      900</ind>       <dep>   324</dep></entry>
159       <entry><ind>      999</ind>       <dep>   324</dep></entry>
160       <entry><ind>      999.9</ind>     <dep>   359.9</dep></entry>
161     </table>
162   </expression>
163   <center>
164     <x-m>-0.01117</x-m>
165     <y-m>0.0</y-m>
166     <z-m>-0.02310</z-m>
167   </center>
168   <axis>
169     <x>0.0</x>
170     <y>-1.0</y>
171     <z>0.0</z>
172   </axis>
173 </animation>
174
175
176
177 </PropertyList>