Debian Codegraph @

Aircraft/Instruments/markerbeacon.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2 <!--
3 Marker beacon indicator
4 March 2001
5 John Check <[email protected]>
6 _____________________________________________________________________
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 swapping them with other
23 properties' values.
24
25 -->
26
27 <PropertyList>
28 <name>marker beacon</name>
29 <w-base>60</w-base>
30 <h-base>22</h-base>
31
32 <layers>
33 <layer>
34 <name>backplate</name>
35 <texture>
36 <path>Aircraft/Instruments/Textures/flaps.rgb</path>
37 <x1>0.5</x1>
38 <y1>0.75</y1>
39 <x2>1.0</x2>
40 <y2>1.0</y2>
41 </texture>
42 </layer>
43 <!-- Outer Indicator -->
44 <layer>
45 <name>lamp</name>
46 <type>switch</type>
47 <layer>
48 <condition>
49 <property>/instrumentation/marker-beacon/outer</property>
50 </condition>
51 <name>on</name>
52 <texture>
53 <path>Aircraft/Instruments/Textures/led.rgb</path>
54 <x1>0.5</x1>
55 <y1>0.75</y1>
56 <x2>0.75</x2>
57 <y2>1.0</y2>
58 </texture>
59 <w>12</w>
60 <h>12</h>
61 <transformations>
62 <transformation>
63 <type>x-shift</type>
64 <offset>-20</offset>
65 </transformation>
66 </transformations>
67 </layer>
68 <layer>
69 <name>off</name>
70 <texture>
71 <path>Aircraft/Instruments/Textures/led.rgb</path>
72 <x1>0.25</x1>
73 <y1>0.75</y1>
74 <x2>0.5</x2>
75 <y2>1.0</y2>
76 </texture>
77 <w>12</w>
78 <h>12</h>
79 <transformations>
80 <transformation>
81 <type>x-shift</type>
82 <offset>-20</offset>
83 </transformation>
84 </transformations>
85 </layer>
86 </layer>
87 <layer>
88 <name>Lens-Outer</name>
89 <texture>
90 <path>Aircraft/Instruments/Textures/led.rgb</path>
91 <x1>0.75</x1>
92 <y1>0.0</y1>
93 <x2>1.0</x2>
94 <y2>0.25</y2>
95 </texture>
96 <w>12</w>
97 <h>12</h>
98 <transformations>
99 <transformation>
100 <type>x-shift</type>
101 <offset>-20</offset>
102 </transformation>
103 </transformations>
104 </layer>
105 <layer>
106 <name>Bezel-Outer</name>
107 <texture>
108 <path>Aircraft/Instruments/Textures/led.rgb</path>
109 <x1>0.0</x1>
110 <y1>0.75</y1>
111 <x2>0.25</x2>
112 <y2>1.0</y2>
113 </texture>
114 <w>12</w>
115 <h>12</h>
116 <transformations>
117 <transformation>
118 <type>x-shift</type>
119 <offset>-20</offset>
120 </transformation>
121 </transformations>
122 </layer>
123
124 <!-- Middle Indicator -->
125 <layer>
126 <name>lamp</name>
127 <type>switch</type>
128 <layer>
129 <condition>
130 <property>/instrumentation/marker-beacon/middle</property>
131 </condition>
132 <name>on</name>
133 <texture>
134 <path>Aircraft/Instruments/Textures/led.rgb</path>
135 <x1>0.5</x1>
136 <y1>0.75</y1>
137 <x2>0.75</x2>
138 <y2>1.0</y2>
139 </texture>
140 <w>12</w>
141 <h>12</h>
142 <transformations>
143 <transformation>
144 <type>x-shift</type>
145 <offset>0</offset>
146 </transformation>
147 </transformations>
148 </layer>
149 <layer>
150 <name>off</name>
151 <texture>
152 <path>Aircraft/Instruments/Textures/led.rgb</path>
153 <x1>0.25</x1>
154 <y1>0.75</y1>
155 <x2>0.5</x2>
156 <y2>1.0</y2>
157 </texture>
158 <w>12</w>
159 <h>12</h>
160 <transformations>
161 <transformation>
162 <type>x-shift</type>
163 <offset>0</offset>
164 </transformation>
165 </transformations>
166 </layer>
167 </layer>
168
169 <layer>
170 <name>Lens-Middle</name>
171 <texture>
172 <path>Aircraft/Instruments/Textures/led.rgb</path>
173 <x1>0.5</x1>
174 <y1>0.0</y1>
175 <x2>0.75</x2>
176 <y2>0.25</y2>
177 </texture>
178 <w>12</w>
179 <h>12</h>
180 <transformations>
181 <transformation>
182 <type>x-shift</type>
183 <offset>0</offset>
184 </transformation>
185 </transformations>
186 </layer>
187
188 <layer>
189 <name>Bezel-Middle</name>
190 <texture>
191 <path>Aircraft/Instruments/Textures/led.rgb</path>
192 <x1>0.0</x1>
193 <y1>0.75</y1>
194 <x2>0.25</x2>
195 <y2>1.0</y2>
196 </texture>
197 <w>12</w>
198 <h>12</h>
199 <transformations>
200 <transformation>
201 <type>x-shift</type>
202 <offset>0</offset>
203 </transformation>
204 </transformations>
205 </layer>
206
207 <!-- Inner Indicator -->
208 <layer>
209 <name>lamp</name>
210 <type>switch</type>
211 <layer>
212 <condition>
213 <property>/instrumentation/marker-beacon/inner</property>
214 </condition>
215 <name>on</name>
216 <texture>
217 <path>Aircraft/Instruments/Textures/led.rgb</path>
218 <x1>0.5</x1>
219 <y1>0.75</y1>
220 <x2>0.75</x2>
221 <y2>1.0</y2>
222 </texture>
223 <w>12</w>
224 <h>12</h>
225 <transformations>
226 <transformation>
227 <type>x-shift</type>
228 <offset>20</offset>
229 </transformation>
230 </transformations>
231 </layer>
232 <layer>
233 <name>off</name>
234 <texture>
235 <path>Aircraft/Instruments/Textures/led.rgb</path>
236 <x1>0.25</x1>
237 <y1>0.75</y1>
238 <x2>0.5</x2>
239 <y2>1.0</y2>
240 </texture>
241 <w>12</w>
242 <h>12</h>
243 <transformations>
244 <transformation>
245 <type>x-shift</type>
246 <offset>20</offset>
247 </transformation>
248 </transformations>
249 </layer>
250 </layer>
251 <layer>
252 <name>Lens-Inner</name>
253 <texture>
254 <path>Aircraft/Instruments/Textures/led.rgb</path>
255 <x1>0.0</x1>
256 <y1>0.25</y1>
257 <x2>0.25</x2>
258 <y2>0.5</y2>
259 </texture>
260 <w>12</w>
261 <h>12</h>
262 <transformations>
263 <transformation>
264 <type>x-shift</type>
265 <offset>20</offset>
266 </transformation>
267 </transformations>
268 </layer>
269 <layer>
270 <name>Bezel-Inner</name>
271 <texture>
272 <path>Aircraft/Instruments/Textures/led.rgb</path>
273 <x1>0.0</x1>
274 <y1>0.75</y1>
275 <x2>0.25</x2>
276 <y2>1.0</y2>
277 </texture>
278 <w>12</w>
279 <h>12</h>
280 <transformations>
281 <transformation>
282 <type>x-shift</type>
283 <offset>20</offset>
284 </transformation>
285 </transformations>
286 </layer>
287 </layers>
288 </PropertyList>