Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / ushdb / ushdb.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 <!--ADF/VOR indicator USHDB
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>ushdb.ac</path>
14 <!-- Internal instruments lighting -->
15 <animation>
16   <type>material</type>
17   <object-name>base</object-name>
18   <object-name>txt1</object-name>
19   <object-name>txt2</object-name>
20   <object-name>txt3</object-name>
21   <object-name>compass</object-name>
22   <object-name>needle_1</object-name>
23   <object-name>needle_2</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 <!--Compass-->
32 <animation>
33   <type>rotate</type>
34   <object-name>compass</object-name>
35   <property>tu154/instrumentation/ushdb/compass</property>
36   <axis>
37    <x>-1.0</x>
38    <y>0.0</y>
39    <z>0.0</z>
40   </axis>
41 </animation>
42
43
44 <!--Needles-->
45 <animation>
46     <type>rotate</type>
47     <object-name>needle_1</object-name>
48     <property>tu154/instrumentation/ushdb/heading-deg-1</property>
49     <axis>
50       <x>-1.0</x>
51       <y>0.0</y>
52       <z>0.0</z>
53     </axis>
54 </animation>
55
56 <animation>
57   <type>rotate</type>
58   <object-name>needle_2</object-name>
59   <property>tu154/instrumentation/ushdb/heading-deg-2</property>
60   <axis>
61     <x>-1.0</x>
62     <y>0.0</y>
63     <z>0.0</z>
64   </axis>
65 </animation>
66 <!-- Controls -->
67
68 <animation>
69   <type>knob</type>
70   <object-name>hs</object-name>
71   <visible>false</visible>
72   <action>
73     <binding>
74       <command>property-adjust</command>
75       <property>tu154/instrumentation/ushdb/compass</property>
76       <min>0</min>
77       <max>360</max>
78       <wrap>true</wrap>
79     </binding>
80   </action>
81 </animation>
82
83
84 </PropertyList>