Debian Codegraph @

Aircraft/Generic/DualControl/Instruments/KI-206/ki206-2.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!-- KI 206
3 Bendix/King VOR / LOC / Glideslope Indicator
4 Syd Adams
5 Anders Gidenstam (pick animations)
6 -->
7 <PropertyList>
8
9 <path>Aircraft/Instruments-3d/ki206/ki206.ac</path>
10 <texture-path>Aircraft/Instruments-3d/ki206/</texture-path>
11 <animation>
12 <type>material</type>
13 <object-name>KI206.gsflag</object-name>
14 <object-name>KI206.toflag</object-name>
15 <object-name>KI206.fromflag</object-name>
16 <object-name>KI206.navflag</object-name>
17 <object-name>KI206.face</object-name>
18 <object-name>KI206card</object-name>
19 <object-name>KI206.locneedle</object-name>
20 <object-name>KI206.gsneedle</object-name>
21 <object-name>KI206.knob</object-name>
22 <emission>
23 <red>0.8</red>
24 <green>0.4</green>
25 <blue>0.2</blue>
26 <factor-prop>/systems/electrical/outputs/instrument-lights</factor-prop>
27 </emission>
28 </animation>
29
30 <animation>
31 <type>select</type>
32 <object-name>KI206.navflag</object-name>
33 <condition>
34 <or>
35 <not>
36 <property>instrumentation/nav[1]/data-is-valid</property>
37 </not>
38 <less-than>
39 <property>systems/electrical/outputs/nav[1]</property>
40 <value>0.1</value>
41 </less-than>
42 <not>
43 <property>instrumentation/nav[1]/in-range</property>
44 </not>
45 </or>
46 </condition>
47 </animation>
48
49 <animation>
50 <type>select</type>
51 <object-name>KI206.gsflag</object-name>
52 <condition>
53 <or>
54 <not>
55 <property>instrumentation/nav[1]/has-gs</property>
56 </not>
57 <less-than>
58 <property>systems/electrical/outputs/nav[1]</property>
59 <value>0.1</value>
60 </less-than>
61 <greater-than>
62 <property>instrumentation/nav[1]/in-range</property>
63 <value>30000</value>
64 </greater-than>
65 </or>
66 </condition>
67 </animation>
68
69 <animation>
70 <type>select</type>
71 <object-name>KI206.toflag</object-name>
72 <condition>
73 <property>instrumentation/nav[1]/to-flag</property>
74 </condition>
75 </animation>
76
77 <animation>
78 <type>select</type>
79 <object-name>KI206.fromflag</object-name>
80 <condition>
81 <property>instrumentation/nav[1]/from-flag</property>
82 </condition>
83 </animation>
84
85 <animation>
86 <type>rotate</type>
87 <object-name>KI206card</object-name>
88 <property>instrumentation/nav[1]/radials/selected-deg</property>
89 <axis>
90 <x>1</x>
91 <y>0</y>
92 <z>0</z>
93 </axis>
94 </animation>
95
96 <animation>
97 <type>translate</type>
98 <object-name>KI206.locneedle</object-name>
99 <property>instrumentation/nav[1]/heading-needle-deflection</property>
100 <interpolation>
101 <entry><ind>-10.0</ind><dep>-0.0113</dep></entry>
102 <entry><ind>0.0</ind><dep>0.0</dep></entry>
103 <entry><ind>10.0</ind><dep>0.0113</dep></entry>
104 </interpolation>
105 <axis>
106 <x>0.0</x>
107 <y>1.0</y>
108 <z>0.0</z>
109 </axis>
110 </animation>
111
112 <animation>
113 <type>translate</type>
114 <object-name>KI206.gsneedle</object-name>
115 <property>instrumentation/nav[1]/gs-needle-deflection</property>
116 <interpolation>
117 <entry><ind>-9999.0</ind><dep>-0.0113</dep></entry>
118 <entry><ind>-10.0</ind><dep>-0.0113</dep></entry>
119 <entry><ind>0.0</ind><dep>0.0</dep></entry>
120 <entry><ind>10.0</ind><dep>0.0113</dep></entry>
121 <entry><ind>9999.0</ind><dep>0.0113</dep></entry>
122 </interpolation>
123 <axis>
124 <x>0.0</x>
125 <y>0.0</y>
126 <z>1.0</z>
127 </axis>
128 </animation>
129
130 <animation>
131 <type>pick</type>
132 <object-name>KI206.knob</object-name>
133 <visible>true</visible>
134 <action>
135 <name>click</name>
136 <button>0</button>
137 <repeatable>true</repeatable>
138 <interval-sec>0.1</interval-sec>
139 <binding>
140 <command>nasal</command>
141 <script>KI206.adjust_radial(1, 1.0);</script>
142 </binding>
143 </action>
144 <action>
145 <name>click</name>
146 <button>1</button>
147 <repeatable>true</repeatable>
148 <interval-sec>0.1</interval-sec>
149 <binding>
150 <command>nasal</command>
151 <script>KI206.adjust_radial(1, -1.0);</script>
152 </binding>
153 </action>
154 <action>
155 <name>click</name>
156 <button>3</button>
157 <repeatable>false</repeatable>
158 <interval-sec>0.1</interval-sec>
159 <binding>
160 <command>nasal</command>
161 <script>KI206.adjust_radial(1, -1.0);</script>
162 </binding>
163 </action>
164 <action>
165 <name>click</name>
166 <button>4</button>
167 <repeatable>false</repeatable>
168 <interval-sec>0.1</interval-sec>
169 <binding>
170 <command>nasal</command>
171 <script>KI206.adjust_radial(1, 1.0);</script>
172 </binding>
173 </action>
174 </animation>
175
176 </PropertyList>