Debian Codegraph @

Aircraft/Instruments/asi-1k-knot.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Default RPM gauge instrument.
5
6 Started summer 2000 by David Megginson, [email protected].
7
8 This is an instrument configuration file for the open-source flight
9 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
10 FlightGear property list defining the instrument's layers and actions.
11
12 Each instrument is composed of layers stacked on top of each other.
13 A layer may be a texture (with transparent parts to show the layers
14 underneath), text, or a special layer that switches between two
15 others (say, to turn an indicator light on or off). Each layer can
16 move independently in proportion to a property value, and text
17 can be generated from property values as well: all of the layer's
18 movements are defined as transformations.
19
20 Actions are hotspots on the instrument that will respond to a mouse
21 click. Actions always modify the values of properties, either by
22 adjusting them, toggling them, or swaping them with other
23 properties' values.
24
25 Hacked by Lee Elliott to create an airspeed 1k indicator gauge
26 instrument
27 -->
28
29 <PropertyList>
30 <name>Airspeed Indicator Gauge</name>
31 <w-base>128</w-base>
32 <h-base>128</h-base>
33
34 <params>
35 <pt0-select>/instrumentation/airspeed-indicator/indicated-speed-kt</pt0-select>
36 </params>
37
38 <layers>
39 <layer>
40 <name>gauge face</name>
41 <texture>
42 <path>Aircraft/Instruments/Textures/faces-LE2.rgb</path>
43 <x1>0.5</x1>
44 <x2>1.0</x2>
45 <y1>0.0</y1>
46 <y2>0.5</y2>
47 </texture>
48 <w>114</w>
49 <h>114</h>
50 </layer>
51
52 <layer>
53 <name>needle 1</name>
54 <texture>
55 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
56 <x1>0.6796875</x1>
57 <x2>0.7265625</x2>
58 <y1>0.68359375</y1>
59 <y2>1.0</y2>
60 </texture>
61 <w>6</w>
62 <h>48</h>
63 <transformations>
64 <transformation>
65 <type>rotation</type>
66 <property alias="../../../../../params/pt0-select"/>
67 <min>0</min>
68 <max>100000</max>
69 <scale>0.36</scale>
70 <offset>0</offset>
71 </transformation>
72 <transformation>
73 <type>y-shift</type>
74 <offset>20</offset>
75 </transformation>
76 </transformations>
77 </layer>
78
79 <layer>
80 <name>needle 0</name>
81 <texture>
82 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
83 <x1>0.8</x1>
84 <y1>0.78125</y1>
85 <x2>0.8375</x2>
86 <y2>1.0</y2>
87 </texture>
88 <w>6</w>
89 <h>48</h>
90 <transformations>
91 <transformation>
92 <type>rotation</type>
93 <property alias="../../../../../params/pt0-select"/>
94 <min>0</min>
95 <max>100000</max>
96 <scale>3.6</scale>
97 <offset>0</offset>
98 </transformation>
99 <transformation>
100 <type>y-shift</type>
101 <offset>20</offset>
102 </transformation>
103 </transformations>
104 </layer>
105
106 <layer>
107 <name>glare shield</name>
108 <texture>
109 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
110 <x1>0.5</x1>
111 <y1>0.0</y1>
112 <x2>1.0</x2>
113 <y2>0.5</y2>
114 </texture>
115 <w>124</w>
116 <h>124</h>
117 <transformations>
118 <transformation>
119 <type>x-shift</type>
120 <offset>2</offset>
121 </transformation>
122 <transformation>
123 <type>y-shift</type>
124 <offset>-2</offset>
125 </transformation>
126 </transformations>
127 </layer>
128
129 </layers>
130
131 </PropertyList>