Tupolev Tu-154B-2 by Yurik and his team.
[fg:toms-fgdata.git] / Aircraft / tu154b / Instruments-3d / nvu / b-8m.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 <!-- B-8M NVU (navigation system) control
11 3D instrument for Tu-154 -->
12 <PropertyList>
13  <path>b-8m.ac</path>
14 <!--External panel lighting-->
15 <animation>
16   <type>material</type>
17   <object-name>base</object-name>
18   <object-name>handle</object-name>
19     <emission>
20     <red-prop>tu154/light/panel/ext-red</red-prop>
21     <green-prop>tu154/light/panel/ext-green</green-prop>
22     <blue-prop>tu154/light/panel/ext-blue</blue-prop>
23   </emission>
24 </animation>
25
26 <!-- Internal instruments lighting -->
27 <animation>
28   <type>material</type>
29   <object-name>text</object-name>
30   <object-name>inner</object-name>
31   <object-name>outer</object-name>
32   <emission>
33     <red-prop>tu154/light/instruments/int-red</red-prop>
34     <green-prop>tu154/light/instruments/int-green</green-prop>
35     <blue-prop>tu154/light/instruments/int-blue</blue-prop>
36   </emission>
37 </animation>
38
39
40 <animation>
41   <type>rotate</type>
42   <object-name>inner</object-name>
43   <property>tu154/instrumentation/b-8m/inner</property>
44   <factor>1.0</factor>
45   <axis>
46     <x>1.0</x>
47     <y>0.0</y>
48     <z>0.0</z>
49   </axis>
50 </animation>
51 <animation>
52   <type>rotate</type>
53   <object-name>outer</object-name>
54   <property>tu154/instrumentation/b-8m/outer</property>
55   <factor>1.0</factor>
56   <axis>
57     <x>1.0</x>
58     <y>0.0</y>
59     <z>0.0</z>
60   </axis>
61 </animation>
62 <animation>
63   <type>rotate</type>
64   <object-name>handle</object-name>
65   <!--<property>tu154/switches/b-8m-handle</property>-->
66   <property>tu154/instrumentation/b-8m/outer</property>
67   <center>
68     <x-m>0.0</x-m>
69     <y-m>-0.00022</y-m>
70     <z-m>-0.03539</z-m>
71   </center>
72   <axis>
73     <x>-1.0</x>
74     <y>0.0</y>
75     <z>0.0</z>
76   </axis>
77 </animation>
78
79
80 <!--Control-->
81 <animation>
82   <type>pick</type>
83   <object-name>hs_1</object-name>
84   <visible>false</visible>
85   <action>
86     <button>0</button>
87     <repeatable>true</repeatable>
88     <interval-sec>0.15</interval-sec>
89     <binding>
90       <command>property-adjust</command>
91       <property>tu154/instrumentation/b-8m/inner</property>
92       <step>-1.0</step>
93     </binding>
94   </action>
95 </animation>
96 <animation>
97   <type>pick</type>
98   <object-name>hs_2</object-name>
99   <visible>false</visible>
100   <action>
101     <button>0</button>
102     <repeatable>true</repeatable>
103     <interval-sec>0.15</interval-sec>
104     <binding>
105       <command>property-adjust</command>
106       <property>tu154/instrumentation/b-8m/inner</property>
107       <step>1.0</step>
108     </binding>
109   </action>
110 </animation>
111 <animation>
112   <type>pick</type>
113   <object-name>hs_3</object-name>
114   <visible>false</visible>
115   <action>
116     <button>0</button>
117     <repeatable>true</repeatable>
118     <interval-sec>0.15</interval-sec>
119     <binding>
120       <command>property-adjust</command>
121       <property>tu154/instrumentation/b-8m/outer</property>
122       <step>-10.0</step>
123     </binding>
124   </action>
125 </animation>
126 <animation>
127   <type>pick</type>
128   <object-name>hs_4</object-name>
129   <visible>false</visible>
130   <action>
131     <button>0</button>
132     <repeatable>true</repeatable>
133     <interval-sec>0.15</interval-sec>
134     <binding>
135       <command>property-adjust</command>
136       <property>tu154/instrumentation/b-8m/outer</property>
137       <step>10.0</step>
138     </binding>
139   </action>
140 </animation>
141
142 <!--Mouse wheel-->
143 <animation>
144   <type>pick</type>
145   <object-name>hs_1</object-name>
146   <object-name>hs_2</object-name>
147   <visible>false</visible>
148   <action>
149     <button>3</button>
150     <repeatable>false</repeatable>
151     <binding>
152       <command>property-adjust</command>
153       <property>tu154/instrumentation/b-8m/inner</property>
154       <step>-1.0</step>
155     </binding>
156   </action>
157 </animation>
158 <animation>
159   <type>pick</type>
160   <object-name>hs_1</object-name>
161   <object-name>hs_2</object-name>
162   <visible>false</visible>
163   <action>
164     <button>4</button>
165     <repeatable>false</repeatable>
166     <binding>
167       <command>property-adjust</command>
168       <property>tu154/instrumentation/b-8m/inner</property>
169       <step>1.0</step>
170     </binding>
171   </action>
172 </animation>
173
174 <animation>
175   <type>pick</type>
176   <object-name>hs_3</object-name>
177   <object-name>hs_4</object-name>
178   <visible>false</visible>
179   <action>
180     <button>3</button>
181     <repeatable>false</repeatable>
182     <binding>
183       <command>property-adjust</command>
184       <property>tu154/instrumentation/b-8m/outer</property>
185       <step>-10.0</step>
186     </binding>
187   </action>
188 </animation>
189 <animation>
190   <type>pick</type>
191   <object-name>hs_3</object-name>
192   <object-name>hs_4</object-name>
193   <visible>false</visible>
194   <action>
195     <button>4</button>
196     <repeatable>false</repeatable>
197     <binding>
198       <command>property-adjust</command>
199       <property>tu154/instrumentation/b-8m/outer</property>
200       <step>10.0</step>
201     </binding>
202   </action>
203 </animation>
204
205
206
207
208 </PropertyList>