C172 with highly experimental, unfinished 3-D cockpit mockup using
[fg:toms-fgdata.git] / Aircraft / c172 / Panels / c172-trans-panel.xml
1 <?xml version="1.0"?>
2
3 <!--
4 Cessna 172 Skyhawk panel.
5 October 2000
6 John Check <j4strngs@rockfish.net>
7 _______________________________________________________________________
8
9 This is a panel 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 panel's background texture and
12 the location (and optionally, size) of the instruments that will
13 appear on the panel.
14
15 Each instrument is, itself, defined in an XML-encoded property list
16 in a separate file.
17
18 Co-ordinates are relative to the *bottom* left corner of the screen
19 (as in OpenGL).  The total FlightGear window is always considered to
20 be 1024x768, whatever its actual display size on the screen.  All
21 paths are relative to $FG_ROOT.
22
23 Note that the name of the element defining each instrument must be
24 different, or else instrument definitions will be overwritten:
25 that's not particularly XML-ish, but that's how property lists
26 work in FlightGear right now.
27
28 Each instrument has its own preferred width and height, but you can
29 override those by providing <w>..</w> and <h>..</h> properties with the
30 <x>...</x> and <y>...</y> properties.
31 -->
32
33 <!DOCTYPE PropertyList SYSTEM "panel.dtd">
34
35 <PropertyList>
36
37  <name>Cessna C172 Skyhawk IFR Panel</name>
38  <background>Aircraft/c172/Panels/Textures/transparent-bg.rgb</background>
39  <w>1424</w>
40  <h>288</h>
41
42  <instruments>
43 <!-- comical tail number -->
44   <instrument include="../../Instruments/logo.xml">
45    <name>Tail Number Plate</name>
46    <x>412</x>
47    <y>415</y>
48    <w>72</w>
49    <h>32</h>
50   </instrument>
51
52 <!-- engine guage cluster -->  
53   <instrument include="../../Instruments/clock.xml">
54    <name>Chronometer</name>
55    <x>177</x>
56    <y>316</y>
57    <w>74</w>
58    <h>74</h>
59   </instrument>
60
61   <instrument include="../../Instruments/egt.xml">
62    <name>Exhaust Gas Temperature Gauge</name>
63    <x>177</x>
64    <y>242</y>
65    <w>74</w>
66    <h>74</h>
67   </instrument>
68
69   <instrument include="../../Instruments/fuel.xml">
70    <name>Fuel Gauge</name>
71    <x>100</x>
72    <y>242</y>
73    <w>74</w>
74    <h>74</h>
75   </instrument>
76
77   <instrument include="../../Instruments/oil.xml">
78    <name>Oil Gauge</name>
79    <x>100</x>
80    <y>165</y>
81    <w>74</w>
82    <h>74</h>
83   </instrument>
84   
85   <instrument include="../../Instruments/vacamp.xml">
86    <name>Vacuum Pressure Gauge</name>
87    <x>177</x>
88    <y>165</y>
89    <w>74</w>
90    <h>74</h>
91   </instrument>
92
93 <!-- end engine gauges cluster -->
94
95 <!-- engine controls cluster -->  
96  
97   <instrument include="../../Instruments/rpm.xml">
98    <name>RPM Gauge</name>
99    <x>542</x>
100    <y>69</y>
101    <w>120</w>
102    <h>120</h>
103   </instrument>
104
105   <instrument include="../../Instruments/throttle-knob.xml">
106    <name>Throttle Knob</name>
107    <x>785</x>
108    <y>50</y>
109   </instrument>
110
111   <instrument include="../../Instruments/mixture-knob.xml">
112    <name>Fuel Mixture Knob</name>
113    <x>865</x>
114    <y>50</y>
115   </instrument>
116
117   <instrument include="../../Instruments/single-magneto-switch.xml">
118    <name>Magneto switch panel</name>
119    <x>137</x>
120    <y>48</y>
121   </instrument>
122
123 <!-- end engine controls cluster -->
124   
125 <!-- controls visual feedback cluster -->  
126
127   <instrument include="../../Instruments/flap.xml">
128    <name>Flaps Control</name>
129    <x>950</x>
130    <y>55</y>
131   </instrument>
132
133   <instrument include="../../Instruments/brakes.xml">
134    <name>Brake Indicator Light</name>
135    <x>412</x>
136    <y>120</y>
137   </instrument>
138
139   <instrument include="../../Instruments/controls.xml">
140    <name>Control Position Indicators</name>
141    <x>412</x>
142    <y>60</y>
143    <w>90</w>
144    <h>90</h>
145   </instrument>
146
147 <!-- end controls visual feedback cluster -->
148
149 <!-- sacred six -->
150
151   <instrument include="../../Instruments/asi-160-knot.xml">
152    <name>Airspeed Indicator</name>
153    <x>279</x>
154    <y>335</y>
155    <w>128</w>
156    <h>128</h>
157   </instrument>
158
159   <instrument include="../../Instruments/attitude-indicator.xml">
160    <name>Attitude Gyro</name>
161    <x>412</x>
162    <y>335</y>
163    <w>128</w>
164    <h>128</h>
165   </instrument>
166
167   <instrument include="../../Instruments/altimeter.xml">
168    <name>Altimeter</name>
169    <x>542</x>
170    <y>335</y>
171    <w>120</w>
172    <h>120</h>
173   </instrument>
174
175   <instrument include="../../Instruments/turn.xml">
176    <name>Turn Coordinator</name>
177    <x>279</x>
178    <y>202</y>
179    <w>120</w>
180    <h>120</h>
181   </instrument>
182
183   <instrument include="../../Instruments/gyro.xml">
184    <name>Directional Gyro</name>
185    <x>412</x>
186    <y>202</y>
187    <w>120</w>
188    <h>120</h>
189   </instrument>
190
191   <instrument include="../../Instruments/vertical.xml">
192    <name>Vertical Velocity Indicator</name>
193    <x>542</x>
194    <y>202</y>
195    <w>120</w>
196    <h>120</h>
197   </instrument>
198
199 <!-- end sacred six -->
200
201 <!-- radio nav instruments --> 
202   <instrument include="../../Instruments/nav1.xml">
203    <name>VOR 1 Gauge</name>
204    <x>675</x>
205    <y>335</y>
206    <w>120</w>
207    <h>120</h>
208   </instrument>
209
210   <instrument include="../../Instruments/nav1.xml">
211   <name>VOR 2 Gauge</name>
212   <params>
213    <nav-to-flag>/radios/nav[1]/to-flag</nav-to-flag>
214    <nav-from-flag>/radios/nav[1]/from-flag</nav-from-flag>
215    <nav-radial-selected>/radios/nav[1]/radials/selected-deg</nav-radial-selected>
216    <nav-gs-needle-deflection>/radios/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
217    <nav-heading-needle-deflection>/radios/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
218     <nav-has-gs-needle>/sim/instrument-options/nav[1]/has-gs-needle</nav-has-gs-needle>
219     <nav-needles-pivot>/sim/instrument-options/nav[1]/needles-pivot</nav-needles-pivot>
220   </params>
221   <x>675</x>
222   <y>202</y>
223   <w>120</w>
224   <h>120</h>
225   </instrument> 
226   <instrument include="../../Instruments/adf.xml">
227    <name>ADF Gauge</name>
228    <x>675</x>
229    <y>69</y>
230    <w>120</w>
231    <h>120</h>
232   </instrument>
233
234
235 <!-- end radio nav instruments -->
236
237
238 <!-- radio stack -->
239
240   <instrument include="../../Instruments/markerbeacon.xml">
241    <name>Marker Beacon Indicators</name>
242    <x>786</x>
243    <y>361</y>
244    </instrument>
245
246   <instrument include="../../Instruments/navcom-radio.xml">
247    <name>NavCom 1 Radio</name>
248    <x>880</x>
249    <y>315</y>
250   </instrument>
251
252   <instrument include="../../Instruments/navcom-radio.xml">
253    <name>NavCom 2 Radio</name>
254    <params>
255     <comm-freq-selected-prop>/radios/comm[1]/frequencies/selected-mhz</comm-freq-selected-prop>
256     <comm-freq-standby-prop>/radios/comm[1]/frequencies/standby-mhz</comm-freq-standby-prop>
257     <nav-freq-selected-prop>/radios/nav[1]/frequencies/selected-mhz</nav-freq-selected-prop>
258     <nav-freq-standby-prop>/radios/nav[1]/frequencies/standby-mhz</nav-freq-standby-prop>
259     <nav-morse-id-volume-prop>/radios/nav[1]/volume</nav-morse-id-volume-prop>
260     <nav-morse-ident-toggle-prop>/radios/nav[1]/ident</nav-morse-ident-toggle-prop>
261    </params>
262    <x>880</x>
263    <y>250</y>
264   </instrument>
265   
266   <instrument include="../../Instruments/adf-radio.xml">
267    <name>ADF Radio</name>
268    <x>880</x>
269    <y>185</y>
270   </instrument>
271
272   <instrument include="../../Instruments/autopilot.xml">
273    <name>Autopilot</name>
274    <x>880</x>
275    <y>127</y>
276   </instrument>
277
278 <!-- end radio stack -->
279
280   <instrument include="../../Instruments/magcompass.xml">
281    <name>Magnetic Compass</name>
282    <x>768</x>
283    <y>497</y>
284   </instrument>
285
286  </instruments>
287
288
289 </PropertyList>
290