Debian Codegraph @

Aircraft/Instruments/hsi.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.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>-360.0</min>
97 <max>360.0</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>-360.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>-360.0</min>
160 <max>360.0</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>-360.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>-360.0</min>
189 <max>360.0</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>-360.0</min>
196 <max>360.0</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>ADF Needle</name>
212 <texture>
213 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
214 <x1>0.8671875</x1>
215 <y1>0.25</y1>
216 <x2>0.921875</x2>
217 <y2>1.0</y2>
218 </texture>
219 <w>9</w>
220 <h>64</h>
221 <transformations>
222 <transformation>
223 <type>rotation</type>
224 <property>/instrumentation/adf/indicated-bearing-deg</property>
225 <min>-360.0</min>
226 <max>360.0</max>
227 </transformation>
228 <transformation>
229 <type>x-shift</type>
230 <offset>-1</offset>
231 </transformation>
232 </transformations>
233 </layer>
234 <layer>
235 <name>Plane</name>
236 <texture>
237 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
238 <x1>0.5</x1>
239 <y1>0.734375</y1>
240 <x2>0.59375</x2>
241 <y2>0.828125</y2>
242 </texture>
243 <w>25</w>
244 <h>25</h>
245 <transformations>
246 <transformation>
247 <type>y-shift</type>
248 <offset>-6</offset>
249 </transformation>
250 </transformations>
251 </layer>
252
253 <layer>
254 <name>Background</name>
255 <texture>
256 <path>Aircraft/Instruments/Textures/hsi.rgb</path>
257 <x1>0.0</x1>
258 <y1>0.0</y1>
259 <x2>0.5</x2>
260 <y2>0.5</y2>
261 </texture>
262 <w>104</w>
263 <h>104</h>
264 </layer>
265
266 <!-- Copied from gyro.xml -->
267 <layer>
268 <name>heading bug</name>
269 <texture>
270 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
271 <x1>0.9375</x1>
272 <y1>0.4375</y1>
273 <x2>1.0</x2>
274 <y2>0.5</y2>
275 </texture>
276 <w>16</w>
277 <h>16</h>
278 <transformations>
279 <transformation>
280 <type>rotation</type>
281 <property>/autopilot/settings/heading-bug-deg</property>
282 <min>-360.0</min>
283 <max>360.0</max>
284 </transformation>
285 <transformation>
286 <type>rotation</type>
287 <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
288 <min>-360.0</min>
289 <max>360.0</max>
290 <scale>-1.0</scale>
291 </transformation>
292 <transformation>
293 <type>y-shift</type>
294 <offset>50</offset>
295 </transformation>
296 </transformations>
297 </layer>
298 <layer>
299 <name>bezel</name>
300 <condition>
301 <not-equals>
302 <property>/sim/aero</property>
303 <value>c310u3a</value>
304 </not-equals>
305 </condition>
306 <texture>
307 <path>Aircraft/Instruments/Textures/bezel.rgb</path>
308 <x1>0.0</x1>
309 <y1>0.0</y1>
310 <x2>1.0</x2>
311 <y2>1.0</y2>
312 </texture>
313 <transformations>
314 <transformation>
315 <type>x-shift</type>
316 <offset>-1</offset>
317 </transformation>
318 </transformations>
319 </layer>
320
321 <layer>
322 <name>glare shield</name>
323 <texture>
324 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
325 <x1>0.5</x1>
326 <y1>0.0</y1>
327 <x2>1.0</x2>
328 <y2>0.5</y2>
329 </texture>
330 <w>124</w>
331 <h>124</h>
332 <transformations>
333 <transformation>
334 <type>x-shift</type>
335 <offset>2</offset>
336 </transformation>
337 <transformation>
338 <type>y-shift</type>
339 <offset>-2</offset>
340 </transformation>
341 </transformations>
342 </layer>
343 <layer>
344 <name>Heading Knob</name>
345 <texture>
346 <path>Aircraft/Instruments/Textures/blister.rgb</path>
347 <x1>0.25</x1>
348 <y1>0.75</y1>
349 <x2>0.5</x2>
350 <y2>1.0</y2>
351 </texture>
352 <h>24</h>
353 <w>24</w>
354 <transformations>
355 <transformation>
356 <type>x-shift</type>
357 <offset>45</offset>
358 </transformation>
359 <transformation>
360 <type>y-shift</type>
361 <offset>-45</offset>
362 </transformation>
363 <transformation>
364 <type>rotation</type>
365 <offset>180</offset>
366 </transformation>
367 </transformations>
368 </layer>
369 <layer>
370 <name>Heading label</name>
371 <texture>
372 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
373 <x1>0.0078125</x1>
374 <y1>0.5</y1>
375 <x2>0.1640625</x2>
376 <y2>0.6640625</y2>
377 </texture>
378 <w>15</w>
379 <h>15</h>
380 <transformations>
381 <transformation>
382 <type>x-shift</type>
383 <offset>45</offset>
384 </transformation>
385 <transformation>
386 <type>y-shift</type>
387 <offset>-45</offset>
388 </transformation>
389 <transformation>
390 <type>rotation</type>
391 <property>/autopilot/settings/heading-bug-deg</property>
392 </transformation>
393 </transformations>
394 </layer>
395
396 <layer>
397 <name>OBS Knob</name>
398 <texture>
399 <path>Aircraft/Instruments/Textures/blister.rgb</path>
400 <x1>0.25</x1>
401 <y1>0.75</y1>
402 <x2>0.5</x2>
403 <y2>1.0</y2>
404 </texture>
405 <h>24</h>
406 <w>24</w>
407 <transformations>
408 <transformation>
409 <type>x-shift</type>
410 <offset>-45</offset>
411 </transformation>
412 <transformation>
413 <type>y-shift</type>
414 <offset>-45</offset>
415 </transformation>
416 <transformation>
417 <type>rotation</type>
418 <offset>180</offset>
419 </transformation>
420 </transformations>
421 </layer>
422
423 <layer>
424 <name>OBS label</name>
425 <texture>
426 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
427 <x1>0.0078125</x1>
428 <y1>0.66015625</y1>
429 <x2>0.1640625</x2>
430 <y2>0.8242185</y2>
431 </texture>
432 <w>15</w>
433 <h>15</h>
434 <transformations>
435 <transformation>
436 <type>x-shift</type>
437 <offset>-45</offset>
438 </transformation>
439 <transformation>
440 <type>y-shift</type>
441 <offset>-45</offset>
442 </transformation>
443 <transformation>
444 <type>rotation</type>
445 <property>/instrumentation/nav[0]/radials/selected-deg</property>
446 <min>0</min>
447 <max>360</max>
448 </transformation>
449 </transformations>
450 </layer>
451 </layers>
452
453 <actions>
454 <action>
455 <name>OBS small clockwise rotation</name>
456 <button>0</button>
457 <x>-56</x>
458 <y>-56</y>
459 <w>12</w>
460 <h>24</h>
461 <binding>
462 <command>property-adjust</command>
463 <property>/instrumentation/nav[0]/radials/selected-deg</property>
464 <step>-1.0</step>
465 <min>0</min>
466 <max>360</max>
467 <wrap>1</wrap>
468 </binding>
469 </action>
470
471 <action>
472 <name>OBS large clockwise rotation</name>
473 <button>1</button>
474 <x>-56</x>
475 <y>-56</y>
476 <w>12</w>
477 <h>24</h>
478 <binding>
479 <command>property-adjust</command>
480 <property>/instrumentation/nav[0]/radials/selected-deg</property>
481 <step>-5.0</step>
482 <min>0</min>
483 <max>360</max>
484 <wrap>1</wrap>
485 </binding>
486 </action>
487
488 <action>
489 <name>OBS small counter-clockwise rotation</name>
490 <button>0</button>
491 <x>-46</x>
492 <y>-56</y>
493 <w>12</w>
494 <h>24</h>
495 <binding>
496 <command>property-adjust</command>
497 <property>/instrumentation/nav[0]/radials/selected-deg</property>
498 <step>1.0</step>
499 <min>0</min>
500 <max>360</max>
501 <wrap>1</wrap>
502 </binding>
503 </action>
504
505 <action>
506 <name>OBS large counter-clockwise rotation</name>
507 <button>1</button>
508 <x>-46</x>
509 <y>-56</y>
510 <w>12</w>
511 <h>24</h>
512 <binding>
513 <command>property-adjust</command>
514 <property>/instrumentation/nav[0]/radials/selected-deg</property>
515 <step>5.0</step>
516 <min>0</min>
517 <max>360</max>
518 <wrap>1</wrap>
519 </binding>
520 </action>
521
522 <action>
523 <name>Heading hold small clockwise rotation</name>
524 <button>0</button>
525 <x>36</x>
526 <y>-56</y>
527 <w>12</w>
528 <h>24</h>
529 <binding>
530 <command>property-adjust</command>
531 <property>/autopilot/settings/heading-bug-deg</property>
532 <step>-1.0</step>
533 <min>0</min>
534 <max>360</max>
535 <wrap>1</wrap>
536 </binding>
537 </action>
538
539 <action>
540 <name>Heading hold large clockwise rotation</name>
541 <button>1</button>
542 <x>36</x>
543 <y>-56</y>
544 <w>12</w>
545 <h>24</h>
546 <binding>
547 <command>property-adjust</command>
548 <property>/autopilot/settings/heading-bug-deg</property>
549 <step>-5.0</step>
550 <min>0</min>
551 <max>360</max>
552 <wrap>1</wrap>
553 </binding>
554 </action>
555
556 <action>
557 <name>Heading hold small counter-clockwise rotation</name>
558 <button>0</button>
559 <x>46</x>
560 <y>-56</y>
561 <w>12</w>
562 <h>24</h>
563 <binding>
564 <command>property-adjust</command>
565 <property>/autopilot/settings/heading-bug-deg</property>
566 <step>1.0</step>
567 <min>0</min>
568 <max>360</max>
569 <wrap>1</wrap>
570 </binding>
571 </action>
572
573 <action>
574 <name>Heading hold large counter-clockwise rotation</name>
575 <button>1</button>
576 <x>46</x>
577 <y>-56</y>
578 <w>12</w>
579 <h>24</h>
580 <binding>
581 <command>property-adjust</command>
582 <property>/autopilot/settings/heading-bug-deg</property>
583 <step>5.0</step>
584 <min>0</min>
585 <max>360</max>
586 <wrap>1</wrap>
587 </binding>
588 </action>
589 </actions>
590
591 </PropertyList>
592
593