Debian Codegraph @

Aircraft/Instruments-3d/kt76a/kt76a.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- ########################################
4
5 # DR400-regent by PAF team
6 # April 2012 : Modified by PAF team
7 # http://equipe-flightgear.forumactif.com
8
9 ##########################################-->
10
11 <PropertyList>
12
13 <path>kt76a.ac</path>
14
15 <params>
16 <serviceable>instrumentation/transponder/serviceable</serviceable>
17
18 <knob-mode>instrumentation/transponder/inputs/knob-mode</knob-mode>
19 <ident-btn>instrumentation/transponder/inputs/ident-btn</ident-btn>
20
21 <digit0>instrumentation/transponder/inputs/digit[0]</digit0>
22 <digit1>instrumentation/transponder/inputs/digit[1]</digit1>
23 <digit2>instrumentation/transponder/inputs/digit[2]</digit2>
24 <digit3>instrumentation/transponder/inputs/digit[3]</digit3>
25
26 <dimming>instrumentation/transponder/dimming-norm</dimming>
27 </params>
28
29 <animation>
30 <object-name>Dial1</object-name>
31 <object-name>Dial10</object-name>
32 <object-name>Dial100</object-name>
33 <object-name>Dial1000</object-name>
34 <object-name>Front</object-name>
35 <object-name>Ident</object-name>
36 <object-name>Ident-light</object-name>
37 <object-name>Knob1</object-name>
38 <object-name>Knob10</object-name>
39 <object-name>Knob100</object-name>
40 <object-name>Knob1000</object-name>
41 <object-name>Border</object-name>
42 <object-name>KnobMode</object-name>
43 <object-name>vitre</object-name>
44 </animation>
45
46 <animation>
47 <type>material</type>
48 <object-name>Dial1</object-name>
49 <object-name>Dial10</object-name>
50 <object-name>Dial100</object-name>
51 <object-name>Dial1000</object-name>
52 <object-name>Front</object-name>
53 <object-name>Ident</object-name>
54 <object-name>Ident-light</object-name>
55 <object-name>Knob1</object-name>
56 <object-name>Knob10</object-name>
57 <object-name>Knob100</object-name>
58 <object-name>Knob1000</object-name>
59 <object-name>Border</object-name>
60 <object-name>KnobMode</object-name>
61 <object-name>vitre</object-name>
62
63 <property-base>/instrumentation/transponder</property-base>
64 <texture-prop>texture-file</texture-prop>
65 </animation>
66
67 <animation>
68 <type>material</type>
69 <object-name>Dial1</object-name>
70 <object-name>Dial10</object-name>
71 <object-name>Dial100</object-name>
72 <object-name>Dial1000</object-name>
73 <object-name>Front</object-name>
74 <object-name>Ident</object-name>
75 <object-name>Ident-light</object-name>
76 <object-name>Knob1</object-name>
77 <object-name>Knob10</object-name>
78 <object-name>Knob100</object-name>
79 <object-name>Knob1000</object-name>
80 <object-name>Border</object-name>
81 <object-name>KnobMode</object-name>
82 <object-name>vitre</object-name>
83 <condition>
84 <not><property>sim/rendering/rembrandt/enabled</property></not>
85 </condition>
86 <emission>
87 <red> 0.006 </red>
88 <green> 0.006 </green>
89 <blue> 0.006 </blue>
90 <factor-prop alias="../../../params/dimming"/>
91 </emission>
92 </animation>
93
94 <animation>
95 <type>noshadow</type>
96 <object-name>vitre</object-name>
97 </animation>
98
99 <effect>
100 <inherits-from>Effects/model-transparent</inherits-from>
101 <object-name>vitre</object-name>
102 <condition>
103 <property>sim/rendering/rembrandt/enabled</property>
104 </condition>
105 </effect>
106
107 <animation>
108 <type>rotate</type>
109 <object-name>Dial1000</object-name>
110 <!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
111 <property alias="../../params/digit3"/>
112 <factor>45</factor>
113 <center>
114 <x-m> 0.01453 </x-m>
115 <y-m> -0.0185 </y-m>
116 <z-m> -0.0011345 </z-m>
117 </center>
118 <axis>
119 <x> -1 </x>
120 <y> 0 </y>
121 <z> 0 </z>
122 </axis>
123 </animation>
124
125 <animation>
126 <type>rotate</type>
127 <object-name>Knob1000</object-name>
128 <!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
129 <property alias="../../params/digit3"/>
130 <factor>45</factor>
131 <center>
132 <x-m> 0.01453 </x-m>
133 <y-m> -0.0185 </y-m>
134 <z-m> 0.000655 </z-m>
135 </center>
136 <axis>
137 <x> -1 </x>
138 <y> 0 </y>
139 <z> 0 </z>
140 </axis>
141 </animation>
142
143 <animation>
144 <type>knob</type>
145 <object-name>Knob1000</object-name>
146 <visible>true</visible>
147 <drag-scale-px>20</drag-scale-px>
148 <action>
149 <binding>
150 <command>property-adjust</command>
151 <!--<property>instrumentation/transponder/inputs/digit[3]</property>-->
152 <property alias="../../../../params/digit3"/>
153 <factor>1</factor>
154 <min>0</min>
155 <max>8</max>
156 <wrap>true</wrap>
157 </binding>
158 </action>
159 <hovered>
160 <binding>
161 <command>set-tooltip</command>
162 <tooltip-id>transponder-squawk</tooltip-id>
163 <label>Squawk: %s</label>
164 <property>instrumentation/transponder/id-code</property>
165 <mapping>nasal</mapping>
166 <script>
167 return sprintf("%04d", arg[0]);
168 </script>
169 </binding>
170 </hovered>
171 </animation>
172
173 <animation>
174 <type>rotate</type>
175 <object-name>Dial100</object-name>
176 <!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
177 <property alias="../../params/digit2"/>
178 <factor>45</factor>
179 <center>
180 <x-m> 0.004 </x-m>
181 <y-m> 0.0085 </y-m>
182 <z-m> -0.0011345 </z-m>
183 </center>
184 <axis>
185 <x> -1 </x>
186 <y> 0 </y>
187 <z> 0 </z>
188 </axis>
189 </animation>
190
191 <animation>
192 <type>rotate</type>
193 <object-name>Knob100</object-name>
194 <!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
195 <property alias="../../params/digit2"/>
196 <factor>45</factor>
197 <center>
198 <x-m> 0.01453 </x-m>
199 <y-m> 0.0085 </y-m>
200 <z-m> 0.000655 </z-m>
201 </center>
202 <axis>
203 <x> -1 </x>
204 <y> 0 </y>
205 <z> 0 </z>
206 </axis>
207 </animation>
208
209 <animation>
210 <type>knob</type>
211 <object-name>Knob100</object-name>
212 <visible>true</visible>
213 <drag-scale-px>20</drag-scale-px>
214 <action>
215 <binding>
216 <command>property-adjust</command>
217 <!--<property>instrumentation/transponder/inputs/digit[2]</property>-->
218 <property alias="../../../../params/digit2"/>
219 <factor>1</factor>
220 <min>0</min>
221 <max>8</max>
222 <wrap>true</wrap>
223 </binding>
224 </action>
225 <hovered>
226 <binding>
227 <command>set-tooltip</command>
228 <tooltip-id>transponder-squawk</tooltip-id>
229 <label>Squawk: %s</label>
230 <property>instrumentation/transponder/id-code</property>
231 <mapping>nasal</mapping>
232 <script>
233 return sprintf("%04d", arg[0]);
234 </script>
235 </binding>
236 </hovered>
237 </animation>
238
239 <animation>
240 <type>rotate</type>
241 <object-name>Dial10</object-name>
242 <!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
243 <property alias="../../params/digit1"/>
244 <factor>45</factor>
245 <center>
246 <x-m> 0.004 </x-m>
247 <y-m> 0.0355 </y-m>
248 <z-m> -0.0011345 </z-m>
249 </center>
250 <axis>
251 <x> -1 </x>
252 <y> 0 </y>
253 <z> 0 </z>
254 </axis>
255 </animation>
256
257 <animation>
258 <type>rotate</type>
259 <object-name>Knob10</object-name>
260 <!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
261 <property alias="../../params/digit1"/>
262 <factor>45</factor>
263 <center>
264 <x-m> 0.01453 </x-m>
265 <y-m> 0.0355 </y-m>
266 <z-m> 0.000655 </z-m>
267 </center>
268 <axis>
269 <x> -1 </x>
270 <y> 0 </y>
271 <z> 0 </z>
272 </axis>
273 </animation>
274
275 <animation>
276 <type>knob</type>
277 <object-name>Knob10</object-name>
278 <visible>true</visible>
279 <drag-scale-px>20</drag-scale-px>
280 <action>
281 <binding>
282 <command>property-adjust</command>
283 <!--<property>instrumentation/transponder/inputs/digit[1]</property>-->
284 <property alias="../../../../params/digit1"/>
285 <factor>1</factor>
286 <min>0</min>
287 <max>8</max>
288 <wrap>true</wrap>
289 </binding>
290 </action>
291 <hovered>
292 <binding>
293 <command>set-tooltip</command>
294 <tooltip-id>transponder-squawk</tooltip-id>
295 <label>Squawk: %s</label>
296 <property>instrumentation/transponder/id-code</property>
297 <mapping>nasal</mapping>
298 <script>
299 return sprintf("%04d", arg[0]);
300 </script>
301 </binding>
302 </hovered>
303 </animation>
304
305 <animation>
306 <type>rotate</type>
307 <object-name>Dial1</object-name>
308 <!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
309 <property alias="../../params/digit0"/>
310 <factor>45</factor>
311 <center>
312 <x-m> 0.004 </x-m>
313 <y-m> 0.0625 </y-m>
314 <z-m> -0.0011345 </z-m>
315 </center>
316 <axis>
317 <x> -1 </x>
318 <y> 0 </y>
319 <z> 0 </z>
320 </axis>
321 </animation>
322
323 <animation>
324 <type>rotate</type>
325 <object-name>Knob1</object-name>
326 <!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
327 <property alias="../../params/digit0"/>
328 <factor>45</factor>
329 <center>
330 <x-m> 0.01453 </x-m>
331 <y-m> 0.0625 </y-m>
332 <z-m> 0.000655 </z-m>
333 </center>
334 <axis>
335 <x> -1 </x>
336 <y> 0 </y>
337 <z> 0 </z>
338 </axis>
339 </animation>
340
341 <animation>
342 <type>knob</type>
343 <object-name>Knob1</object-name>
344 <visible>true</visible>
345 <drag-scale-px>20</drag-scale-px>
346 <action>
347 <binding>
348 <command>property-adjust</command>
349 <!--<property>instrumentation/transponder/inputs/digit[0]</property>-->
350 <property alias="../../../../params/digit0"/>
351 <factor>1</factor>
352 <min>0</min>
353 <max>8</max>
354 <wrap>true</wrap>
355 </binding>
356 </action>
357 <hovered>
358 <binding>
359 <command>set-tooltip</command>
360 <tooltip-id>transponder-squawk</tooltip-id>
361 <label>Squawk: %s</label>
362 <property>instrumentation/transponder/id-code</property>
363 <mapping>nasal</mapping>
364 <script>
365 return sprintf("%04d", arg[0]);
366 </script>
367 </binding>
368 </hovered>
369 </animation>
370
371 <animation>
372 <type>knob</type>
373 <object-name>KnobMode</object-name>
374 <visible>true</visible>
375 <drag-scale-px>20</drag-scale-px>
376 <action>
377 <binding>
378 <command>property-cycle</command>
379 <!--<property>/instrumentation/transponder/inputs/knob-mode</property>-->
380 <property alias="../../../../params/knob-mode"/>
381 <wrap>0</wrap>
382 <value>0</value> <!-- OFF -->
383 <value>1</value> <!-- SBY -->
384 <value>4</value> <!-- ON -->
385 <value>5</value> <!-- ALT -->
386 <value>2</value> <!-- TST -->
387 </binding>
388 </action>
389 <hovered>
390 <binding>
391 <command>set-tooltip</command>
392 <tooltip-id>transponder-mode-btn</tooltip-id>
393 <label>Mode: %s</label>
394 <!--<property>instrumentation/transponder/inputs/knob-mode</property>-->
395 <property alias="../../../../params/knob-mode"/>
396 <mapping>nasal</mapping>
397 <script>
398 var m = arg[0];
399 if(m == 1) return 'STANDBY';
400 if(m == 4) return 'ON';
401 if(m == 5) return 'ALTITUDE';
402 if(m == 2) return 'TEST';
403 return 'OFF';
404 </script>
405 </binding>
406 </hovered>
407 </animation>
408
409 <animation>
410 <type>rotate</type>
411 <object-name>KnobMode</object-name>
412 <!--<property>/instrumentation/transponder/inputs/knob-mode</property>-->
413 <property alias="../../params/knob-mode"/>
414 <factor>1</factor>
415 <interpolation>
416 <entry>
417 <ind>0</ind><dep>0</dep>
418 </entry>
419 <entry>
420 <ind>1</ind><dep>45</dep>
421 </entry>
422 <entry>
423 <ind>4</ind><dep>90</dep>
424 </entry>
425 <entry>
426 <ind>5</ind><dep>135</dep>
427 </entry>
428 <entry>
429 <ind>2</ind><dep>180</dep>
430 </entry>
431 </interpolation>
432 <center>
433 <x-m> 0.01453 </x-m>
434 <y-m> -0.06102 </y-m>
435 <z-m> 0.000655 </z-m>
436 </center>
437 <axis>
438 <x> -1 </x>
439 <y> 0 </y>
440 <z> 0 </z>
441 </axis>
442 </animation>
443
444 <animation>
445 <type>pick</type>
446 <visible>true</visible>
447 <object-name>Ident</object-name>
448 <action>
449 <button>0</button>
450 <repeatable>false</repeatable>
451 <binding>
452 <command>property-assign</command>
453 <!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
454 <property alias="../../../../params/ident-btn"/>
455 <value type="bool">true</value>
456 </binding>
457 <mod-up>
458 <binding>
459 <command>property-assign</command>
460 <!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
461 <property alias="../../../../../params/ident-btn"/>
462 <value type="bool">false</value>
463 </binding>
464 </mod-up>
465 </action>
466 <hovered>
467 <binding>
468 <command>set-tooltip</command>
469 <tooltip-id>transponder-ident</tooltip-id>
470 <label>Identify to ATC</label>
471 </binding>
472 </hovered>
473 </animation>
474
475 <animation>
476 <type>translate</type>
477 <object-name>Ident</object-name>
478 <!--<property>/instrumentation/transponder/inputs/ident-btn</property>-->
479 <property alias="../../params/ident-btn"/>
480 <factor> 0.0018 </factor>
481 <axis>
482 <x> -1 </x>
483 <y> 0 </y>
484 <z> 0 </z>
485 </axis>
486 </animation>
487
488 </PropertyList>