Debian Codegraph @

Aircraft/c172p/Models/Interior/Panel/Instruments/gear/gear-ctl-fg1000.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <PropertyList>
4
5 <params>
6 <bushkit>sim/model/variant</bushkit>
7 <cockpit>
8 <electrical>
9 <gear-amphibious>sim/model/c172p/lighting/gear-select</gear-amphibious>
10 <gear-advisory>sim/model/c172p/lighting/gear-advisory</gear-advisory>
11 </electrical>
12 </cockpit>
13 <gear-amphibious>
14 <front-left-position-norm>engines/engine[3]/n2</front-left-position-norm>
15 <front-right-position-norm>engines/engine[4]/n2</front-right-position-norm>
16 <rear-left-position-norm>engines/engine[5]/n2</rear-left-position-norm>
17 <rear-right-position-norm>engines/engine[6]/n2</rear-right-position-norm>
18 </gear-amphibious>
19 </params>
20
21 <!-- original work from dhc6 -->
22 <path>gear-ctl-fg1000.ac</path>
23
24 <effect>
25 <inherits-from>../../../../Effects/interior/lm-gear-fg1000</inherits-from>
26 <object-name>Gearswitch</object-name>
27 <object-name>nosedn1</object-name>
28 <object-name>nosedn2</object-name>
29 <object-name>maindn1</object-name>
30 <object-name>maindn2</object-name>
31 <object-name>noseup1</object-name>
32 <object-name>noseup2</object-name>
33 <object-name>mainup1</object-name>
34 <object-name>mainup2</object-name>
35 <object-name>pump</object-name>
36 <object-name>Switch.nut</object-name>
37 <object-name>Dim.toggle</object-name>
38 <object-name>Dim.bezel</object-name>
39 <object-name>GearFace</object-name>
40 <object-name>GearScrews</object-name>
41 </effect>
42
43 <effect>
44 <inherits-from>../../../../Effects/interior/lm-gear-breakers-fg1000</inherits-from>
45 <object-name>hydr_pump_breaker</object-name>
46 <object-name>gear_advise_breaker</object-name>
47 <object-name>gear_select_breaker</object-name>
48 <object-name>breakers-base-hydr</object-name>
49 </effect>
50
51 <animation>
52 <type>material</type>
53 <object-name>nosedn1</object-name>
54 <object-name>nosedn2</object-name>
55 <object-name>maindn1</object-name>
56 <object-name>maindn2</object-name>
57 <object-name>noseup1</object-name>
58 <object-name>noseup2</object-name>
59 <object-name>mainup1</object-name>
60 <object-name>mainup2</object-name>
61 <object-name>pump</object-name>
62 <object-name>Switch.nut</object-name>
63 <object-name>Dim.toggle</object-name>
64 <object-name>Dim.bezel</object-name>
65 <object-name>GearFace</object-name>
66 <object-name>GearScrews</object-name>
67 <object-name>Gearswitch</object-name>
68 <condition>
69 <not>
70 <property>sim/rendering/shaders/skydome</property>
71 </not>
72 </condition>
73 <emission>
74 <red-prop>/sim/model/c172p/lighting/rgb-ra-r-factor</red-prop>
75 <green-prop>/sim/model/c172p/lighting/rgb-ra-g-factor</green-prop>
76 <blue-prop>/sim/model/c172p/lighting/rgb-ra-b-factor</blue-prop>
77 </emission>
78 </animation>
79
80 <animation>
81 <type>select</type>
82 <object-name>Switch.nut</object-name>
83 <object-name>Dim.bezel</object-name>
84 <object-name>Dim.toggle</object-name>
85 <object-name>GearAdvisory</object-name>
86 <object-name>GearFace</object-name>
87 <object-name>Gearswitch</object-name>
88 <object-name>GearScrews</object-name>
89 <object-name>hydr_pump_breaker</object-name>
90 <object-name>gear_advise_breaker</object-name>
91 <object-name>gear_select_breaker</object-name>
92 <object-name>breakers-base-hydr</object-name>
93 <condition>
94 <equals>
95 <property alias="/params/bushkit"/>
96 <value>4</value>
97 </equals>
98 </condition>
99 </animation>
100
101 <!-- Dim Toggle Switch -->
102 <animation>
103 <type>pick</type>
104 <object-name>Dim.toggle</object-name>
105 <visible>true</visible>
106 <action>
107 <button>0</button>
108 <repeatable>false</repeatable>
109 <binding>
110 <command>property-toggle</command>
111 <property>controls/lighting/gearled</property>
112 </binding>
113 <binding>
114 <command>nasal</command>
115 <script>c172p.click("avionics")</script>
116 </binding>
117 </action>
118 <hovered>
119 <binding>
120 <command>set-tooltip</command>
121 <tooltip-id>led-dim-switch</tooltip-id>
122 <label>Dim Gear Panel LED's</label>
123 </binding>
124 </hovered>
125 </animation>
126
127 <animation>
128 <type>rotate</type>
129 <object-name>Dim.toggle</object-name>
130 <property>controls/lighting/gearled</property>
131 <factor>30</factor>
132 <axis>
133 <x>0.0</x>
134 <y>1.0</y>
135 <z>0.0</z>
136 </axis>
137 <center>
138 <x-m>-0.363934</x-m>
139 <y-m> 0.340295</y-m>
140 <z-m> 0.087846</z-m>
141 </center>
142 </animation>
143
144 <animation>
145 <type>material</type>
146 <object-name>GearAdvisory</object-name>
147 <condition>
148 <and>
149 <greater-than>
150 <property>velocities/groundspeed-kt</property>
151 <value>10</value>
152 </greater-than>
153 <less-than>
154 <property>velocities/groundspeed-kt</property>
155 <value>70</value>
156 </less-than>
157 <property alias="/params/cockpit/electrical/gear-advisory"/>
158 </and>
159 </condition>
160 <emission>
161 <red>1</red>
162 <green>0.26</green>
163 <blue>0.05</blue>
164 <factor-prop>/controls/lighting/factor-led</factor-prop>
165 </emission>
166 </animation>
167 <model>
168 <name>GearAdvisoryled</name>
169 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_orange_large.xml</path>
170 <offsets>
171 <x-m>-0.362</x-m>
172 <y-m> 0.394357</y-m>
173 <z-m> 0.108823</z-m>
174 </offsets>
175 <condition>
176 <and>
177 <greater-than>
178 <property>velocities/groundspeed-kt</property>
179 <value>10</value>
180 </greater-than>
181 <less-than>
182 <property>velocities/groundspeed-kt</property>
183 <value>70</value>
184 </less-than>
185 <property alias="/params/cockpit/electrical/gear-advisory"/>
186 <equals>
187 <property alias="/params/bushkit"/>
188 <value>4</value>
189 </equals>
190 <greater-than>
191 <property>sim/rendering/shaders/model</property>
192 <value>1</value>
193 </greater-than>
194 </and>
195 </condition>
196 </model>
197
198 <!-- Gear Down - land -->
199 <animation>
200 <type>select</type>
201 <object-name>nosedn1</object-name>
202 <condition>
203 <and>
204 <equals>
205 <property alias="/params/gear-amphibious/front-left-position-norm"/>
206 <value>1.0</value>
207 </equals>
208 <equals>
209 <property alias="/params/bushkit"/>
210 <value>4</value>
211 </equals>
212 <property alias="/params/cockpit/electrical/gear-amphibious"/>
213 </and>
214 </condition>
215 </animation>
216
217 <model>
218 <name>nosedn1led</name>
219 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_green.xml</path>
220 <offsets>
221 <x-m>-0.362 </x-m>
222 <y-m> 0.355976</y-m>
223 <z-m> 0.076957</z-m>
224 </offsets>
225 <condition>
226 <and>
227 <equals>
228 <property alias="/params/gear-amphibious/front-left-position-norm"/>
229 <value>1.0</value>
230 </equals>
231 <equals>
232 <property alias="/params/bushkit"/>
233 <value>4</value>
234 </equals>
235 <property alias="/params/cockpit/electrical/gear-amphibious"/>
236 <greater-than>
237 <property>sim/rendering/shaders/model</property>
238 <value>1</value>
239 </greater-than>
240 </and>
241 </condition>
242 </model>
243
244 <animation>
245 <type>select</type>
246 <object-name>nosedn2</object-name>
247 <condition>
248 <and>
249 <equals>
250 <property alias="/params/gear-amphibious/front-right-position-norm"/>
251 <value>1.0</value>
252 </equals>
253 <equals>
254 <property alias="/params/bushkit"/>
255 <value>4</value>
256 </equals>
257 <property alias="/params/cockpit/electrical/gear-amphibious"/>
258 </and>
259 </condition>
260 </animation>
261 <model>
262 <name>nosedn2led</name>
263 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_green.xml</path>
264 <offsets>
265 <x-m>-0.362 </x-m>
266 <y-m> 0.368829</y-m>
267 <z-m> 0.076963</z-m>
268 </offsets>
269 <condition>
270 <and>
271 <equals>
272 <property alias="/params/gear-amphibious/front-right-position-norm"/>
273 <value>1.0</value>
274 </equals>
275 <equals>
276 <property alias="/params/bushkit"/>
277 <value>4</value>
278 </equals>
279 <property alias="/params/cockpit/electrical/gear-amphibious"/>
280 <greater-than>
281 <property>sim/rendering/shaders/model</property>
282 <value>1</value>
283 </greater-than>
284 </and>
285 </condition>
286 </model>
287
288 <animation>
289 <type>select</type>
290 <object-name>maindn1</object-name>
291 <condition>
292 <and>
293 <equals>
294 <property alias="/params/gear-amphibious/rear-left-position-norm"/>
295 <value>1.0</value>
296 </equals>
297 <equals>
298 <property alias="/params/bushkit"/>
299 <value>4</value>
300 </equals>
301 <property alias="/params/cockpit/electrical/gear-amphibious"/>
302 </and>
303 </condition>
304 </animation>
305 <model>
306 <name>maindn1led</name>
307 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_green.xml</path>
308 <offsets>
309 <x-m>-0.362 </x-m>
310 <y-m> 0.355982</y-m>
311 <z-m> 0.063967</z-m>
312 </offsets>
313 <condition>
314 <and>
315 <equals>
316 <property alias="/params/gear-amphibious/rear-left-position-norm"/>
317 <value>1.0</value>
318 </equals>
319 <equals>
320 <property alias="/params/bushkit"/>
321 <value>4</value>
322 </equals>
323 <property alias="/params/cockpit/electrical/gear-amphibious"/>
324 <greater-than>
325 <property>sim/rendering/shaders/model</property>
326 <value>1</value>
327 </greater-than>
328 </and>
329 </condition>
330 </model>
331
332 <animation>
333 <type>select</type>
334 <object-name>maindn2</object-name>
335 <condition>
336 <and>
337 <equals>
338 <property alias="/params/gear-amphibious/rear-right-position-norm"/>
339 <value>1.0</value>
340 </equals>
341 <equals>
342 <property alias="/params/bushkit"/>
343 <value>4</value>
344 </equals>
345 <property alias="/params/cockpit/electrical/gear-amphibious"/>
346 </and>
347 </condition>
348 </animation>
349 <model>
350 <name>maindn2led</name>
351 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_green.xml</path>
352 <offsets>
353 <x-m>-0.362 </x-m>
354 <y-m> 0.368835</y-m>
355 <z-m> 0.063973</z-m>
356 </offsets>
357 <condition>
358 <and>
359 <equals>
360 <property alias="/params/gear-amphibious/rear-right-position-norm"/>
361 <value>1.0</value>
362 </equals>
363 <equals>
364 <property alias="/params/bushkit"/>
365 <value>4</value>
366 </equals>
367 <property alias="/params/cockpit/electrical/gear-amphibious"/>
368 <greater-than>
369 <property>sim/rendering/shaders/model</property>
370 <value>1</value>
371 </greater-than>
372 </and>
373 </condition>
374 </model>
375
376 <!-- Gear Up - water -->
377 <animation>
378 <type>select</type>
379 <object-name>noseup1</object-name>
380 <condition>
381 <and>
382 <equals>
383 <property alias="/params/gear-amphibious/front-left-position-norm"/>
384 <value>0</value>
385 </equals>
386 <equals>
387 <property alias="/params/bushkit"/>
388 <value>4</value>
389 </equals>
390 <property alias="/params/cockpit/electrical/gear-amphibious"/>
391 </and>
392 </condition>
393 </animation>
394 <model>
395 <name>noseup1led</name>
396 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_blue.xml</path>
397 <offsets>
398 <x-m>-0.362 </x-m>
399 <y-m> 0.35608</y-m>
400 <z-m> 0.115722</z-m>
401 </offsets>
402 <condition>
403 <and>
404 <equals>
405 <property alias="/params/gear-amphibious/front-left-position-norm"/>
406 <value>0</value>
407 </equals>
408 <equals>
409 <property alias="/params/bushkit"/>
410 <value>4</value>
411 </equals>
412 <property alias="/params/cockpit/electrical/gear-amphibious"/>
413 <greater-than>
414 <property>sim/rendering/shaders/model</property>
415 <value>1</value>
416 </greater-than>
417 </and>
418 </condition>
419 </model>
420
421 <animation>
422 <type>select</type>
423 <object-name>noseup2</object-name>
424 <condition>
425 <and>
426 <equals>
427 <property alias="/params/gear-amphibious/front-right-position-norm"/>
428 <value>0</value>
429 </equals>
430 <equals>
431 <property alias="/params/bushkit"/>
432 <value>4</value>
433 </equals>
434 <property alias="/params/cockpit/electrical/gear-amphibious"/>
435 </and>
436 </condition>
437 </animation>
438 <model>
439 <name>noseup2led</name>
440 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_blue.xml</path>
441 <offsets>
442 <x-m>-0.362 </x-m>
443 <y-m> 0.368895</y-m>
444 <z-m> 0.115728</z-m>
445 </offsets>
446 <condition>
447 <and>
448 <equals>
449 <property alias="/params/gear-amphibious/front-right-position-norm"/>
450 <value>0</value>
451 </equals>
452 <equals>
453 <property alias="/params/bushkit"/>
454 <value>4</value>
455 </equals>
456 <property alias="/params/cockpit/electrical/gear-amphibious"/>
457 <greater-than>
458 <property>sim/rendering/shaders/model</property>
459 <value>1</value>
460 </greater-than>
461 </and>
462 </condition>
463 </model>
464
465 <animation>
466 <type>select</type>
467 <object-name>mainup1</object-name>
468 <condition>
469 <and>
470 <equals>
471 <property alias="/params/gear-amphibious/rear-left-position-norm"/>
472 <value>0</value>
473 </equals>
474 <equals>
475 <property alias="/params/bushkit"/>
476 <value>4</value>
477 </equals>
478 <property alias="/params/cockpit/electrical/gear-amphibious"/>
479 </and>
480 </condition>
481 </animation>
482 <model>
483 <name>mainup1led</name>
484 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_blue.xml</path>
485 <offsets>
486 <x-m>-0.362 </x-m>
487 <y-m> 0.356086</y-m>
488 <z-m> 0.102907</z-m>
489 </offsets>
490 <condition>
491 <and>
492 <equals>
493 <property alias="/params/gear-amphibious/rear-left-position-norm"/>
494 <value>0</value>
495 </equals>
496 <equals>
497 <property alias="/params/bushkit"/>
498 <value>4</value>
499 </equals>
500 <property alias="/params/cockpit/electrical/gear-amphibious"/>
501 <greater-than>
502 <property>sim/rendering/shaders/model</property>
503 <value>1</value>
504 </greater-than>
505 </and>
506 </condition>
507 </model>
508
509 <animation>
510 <type>select</type>
511 <object-name>mainup2</object-name>
512 <condition>
513 <and>
514 <equals>
515 <property alias="/params/gear-amphibious/rear-right-position-norm"/>
516 <value>0</value>
517 </equals>
518 <equals>
519 <property alias="/params/bushkit"/>
520 <value>4</value>
521 </equals>
522 <property alias="/params/cockpit/electrical/gear-amphibious"/>
523 </and>
524 </condition>
525 </animation>
526 <model>
527 <name>mainup2led</name>
528 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_blue.xml</path>
529 <offsets>
530 <x-m>-0.362 </x-m>
531 <y-m> 0.368901</y-m>
532 <z-m> 0.102913</z-m>
533 </offsets>
534 <condition>
535 <and>
536 <equals>
537 <property alias="/params/gear-amphibious/rear-right-position-norm"/>
538 <value>0</value>
539 </equals>
540 <equals>
541 <property alias="/params/bushkit"/>
542 <value>4</value>
543 </equals>
544 <property alias="/params/cockpit/electrical/gear-amphibious"/>
545 <greater-than>
546 <property>sim/rendering/shaders/model</property>
547 <value>1</value>
548 </greater-than>
549 </and>
550 </condition>
551 </model>
552
553 <!-- in transit -->
554 <animation>
555 <type>select</type>
556 <object-name>pump</object-name>
557 <condition>
558 <and>
559 <greater-than>
560 <property alias="/params/gear-amphibious/front-left-position-norm"/>
561 <value>0</value>
562 </greater-than>
563 <less-than>
564 <property alias="/params/gear-amphibious/front-left-position-norm"/>
565 <value>1.0</value>
566 </less-than>
567 <equals>
568 <property alias="/params/bushkit"/>
569 <value>4</value>
570 </equals>
571 <property alias="/params/cockpit/electrical/gear-amphibious"/>
572 </and>
573 </condition>
574 </animation>
575 <model>
576 <name>pumpled</name>
577 <path>Aircraft/c172p/Models/Effects/interior/procedural_light_indicator_led_red.xml</path>
578 <offsets>
579 <x-m>-0.362 </x-m>
580 <y-m> 0.362098</y-m>
581 <z-m> 0.090094</z-m>
582 </offsets>
583 <condition>
584 <and>
585 <greater-than>
586 <property alias="/params/gear-amphibious/front-left-position-norm"/>
587 <value>0</value>
588 </greater-than>
589 <less-than>
590 <property alias="/params/gear-amphibious/front-left-position-norm"/>
591 <value>1.0</value>
592 </less-than>
593 <equals>
594 <property alias="/params/bushkit"/>
595 <value>4</value>
596 </equals>
597 <property alias="/params/cockpit/electrical/gear-amphibious"/>
598 <greater-than>
599 <property>sim/rendering/shaders/model</property>
600 <value>1</value>
601 </greater-than>
602 </and>
603 </condition>
604 </model>
605
606 <animation>
607 <type>material</type>
608 <object-name>noseup1</object-name>
609 <object-name>noseup2</object-name>
610 <object-name>mainup1</object-name>
611 <object-name>mainup2</object-name>
612 <object-name>nosedn1</object-name>
613 <object-name>nosedn2</object-name>
614 <object-name>maindn1</object-name>
615 <object-name>maindn2</object-name>
616 <object-name>pump</object-name>
617 <emission>
618 <red> .3</red>
619 <green>.3</green>
620 <blue> .3</blue>
621 <factor-prop>/controls/lighting/factor-led</factor-prop>
622 </emission>
623 </animation>
624
625 <animation>
626 <type>rotate</type>
627 <object-name>Gearswitch</object-name>
628 <property>controls/gear/gear-down-command</property>
629 <factor>45</factor>
630 <axis>
631 <x> 0</x>
632 <y> 1</y>
633 <z> 0</z>
634 </axis>
635 <center>
636 <x-m>-0.363594</x-m>
637 <y-m> 0.393412</y-m>
638 <z-m> 0.07124</z-m>
639 </center>
640 </animation>
641
642 <animation>
643 <type>pick</type>
644 <object-name>Gearswitch</object-name>
645 <action>
646 <button>0</button>
647 <repeatable>false</repeatable>
648 <binding>
649 <command>property-toggle</command>
650 <property>controls/gear/gear-down-command</property>
651 </binding>
652 </action>
653 </animation>
654
655 <!-- amphibious landing gear -->
656
657 <animation>
658 <type>translate</type>
659 <object-name>gear_select_breaker</object-name>
660 <property>controls/circuit-breakers/gear-select</property>
661 <factor>-0.008</factor>
662 <axis>
663 <x>1.0</x>
664 <y>0.0</y>
665 <z>0.0</z>
666 </axis>
667 </animation>
668
669 <animation>
670 <type>pick</type>
671 <object-name>gear_select_breaker</object-name>
672 <visible>true</visible>
673 <action>
674 <button>0</button>
675 <repeatable>false</repeatable>
676 <binding>
677 <command>property-toggle</command>
678 <property>controls/circuit-breakers/gear-select</property>
679 </binding>
680 <binding>
681 <command>nasal</command>
682 <script>c172p.click("cb")</script>
683 </binding>
684 </action>
685 <hovered>
686 <binding>
687 <command>set-tooltip</command>
688 <tooltip-id>gear_select_breaker</tooltip-id>
689 <label>Gear select breaker: %s</label>
690 <mapping>on-off</mapping>
691 <property>controls/circuit-breakers/gear-select</property>
692 </binding>
693 </hovered>
694 </animation>
695
696 <animation>
697 <type>translate</type>
698 <object-name>gear_advise_breaker</object-name>
699 <property>controls/circuit-breakers/gear-advisory</property>
700 <factor>-0.008</factor>
701 <axis>
702 <x>1.0</x>
703 <y>0.0</y>
704 <z>0.0</z>
705 </axis>
706 </animation>
707
708 <animation>
709 <type>pick</type>
710 <object-name>gear_advise_breaker</object-name>
711 <visible>true</visible>
712 <action>
713 <button>0</button>
714 <repeatable>false</repeatable>
715 <binding>
716 <command>property-toggle</command>
717 <property>controls/circuit-breakers/gear-advisory</property>
718 </binding>
719 <binding>
720 <command>nasal</command>
721 <script>c172p.click("cb")</script>
722 </binding>
723 </action>
724 <hovered>
725 <binding>
726 <command>set-tooltip</command>
727 <tooltip-id>gear_advise_breaker</tooltip-id>
728 <label>Gear advisory breaker: %s</label>
729 <mapping>on-off</mapping>
730 <property>controls/circuit-breakers/gear-advisory</property>
731 </binding>
732 </hovered>
733 </animation>
734
735 <animation>
736 <type>translate</type>
737 <object-name>hydr_pump_breaker</object-name>
738 <property>controls/circuit-breakers/hydraulic-pump</property>
739 <factor>-0.008</factor>
740 <axis>
741 <x>1.0</x>
742 <y>0.0</y>
743 <z>0.0</z>
744 </axis>
745 </animation>
746
747 <animation>
748 <type>pick</type>
749 <object-name>hydr_pump_breaker</object-name>
750 <visible>true</visible>
751 <action>
752 <button>0</button>
753 <repeatable>false</repeatable>
754 <binding>
755 <command>property-toggle</command>
756 <property>controls/circuit-breakers/hydraulic-pump</property>
757 </binding>
758 <binding>
759 <command>nasal</command>
760 <script>c172p.click("cb")</script>
761 </binding>
762 </action>
763 <hovered>
764 <binding>
765 <command>set-tooltip</command>
766 <tooltip-id>hydr_pump_breaker</tooltip-id>
767 <label>Hydraulic pump breaker: %s</label>
768 <mapping>on-off</mapping>
769 <property>controls/circuit-breakers/hydraulic-pump</property>
770 </binding>
771 </hovered>
772 </animation>
773
774 </PropertyList>