Debian Codegraph @

Aircraft/Instruments/hsi-hi.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 HSI instrument
5
6 Started 24-7-01 by Timothy Gale
7 -->
8
9 <PropertyList>
10 <name>HSI</name>
11 <w-base>128</w-base>
12 <h-base>128</h-base>
13
14 <params>
15 <nav-gs-needle-deflection>/instrumentation/nav[0]/gs-needle-deflection-norm</nav-gs-needle-deflection>
16 <hsi-has-gs-needle>/sim/instrument-options/hsi[0]/has-gs-needle</hsi-has-gs-needle>
17 </params>
18
19 <layers>
20 <layer>
21 <name>compass rose</name>
22 <texture>
23 <path>Aircraft/Instruments/Textures/faces-1-hi.rgb</path>
24 <x1>0.0</x1>
25 <y1>0.51</y1>
26 <x2>0.49</x2>
27 <y2>1.0</y2>
28 </texture>
29 <w>104</w>
30 <h>104</h>
31 <transformations>
32 <transformation>
33 <type>rotation</type>
34 <property>/orientation/heading-magnetic-deg</property>
35 <min>-360.0</min>
36 <max>360.0</max>
37 <scale>-1.0</scale>
38 </transformation>
39 </transformations>
40 </layer>
41
42 <!-- Taken from Nav1.xml -->
43 <layer>
44 <name>TO/FROM/OFF flag</name>
45 <type>switch</type>
46 <layer>
47 <condition>
48 <property>/instrumentation/nav[0]/to-flag</property>
49 </condition>
50 <name>TO flag</name>
51 <texture>
52 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
53 <x1>0.9375</x1>
54 <y1>0.578125</y1>
55 <x2>1.0</x2>
56 <y2>0.625</y2>
57 </texture>
58 <w>14</w>
59 <h>14</h>
60 </layer>
61 <layer>
62 <name>FROM/OFF flag</name>
63 <type>switch</type>
64 <layer>
65 <condition>
66 <property>/instrumentation/nav[0]/from-flag</property>
67 </condition>
68 <name>FROM flag</name>
69 <texture>
70 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
71 <x1>0.9375</x1>
72 <y1>0.625</y1>
73 <x2>1.0</x2>
74 <y2>0.671875</y2>
75 </texture>
76 <w>14</w>
77 <h>14</h>
78 </layer>
79 <layer>
80 <name>OFF flag</name>
81 <texture>
82 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
83 <x1>0.9375</x1>
84 <y1>0.5</y1>
85 <x2>1.0</x2>
86 <y2>0.546875</y2>
87 </texture>
88 <w>14</w>
89 <h>14</h>
90 </layer>
91 </layer>
92 <transformations>
93 <transformation>
94 <type>rotation</type>
95 <property>/orientation/heading-magnetic-deg</property>
96 <min>0.0</min>
97 <max>360</max>
98 <scale>-1.0</scale>
99 </transformation>
100 <transformation>
101 <type>rotation</type>
102 <property>/instrumentation/nav[0]/radials/selected-deg</property>
103 <min>0.0</min>
104 <max>360.0</max>
105 <scale>1.0</scale>
106 </transformation>
107 <transformation>
108 <type>y-shift</type>
109 <offset>16</offset>
110 </transformation>
111 </transformations>
112 </layer>
113
114 <layer>
115 <name>glidescope needle</name>
116 <condition>
117 <equals>
118 <property alias="../../../../../params/hsi-has-gs-needle"/>
119 <value>1</value>
120 </equals>
121 </condition>
122 <texture>
123 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
124 <x1>0.439</x1>
125 <y1>0.5</y1>
126 <x2>0.4575</x2>
127 <y2>1.0</y2>
128 </texture>
129 <w>6</w>
130 <h>64</h>
131 <transformations>
132 <transformation>
133 <type>y-shift</type>
134 <property alias="../../../../../params/nav-gs-needle-deflection"/>
135 <scale>24.5</scale>
136 </transformation>
137 <transformation>
138 <type>rotation</type>
139 <offset>90</offset>
140 </transformation>
141 </transformations>
142 </layer>
143
144 <layer>
145 <name>Nav1</name>
146 <texture>
147 <path>Aircraft/Instruments/Textures/hsi.rgb</path>
148 <x1>0.0</x1>
149 <y1>0.75</y1>
150 <x2>0.25</x2>
151 <y2>1.0</y2>
152 </texture>
153 <w>72</w>
154 <h>72</h>
155 <transformations>
156 <transformation>
157 <type>rotation</type>
158 <property>/orientation/heading-magnetic-deg</property>
159 <min>0.0</min>
160 <max>360</max>
161 <scale>-1.0</scale>
162 </transformation>
163 <transformation>
164 <type>rotation</type>
165 <property>/instrumentation/nav[0]/radials/selected-deg</property>
166 <min>0.0</min>
167 <max>360.0</max>
168 <scale>1.0</scale>
169 </transformation>
170 </transformations>
171 </layer>
172
173 <layer>
174 <name>Nav1_deviation</name>
175 <texture>
176 <path>Aircraft/Instruments/Textures/hsi.rgb</path>
177 <x1>0.25</x1>
178 <y1>0.75</y1>
179 <x2>0.5</x2>
180 <y2>1.0</y2>
181 </texture>
182 <w>72</w>
183 <h>72</h>
184 <transformations>
185 <transformation>
186 <type>rotation</type>
187 <property>/orientation/heading-magnetic-deg</property>
188 <min>0.0</min>
189 <max>360</max>
190 <scale>-1.0</scale>
191 </transformation>
192 <transformation>
193 <type>rotation</type>
194 <property>/instrumentation/nav[0]/radials/selected-deg</property>
195 <min>0.0</min>
196 <max>360</max>
197 <scale>1.0</scale>
198 </transformation>
199 <transformation>
200 <type>x-shift</type>
201 <property>/instrumentation/nav[0]/heading-needle-deflection</property>
202 <min>-10.0</min>
203 <max>10.0</max>
204 <scale>3.2</scale>
205 </transformation>
206 </transformations>
207 </layer>
208
209
210 <layer>
211 <name>Plane</name>
212 <texture>
213 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
214 <x1>0.5</x1>
215 <y1>0.734375</y1>
216 <x2>0.59375</x2>
217 <y2>0.828125</y2>
218 </texture>
219 <w>25</w>
220 <h>25</h>
221 <transformations>
222 <transformation>
223 <type>y-shift</type>
224 <offset>-6</offset>
225 </transformation>
226 </transformations>
227 </layer>
228
229 <layer>
230 <name>Background</name>
231 <texture>
232 <path>Aircraft/Instruments/Textures/hsi.rgb</path>
233 <x1>0.0</x1>
234 <y1>0.0</y1>
235 <x2>0.5</x2>
236 <y2>0.5</y2>
237 </texture>
238 <w>104</w>
239 <h>104</h>
240 </layer>
241
242 <!-- Copied from gyro.xml -->
243 <layer>
244 <name>heading bug</name>
245 <texture>
246 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
247 <x1>0.9375</x1>
248 <y1>0.4375</y1>
249 <x2>1.0</x2>
250 <y2>0.5</y2>
251 </texture>
252 <w>16</w>
253 <h>16</h>
254 <transformations>
255 <transformation>
256 <type>rotation</type>
257 <property>/autopilot/settings/heading-bug-deg</property>
258 <min>-360.0</min>
259 <max>360.0</max>
260 </transformation>
261 <transformation>
262 <type>rotation</type>
263 <property>/orientation/heading-magnetic-deg</property>
264 <min>-360.0</min>
265 <max>360.0</max>
266 <scale>-1.0</scale>
267 </transformation>
268 <transformation>
269 <type>y-shift</type>
270 <offset>50</offset>
271 </transformation>
272 </transformations>
273 </layer>
274 <layer>
275 <name>bezel</name>
276 <condition>
277 <not-equals>
278 <property>/sim/aero</property>
279 <value>c310u3a</value>
280 </not-equals>
281 </condition>
282 <texture>
283 <path>Aircraft/Instruments/Textures/bezel.rgb</path>
284 <x1>0.0</x1>
285 <y1>0.0</y1>
286 <x2>1.0</x2>
287 <y2>1.0</y2>
288 </texture>
289 <transformations>
290 <transformation>
291 <type>x-shift</type>
292 <offset>-1</offset>
293 </transformation>
294 </transformations>
295 </layer>
296
297 <layer>
298 <name>glare shield</name>
299 <texture>
300 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
301 <x1>0.5</x1>
302 <y1>0.0</y1>
303 <x2>1.0</x2>
304 <y2>0.5</y2>
305 </texture>
306 <w>124</w>
307 <h>124</h>
308 <transformations>
309 <transformation>
310 <type>x-shift</type>
311 <offset>2</offset>
312 </transformation>
313 <transformation>
314 <type>y-shift</type>
315 <offset>-2</offset>
316 </transformation>
317 </transformations>
318 </layer>
319 <layer>
320 <name>Heading Knob</name>
321 <texture>
322 <path>Aircraft/Instruments/Textures/blister.rgb</path>
323 <x1>0.25</x1>
324 <y1>0.75</y1>
325 <x2>0.5</x2>
326 <y2>1.0</y2>
327 </texture>
328 <h>24</h>
329 <w>24</w>
330 <transformations>
331 <transformation>
332 <type>x-shift</type>
333 <offset>45</offset>
334 </transformation>
335 <transformation>
336 <type>y-shift</type>
337 <offset>-45</offset>
338 </transformation>
339 <transformation>
340 <type>rotation</type>
341 <offset>180</offset>
342 </transformation>
343 </transformations>
344 </layer>
345 <layer>
346 <name>Heading label</name>
347 <texture>
348 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
349 <x1>0.0078125</x1>
350 <y1>0.5</y1>
351 <x2>0.1640625</x2>
352 <y2>0.6640625</y2>
353 </texture>
354 <w>15</w>
355 <h>15</h>
356 <transformations>
357 <transformation>
358 <type>x-shift</type>
359 <offset>45</offset>
360 </transformation>
361 <transformation>
362 <type>y-shift</type>
363 <offset>-45</offset>
364 </transformation>
365 <transformation>
366 <type>rotation</type>
367 <property>/autopilot/settings/heading-bug-deg</property>
368 </transformation>
369 </transformations>
370 </layer>
371
372 <layer>
373 <name>OBS Knob</name>
374 <texture>
375 <path>Aircraft/Instruments/Textures/blister.rgb</path>
376 <x1>0.25</x1>
377 <y1>0.75</y1>
378 <x2>0.5</x2>
379 <y2>1.0</y2>
380 </texture>
381 <h>24</h>
382 <w>24</w>
383 <transformations>
384 <transformation>
385 <type>x-shift</type>
386 <offset>-45</offset>
387 </transformation>
388 <transformation>
389 <type>y-shift</type>
390 <offset>-45</offset>
391 </transformation>
392 <transformation>
393 <type>rotation</type>
394 <offset>180</offset>
395 </transformation>
396 </transformations>
397 </layer>
398
399 <layer>
400 <name>OBS label</name>
401 <texture>
402 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
403 <x1>0.0078125</x1>
404 <y1>0.66015625</y1>
405 <x2>0.1640625</x2>
406 <y2>0.8242185</y2>
407 </texture>
408 <w>15</w>
409 <h>15</h>
410 <transformations>
411 <transformation>
412 <type>x-shift</type>
413 <offset>-45</offset>
414 </transformation>
415 <transformation>
416 <type>y-shift</type>
417 <offset>-45</offset>
418 </transformation>
419 <transformation>
420 <type>rotation</type>
421 <property>/instrumentation/nav[0]/radials/selected-deg</property>
422 <min>0</min>
423 <max>360</max>
424 </transformation>
425 </transformations>
426 </layer>
427 </layers>
428
429 <actions>
430 <action>
431 <name>OBS small clockwise rotation</name>
432 <button>0</button>
433 <x>-56</x>
434 <y>-56</y>
435 <w>12</w>
436 <h>24</h>
437 <binding>
438 <command>property-adjust</command>
439 <property>/instrumentation/nav[0]/radials/selected-deg</property>
440 <step>-1.0</step>
441 <min>0</min>
442 <max>360</max>
443 <wrap>1</wrap>
444 </binding>
445 </action>
446
447 <action>
448 <name>OBS large clockwise rotation</name>
449 <button>1</button>
450 <x>-56</x>
451 <y>-56</y>
452 <w>12</w>
453 <h>24</h>
454 <binding>
455 <command>property-adjust</command>
456 <property>/instrumentation/nav[0]/radials/selected-deg</property>
457 <step>-5.0</step>
458 <min>0</min>
459 <max>360</max>
460 <wrap>1</wrap>
461 </binding>
462 </action>
463
464 <action>
465 <name>OBS small counter-clockwise rotation</name>
466 <button>0</button>
467 <x>-46</x>
468 <y>-56</y>
469 <w>12</w>
470 <h>24</h>
471 <binding>
472 <command>property-adjust</command>
473 <property>/instrumentation/nav[0]/radials/selected-deg</property>
474 <step>1.0</step>
475 <min>0</min>
476 <max>360</max>
477 <wrap>1</wrap>
478 </binding>
479 </action>
480
481 <action>
482 <name>OBS large counter-clockwise rotation</name>
483 <button>1</button>
484 <x>-46</x>
485 <y>-56</y>
486 <w>12</w>
487 <h>24</h>
488 <binding>
489 <command>property-adjust</command>
490 <property>/instrumentation/nav[0]/radials/selected-deg</property>
491 <step>5.0</step>
492 <min>0</min>
493 <max>360</max>
494 <wrap>1</wrap>
495 </binding>
496 </action>
497
498 <action>
499 <name>Heading hold small clockwise rotation</name>
500 <button>0</button>
501 <x>36</x>
502 <y>-56</y>
503 <w>12</w>
504 <h>24</h>
505 <binding>
506 <command>property-adjust</command>
507 <property>/autopilot/settings/heading-bug-deg</property>
508 <step>-1.0</step>
509 <min>0</min>
510 <max>360</max>
511 <wrap>1</wrap>
512 </binding>
513 </action>
514
515 <action>
516 <name>Heading hold large clockwise rotation</name>
517 <button>1</button>
518 <x>36</x>
519 <y>-56</y>
520 <w>12</w>
521 <h>24</h>
522 <binding>
523 <command>property-adjust</command>
524 <property>/autopilot/settings/heading-bug-deg</property>
525 <step>-5.0</step>
526 <min>0</min>
527 <max>360</max>
528 <wrap>1</wrap>
529 </binding>
530 </action>
531
532 <action>
533 <name>Heading hold small counter-clockwise rotation</name>
534 <button>0</button>
535 <x>46</x>
536 <y>-56</y>
537 <w>12</w>
538 <h>24</h>
539 <binding>
540 <command>property-adjust</command>
541 <property>/autopilot/settings/heading-bug-deg</property>
542 <step>1.0</step>
543 <min>0</min>
544 <max>360</max>
545 <wrap>1</wrap>
546 </binding>
547 </action>
548
549 <action>
550 <name>Heading hold large counter-clockwise rotation</name>
551 <button>1</button>
552 <x>46</x>
553 <y>-56</y>
554 <w>12</w>
555 <h>24</h>
556 <binding>
557 <command>property-adjust</command>
558 <property>/autopilot/settings/heading-bug-deg</property>
559 <step>5.0</step>
560 <min>0</min>
561 <max>360</max>
562 <wrap>1</wrap>
563 </binding>
564 </action>
565 </actions>
566
567 </PropertyList>
568
569