Debian Codegraph @

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

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!-- KNS 80
3 Bendix/King VOR/LOC/GS/DME/RVAV Integrated NAV System
4 Syd Adams
5 -->
6
7 <PropertyList>
8
9 <path>kns80.ac</path>
10
11 <animation>
12 <type>material</type>
13 <object-name>VOR.btn</object-name>
14 <object-name>RNAV.btn</object-name>
15 <object-name>HOLD.btn</object-name>
16 <object-name>USE.btn</object-name>
17 <object-name>DSP.btn</object-name>
18 <object-name>DATA.btn</object-name>
19 <object-name>KNS80.volume</object-name>
20 <object-name>KNS80.freq</object-name>
21 <object-name>KNS80.freq1</object-name>
22 <emission>
23 <red>0.028</red>
24 <green>0.014</green>
25 <blue>0.007</blue>
26 <factor-prop>systems/electrical/outputs/instrument-lights</factor-prop>
27 </emission>
28 </animation>
29
30 <animation>
31 <name>dme-on</name>
32 <object-name>nm.101</object-name>
33 <object-name>nm.102</object-name>
34 <object-name>nm.103</object-name>
35 <object-name>kt.101</object-name>
36 <object-name>kt.102</object-name>
37 <object-name>kt.103</object-name>
38 <object-name>min.101</object-name>
39 <object-name>min.102</object-name>
40 </animation>
41
42 <animation>
43 <name>illumination</name>
44 <object-name>annun.nm</object-name>
45 <object-name>use.digit</object-name>
46 </animation>
47
48 <animation>
49 <name>frequencies</name>
50 <object-name>navfreq.101</object-name>
51 <object-name>navfreq.102</object-name>
52 <object-name>navfreq.103</object-name>
53 <object-name>navfreq.104</object-name>
54 <object-name>navfreq.105</object-name>
55 <object-name>freq.annun</object-name>
56 </animation>
57
58 <animation>
59 <name>radials</name>
60 <object-name>radial.101</object-name>
61 <object-name>radial.102</object-name>
62 <object-name>radial.103</object-name>
63 <object-name>radial.104</object-name>
64 <object-name>radial.annun</object-name>
65 </animation>
66
67 <animation>
68 <name>distance</name>
69 <object-name>dist.101</object-name>
70 <object-name>dist.102</object-name>
71 <object-name>dist.103</object-name>
72 <object-name>dist.annun</object-name>
73 </animation>
74
75 <animation>
76 <type>select</type>
77 <object-name>illumination</object-name>
78 <condition>
79 <and>
80 <property>instrumentation/kns-80/serviceable</property>
81 <greater-than>
82 <property>systems/electrical/outputs/KNS80</property>
83 <value>1</value>
84 </greater-than>
85 </and>
86 </condition>
87 </animation>
88
89 <animation>
90 <type>select</type>
91 <object-name>display.digit</object-name>
92 <condition>
93 <and>
94 <greater-than>
95 <property>systems/electrical/outputs/KNS80</property>
96 <value>1</value>
97 </greater-than>
98 <property>instrumentation/kns-80/flash</property>
99 </and>
100 </condition>
101 </animation>
102
103
104 <animation>
105 <type>select</type>
106 <object-name>frequencies</object-name>
107 <condition>
108 <and>
109 <property>instrumentation/kns-80/serviceable</property>
110 <equals>
111 <property>instrumentation/kns-80/data-mode</property>
112 <value>0</value>
113 </equals>
114 <greater-than>
115 <property>systems/electrical/outputs/KNS80</property>
116 <value>1</value>
117 </greater-than>
118 </and>
119 </condition>
120 </animation>
121
122 <animation>
123 <type>select</type>
124 <object-name>radials</object-name>
125 <condition>
126 <and>
127 <property>instrumentation/kns-80/serviceable</property>
128 <equals>
129 <property>instrumentation/kns-80/data-mode</property>
130 <value>1</value>
131 </equals>
132 <greater-than>
133 <property>systems/electrical/outputs/KNS80</property>
134 <value>1</value>
135 </greater-than>
136 </and>
137 </condition>
138 </animation>
139
140 <animation>
141 <type>select</type>
142 <object-name>distance</object-name>
143 <condition>
144 <and>
145 <property>instrumentation/kns-80/serviceable</property>
146 <equals>
147 <property>instrumentation/kns-80/data-mode</property>
148 <value>2</value>
149 </equals>
150 <greater-than>
151 <property>systems/electrical/outputs/KNS80</property>
152 <value>1</value>
153 </greater-than>
154 </and>
155 </condition>
156 </animation>
157
158
159 <animation>
160 <type>select</type>
161 <object-name>dme.invalid</object-name>
162 <condition>
163 <and>
164 <property>instrumentation/kns-80/serviceable</property>
165 <not>
166 <property>instrumentation/dme/in-range</property>
167 </not>
168 <greater-than>
169 <property>systems/electrical/outputs/KNS80</property>
170 <value>1</value>
171 </greater-than>
172 </and>
173 </condition>
174 </animation>
175
176 <animation>
177 <type>select</type>
178 <object-name>dme-on</object-name>
179 <condition>
180 <and>
181 <property>instrumentation/kns-80/serviceable</property>
182 <property>instrumentation/dme/in-range</property>
183 <greater-than>
184 <property>systems/electrical/outputs/KNS80</property>
185 <value>1</value>
186 </greater-than>
187 </and>
188 </condition>
189 </animation>
190
191 <animation>
192 <type>select</type>
193 <object-name>vor.annun</object-name>
194 <condition>
195 <and>
196 <property>instrumentation/kns-80/serviceable</property>
197 <equals>
198 <property>instrumentation/kns-80/nav-mode</property>
199 <value>0</value>
200 </equals>
201 <greater-than>
202 <property>systems/electrical/outputs/KNS80</property>
203 <value>1</value>
204 </greater-than>
205 </and>
206 </condition>
207 </animation>
208
209 <animation>
210 <type>select</type>
211 <object-name>par.annun</object-name>
212 <condition>
213 <and>
214 <property>instrumentation/kns-80/serviceable</property>
215 <equals>
216 <property>instrumentation/kns-80/nav-mode</property>
217 <value>1</value>
218 </equals>
219 <greater-than>
220 <property>systems/electrical/outputs/KNS80</property>
221 <value>1</value>
222 </greater-than>
223 </and>
224 </condition>
225 </animation>
226
227 <animation>
228 <type>select</type>
229 <object-name>enr.annun</object-name>
230 <condition>
231 <and>
232 <property>instrumentation/kns-80/serviceable</property>
233 <equals>
234 <property>instrumentation/kns-80/nav-mode</property>
235 <value>2</value>
236 </equals>
237 <greater-than>
238 <property>systems/electrical/outputs/KNS80</property>
239 <value>1</value>
240 </greater-than>
241 </and>
242 </condition>
243 </animation>
244
245 <animation>
246 <type>select</type>
247 <object-name>apr.annun</object-name>
248 <condition>
249 <and>
250 <property>instrumentation/kns-80/serviceable</property>
251 <equals>
252 <property>instrumentation/kns-80/nav-mode</property>
253 <value>3</value>
254 </equals>
255 <greater-than>
256 <property>systems/electrical/outputs/KNS80</property>
257 <value>1</value>
258 </greater-than>
259 </and>
260 </condition>
261 </animation>
262
263 <animation>
264 <type>select</type>
265 <object-name>hld.annun</object-name>
266 <condition>
267 <and>
268 <property>instrumentation/kns-80/serviceable</property>
269 <property>instrumentation/kns-80/dme-hold</property>
270 <greater-than>
271 <property>systems/electrical/outputs/KNS80</property>
272 <value>1</value>
273 </greater-than>
274 </and>
275 </condition>
276 </animation>
277
278 <animation>
279 <type>select</type>
280 <object-name>ils.annun</object-name>
281 <condition>
282 <and>
283 <property>instrumentation/kns-80/serviceable</property>
284 <property>instrumentation/nav/has-gs</property>
285 <property>instrumentation/nav/in-range</property>
286 <greater-than>
287 <property>systems/electrical/outputs/KNS80</property>
288 <value>1</value>
289 </greater-than>
290 </and>
291 </condition>
292 </animation>
293
294 <animation>
295 <type>rotate</type>
296 <object-name>KNS80.volume</object-name>
297 <property>instrumentation/nav/volume</property>
298 <interpolation>
299 <entry><ind>0</ind><dep>0</dep></entry>
300 <entry><ind>1.0</ind><dep>300</dep></entry>
301 </interpolation>
302 <center>
303 <x-m>0.003</x-m>
304 <y-m>0.040</y-m>
305 <z-m>-0.030</z-m>
306 </center>
307 <axis>
308 <x>-1</x>
309 <y>0</y>
310 <z>0</z>
311 </axis>
312 </animation>
313
314 <animation>
315 <type>translate</type>
316 <object-name>KNS80.volume</object-name>
317 <property>instrumentation/nav/ident</property>
318 <factor>0.005</factor>
319 <center>
320 <x-m>0.003</x-m>
321 <y-m>0.040</y-m>
322 <z-m>-0.030</z-m>
323 </center>
324 <axis>
325 <x>1</x>
326 <y>0</y>
327 <z>0</z>
328 </axis>
329 </animation>
330
331 <!-- Frequency -->
332
333 <animation>
334 <type>textranslate</type>
335 <object-name>navfreq.101</object-name>
336 <property>instrumentation/kns-80/displayed-frequency</property>
337 <factor>0.001</factor>
338 <step>100</step>
339 <bias>0.005</bias>
340 <axis>
341 <x>1</x>
342 <y>0</y>
343 <z>0</z>
344 </axis>
345 </animation>
346
347 <animation>
348 <type>textranslate</type>
349 <object-name>navfreq.102</object-name>
350 <property>instrumentation/kns-80/displayed-frequency</property>
351 <factor>0.01</factor>
352 <step>10</step>
353 <bias>0.005</bias>
354 <axis>
355 <x>1</x>
356 <y>0</y>
357 <z>0</z>
358 </axis>
359 </animation>
360
361 <animation>
362 <type>textranslate</type>
363 <object-name>navfreq.103</object-name>
364 <property>instrumentation/kns-80/displayed-frequency</property>
365 <factor>0.1</factor>
366 <step>1</step>
367 <bias>0.005</bias>
368 <axis>
369 <x>1</x>
370 <y>0</y>
371 <z>0</z>
372 </axis>
373 </animation>
374
375 <animation>
376 <type>textranslate</type>
377 <object-name>navfreq.104</object-name>
378 <property>instrumentation/kns-80/displayed-frequency</property>
379 <factor>1.0</factor>
380 <step>0.1</step>
381 <bias>0.005</bias>
382 <axis>
383 <x>1</x>
384 <y>0</y>
385 <z>0</z>
386 </axis>
387 </animation>
388
389 <animation>
390 <type>textranslate</type>
391 <object-name>navfreq.105</object-name>
392 <property>instrumentation/kns-80/displayed-frequency</property>
393 <factor>10.0</factor>
394 <step>0.01</step>
395 <bias>0.005</bias>
396 <axis>
397 <x>1</x>
398 <y>0</y>
399 <z>0</z>
400 </axis>
401 </animation>
402
403 <!-- Radials -->
404
405 <animation>
406 <type>textranslate</type>
407 <object-name>radial.101</object-name>
408 <property>instrumentation/kns-80/displayed-radial</property>
409 <factor>0.001</factor>
410 <step>100</step>
411 <axis>
412 <x>1</x>
413 <y>0</y>
414 <z>0</z>
415 </axis>
416 </animation>
417
418 <animation>
419 <type>textranslate</type>
420 <object-name>radial.102</object-name>
421 <property>instrumentation/kns-80/displayed-radial</property>
422 <factor>0.01</factor>
423 <step>10</step>
424 <axis>
425 <x>1</x>
426 <y>0</y>
427 <z>0</z>
428 </axis>
429 </animation>
430
431 <animation>
432 <type>textranslate</type>
433 <object-name>radial.103</object-name>
434 <property>instrumentation/kns-80/displayed-radial</property>
435 <factor>0.1</factor>
436 <step>1</step>
437 <axis>
438 <x>1</x>
439 <y>0</y>
440 <z>0</z>
441 </axis>
442 </animation>
443
444 <!-- Distance -->
445
446 <animation>
447 <type>textranslate</type>
448 <object-name>dist.101</object-name>
449 <property>instrumentation/kns-80/displayed-distance</property>
450 <factor>0.01</factor>
451 <step>10</step>
452 <bias>0.005</bias>
453 <axis>
454 <x>1</x>
455 <y>0</y>
456 <z>0</z>
457 </axis>
458 </animation>
459
460 <animation>
461 <type>textranslate</type>
462 <object-name>dist.102</object-name>
463 <property>instrumentation/kns-80/displayed-distance</property>
464 <factor>0.1</factor>
465 <bias>0.005</bias>
466 <step>1</step>
467 <axis>
468 <x>1</x>
469 <y>0</y>
470 <z>0</z>
471 </axis>
472 </animation>
473
474 <animation>
475 <type>textranslate</type>
476 <object-name>dist.103</object-name>
477 <property>instrumentation/kns-80/displayed-distance</property>
478 <factor>1.0</factor>
479 <step>0.1</step>
480 <bias>0.005</bias>
481 <axis>
482 <x>1</x>
483 <y>0</y>
484 <z>0</z>
485 </axis>
486 </animation>
487
488 <!-- DME -->
489
490 <animation>
491 <type>textranslate</type>
492 <object-name>nm.101</object-name>
493 <property>instrumentation/kns-80/rnav/indicated-distance-nm</property>
494 <factor>0.01</factor>
495 <step>10</step>
496 <bias>0.05</bias>
497 <axis>
498 <x>1</x>
499 <y>0</y>
500 <z>0</z>
501 </axis>
502 </animation>
503
504 <animation>
505 <type>textranslate</type>
506 <object-name>nm.102</object-name>
507 <property>instrumentation/kns-80/rnav/indicated-distance-nm</property>
508 <factor>0.1</factor>
509 <step>1</step>
510 <bias>0.05</bias>
511 <axis>
512 <x>1</x>
513 <y>0</y>
514 <z>0</z>
515 </axis>
516 </animation>
517
518 <animation>
519 <type>textranslate</type>
520 <object-name>nm.103</object-name>
521 <property>instrumentation/kns-80/rnav/indicated-distance-nm</property>
522 <factor>1.0</factor>
523 <step>0.1</step>
524 <bias>0.05</bias>
525 <axis>
526 <x>1</x>
527 <y>0</y>
528 <z>0</z>
529 </axis>
530 </animation>
531
532 <animation>
533 <type>textranslate</type>
534 <object-name>kt.101</object-name>
535 <property>instrumentation/dme/indicated-ground-speed-kt</property>
536 <factor>0.001</factor>
537 <step>100</step>
538 <axis>
539 <x>1</x>
540 <y>0</y>
541 <z>0</z>
542 </axis>
543 </animation>
544
545 <animation>
546 <type>textranslate</type>
547 <object-name>kt.102</object-name>
548 <property>instrumentation/dme/indicated-ground-speed-kt</property>
549 <factor>0.01</factor>
550 <step>10</step>
551 <axis>
552 <x>1</x>
553 <y>0</y>
554 <z>0</z>
555 </axis>
556 </animation>
557
558 <animation>
559 <type>textranslate</type>
560 <object-name>kt.103</object-name>
561 <property>instrumentation/dme/indicated-ground-speed-kt</property>
562 <factor>0.1</factor>
563 <step>1</step>
564 <axis>
565 <x>1</x>
566 <y>0</y>
567 <z>0</z>
568 </axis>
569 </animation>
570
571 <animation>
572 <type>textranslate</type>
573 <object-name>min.101</object-name>
574 <property>instrumentation/dme/indicated-time-min</property>
575 <factor>0.01</factor>
576 <step>10</step>
577 <axis>
578 <x>1</x>
579 <y>0</y>
580 <z>0</z>
581 </axis>
582 </animation>
583
584 <animation>
585 <type>textranslate</type>
586 <object-name>min.102</object-name>
587 <property>instrumentation/dme/indicated-time-min</property>
588 <factor>0.1</factor>
589 <step>1</step>
590 <axis>
591 <x>1</x>
592 <y>0</y>
593 <z>0</z>
594 </axis>
595 </animation>
596
597 <!-- USED / DISPLAYED WAYPOINTS -->
598
599 <animation>
600 <type>textranslate</type>
601 <object-name>use.digit</object-name>
602 <property>instrumentation/kns-80/use</property>
603 <factor>0.1</factor>
604 <step>1</step>
605 <axis>
606 <x>1</x>
607 <y>0</y>
608 <z>0</z>
609 </axis>
610 </animation>
611
612 <animation>
613 <type>textranslate</type>
614 <object-name>display.digit</object-name>
615 <property>instrumentation/kns-80/display</property>
616 <factor>0.1</factor>
617 <step>1</step>
618 <axis>
619 <x>1</x>
620 <y>0</y>
621 <z>0</z>
622 </axis>
623 </animation>
624
625 <!-- OSG hotspots -->
626
627 <animation>
628 <type>pick</type>
629 <object-name>KNS80.volume</object-name>
630 <action>
631 <button>0</button>
632 <repeatable>true</repeatable>
633 <interval-sec>0.1</interval-sec>
634 <binding>
635 <condition>
636 <not>
637 <property>devices/status/keyboard/shift</property>
638 </not>
639 </condition>
640 <command>nasal</command>
641 <script>systems.kns80.volume(0.05)</script>
642 </binding>
643 <binding>
644 <condition>
645 <property>devices/status/keyboard/shift</property>
646 </condition>
647 <command>property-toggle</command>
648 <property>instrumentation/nav/ident</property>
649 </binding>
650 </action>
651 </animation>
652
653 <animation>
654 <type>pick</type>
655 <object-name>KNS80.volume</object-name>
656 <action>
657 <button>1</button>
658 <repeatable>true</repeatable>
659 <interval-sec>0.1</interval-sec>
660 <binding>
661 <command>nasal</command>
662 <script>systems.kns80.volume(-0.05)</script>
663 </binding>
664 </action>
665 </animation>
666
667 <animation>
668 <type>pick</type>
669 <object-name>KNS80.volume</object-name>
670 <action>
671 <button>3</button>
672 <binding>
673 <command>nasal</command>
674 <script>systems.kns80.volume(0.05)</script>
675 </binding>
676 </action>
677 </animation>
678
679 <animation>
680 <type>pick</type>
681 <object-name>KNS80.volume</object-name>
682 <action>
683 <button>4</button>
684 <binding>
685 <command>nasal</command>
686 <script>systems.kns80.volume(-0.05)</script>
687 </binding>
688 </action>
689 </animation>
690
691 <animation>
692 <type>pick</type>
693 <object-name>KNS80.freq1</object-name>
694 <action>
695 <button>0</button>
696 <repeatable>true</repeatable>
697 <interval-sec>0.2</interval-sec>
698 <binding>
699 <command>nasal</command>
700 <script>systems.kns80.data_adjust(1)</script>
701 </binding>
702 </action>
703 </animation>
704
705 <animation>
706 <type>pick</type>
707 <object-name>KNS80.freq1</object-name>
708 <action>
709 <button>1</button>
710 <repeatable>true</repeatable>
711 <interval-sec>0.2</interval-sec>
712 <binding>
713 <command>nasal</command>
714 <script>systems.kns80.data_adjust(-1)</script>
715 </binding>
716 </action>
717 </animation>
718
719 <animation>
720 <type>pick</type>
721 <object-name>KNS80.freq1</object-name>
722 <action>
723 <button>3</button>
724 <binding>
725 <command>nasal</command>
726 <script>systems.kns80.data_adjust(1)</script>
727 </binding>
728 </action>
729 </animation>
730
731 <animation>
732 <type>pick</type>
733 <object-name>KNS80.freq1</object-name>
734 <action>
735 <button>4</button>
736 <binding>
737 <command>nasal</command>
738 <script>systems.kns80.data_adjust(-1)</script>
739 </binding>
740 </action>
741 </animation>
742
743 <animation>
744 <type>pick</type>
745 <object-name>KNS80.freq</object-name>
746 <action>
747 <button>0</button>
748 <repeatable>true</repeatable>
749 <interval-sec>0.2</interval-sec>
750 <binding>
751 <command>nasal</command>
752 <script>systems.kns80.data_adjust(10)</script>
753 </binding>
754 </action>
755 </animation>
756
757 <animation>
758 <type>pick</type>
759 <object-name>KNS80.freq</object-name>
760 <action>
761 <button>1</button>
762 <repeatable>true</repeatable>
763 <interval-sec>0.2</interval-sec>
764 <binding>
765 <command>nasal</command>
766 <script>systems.kns80.data_adjust(-10)</script>
767 </binding>
768 </action>
769 </animation>
770
771 <animation>
772 <type>pick</type>
773 <object-name>KNS80.freq</object-name>
774 <action>
775 <button>3</button>
776 <binding>
777 <command>nasal</command>
778 <script>systems.kns80.data_adjust(10)</script>
779 </binding>
780 </action>
781 </animation>
782
783 <animation>
784 <type>pick</type>
785 <object-name>KNS80.freq</object-name>
786 <action>
787 <button>4</button>
788 <binding>
789 <command>nasal</command>
790 <script>systems.kns80.data_adjust(-10)</script>
791 </binding>
792 </action>
793 </animation>
794
795 <animation>
796 <type>pick</type>
797 <object-name>HOLD.btn</object-name>
798 <action>
799 <button>0</button>
800 <repeatable>false</repeatable>
801 <binding>
802 <command>nasal</command>
803 <script>systems.kns80.DME_hold();</script>
804 </binding>
805 </action>
806 </animation>
807
808 <animation>
809 <type>pick</type>
810 <object-name>USE.btn</object-name>
811 <action>
812 <button>0</button>
813 <binding>
814 <command>nasal</command>
815 <script>systems.kns80.use_btn();</script>
816 </binding>
817 </action>
818 </animation>
819
820 <animation>
821 <type>pick</type>
822 <object-name>DSP.btn</object-name>
823 <action>
824 <button>0</button>
825 <binding>
826 <command>nasal</command>
827 <script>systems.kns80.display_btn();</script>
828 </binding>
829 </action>
830 </animation>
831
832 <animation>
833 <type>pick</type>
834 <object-name>DATA.btn</object-name>
835 <action>
836 <button>0</button>
837 <binding>
838 <command>nasal</command>
839 <script>systems.kns80.data_btn()</script>
840 </binding>
841 </action>
842 </animation>
843
844 <animation>
845 <type>pick</type>
846 <object-name>VOR.btn</object-name>
847 <action>
848 <button>0</button>
849 <repeatable>false</repeatable>
850 <binding>
851 <command>nasal</command>
852 <script>
853 var test = getprop("/instrumentation/kns-80/nav-mode");
854 if(test != 0){
855 setprop("/instrumentation/kns-80/nav-mode",0);
856 setprop("/instrumentation/nav/slaved-to-gps", 0);
857 }else{
858 setprop("/instrumentation/kns-80/nav-mode",1);
859 setprop("/instrumentation/nav/slaved-to-gps", 1);
860 }
861 </script>
862 </binding>
863 </action>
864 </animation>
865
866 <animation>
867 <type>pick</type>
868 <object-name>RNAV.btn</object-name>
869 <action>
870 <button>0</button>
871 <repeatable>false</repeatable>
872 <binding>
873 <command>nasal</command>
874 <script>
875 var test = getprop("/instrumentation/kns-80/nav-mode");
876 if(test != 2){setprop("/instrumentation/kns-80/nav-mode",2);
877 }else{setprop("/instrumentation/kns-80/nav-mode",3);}
878 setprop("/instrumentation/nav/slaved-to-gps", 1);
879 </script>
880 </binding>
881 </action>
882 </animation>
883
884 </PropertyList>