Tu-154B2 version 3.1:
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / iku-1 / iku-1.xml
1 <?xml version="1.0"?>
2 <!--
3     #############################################################################
4     #    (C) 2007 by Yurik V. Nikiforoff                                        #
5     #           yurik@megasignal.com                                            #
6     #           Jul 2007                                                        #
7     #############################################################################
8     -->
9
10 <!-- IKU-1 heading indicator
11 3D instrument for Tu-154 -->
12 <PropertyList>
13   <params>
14     <compass>fdm/jsbsim/instrumentation/bgmk-1</compass>
15     <heading-1>tu154/instrumentation/iku-1[0]/heading-1</heading-1>
16     <heading-2>tu154/instrumentation/iku-1[0]/heading-2</heading-2>
17     <mode-1>tu154/instrumentation/iku-1[0]/mode-1</mode-1>
18     <mode-2>tu154/instrumentation/iku-1[0]/mode-2</mode-2>
19     <trans-1>tu154/instrumentation/iku-1[0]/trans-1</trans-1>
20     <trans-2>tu154/instrumentation/iku-1[0]/trans-2</trans-2>
21   </params>
22
23  <path>iku-1.ac</path>
24 <!-- Internal instruments lighting -->
25 <animation>
26   <type>material</type>
27   <object-name>text</object-name>
28   <object-name>compass</object-name>
29   <object-name>l_handle</object-name>
30   <object-name>r_handle</object-name>
31   <object-name>l_src</object-name>
32   <object-name>r_src</object-name>
33   <object-name>white_needle</object-name>
34   <object-name>yellow_needle</object-name>
35   <emission>
36     <red-prop>tu154/light/instruments/int-red</red-prop>
37     <green-prop>tu154/light/instruments/int-green</green-prop>
38     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
39   </emission>
40 </animation>
41
42 <!-- External instruments lighting -->
43 <animation>
44   <type>material</type>
45   <object-name>base</object-name>
46   <emission>
47     <red-prop>tu154/light/panel/ext-red</red-prop>
48     <green-prop>tu154/light/panel/ext-green</green-prop>
49     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
50   </emission>
51 </animation>
52
53 <!-- Compass -->
54 <animation>
55   <type>rotate</type>
56   <object-name>compass</object-name>
57   <property alias="../../params/compass"/>
58   <axis>
59     <x>1.0</x>
60     <y>0.0</y>
61     <z>0.0</z>
62   </axis>
63 </animation>
64
65
66 <!--Needles-->
67 <animation>
68   <type>rotate</type>
69   <object-name>yellow_needle</object-name>
70   <property alias="../../params/heading-1"/>
71   <axis>
72     <x>-1.0</x>
73     <y>0.0</y>
74     <z>0.0</z>
75   </axis>
76 </animation>
77 <animation>
78   <type>rotate</type>
79   <object-name>white_needle</object-name>
80   <property alias="../../params/heading-2"/>
81   <axis>
82     <x>-1.0</x>
83     <y>0.0</y>
84     <z>0.0</z>
85   </axis>
86 </animation>
87
88 <!--Handles-->
89 <animation>
90   <type>knob</type>
91   <object-name>l_handle</object-name>
92   <property alias="../../params/trans-1"/>
93   <factor>90.0</factor>
94   <center>
95     <x-m>0.0</x-m>
96     <y-m>-0.03140</y-m>
97     <z-m>-0.03425</z-m>
98   </center>
99   <axis>
100     <x>1.0</x>
101     <y>0.0</y>
102     <z>0.0</z>
103   </axis>
104   <action>
105     <binding>
106       <command>property-adjust</command>
107       <property alias="../../../../params/mode-1"/>
108       <min>0</min>
109       <max>2</max>
110       <wrap>true</wrap>
111     </binding>
112   </action>
113 </animation>
114 <animation>
115   <type>knob</type>
116   <object-name>r_handle</object-name>
117   <property alias="../../params/trans-2"/>
118   <factor>90.0</factor>
119   <center>
120     <x-m>0.0</x-m>
121     <y-m>0.03062</y-m>
122     <z-m>-0.03425</z-m>
123   </center>
124   <axis>
125     <x>1.0</x>
126     <y>0.0</y>
127     <z>0.0</z>
128   </axis>
129   <action>
130     <binding>
131       <command>property-adjust</command>
132       <property alias="../../../../params/mode-2"/>
133       <min>0</min>
134       <max>2</max>
135       <wrap>true</wrap>
136     </binding>
137   </action>
138 </animation>
139
140 <!--VOR/ADF indicators-->
141 <animation>
142   <type>rotate</type>
143   <object-name>l_src</object-name>
144   <property alias="../../params/trans-1"/>
145   <factor>120.0</factor>
146   <center>
147     <x-m>0.00045</x-m>
148     <y-m>0.0</y-m>
149     <z-m>-0.04601</z-m>
150   </center>
151   <axis>
152     <x>0.0</x>
153     <y>-1.0</y>
154     <z>0.0</z>
155   </axis>
156 </animation>
157 <animation>
158   <type>rotate</type>
159   <object-name>r_src</object-name>
160   <property alias="../../params/trans-2"/>
161   <factor>120.0</factor>
162   <center>
163     <x-m>0.00045</x-m>
164     <y-m>0.0</y-m>
165     <z-m>-0.04601</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 </PropertyList>