Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / uiz / uiz-3.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 <!-- Turbine gauge UIZ-3
11 3D instrument for Tu-154 -->
12 <PropertyList>
13   <params>
14     <pressure>engines/engine[0]/oil-pressure-psi</pressure>
15   </params>
16
17  <path>uiz-3.ac</path>
18 <!-- Internal instruments lighting -->
19 <animation>
20   <type>material</type>
21   <object-name>base</object-name>
22   <object-name>needle_1</object-name>
23   <object-name>needle_2</object-name>
24   <object-name>needle_3</object-name>
25   <emission>
26     <red-prop>tu154/light/instruments/int-red</red-prop>
27     <green-prop>tu154/light/instruments/int-green</green-prop>
28     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
29   </emission>
30 </animation>
31 <!--External panel lighting-->
32 <animation>
33   <type>material</type>
34   <object-name>cover</object-name>
35   <emission>
36     <red-prop>tu154/light/panel/ext-red</red-prop>
37     <green-prop>tu154/light/panel/ext-green</green-prop>
38     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
39   </emission>
40 </animation>
41
42   
43 <!--Needles-->
44 <animation>
45     <type>rotate</type>
46     <object-name>needle_1</object-name>
47     <!--<property>tu154/fp</property>-->
48     <!--Fuel pressure Kg/sm-->
49     <interpolation>
50       <entry><ind>      0.0</ind>       <dep>   -49.0</dep></entry>
51       <entry><ind>      100.0</ind>     <dep>   48.0</dep></entry>
52     </interpolation>
53     <axis>
54       <x>-1.0</x>
55       <y>0.0</y>
56       <z>0.0</z>
57     </axis>
58 </animation>
59
60 <animation>
61   <type>rotate</type>
62   <object-name>needle_2</object-name>
63   <property alias="../../params/pressure"/>
64   <!--Oil pressure Kg/sm-->
65   <!--Kg/sm-->
66 <!--  <interpolation>
67     <entry><ind>        0.0</ind>       <dep>   -50.0</dep></entry>
68     <entry><ind>        8.0</ind>       <dep>   51.0</dep></entry>
69   </interpolation>-->
70   <!--Psi-->
71   <interpolation>
72     <entry><ind>        0.0</ind>       <dep>   -50.0</dep></entry>
73     <entry><ind>        113.68</ind>    <dep>   51.0</dep></entry>
74   </interpolation>
75   <center>
76     <x-m>0.0</x-m>
77     <y-m>-0.02276</y-m>
78     <z-m>-0.02298</z-m>
79   </center>
80   <axis>
81     <x>1.0</x>
82     <y>0.0</y>
83     <z>0.0</z>
84   </axis>
85 </animation>
86 <animation>
87   <type>rotate</type>
88   <object-name>needle_3</object-name>
89   <!--<property>tu154/ot</property>-->
90   <!--Oil temperature degc-->
91   <interpolation>
92     <entry><ind>        -50.0</ind>     <dep>   -49.0</dep></entry>
93     <entry><ind>        150.0</ind>     <dep>   47.0</dep></entry>
94   </interpolation>
95   <center>
96     <x-m>0.0</x-m>
97     <y-m>0.02235</y-m>
98     <z-m>-0.02288</z-m>
99   </center>
100   <axis>
101     <x>-1.0</x>
102     <y>0.0</y>
103     <z>0.0</z>
104   </axis>
105 </animation>
106
107
108
109 </PropertyList>