Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / idr-1 / idr-1.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 <!-- IDR-1 range indicator
11 3D instrument for Tu-154 -->
12 <PropertyList>
13   <params>
14     <distance>tu154/instrumentation/idr-1[0]/distance</distance>
15     <blank>tu154/instrumentation/idr-1[0]/blank</blank>
16   </params>
17
18  <path>idr-1.ac</path>
19 <!-- Internal instruments lighting -->
20 <animation>
21   <type>material</type>
22   <object-name>text</object-name>
23   <object-name>dig_hund</object-name>
24   <object-name>dig_dec</object-name>
25   <object-name>dig_ones</object-name>
26   <object-name>dig_hm</object-name>
27   <emission>
28     <red-prop>tu154/light/instruments/int-red</red-prop>
29     <green-prop>tu154/light/instruments/int-green</green-prop>
30     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
31   </emission>
32 </animation>
33 <animation>
34   <type>material</type>
35   <object-name>blanker</object-name>
36   <emission>
37     <red-prop>tu154/light/instruments/int-red</red-prop>
38   </emission>
39 </animation>
40
41 <!--Digit wheels-->
42 <animation>
43   <type>rotate</type>
44   <object-name>dig_hm</object-name>
45   <property alias="../../params/distance"/>
46   <factor>0.36</factor>
47   <center>
48     <x-m>-0.02264</x-m>
49     <y-m>0.0</y-m>
50     <z-m>0.0</z-m>
51   </center>
52   <axis>
53     <x>0.0</x>
54     <y>-1.0</y>
55     <z>0.0</z>
56   </axis>
57 </animation>
58
59 <animation>
60   <type>rotate</type>
61   <object-name>dig_ones</object-name>
62   <expression>
63     <table>
64       <mod>
65         <abs><property alias="../../../../../../params/distance"/></abs>
66         <value>10000</value>
67       </mod>
68       <entry><ind>         0</ind>      <dep>   0</dep></entry>
69       <entry><ind>       900</ind>      <dep>   0</dep></entry>
70       <entry><ind>      1000</ind>      <dep>   36</dep></entry>
71       <entry><ind>      1900</ind>      <dep>   36</dep></entry>
72       <entry><ind>      2000</ind>      <dep>   72</dep></entry>
73       <entry><ind>      2900</ind>      <dep>   72</dep></entry>
74       <entry><ind>      3000</ind>      <dep>   108</dep></entry>
75       <entry><ind>      3900</ind>      <dep>   108</dep></entry>
76       <entry><ind>      4000</ind>      <dep>   144</dep></entry>
77       <entry><ind>      4900</ind>      <dep>   144</dep></entry>
78       <entry><ind>      5000</ind>      <dep>   180</dep></entry>
79       <entry><ind>      5900</ind>      <dep>   180</dep></entry>
80       <entry><ind>      6000</ind>      <dep>   216</dep></entry>
81       <entry><ind>      6900</ind>      <dep>   216</dep></entry>
82       <entry><ind>      7000</ind>      <dep>   252</dep></entry>
83       <entry><ind>      7900</ind>      <dep>   252</dep></entry>
84       <entry><ind>      8000</ind>      <dep>   288</dep></entry>
85       <entry><ind>      8900</ind>      <dep>   288</dep></entry>
86       <entry><ind>      9000</ind>      <dep>   324</dep></entry>
87       <entry><ind>      9900</ind>      <dep>   324</dep></entry>
88       <entry><ind>      9990</ind>      <dep>   359.9</dep></entry>
89     </table>
90   </expression>
91   <center>
92     <x-m>-0.02264</x-m>
93     <y-m>0.0</y-m>
94     <z-m>0.0</z-m>
95   </center>
96   <axis>
97     <x>0.0</x>
98     <y>-1.0</y>
99     <z>0.0</z>
100   </axis>
101 </animation>
102
103 <animation>
104   <type>rotate</type>
105   <object-name>dig_dec</object-name>
106   <expression>
107     <table>
108       <mod>
109         <abs><property alias="../../../../../../params/distance"/></abs>
110         <value>100000</value>
111       </mod>
112       <entry><ind>          0</ind>     <dep>   0</dep></entry>
113       <entry><ind>       9900</ind>     <dep>   0</dep></entry>
114       <entry><ind>      10000</ind>     <dep>   36</dep></entry>
115       <entry><ind>      19900</ind>     <dep>   36</dep></entry>
116       <entry><ind>      20000</ind>     <dep>   72</dep></entry>
117       <entry><ind>      29900</ind>     <dep>   72</dep></entry>
118       <entry><ind>      30000</ind>     <dep>   108</dep></entry>
119       <entry><ind>      39900</ind>     <dep>   108</dep></entry>
120       <entry><ind>      40000</ind>     <dep>   144</dep></entry>
121       <entry><ind>      49900</ind>     <dep>   144</dep></entry>
122       <entry><ind>      50000</ind>     <dep>   180</dep></entry>
123       <entry><ind>      59900</ind>     <dep>   180</dep></entry>
124       <entry><ind>      60000</ind>     <dep>   216</dep></entry>
125       <entry><ind>      69900</ind>     <dep>   216</dep></entry>
126       <entry><ind>      70000</ind>     <dep>   252</dep></entry>
127       <entry><ind>      79900</ind>     <dep>   252</dep></entry>
128       <entry><ind>      80000</ind>     <dep>   288</dep></entry>
129       <entry><ind>      89900</ind>     <dep>   288</dep></entry>
130       <entry><ind>      90000</ind>     <dep>   324</dep></entry>
131       <entry><ind>      99900</ind>     <dep>   324</dep></entry>
132       <entry><ind>      99990</ind>     <dep>   359.9</dep></entry>
133     </table>
134   </expression>
135   <center>
136     <x-m>-0.02264</x-m>
137     <y-m>0.0</y-m>
138     <z-m>0.0</z-m>
139   </center>
140   <axis>
141     <x>0.0</x>
142     <y>-1.0</y>
143     <z>0.0</z>
144   </axis>
145 </animation>
146
147 <animation>
148   <type>rotate</type>
149   <object-name>dig_hund</object-name>
150   <expression>
151     <table>
152       <mod>
153         <abs><property alias="../../../../../../params/distance"/></abs>
154         <value>1000000</value>
155       </mod>
156       <entry><ind>           0</ind>    <dep>   0</dep></entry>
157       <entry><ind>       99900</ind>    <dep>   0</dep></entry>
158       <entry><ind>      100000</ind>    <dep>   36</dep></entry>
159       <entry><ind>      199900</ind>    <dep>   36</dep></entry>
160       <entry><ind>      200000</ind>    <dep>   72</dep></entry>
161       <entry><ind>      299900</ind>    <dep>   72</dep></entry>
162       <entry><ind>      300000</ind>    <dep>   108</dep></entry>
163       <entry><ind>      399900</ind>    <dep>   108</dep></entry>
164       <entry><ind>      400000</ind>    <dep>   144</dep></entry>
165       <entry><ind>      499900</ind>    <dep>   144</dep></entry>
166       <entry><ind>      500000</ind>    <dep>   180</dep></entry>
167       <entry><ind>      599900</ind>    <dep>   180</dep></entry>
168       <entry><ind>      600000</ind>    <dep>   216</dep></entry>
169       <entry><ind>      699900</ind>    <dep>   216</dep></entry>
170       <entry><ind>      700000</ind>    <dep>   252</dep></entry>
171       <entry><ind>      799900</ind>    <dep>   252</dep></entry>
172       <entry><ind>      800000</ind>    <dep>   288</dep></entry>
173       <entry><ind>      899900</ind>    <dep>   288</dep></entry>
174       <entry><ind>      900000</ind>    <dep>   324</dep></entry>
175       <entry><ind>      999900</ind>    <dep>   324</dep></entry>
176       <entry><ind>      999990</ind>    <dep>   359.9</dep></entry>
177     </table>
178   </expression>
179   <center>
180     <x-m>-0.02264</x-m>
181     <y-m>0.0</y-m>
182     <z-m>0.0</z-m>
183   </center>
184   <axis>
185     <x>0.0</x>
186     <y>-1.0</y>
187     <z>0.0</z>
188   </axis>
189 </animation>
190
191 <!--Blanker-->
192 <animation>
193   <type>rotate</type>
194   <object-name>blanker</object-name>
195   <property alias="../../params/blank"/>
196   <offset-deg>-90.0</offset-deg>
197   <factor>90.0</factor>
198   <center>
199     <x-m>-0.02264</x-m>
200     <y-m>0.0</y-m>
201     <z-m>0.0</z-m>
202   </center>
203   <axis>
204     <x>0.0</x>
205     <y>-1.0</y>
206     <z>0.0</z>
207   </axis>
208 </animation>
209
210 </PropertyList>