Debian Codegraph @

Aircraft/Instruments/wxradar.xml

raw symbols SCIP
1 <PropertyList>
2 <name>Radar</name>
3 <w-base>256</w-base>
4 <h-base>256</h-base>
5 <layers>
6
7 <layer>
8 <name>background</name>
9 <w>256</w>
10 <h>256</h>
11 <texture>
12 <path>Aircraft/Instruments/Textures/radar_background.rgb</path>
13 <x1>0</x1>
14 <y1>0</y1>
15 <x2>1</x2>
16 <y2>1</y2>
17 </texture>
18 </layer>
19
20 <layer>
21 <name>target1 - range 40</name>
22 <w>20</w>
23 <h>13</h>
24 <condition>
25 <and>
26 <less-than>
27 <property>ai/models/thunderstorm[0]/radar/range-nm</property>
28 <value>43</value>
29 </less-than>
30 <equals>
31 <property>/instrumentation/radar/range</property>
32 <value>40</value>
33 </equals>
34 </and>
35 </condition>
36 <texture>
37 <path>Aircraft/Instruments/Textures/radar_misc.rgb</path>
38 <x1>0.078125</x1>
39 <y1>0.605468</y1>
40 <x2>0.414062</x2>
41 <y2>0.8125</y2>
42 </texture>
43 <transformations>
44 <transformation>
45 <type>x-shift</type>
46 <property>ai/models/thunderstorm[0]/radar/x-shift</property>
47 <scale>2.55</scale>
48 </transformation>
49 <transformation>
50 <type>y-shift</type>
51 <property>ai/models/thunderstorm[0]/radar/y-shift</property>
52 <scale>2.55</scale>
53 </transformation>
54 <transformation>
55 <type>rotation</type>
56 <property>ai/models/thunderstorm[0]/radar/rotation</property>
57 <offset>-90</offset>
58 </transformation>
59 </transformations>
60 </layer>
61
62 <layer>
63 <name>target1 - range 20</name>
64 <w>20</w>
65 <h>13</h>
66 <condition>
67 <and>
68 <less-than>
69 <property>ai/models/thunderstorm[0]/radar/range-nm</property>
70 <value>22</value>
71 </less-than>
72 <equals>
73 <property>/instrumentation/radar/range</property>
74 <value>20</value>
75 </equals>
76 </and>
77 </condition>
78 <texture>
79 <path>Aircraft/Instruments/Textures/radar_misc.rgb</path>
80 <x1>0.078125</x1>
81 <y1>0.605468</y1>
82 <x2>0.414062</x2>
83 <y2>0.8125</y2>
84 </texture>
85 <transformations>
86 <transformation>
87 <type>x-shift</type>
88 <property>ai/models/thunderstorm[0]/radar/x-shift</property>
89 <scale>5.1</scale>
90 </transformation>
91 <transformation>
92 <type>y-shift</type>
93 <property>ai/models/thunderstorm[0]/radar/y-shift</property>
94 <scale>5.1</scale>
95 </transformation>
96 <transformation>
97 <type>rotation</type>
98 <property>ai/models/thunderstorm[0]/radar/rotation</property>
99 <offset>-90</offset>
100 </transformation>
101 </transformations>
102 </layer>
103
104 <layer>
105 <name>frame</name>
106 <w>256</w>
107 <h>256</h>
108 <texture>
109 <path>Aircraft/Instruments/Textures/radar_frame.rgb</path>
110 <x1>0</x1>
111 <y1>0</y1>
112 <x2>1</x2>
113 <y2>1</y2>
114 </texture>
115 </layer>
116
117 <layer>
118 <name>range knob</name>
119 <condition>
120 <equals>
121 <property>instrumentation/radar/range</property>
122 <value>20</value>
123 </equals>
124 </condition>
125 <w>22</w>
126 <h>22</h>
127 <texture>
128 <path>Aircraft/Instruments/Textures/radar_misc.rgb</path>
129 <x1>0.0273437</x1>
130 <y1>0.9101562</y1>
131 <x2>0.0898437</x2>
132 <y2>0.9765662</y2>
133 </texture>
134 <transformations>
135 <transformation>
136 <type>x-shift</type>
137 <offset>-108</offset>
138 </transformation>
139 <transformation>
140 <type>y-shift</type>
141 <offset>-112</offset>
142 </transformation>
143 <transformation>
144 <type>rotation</type>
145 <offset>-45</offset>
146 </transformation>
147 </transformations>
148 </layer>
149
150 <layer>
151 <name>range knob</name>
152 <condition>
153 <equals>
154 <property>instrumentation/radar/range</property>
155 <value>40</value>
156 </equals>
157 </condition>
158 <w>22</w>
159 <h>22</h>
160 <texture>
161 <path>Aircraft/Instruments/Textures/radar_misc.rgb</path>
162 <x1>0.0273437</x1>
163 <y1>0.9101562</y1>
164 <x2>0.0898437</x2>
165 <y2>0.9765662</y2>
166 </texture>
167 <transformations>
168 <transformation>
169 <type>x-shift</type>
170 <offset>-108</offset>
171 </transformation>
172 <transformation>
173 <type>y-shift</type>
174 <offset>-112</offset>
175 </transformation>
176 <transformation>
177 <type>rotation</type>
178 <offset>40</offset>
179 </transformation>
180 </transformations>
181 </layer>
182
183 <layer>
184 <name>altitude</name>
185 <type>text</type>
186 <font>led</font>
187 <point-size>6</point-size>
188 <color>
189 <red>0.96</red>
190 <green>1.0</green>
191 <blue>0.96</blue>
192 </color>
193 <chunks>
194 <chunk>
195 <type>number-value</type>
196 <property>ai/models/thunderstorm[0]/position/altitude-ft</property>
197 <scale>0.001</scale>
198 <format>%2.1f</format>
199 </chunk>
200 </chunks>
201 <transformations>
202 <transformation>
203 <type>x-shift</type>
204 <offset>85</offset>
205 </transformation>
206 <transformation>
207 <type>y-shift</type>
208 <offset>-121</offset>
209 </transformation>
210 </transformations>
211 </layer>
212
213 <layer>
214 <name>outer range ring</name>
215 <type>text</type>
216 <font>led</font>
217 <point-size>6</point-size>
218 <color>
219 <red>0.96</red>
220 <green>1.0</green>
221 <blue>0.96</blue>
222 </color>
223 <chunks>
224 <chunk>
225 <type>number-value</type>
226 <property>instrumentation/radar/range</property>
227 <format>%2.0f</format>
228 </chunk>
229 </chunks>
230 <transformations>
231 <transformation>
232 <type>x-shift</type>
233 <offset>-90</offset>
234 </transformation>
235 <transformation>
236 <type>y-shift</type>
237 <offset>66</offset>
238 </transformation>
239 </transformations>
240 </layer>
241
242 <layer>
243 <name>inner range ring</name>
244 <type>text</type>
245 <font>led</font>
246 <point-size>6</point-size>
247 <color>
248 <red>0.96</red>
249 <green>1.0</green>
250 <blue>0.96</blue>
251 </color>
252 <chunks>
253 <chunk>
254 <type>number-value</type>
255 <property>instrumentation/radar/range</property>
256 <scale>0.5</scale>
257 <format>%2.0f</format>
258 </chunk>
259 </chunks>
260 <transformations>
261 <transformation>
262 <type>x-shift</type>
263 <offset>-50</offset>
264 </transformation>
265 <transformation>
266 <type>y-shift</type>
267 <offset>32</offset>
268 </transformation>
269 </transformations>
270 </layer>
271
272 </layers>
273
274 <actions>
275
276 <action>
277 <name>set range 40</name>
278 <button>0</button>
279 <x>-120</x>
280 <y>-120</y>
281 <w>35</w>
282 <h>35</h>
283 <condition>
284 <equals>
285 <property>/instrumentation/radar/range</property>
286 <value>20</value>
287 </equals>
288 </condition>
289 <binding>
290 <command>property-assign</command>
291 <property>/instrumentation/radar/range</property>
292 <value>40</value>
293 </binding>
294 </action>
295
296 <action>
297 <name>set range 20</name>
298 <button>0</button>
299 <x>-120</x>
300 <y>-120</y>
301 <w>35</w>
302 <h>35</h>
303 <condition>
304 <equals>
305 <property>/instrumentation/radar/range</property>
306 <value>40</value>
307 </equals>
308 </condition>
309 <binding>
310 <command>property-assign</command>
311 <property>/instrumentation/radar/range</property>
312 <value>20</value>
313 </binding>
314 </action>
315
316 <action>
317 <name>minimize</name>
318 <button>0</button>
319 <x>112</x>
320 <y>112</y>
321 <w>16</w>
322 <h>16</h>
323 <binding>
324 <command>property-assign</command>
325 <property>/instrumentation/radar/minimized</property>
326 <value>true</value>
327 </binding>
328 </action>
329
330
331 </actions>
332
333
334
335 </PropertyList>