Debian Codegraph @

Aircraft/Generic/DualControl/Instruments/KX165/kx165tso2.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <path>kx165tso.ac</path>
6
7 <animation>
8 <type>select</type>
9 <object-name>CommUse</object-name>
10 <object-name>CommStby</object-name>
11 <object-name>NavUse</object-name>
12 <object-name>NavStby</object-name>
13 <condition>
14 <property>instrumentation/comm[1]/serviceable</property>
15 <property>instrumentation/nav[1]/serviceable</property>
16 <!-- property>instrumentation/nav[1]/power-btn</property -->
17 </condition>
18 </animation>
19
20 <!-- comm part -->
21
22 <animation>
23 <type>material</type>
24 <object-name>CommToggle</object-name>
25 <object-name>NavToggle</object-name>
26 <emission>
27 <red-prop>sim/model/instrument-lighting/emission/red</red-prop>
28 <green-prop>sim/model/instrument-lighting/emission/green</green-prop>
29 <blue-prop>sim/model/instrument-lighting/emission/blue</blue-prop>
30 <factor-prop>controls/lighting/instruments-norm</factor-prop>
31 </emission>
32 </animation>
33
34 <animation>
35 <type>translate</type>
36 <object-name>CommToggle</object-name>
37 <property>instrumentation/comm[1]/frq-swap-btn</property>
38 <factor>-0.004</factor>
39 <axis>
40 <x>1</x>
41 <y>0</y>
42 <z>0</z>
43 </axis>
44 </animation>
45
46 <animation>
47 <type>textranslate</type>
48 <object-name>CommUse100M</object-name>
49 <property>instrumentation/comm[1]/frequencies/selected-mhz</property>
50 <step>100</step>
51 <factor>0.001</factor>
52 <bias>0.0005</bias>
53 <axis>
54 <x>1</x>
55 <y>0</y>
56 <z>0</z>
57 </axis>
58 </animation>
59 <animation>
60 <type>textranslate</type>
61 <object-name>CommUse10M</object-name>
62 <property>instrumentation/comm[1]/frequencies/selected-mhz</property>
63 <step>10</step>
64 <factor>0.01</factor>
65 <bias>0.0005</bias>
66 <axis>
67 <x>1</x>
68 <y>0</y>
69 <z>0</z>
70 </axis>
71 </animation>
72 <animation>
73 <type>textranslate</type>
74 <object-name>CommUse1M</object-name>
75 <property>instrumentation/comm[1]/frequencies/selected-mhz</property>
76 <step>1</step>
77 <factor>0.1</factor>
78 <bias>0.0005</bias>
79 <axis>
80 <x>1</x>
81 <y>0</y>
82 <z>0</z>
83 </axis>
84 </animation>
85 <animation>
86 <type>textranslate</type>
87 <object-name>CommUse100K</object-name>
88 <property>instrumentation/comm[1]/frequencies/selected-mhz</property>
89 <step>0.1</step>
90 <factor>1</factor>
91 <bias>0.0005</bias>
92 <axis>
93 <x>1</x>
94 <y>0</y>
95 <z>0</z>
96 </axis>
97 </animation>
98 <animation>
99 <type>textranslate</type>
100 <object-name>CommUse10K</object-name>
101 <property>instrumentation/comm[1]/frequencies/selected-mhz</property>
102 <step>0.01</step>
103 <factor>10</factor>
104 <bias>0.0005</bias>
105 <axis>
106 <x>1</x>
107 <y>0</y>
108 <z>0</z>
109 </axis>
110 </animation>
111
112 <animation>
113 <type>textranslate</type>
114 <object-name>CommStby100M</object-name>
115 <property>instrumentation/comm[1]/frequencies/standby-mhz</property>
116 <step>100</step>
117 <factor>0.001</factor>
118 <bias>0.0005</bias>
119 <axis>
120 <x>1</x>
121 <y>0</y>
122 <z>0</z>
123 </axis>
124 </animation>
125 <animation>
126 <type>textranslate</type>
127 <object-name>CommStby10M</object-name>
128 <property>instrumentation/comm[1]/frequencies/standby-mhz</property>
129 <step>10</step>
130 <factor>0.01</factor>
131 <bias>0.0005</bias>
132 <axis>
133 <x>1</x>
134 <y>0</y>
135 <z>0</z>
136 </axis>
137 </animation>
138 <animation>
139 <type>textranslate</type>
140 <object-name>CommStby1M</object-name>
141 <property>instrumentation/comm[1]/frequencies/standby-mhz</property>
142 <step>1</step>
143 <factor>0.1</factor>
144 <bias>0.0005</bias>
145 <axis>
146 <x>1</x>
147 <y>0</y>
148 <z>0</z>
149 </axis>
150 </animation>
151 <animation>
152 <type>textranslate</type>
153 <object-name>CommStby100K</object-name>
154 <property>instrumentation/comm[1]/frequencies/standby-mhz</property>
155 <step>0.1</step>
156 <factor>1</factor>
157 <bias>0.0005</bias>
158 <axis>
159 <x>1</x>
160 <y>0</y>
161 <z>0</z>
162 </axis>
163 </animation>
164 <animation>
165 <type>textranslate</type>
166 <object-name>CommStby10K</object-name>
167 <property>instrumentation/comm[1]/frequencies/standby-mhz</property>
168 <step>0.01</step>
169 <factor>10</factor>
170 <bias>0.0005</bias>
171 <axis>
172 <x>1</x>
173 <y>0</y>
174 <z>0</z>
175 </axis>
176 </animation>
177
178 <!-- NAV part -->
179
180 <animation>
181 <type>translate</type>
182 <object-name>NavToggle</object-name>
183 <property>instrumentation/nav[1]/frq-swap-btn</property>
184 <factor>-0.004</factor>
185 <axis>
186 <x>1</x>
187 <y>0</y>
188 <z>0</z>
189 </axis>
190 </animation>
191
192 <animation>
193 <type>textranslate</type>
194 <object-name>NavUse100M</object-name>
195 <property>instrumentation/nav[1]/frequencies/selected-mhz</property>
196 <step>100</step>
197 <factor>0.001</factor>
198 <bias>0.0005</bias>
199 <axis>
200 <x>1</x>
201 <y>0</y>
202 <z>0</z>
203 </axis>
204 </animation>
205 <animation>
206 <type>textranslate</type>
207 <object-name>NavUse10M</object-name>
208 <property>instrumentation/nav[1]/frequencies/selected-mhz</property>
209 <step>10</step>
210 <factor>0.01</factor>
211 <bias>0.0005</bias>
212 <axis>
213 <x>1</x>
214 <y>0</y>
215 <z>0</z>
216 </axis>
217 </animation>
218 <animation>
219 <type>textranslate</type>
220 <object-name>NavUse1M</object-name>
221 <property>instrumentation/nav[1]/frequencies/selected-mhz</property>
222 <step>1</step>
223 <factor>0.1</factor>
224 <bias>0.0005</bias>
225 <axis>
226 <x>1</x>
227 <y>0</y>
228 <z>0</z>
229 </axis>
230 </animation>
231 <animation>
232 <type>textranslate</type>
233 <object-name>NavUse100K</object-name>
234 <property>instrumentation/nav[1]/frequencies/selected-mhz</property>
235 <step>0.1</step>
236 <factor>1</factor>
237 <bias>0.0005</bias>
238 <axis>
239 <x>1</x>
240 <y>0</y>
241 <z>0</z>
242 </axis>
243 </animation>
244 <animation>
245 <type>textranslate</type>
246 <object-name>NavUse10K</object-name>
247 <property>instrumentation/nav[1]/frequencies/selected-mhz</property>
248 <step>0.01</step>
249 <factor>10</factor>
250 <bias>0.0005</bias>
251 <axis>
252 <x>1</x>
253 <y>0</y>
254 <z>0</z>
255 </axis>
256 </animation>
257
258 <animation>
259 <type>textranslate</type>
260 <object-name>NavStby100M</object-name>
261 <property>instrumentation/nav[1]/frequencies/standby-mhz</property>
262 <step>100</step>
263 <factor>0.001</factor>
264 <bias>0.0005</bias>
265 <axis>
266 <x>1</x>
267 <y>0</y>
268 <z>0</z>
269 </axis>
270 </animation>
271 <animation>
272 <type>textranslate</type>
273 <object-name>NavStby10M</object-name>
274 <property>instrumentation/nav[1]/frequencies/standby-mhz</property>
275 <step>10</step>
276 <factor>0.01</factor>
277 <bias>0.0005</bias>
278 <axis>
279 <x>1</x>
280 <y>0</y>
281 <z>0</z>
282 </axis>
283 </animation>
284 <animation>
285 <type>textranslate</type>
286 <object-name>NavStby1M</object-name>
287 <property>instrumentation/nav[1]/frequencies/standby-mhz</property>
288 <step>1</step>
289 <factor>0.1</factor>
290 <bias>0.0005</bias>
291 <axis>
292 <x>1</x>
293 <y>0</y>
294 <z>0</z>
295 </axis>
296 </animation>
297 <animation>
298 <type>textranslate</type>
299 <object-name>NavStby100K</object-name>
300 <property>instrumentation/nav[1]/frequencies/standby-mhz</property>
301 <step>0.1</step>
302 <factor>1</factor>
303 <bias>0.0005</bias>
304 <axis>
305 <x>1</x>
306 <y>0</y>
307 <z>0</z>
308 </axis>
309 </animation>
310 <animation>
311 <type>textranslate</type>
312 <object-name>NavStby10K</object-name>
313 <property>instrumentation/nav[1]/frequencies/standby-mhz</property>
314 <step>0.01</step>
315 <factor>10</factor>
316 <bias>0.0005</bias>
317 <axis>
318 <x>1</x>
319 <y>0</y>
320 <z>0</z>
321 </axis>
322 </animation>
323
324 <!-- knobs and buttons -->
325
326 <animation>
327 <type>rotate</type>
328 <object-name>CommVolume</object-name>
329 <property>instrumentation/comm[1]/volume</property>
330 <factor>-270</factor>
331 <axis>
332 <x>1</x>
333 <y>0</y>
334 <z>0</z>
335 </axis>
336 <center>
337 <x-m>0.0188947</x-m>
338 <y-m>-0.0620002</y-m>
339 <z-m>-0.0139999</z-m>
340 </center>
341 </animation>
342
343 <animation>
344 <type>translate</type>
345 <object-name>CommVolume</object-name>
346 <property>instrumentation/comm[1]/volume</property>
347 <factor>0.002</factor>
348 <axis>
349 <x>1</x>
350 <y>0</y>
351 <z>0</z>
352 </axis>
353 </animation>
354
355 <animation>
356 <type>rotate</type>
357 <object-name>CommKHz</object-name>
358 <property>instrumentation/comm[1]/frequencies/standby-mhz</property>
359 <factor>-1200</factor>
360 <axis>
361 <x>1</x>
362 <y>0</y>
363 <z>0</z>
364 </axis>
365 <center>
366 <x-m>0.0320882</x-m>
367 <y-m>-0.022</y-m>
368 <z-m>-0.012</z-m>
369 </center>
370 </animation>
371 <animation>
372 <type>rotate</type>
373 <object-name>NavVolume</object-name>
374 <property>instrumentation/nav[1]/volume</property>
375 <factor>-270</factor>
376 <axis>
377 <x>1</x>
378 <y>0</y>
379 <z>0</z>
380 </axis>
381 <center>
382 <x-m>0.0188946</x-m>
383 <y-m>0.0180001</y-m>
384 <z-m>-0.0139999</z-m>
385 </center>
386 </animation>
387
388 <animation>
389 <type>translate</type>
390 <object-name>NavVolume</object-name>
391 <property>instrumentation/nav[1]/volume</property>
392 <factor>0.002</factor>
393 <axis>
394 <x>1</x>
395 <y>0</y>
396 <z>0</z>
397 </axis>
398 </animation>
399
400 <!-- OSG Hotspots for dual control -->
401
402 <animation>
403 <type>pick</type>
404 <object-name>CommToggle</object-name>
405 <action>
406 <button>0</button>
407 <repeatable>false</repeatable>
408 <binding>
409 <command>nasal</command>
410 <script>KX165.swap_comm(1, 1);</script>
411 </binding>
412 <mod-up>
413 <binding>
414 <command>nasal</command>
415 <script>KX165.swap_comm(1, 0);</script>
416 </binding>
417 </mod-up>
418 </action>
419 </animation>
420
421 <animation>
422 <type>pick</type>
423 <object-name>CommKHz</object-name>
424 <action>
425 <button>0</button>
426 <repeatable>true</repeatable>
427 <interval-sec>0.2</interval-sec>
428 <binding>
429 <command>nasal</command>
430 <script>KX165.adjust_comm_frequency(1, 0.025);</script>
431 </binding>
432 </action>
433 <action>
434 <button>1</button>
435 <repeatable>true</repeatable>
436 <interval-sec>0.2</interval-sec>
437 <binding>
438 <command>nasal</command>
439 <script>KX165.adjust_comm_frequency(1, -0.025);</script>
440 </binding>
441 </action>
442 <action>
443 <button>3</button>
444 <repeatable>false</repeatable>
445 <binding>
446 <command>nasal</command>
447 <script>KX165.adjust_comm_frequency(1, -0.025);</script>
448 </binding>
449 </action>
450 <action>
451 <button>4</button>
452 <repeatable>false</repeatable>
453 <binding>
454 <command>nasal</command>
455 <script>KX165.adjust_comm_frequency(1, 0.025);</script>
456 </binding>
457 </action>
458 </animation>
459
460 <animation>
461 <type>pick</type>
462 <object-name>CommMHz</object-name>
463 <action>
464 <button>0</button>
465 <repeatable>true</repeatable>
466 <interval-sec>0.2</interval-sec>
467 <binding>
468 <command>nasal</command>
469 <script>KX165.adjust_comm_frequency(1, 1.0);</script>
470 </binding>
471 </action>
472 <action>
473 <button>1</button>
474 <repeatable>true</repeatable>
475 <interval-sec>0.2</interval-sec>
476 <binding>
477 <command>nasal</command>
478 <script>KX165.adjust_comm_frequency(1, -1.0);</script>
479 </binding>
480 </action>
481 <action>
482 <button>3</button>
483 <repeatable>false</repeatable>
484 <binding>
485 <command>nasal</command>
486 <script>KX165.adjust_comm_frequency(1, -1.0);</script>
487 </binding>
488 </action>
489 <action>
490 <button>4</button>
491 <repeatable>false</repeatable>
492 <binding>
493 <command>nasal</command>
494 <script>KX165.adjust_comm_frequency(1, 1.0);</script>
495 </binding>
496 </action>
497 </animation>
498
499 <animation>
500 <type>pick</type>
501 <object-name>NavToggle</object-name>
502 <action>
503 <button>0</button>
504 <repeatable>false</repeatable>
505 <binding>
506 <command>nasal</command>
507 <script>KX165.swap_nav(1);</script>
508 </binding>
509 </action>
510 </animation>
511
512 <animation>
513 <type>pick</type>
514 <object-name>NavKHz</object-name>
515 <action>
516 <button>0</button>
517 <repeatable>true</repeatable>
518 <interval-sec>0.2</interval-sec>
519 <binding>
520 <command>nasal</command>
521 <script>KX165.adjust_nav_frequency(1, 0.05);</script>
522 </binding>
523 </action>
524 <action>
525 <button>1</button>
526 <repeatable>true</repeatable>
527 <interval-sec>0.2</interval-sec>
528 <binding>
529 <command>nasal</command>
530 <script>KX165.adjust_nav_frequency(1, -0.05);</script>
531 </binding>
532 </action>
533 <action>
534 <button>3</button>
535 <repeatable>false</repeatable>
536 <binding>
537 <command>nasal</command>
538 <script>KX165.adjust_nav_frequency(1, -0.05);</script>
539 </binding>
540 </action>
541 <action>
542 <button>4</button>
543 <repeatable>false</repeatable>
544 <binding>
545 <command>nasal</command>
546 <script>KX165.adjust_nav_frequency(1, 0.05);</script>
547 </binding>
548 </action>
549 </animation>
550
551 <animation>
552 <type>pick</type>
553 <object-name>NavMHz</object-name>
554 <action>
555 <button>0</button>
556 <repeatable>true</repeatable>
557 <interval-sec>0.2</interval-sec>
558 <binding>
559 <command>nasal</command>
560 <script>KX165.adjust_nav_frequency(1, 1.0);</script>
561 </binding>
562 </action>
563 <action>
564 <button>1</button>
565 <repeatable>true</repeatable>
566 <interval-sec>0.2</interval-sec>
567 <binding>
568 <command>nasal</command>
569 <script>KX165.adjust_nav_frequency(1, -1.0);</script>
570 </binding>
571 </action>
572 <action>
573 <button>3</button>
574 <repeatable>false</repeatable>
575 <binding>
576 <command>nasal</command>
577 <script>KX165.adjust_nav_frequency(1, -1.0);</script>
578 </binding>
579 </action>
580 <action>
581 <button>4</button>
582 <repeatable>false</repeatable>
583 <binding>
584 <command>nasal</command>
585 <script>KX165.adjust_nav_frequency(1, 1.0);</script>
586 </binding>
587 </action>
588 </animation>
589
590 <animation>
591 <type>noshadow</type>
592 </animation>
593 <animation>
594 <type>range</type>
595 <min-m>0</min-m>
596 <max-m>10</max-m>
597 </animation>
598
599 </PropertyList>