Debian Codegraph @

Aircraft/Instruments/ann-c172s.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 C172S Annunciator
5
6 Started May 2003 by Curtis L. Olson <[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
26 Note: this file depends on the $FG_ROOT/Aircraft/Generic/annunciator.nas
27 file being included. Add this to your *-set.xml file:
28
29 <nasal>
30 <annunciator>
31 <file>Aircraft/Generic/annunciator.nas</file>
32 </annunciator>
33 </nasal>
34 -->
35
36 <PropertyList>
37 <name>C172S Annunciator</name>
38 <w-base>119</w-base>
39 <h-base>39</h-base>
40
41 <layers>
42 <layer>
43 <name>background</name>
44 <texture>
45 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
46 <x1>0.6</x1>
47 <y1>0.2</y1>
48 <x2>0.9</x2>
49 <y2>0.3</y2>
50 </texture>
51 <w>119</w>
52 <h>39</h>
53 </layer>
54
55 <layer>
56 <name>volts</name>
57 <condition>
58 <property>/instrumentation/annunciator/volts</property>
59 </condition>
60 <texture>
61 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
62 <x1>0.0625</x1>
63 <y1>0.789</y1>
64 <x2>0.465</x2>
65 <y2>0.898</y2>
66 </texture>
67 <transformations>
68 <transformation>
69 <type>x-shift</type>
70 <offset>-47</offset>
71 </transformation>
72 </transformations>
73 <w>15</w>
74 <h>15</h>
75 </layer>
76
77 <layer>
78 <name>left fuel tank</name>
79 <condition>
80 <property>/instrumentation/annunciator/fuel-left</property>
81 </condition>
82 <texture>
83 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
84 <x1>0.0625</x1>
85 <y1>0.347</y1>
86 <x2>0.117</x2>
87 <y2>0.457</y2>
88 </texture>
89 <transformations>
90 <transformation>
91 <type>x-shift</type>
92 <offset>-34</offset>
93 </transformation>
94 </transformations>
95 <w>4</w>
96 <h>15</h>
97 </layer>
98
99 <layer>
100 <name>shared fuel</name>
101 <condition>
102 <or>
103 <property>/instrumentation/annunciator/fuel-left</property>
104 <property>/instrumentation/annunciator/fuel-right</property>
105 </or>
106 </condition>
107 <texture>
108 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
109 <x1>0.145</x1>
110 <y1>0.347</y1>
111 <x2>0.793</x2>
112 <y2>0.457</y2>
113 </texture>
114 <transformations>
115 <transformation>
116 <type>x-shift</type>
117 <offset>-18</offset>
118 </transformation>
119 </transformations>
120 <w>27</w>
121 <h>15</h>
122 </layer>
123
124 <layer>
125 <name>right fuel tank</name>
126 <condition>
127 <property>/instrumentation/annunciator/fuel-right</property>
128 </condition>
129 <texture>
130 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
131 <x1>0.832</x1>
132 <y1>0.347</y1>
133 <x2>0.906</x2>
134 <y2>0.457</y2>
135 </texture>
136 <transformations>
137 <transformation>
138 <type>x-shift</type>
139 <offset>-2</offset>
140 </transformation>
141 </transformations>
142 <w>4</w>
143 <h>15</h>
144 </layer>
145
146 <layer>
147 <name>left vacuum</name>
148 <condition>
149 <property>/instrumentation/annunciator/vacuum-left</property>
150 </condition>
151 <texture>
152 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
153 <x1>0.0625</x1>
154 <y1>0.496</y1>
155 <x2>0.117</x2>
156 <y2>0.609</y2>
157 </texture>
158 <transformations>
159 <transformation>
160 <type>x-shift</type>
161 <offset>6</offset>
162 </transformation>
163 </transformations>
164 <w>4</w>
165 <h>15</h>
166 </layer>
167
168 <layer>
169 <name>shared vacuum</name>
170 <condition>
171 <or>
172 <property>/instrumentation/annunciator/vacuum-left</property>
173 <property>/instrumentation/annunciator/vacuum-right</property>
174 </or>
175 </condition>
176 <texture>
177 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
178 <x1>0.145</x1>
179 <y1>0.496</y1>
180 <x2>0.461</x2>
181 <y2>0.609</y2>
182 </texture>
183 <transformations>
184 <transformation>
185 <type>x-shift</type>
186 <offset>15</offset>
187 </transformation>
188 </transformations>
189 <w>12</w>
190 <h>15</h>
191 </layer>
192
193 <layer>
194 <name>right vacuum</name>
195 <condition>
196 <property>/instrumentation/annunciator/vacuum-right</property>
197 </condition>
198 <texture>
199 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
200 <x1>0.51</x1>
201 <y1>0.496</y1>
202 <x2>0.58</x2>
203 <y2>0.609</y2>
204 </texture>
205 <transformations>
206 <transformation>
207 <type>x-shift</type>
208 <offset>24</offset>
209 </transformation>
210 </transformations>
211 <w>4</w>
212 <h>15</h>
213 </layer>
214
215 <layer>
216 <name>oil pressure</name>
217 <condition>
218 <property>/instrumentation/annunciator/oil-pressure</property>
219 </condition>
220 <texture>
221 <path>Aircraft/Instruments/Textures/ann-c172s.rgb</path>
222 <x1>0.0625</x1>
223 <y1>0.641</y1>
224 <x2>0.684</x2>
225 <y2>0.75</y2>
226 </texture>
227 <transformations>
228 <transformation>
229 <type>x-shift</type>
230 <offset>42</offset>
231 </transformation>
232 </transformations>
233 <w>24</w>
234 <h>15</h>
235 </layer>
236
237 </layers>
238
239 </PropertyList>
240