Debian Codegraph @

Aircraft/Instruments/vacamp.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Vacuum/Amp gauge for Cessna172.
5
6 October 2000 John Check <[email protected]>
7 ________________________________________________________________________________
8
9 This is an instrument configuration file for the open-source flight
10 simulator FlightGear (www.flightgear.org). The file is an XML-encoded
11 FlightGear property list defining the instrument's layers and actions.
12
13 Each instrument is composed of layers stacked on top of each other.
14 A layer may be a texture (with transparent parts to show the layers
15 underneath), text, or a special layer that switches between two
16 others (say, to turn an indicator light on or off). Each layer can
17 move independently in proportion to a property value, and text
18 can be generated from property values as well: all of the layer's
19 movements are defined as transformations.
20
21 Actions are hotspots on the instrument that will respond to a mouse
22 click. Actions always modify the values of properties, either by
23 adjusting them, toggling them, or swaping them with other
24 properties' values.
25 -->
26
27 <PropertyList>
28 <name>Vac/Amp Gauge</name>
29 <w-base>120</w-base>
30 <h-base>120</h-base>
31
32 <params>
33 <engine-vac-select>/systems/vacuum/suction-inhg</engine-vac-select>
34 <engine-amp-select>/engines[0]/engine[0]/amp-v</engine-amp-select>
35 </params>
36 <layers>
37
38 <layer>
39 <name>gauge face</name>
40 <texture>
41 <path>Aircraft/Instruments/Textures/vac-amp-oil.rgb</path>
42 <x1>0.0</x1>
43 <y1>0.484375</y1>
44 <x2>0.4921875</x2>
45 <y2>0.9609375</y2>
46 </texture>
47 <w>110</w>
48 <h>110</h>
49 </layer>
50
51 <layer>
52 <name>vac needle</name>
53 <texture>
54 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
55 <x1>0.8</x1>
56 <y1>0.78</y1>
57 <x2>0.8375</x2>
58 <y2>1.0</y2>
59 </texture>
60 <w>6</w>
61 <h>36</h>
62 <transformations>
63 <transformation>
64 <type>x-shift</type>
65 <offset>-46</offset>
66 </transformation>
67 <transformation>
68 <type>y-shift</type>
69 <offset>2</offset>
70 </transformation>
71 <transformation>
72 <type>rotation</type>
73 <property alias="../../../../../params/engine-vac-select"/>
74 <min>3.0</min>
75 <max>7.0</max>
76 <scale>-20.0</scale>
77 <offset>190</offset>
78 </transformation>
79 <transformation>
80 <type>y-shift</type>
81 <offset>19</offset>
82 </transformation>
83 </transformations>
84 </layer>
85
86 <layer>
87 <name>amp needle</name>
88 <texture>
89 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
90 <x1>0.8</x1>
91 <y1>0.78</y1>
92 <x2>0.8375</x2>
93 <y2>1.0</y2>
94 </texture>
95 <w>6</w>
96 <h>36</h>
97 <transformations>
98 <transformation>
99 <type>x-shift</type>
100 <offset>46</offset>
101 </transformation>
102 <transformation>
103 <type>y-shift</type>
104 <offset>2</offset>
105 </transformation>
106 <transformation>
107 <type>rotation</type>
108 <property alias="../../../../../params/engine-amp-select"/>
109 <min>-60.0</min>
110 <max>60.0</max>
111 <scale>0.6</scale>
112 <offset>-90</offset>
113 </transformation>
114 <transformation>
115 <type>y-shift</type>
116 <offset>19</offset>
117 </transformation>
118 </transformations>
119 </layer>
120 <layer>
121 <name>bezel</name>
122 <texture>
123 <path>Aircraft/Instruments/Textures/bezel.rgb</path>
124 <x1>0.0</x1>
125 <y1>0.0</y1>
126 <x2>1.0</x2>
127 <y2>1.0</y2>
128 </texture>
129 <transformations>
130 <transformation>
131 <type>y-shift</type>
132 <offset>0</offset>
133 </transformation>
134 <transformation>
135 <type>x-shift</type>
136 <offset>-0</offset>
137 </transformation>
138 </transformations>
139 <w>120</w>
140 <h>120</h>
141 </layer>
142
143
144 <layer>
145 <name>gauge face</name>
146 <texture>
147 <path>Aircraft/Instruments/Textures/vac-amp-oil.rgb</path>
148 <x1>0.015625</x1>
149 <y1>0.0</y1>
150 <x2>0.484375</x2>
151 <y2>0.48375</y2>
152 </texture>
153 <transformations>
154 <transformation>
155 <type>y-shift</type>
156 <offset>1</offset>
157 </transformation>
158 <transformation>
159 <type>x-shift</type>
160 <offset>1</offset>
161 </transformation>
162 </transformations>
163 <w>105</w>
164 <h>105</h>
165 </layer>
166
167 <layer>
168 <name>glare shield</name>
169 <texture>
170 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
171 <x1>0.5</x1>
172 <y1>0.0</y1>
173 <x2>1.0</x2>
174 <y2>0.5</y2>
175 </texture>
176 <w>114</w>
177 <h>114</h>
178 <transformations>
179 <transformation>
180 <type>x-shift</type>
181 <offset>2</offset>
182 </transformation>
183 <transformation>
184 <type>y-shift</type>
185 <offset>-2</offset>
186 </transformation>
187 </transformations>
188 </layer>
189
190 </layers>
191
192 </PropertyList>