Debian Codegraph @

Aircraft/Instruments/altimeter-hi.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Improved airspeed indicator instrument.
5 Apr 27 2001
6 Martin Dressler [email protected]
7 Altimeter indicator instrument from C172RG
8 GPL
9 _______________________________________________________________________________
10
11 Based on Default by David Megginson, [email protected].
12
13 This is an instrument configuration file for the open-source flight
14 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
15 FlightGear property list defining the instrument's layers and actions.
16
17 Each instrument is composed of layers stacked on top of each other.
18 A layer may be a texture (with transparent parts to show the layers
19 underneath), text, or a special layer that switches between two
20 others (say, to turn an indicator light on or off). Each layer can
21 move independently in proportion to a property value, and text
22 can be generated from property values as well: all of the layer's
23 movements are defined as transformations.
24
25 Actions are hotspots on the instrument that will respond to a mouse
26 click. Actions always modify the values of properties, either by
27 adjusting them, toggling them, or swaping them with other
28 properties' values.
29 -->
30
31 <PropertyList>
32
33 <name>C172RG Altimeter Indicator</name>
34
35 <w-base>256</w-base>
36 <h-base>256</h-base>
37
38 <layers>
39 <layer>
40 <name>Pressure</name>
41 <texture>
42 <path>Aircraft/Instruments/Textures/alt3.rgb</path>
43 <x1>0.0</x1>
44 <y1>0.0</y1>
45 <x2>1.0</x2>
46 <y2>1.0</y2>
47 </texture>
48 <transformations>
49 <transformation>
50 <type>rotation</type>
51 <property>/instrumentation/altimeter/setting-inhg</property>
52 <min>26.0</min>
53 <max>33.0</max>
54 <scale>-99.89</scale> <!-- degrees rotation per millibar -->
55 <offset>120</offset>
56 </transformation>
57 </transformations>
58 </layer>
59 <layer>
60 <name>background</name>
61 <texture>
62 <path>Aircraft/Instruments/Textures/alt2.rgb</path>
63 <x1>0.0</x1>
64 <y1>0.0</y1>
65 <x2>1.0</x2>
66 <y2>1.0</y2>
67 </texture>
68 </layer>
69 <layer>
70 <name>thousand needle</name>
71 <texture>
72 <path>Aircraft/Instruments/Textures/madr-misc1.rgb</path>
73 <x1>0.5</x1>
74 <y1>0.0</y1>
75 <x2>1.0</x2>
76 <y2>0.5</y2>
77 </texture>
78 <w>128</w>
79 <h>128</h>
80 <transformations>
81 <transformation>
82 <type>rotation</type>
83 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
84 <max>100000.0</max>
85 <scale>0.0036</scale>
86 </transformation>
87 <transformation>
88 <type>y-shift</type>
89 <offset>8</offset>
90 </transformation>
91 </transformations>
92 </layer>
93 <layer>
94 <name>short needle</name>
95 <texture>
96 <path>Aircraft/Instruments/Textures/madr-misc1.rgb</path>
97 <x1>0.734375</x1>
98 <y1>0.59375</y1>
99 <x2>0.875</x2>
100 <y2>1.0</y2>
101 </texture>
102 <w>36</w>
103 <h>104</h>
104 <transformations>
105 <transformation>
106 <type>rotation</type>
107 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
108 <max>100000.0</max>
109 <scale>0.036</scale>
110 </transformation>
111 <transformation>
112 <type>y-shift</type>
113 <offset>14</offset>
114 </transformation>
115 </transformations>
116 </layer>
117 <layer>
118 <name>long needle</name>
119 <texture>
120 <path>Aircraft/Instruments/Textures/madr-misc1.rgb</path>
121 <x1>0.875</x1>
122 <y1>0.5</y1>
123 <x2>1.0</x2>
124 <y2>1.0</y2>
125 </texture>
126 <w>32</w>
127 <h>128</h>
128 <transformations>
129 <transformation>
130 <type>rotation</type>
131 <property>/instrumentation/altimeter/indicated-altitude-ft</property>
132 <max>100000.0</max>
133 <scale>0.36</scale>
134 </transformation>
135 <transformation>
136 <type>y-shift</type>
137 <offset>18</offset>
138 </transformation>
139 </transformations>
140 </layer>
141 <layer>
142 <name>foreground</name>
143 <texture>
144 <path>Aircraft/Instruments/Textures/alt1.rgb</path>
145 <x1>0.0</x1>
146 <y1>0.0</y1>
147 <x2>1.0</x2>
148 <y2>1.0</y2>
149 </texture>
150 </layer>
151 </layers>
152 <actions>
153 <action>
154 <name>calibrate fine</name>
155 <button>0</button>
156 <x>-103</x>
157 <y>-122</y>
158 <w>22</w>
159 <h>45</h>
160 <binding>
161 <command>property-adjust</command>
162 <property>/instrumentation/altimeter/setting-inhg</property>
163 <step>-0.01</step>
164 <min>26.0</min>
165 <max>33.0</max>
166 <wrap>false</wrap>
167 </binding>
168 </action>
169 <action>
170 <name>calibrate coarse</name>
171 <button>1</button>
172 <x>-103</x>
173 <y>-122</y>
174 <w>22</w>
175 <h>45</h>
176 <binding>
177 <command>property-adjust</command>
178 <property>/instrumentation/altimeter/setting-inhg</property>
179 <step>-0.1</step>
180 <min>26.0</min>
181 <max>33.0</max>
182 <wrap>false</wrap>
183 </binding>
184 </action>
185 <action>
186 <name>calibrate fine</name>
187 <button>0</button>
188 <x>-81</x>
189 <y>-122</y>
190 <w>22</w>
191 <h>45</h>
192 <binding>
193 <command>property-adjust</command>
194 <property>/instrumentation/altimeter/setting-inhg</property>
195 <step>0.01</step>
196 <min>26.0</min>
197 <max>33.0</max>
198 <wrap>false</wrap>
199 </binding>
200 </action>
201 <action>
202 <name>calibrate coarse</name>
203 <button>1</button>
204 <x>-81</x>
205 <y>-122</y>
206 <w>22</w>
207 <h>45</h>
208 <binding>
209 <command>property-adjust</command>
210 <property>/instrumentation/altimeter/setting-inhg</property>
211 <step>0.1</step>
212 <min>26.0</min>
213 <max>33.0</max>
214 <wrap>false</wrap>
215 </binding>
216 </action>
217 </actions>
218 </PropertyList>