Debian Codegraph @

Aircraft/Instruments/egt-dual.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Dual EGT gauge.
5
6 December 2001 by John Check, [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 <PropertyList>
27 <name>Dual EGT</name>
28 <w-base>120</w-base>
29 <h-base>120</h-base>
30
31 <params>
32 <engine-egt0-select>/engines[0]/engine[0]/egt-degf</engine-egt0-select>
33 <engine-egt1-select>/engines[0]/engine[1]/egt-degf</engine-egt1-select>
34 </params>
35
36 <layers>
37
38 <layer>
39 <name>gauge face</name>
40 <texture>
41 <path>Aircraft/Instruments/Textures/faces-6.rgb</path>
42 <x1>0.5</x1>
43 <x2>1.0</x2>
44 <y1>0.0</y1>
45 <y2>0.5</y2>
46 </texture>
47 <w>100</w>
48 <h>100</h>
49 </layer>
50 <!--
51 <layer>
52 <name>bezel</name>
53 <texture>
54 <path>Aircraft/Instruments/Textures/bezel.rgb</path>
55 <x1>0.0</x1>
56 <x2>1.0</x2>
57 <y1>0.0</y1>
58 <y2>1.0</y2>
59 </texture>
60 <transformations>
61 <transformation>
62 <type>y-shift</type>
63 <offset>-0</offset>
64 </transformation>
65 <transformation>
66 <type>x-shift</type>
67 <offset>-0</offset>
68 </transformation>
69 </transformations>
70 <w>120</w>
71 <h>120</h>
72 </layer>
73 -->
74 <layer>
75 <name>egt 0 needle</name>
76 <texture>
77 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
78 <x1>0.8</x1>
79 <x2>0.8375</x2>
80 <y1>0.78125</y1>
81 <y2>1.0</y2>
82 </texture>
83 <w>4</w>
84 <h>36</h>
85 <transformations>
86 <transformation>
87 <type>x-shift</type>
88 <offset>-46</offset>
89 </transformation>
90 <transformation>
91 <type>rotation</type>
92 <property alias="../../../../../params/engine-egt0-select"/>
93 <min>50.0</min>
94 <max>1600.0</max>
95 <scale>-0.052</scale>
96 <offset>-230</offset>
97 </transformation>
98 <transformation>
99 <type>y-shift</type>
100 <offset>19</offset>
101 </transformation>
102 </transformations>
103 </layer>
104
105 <layer>
106 <name>egt 1 needle</name>
107 <texture>
108 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
109 <x1>0.8</x1>
110 <y1>0.78125</y1>
111 <x2>0.8375</x2>
112 <y2>1.0</y2>
113 </texture>
114 <w>4</w>
115 <h>36</h>
116 <transformations>
117 <transformation>
118 <type>x-shift</type>
119 <offset>46</offset>
120 </transformation>
121 <transformation>
122 <type>rotation</type>
123 <property alias="../../../../../params/engine-egt1-select"/>
124 <min>50.0</min>
125 <max>1600.0</max>
126 <scale>0.052</scale>
127 <offset>230</offset>
128 </transformation>
129 <transformation>
130 <type>y-shift</type>
131 <offset>19</offset>
132 </transformation>
133 </transformations>
134 </layer>
135
136 <layer>
137 <name>gauge top left</name>
138 <texture>
139 <path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
140 <x1>0.921875</x1>
141 <x2>1.0</x2>
142 <y1>0.0</y1>
143 <y2>0.29296875</y2>
144 </texture>
145 <transformations>
146 <transformation>
147 <type>x-shift</type>
148 <offset>-40</offset>
149 </transformation>
150 </transformations>
151 <w>20</w>
152 <h>78</h>
153 </layer>
154 <layer>
155 <name>gauge top right</name>
156 <texture>
157 <path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
158 <x1>0.8125</x1>
159 <x2>0.890625</x2>
160 <y1>0.0</y1>
161 <y2>0.29296875</y2>
162 </texture>
163 <transformations>
164 <transformation>
165 <type>x-shift</type>
166 <offset>40</offset>
167 </transformation>
168 </transformations>
169 <w>20</w>
170 <h>78</h>
171 </layer>
172
173 <layer>
174 <name>glare shield</name>
175 <texture>
176 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
177 <x1>0.5</x1>
178 <y1>0.0</y1>
179 <x2>1.0</x2>
180 <y2>0.5</y2>
181 </texture>
182 <w>114</w>
183 <h>114</h>
184 <transformations>
185 <transformation>
186 <type>x-shift</type>
187 <offset>2</offset>
188 </transformation>
189 <transformation>
190 <type>y-shift</type>
191 <offset>-2</offset>
192 </transformation>
193 </transformations>
194 </layer>
195
196 </layers>
197
198 </PropertyList>