Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / manometer / mano.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2006 by Yurik V. Nikiforoff - port for FGFS,  FDM,         #
5     #   2d & 3d instruments, animations, systems and over.                      #
6     #           yurik@megasignal.com                                            #
7     #############################################################################         
8     -->
9
10 <!-- Hydro system pressure indicator
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <params>
14    <path>mano.ac</path>
15    <pressure>fdm/jsbsim/hs/hs1-pressure</pressure>
16  </params>
17
18  <path alias="../params/path"/>
19
20 <!-- Internal instruments lighting -->
21 <animation>
22   <type>material</type>
23   <object-name>base</object-name>
24   <object-name>needle</object-name>
25   <object-name>face</object-name>
26   <emission>
27     <red-prop>tu154/light/instruments/int-red</red-prop>
28     <green-prop>tu154/light/instruments/int-green</green-prop>
29     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
30   </emission>
31 </animation>
32
33   
34 <!--Needles-->
35 <animation>
36     <type>rotate</type>
37     <object-name>needle</object-name>
38     <property alias="../../params/pressure"/>
39     <interpolation>
40       <entry><ind>      0.0</ind>       <dep>   -65.0</dep></entry>
41       <entry><ind>      120.0</ind>     <dep>   0.0</dep></entry>
42       <entry><ind>      240.0</ind>     <dep>   65.0</dep></entry>
43     </interpolation>
44     <center>
45       <x-m>0.0</x-m>
46       <y-m>0.0</y-m>
47       <z-m>-0.00172</z-m>
48   </center>
49     <axis>
50       <x>-1.0</x>
51       <y>0.0</y>
52       <z>0.0</z>
53     </axis>
54 </animation>
55
56
57
58 </PropertyList>