Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ppda / ppda.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2007 by Yurik V. Nikiforoff - port for FGFS,  FDM,                 #
5     #   2d & 3d instruments, animations, systems and over.                      #
6     #           yurik@megasignal.com                                            #
7     #############################################################################         
8     -->
9
10 <!-- PPDA radial/dme indicator from RSBN
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>ppda.ac</path>
14 <!-- Internal instruments lighting -->
15 <animation>
16   <type>material</type>
17   <object-name>text</object-name>
18   <object-name>needle_1</object-name>
19   <object-name>needle_2</object-name>
20   <object-name>dig_hund</object-name>
21   <object-name>dig_dec</object-name>
22   <object-name>dig_ones</object-name>
23   <object-name>dig_hm</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_1</object-name>
35   <expression>
36     <product>
37       <sum>
38         <property>tu154/instrumentation/rsbn/radial</property>
39         <property>tu154/instrumentation/rsbn/twist</property>
40       </sum>
41       <value>36.0</value>
42     </product>
43   </expression>
44   <axis>
45     <x>-1.0</x>
46     <y>0.0</y>
47     <z>0.0</z>
48   </axis>
49 </animation>
50
51 <animation>
52   <type>rotate</type>
53   <object-name>needle_2</object-name>
54   <expression>
55     <sum>
56       <property>tu154/instrumentation/rsbn/radial</property>
57       <property>tu154/instrumentation/rsbn/twist</property>
58     </sum>
59   </expression>
60   <axis>
61     <x>-1.0</x>
62     <y>0.0</y>
63     <z>0.0</z>
64   </axis>
65 </animation>
66
67
68 <!--Digit wheels-->
69 <animation>
70   <type>rotate</type>
71   <object-name>dig_hm</object-name>
72   <property>tu154/instrumentation/rsbn/distance</property>
73   <factor>0.36</factor>
74   <center>
75     <x-m>-0.01403</x-m>
76     <y-m>0.0</y-m>
77     <z-m>0.01547</z-m>
78   </center>
79   <axis>
80     <x>0.0</x>
81     <y>-1.0</y>
82     <z>0.0</z>
83   </axis>
84 </animation>
85
86 <animation>
87   <type>rotate</type>
88   <object-name>dig_ones</object-name>
89   <expression>
90     <table>
91       <mod>
92         <property>tu154/instrumentation/rsbn/distance</property>
93         <value>10000</value>
94       </mod>
95       <entry><ind>         0</ind>      <dep>   0</dep></entry>
96       <entry><ind>       900</ind>      <dep>   0</dep></entry>
97       <entry><ind>      1000</ind>      <dep>   36</dep></entry>
98       <entry><ind>      1900</ind>      <dep>   36</dep></entry>
99       <entry><ind>      2000</ind>      <dep>   72</dep></entry>
100       <entry><ind>      2900</ind>      <dep>   72</dep></entry>
101       <entry><ind>      3000</ind>      <dep>   108</dep></entry>
102       <entry><ind>      3900</ind>      <dep>   108</dep></entry>
103       <entry><ind>      4000</ind>      <dep>   144</dep></entry>
104       <entry><ind>      4900</ind>      <dep>   144</dep></entry>
105       <entry><ind>      5000</ind>      <dep>   180</dep></entry>
106       <entry><ind>      5900</ind>      <dep>   180</dep></entry>
107       <entry><ind>      6000</ind>      <dep>   216</dep></entry>
108       <entry><ind>      6900</ind>      <dep>   216</dep></entry>
109       <entry><ind>      7000</ind>      <dep>   252</dep></entry>
110       <entry><ind>      7900</ind>      <dep>   252</dep></entry>
111       <entry><ind>      8000</ind>      <dep>   288</dep></entry>
112       <entry><ind>      8900</ind>      <dep>   288</dep></entry>
113       <entry><ind>      9000</ind>      <dep>   324</dep></entry>
114       <entry><ind>      9900</ind>      <dep>   324</dep></entry>
115       <entry><ind>      9990</ind>      <dep>   359.9</dep></entry>
116     </table>
117   </expression>
118   <center>
119     <x-m>-0.01403</x-m>
120     <y-m>0.0</y-m>
121     <z-m>0.01547</z-m>
122   </center>
123   <axis>
124     <x>0.0</x>
125     <y>-1.0</y>
126     <z>0.0</z>
127   </axis>
128 </animation>
129
130 <animation>
131   <type>rotate</type>
132   <object-name>dig_dec</object-name>
133   <expression>
134     <table>
135       <mod>
136         <property>tu154/instrumentation/rsbn/distance</property>
137         <value>100000</value>
138       </mod>
139       <entry><ind>          0</ind>     <dep>   0</dep></entry>
140       <entry><ind>       9900</ind>     <dep>   0</dep></entry>
141       <entry><ind>      10000</ind>     <dep>   36</dep></entry>
142       <entry><ind>      19900</ind>     <dep>   36</dep></entry>
143       <entry><ind>      20000</ind>     <dep>   72</dep></entry>
144       <entry><ind>      29900</ind>     <dep>   72</dep></entry>
145       <entry><ind>      30000</ind>     <dep>   108</dep></entry>
146       <entry><ind>      39900</ind>     <dep>   108</dep></entry>
147       <entry><ind>      40000</ind>     <dep>   144</dep></entry>
148       <entry><ind>      49900</ind>     <dep>   144</dep></entry>
149       <entry><ind>      50000</ind>     <dep>   180</dep></entry>
150       <entry><ind>      59900</ind>     <dep>   180</dep></entry>
151       <entry><ind>      60000</ind>     <dep>   216</dep></entry>
152       <entry><ind>      69900</ind>     <dep>   216</dep></entry>
153       <entry><ind>      70000</ind>     <dep>   252</dep></entry>
154       <entry><ind>      79900</ind>     <dep>   252</dep></entry>
155       <entry><ind>      80000</ind>     <dep>   288</dep></entry>
156       <entry><ind>      89900</ind>     <dep>   288</dep></entry>
157       <entry><ind>      90000</ind>     <dep>   324</dep></entry>
158       <entry><ind>      99900</ind>     <dep>   324</dep></entry>
159       <entry><ind>      99990</ind>     <dep>   359.9</dep></entry>
160     </table>
161   </expression>
162   <center>
163     <x-m>-0.01403</x-m>
164     <y-m>0.0</y-m>
165     <z-m>0.01547</z-m>
166   </center>
167   <axis>
168     <x>0.0</x>
169     <y>-1.0</y>
170     <z>0.0</z>
171   </axis>
172 </animation>
173
174 <animation>
175   <type>rotate</type>
176   <object-name>dig_hund</object-name>
177   <expression>
178     <table>
179       <mod>
180         <property>tu154/instrumentation/rsbn/distance</property>
181         <value>1000000</value>
182       </mod>
183       <entry><ind>           0</ind>    <dep>   0</dep></entry>
184       <entry><ind>       99900</ind>    <dep>   0</dep></entry>
185       <entry><ind>      100000</ind>    <dep>   36</dep></entry>
186       <entry><ind>      199900</ind>    <dep>   36</dep></entry>
187       <entry><ind>      200000</ind>    <dep>   72</dep></entry>
188       <entry><ind>      299900</ind>    <dep>   72</dep></entry>
189       <entry><ind>      300000</ind>    <dep>   108</dep></entry>
190       <entry><ind>      399900</ind>    <dep>   108</dep></entry>
191       <entry><ind>      400000</ind>    <dep>   144</dep></entry>
192       <entry><ind>      499900</ind>    <dep>   144</dep></entry>
193       <entry><ind>      500000</ind>    <dep>   180</dep></entry>
194       <entry><ind>      599900</ind>    <dep>   180</dep></entry>
195       <entry><ind>      600000</ind>    <dep>   216</dep></entry>
196       <entry><ind>      699900</ind>    <dep>   216</dep></entry>
197       <entry><ind>      700000</ind>    <dep>   252</dep></entry>
198       <entry><ind>      799900</ind>    <dep>   252</dep></entry>
199       <entry><ind>      800000</ind>    <dep>   288</dep></entry>
200       <entry><ind>      899900</ind>    <dep>   288</dep></entry>
201       <entry><ind>      900000</ind>    <dep>   324</dep></entry>
202       <entry><ind>      999900</ind>    <dep>   324</dep></entry>
203       <entry><ind>      999990</ind>    <dep>   359.9</dep></entry>
204     </table>
205   </expression>
206   <center>
207     <x-m>-0.01403</x-m>
208     <y-m>0.0</y-m>
209     <z-m>0.01547</z-m>
210   </center>
211   <axis>
212     <x>0.0</x>
213     <y>-1.0</y>
214     <z>0.0</z>
215   </axis>
216 </animation>
217
218
219 </PropertyList>