Debian Codegraph @

Aircraft/Instruments/egt.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <!--
4 Default EGT/fuel-flow gauge.
5
6 Started summer 2000 by David Megginson, [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>EGT/Fuel-Flow Gauge</name>
28 <w-base>120</w-base>
29 <h-base>120</h-base>
30
31 <params>
32 <engine-egt-select>/engines[0]/engine[0]/egt-degf</engine-egt-select>
33 <engine-fuel-flow-select>/engines[0]/engine[0]/fuel-flow-gph</engine-fuel-flow-select>
34 </params>
35
36 <layers>
37
38 <layer>
39 <name>gauge face</name>
40 <texture>
41 <path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
42 <x1>0.376</x1>
43 <y1>0.01</y1>
44 <x2>0.7425</x2>
45 <y2>0.374</y2>
46 </texture>
47 <w>102</w>
48 <h>102</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 <y1>0.0</y1>
57 <x2>1.0</x2>
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 <layer>
74 <name>egt needle</name>
75 <texture>
76 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
77 <x1>0.8</x1>
78 <y1>0.78125</y1>
79 <x2>0.8375</x2>
80 <y2>1.0</y2>
81 </texture>
82 <w>6</w>
83 <h>36</h>
84 <transformations>
85 <transformation>
86 <type>x-shift</type>
87 <offset>-46</offset>
88 </transformation>
89 <transformation>
90 <type>rotation</type>
91 <property alias="../../../../../params/engine-egt-select"/>
92 <min>50.0</min>
93 <max>1600.0</max>
94 <scale>-0.03</scale>
95 <offset>-230</offset>
96 </transformation>
97 <transformation>
98 <type>y-shift</type>
99 <offset>19</offset>
100 </transformation>
101 </transformations>
102 </layer>
103
104 <layer>
105 <name>fuel flow needle</name>
106 <texture>
107 <path>Aircraft/Instruments/Textures/misc-1.rgb</path>
108 <x1>0.8</x1>
109 <y1>0.78125</y1>
110 <x2>0.8375</x2>
111 <y2>1.0</y2>
112 </texture>
113 <w>6</w>
114 <h>36</h>
115 <transformations>
116 <transformation>
117 <type>x-shift</type>
118 <offset>46</offset>
119 </transformation>
120 <transformation>
121 <type>rotation</type>
122 <property alias="../../../../../params/engine-fuel-flow-select"/>
123 <min>0.0</min>
124 <max>20.0</max>
125 <scale>4.25</scale>
126 <offset>-135</offset>
127 </transformation>
128 <transformation>
129 <type>y-shift</type>
130 <offset>19</offset>
131 </transformation>
132 </transformations>
133 </layer>
134
135 <layer>
136 <name>gauge labels</name>
137 <texture>
138 <path>Aircraft/Instruments/Textures/egt-fuel.rgb</path>
139 <x1>0.0078125</x1>
140 <y1>0.0</y1>
141 <x2>0.359375</x2>
142 <y2>0.359375</y2>
143 </texture>
144 <transformations>
145 <transformation>
146 <type>x-shift</type>
147 <offset>-3</offset>
148 </transformation>
149 </transformations>
150 <w>100</w>
151 <h>100</h>
152 </layer>
153 <layer>
154 <name>glare shield</name>
155 <texture>
156 <path>Aircraft/Instruments/Textures/bezel1.rgb</path>
157 <x1>0.5</x1>
158 <y1>0.0</y1>
159 <x2>1.0</x2>
160 <y2>0.5</y2>
161 </texture>
162 <w>114</w>
163 <h>114</h>
164 <transformations>
165 <transformation>
166 <type>x-shift</type>
167 <offset>2</offset>
168 </transformation>
169 <transformation>
170 <type>y-shift</type>
171 <offset>-2</offset>
172 </transformation>
173 </transformations>
174 </layer>
175
176 </layers>
177
178 </PropertyList>