Fixed adf radio placement.
[fg:toms-fgdata.git] / Aircraft / c172 / Panels / c172-ifr-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/panel-bg.rgb</background>
39  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-01.rgb</multibackground>
40  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-02.rgb</multibackground>
41  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-03.rgb</multibackground>
42  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-04.rgb</multibackground>
43  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-03.rgb</multibackground>
44  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-04.rgb</multibackground>
45  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-07.rgb</multibackground>
46  <multibackground>Aircraft/c172/Panels/Textures/c172r-panel-08.rgb</multibackground>
47  <w>1424</w>
48  <h>488</h>
49  <y-offset>0</y-offset>
50  <view-height>500</view-height>
51
52  <instruments>
53 <!--
54   <instrument include="../../Instruments/num.xml">
55    <name>numbertape</name>
56    <x>768</x>
57    <y>685</y>
58   </instrument>
59   -->
60 <!-- comical tail number -->
61   <instrument include="../../Instruments/logo.xml">
62    <name>Tail Number Plate</name>
63    <x>412</x>
64    <y>415</y>
65    <w>72</w>
66    <h>32</h>
67   </instrument>
68
69 <!-- engine guage cluster -->  
70   <instrument include="../../Instruments/clock.xml">
71    <name>Chronometer</name>
72    <x>177</x>
73    <y>316</y>
74    <w>74</w>
75    <h>74</h>
76   </instrument>
77
78   <instrument include="../../Instruments/egt.xml">
79    <name>Exhaust Gas Temperature Gauge</name>
80    <x>177</x>
81    <y>242</y>
82    <w>74</w>
83    <h>74</h>
84   </instrument>
85
86   <instrument include="../../Instruments/fuel.xml">
87    <name>Fuel Gauge</name>
88    <x>100</x>
89    <y>242</y>
90    <w>74</w>
91    <h>74</h>
92   </instrument>
93
94   <instrument include="../../Instruments/oil.xml">
95    <name>Oil Gauge</name>
96    <x>100</x>
97    <y>165</y>
98    <w>74</w>
99    <h>74</h>
100   </instrument>
101   
102   <instrument include="../../Instruments/vacamp.xml">
103    <name>Vacuum Pressure Gauge</name>
104    <x>177</x>
105    <y>165</y>
106    <w>74</w>
107    <h>74</h>
108   </instrument>
109
110 <!--
111   <instrument include="../../Instruments/single-manifold-pressure.xml">
112    <name>Manifold Pressure Gauge</name>
113    <x>279</x>
114    <y>69</y>
115    <w>120</w>
116    <h>120</h>
117   </instrument>
118 -->
119 <!-- end engine gauges cluster -->
120
121 <!-- engine controls cluster -->  
122  
123   <instrument include="../../Instruments/rpm.xml">
124    <name>RPM Gauge</name>
125    <x>542</x>
126    <y>69</y>
127    <w>120</w>
128    <h>120</h>
129   </instrument>
130
131   <instrument include="../../Instruments/throttle-knob.xml">
132    <name>Throttle Knob</name>
133    <x>785</x>
134    <y>50</y>
135   </instrument>
136
137   <instrument include="../../Instruments/mixture-knob.xml">
138    <name>Fuel Mixture Knob</name>
139    <x>865</x>
140    <y>50</y>
141   </instrument>
142
143   <instrument include="../../Instruments/single-magneto-switch.xml">
144    <name>Magneto switch panel</name>
145    <x>137</x>
146    <y>48</y>
147   </instrument>
148
149 <!-- end engine controls cluster -->
150   
151 <!-- controls visual feedback cluster -->  
152
153   <instrument include="../../Instruments/flap.xml">
154    <name>Flaps Control</name>
155    <x>950</x>
156    <y>55</y>
157   </instrument>
158
159   <instrument include="../../Instruments/brakes.xml">
160    <name>Brake Indicator Light</name>
161    <x>412</x>
162    <y>120</y>
163   </instrument>
164
165   <instrument include="../../Instruments/controls.xml">
166    <name>Control Position Indicators</name>
167    <x>412</x>
168    <y>60</y>
169    <w>90</w>
170    <h>90</h>
171   </instrument>
172
173 <!-- end controls visual feedback cluster -->
174
175 <!-- sacred six -->
176
177   <instrument include="../../Instruments/asi-160-knot.xml">
178    <name>Airspeed Indicator</name>
179    <x>279</x>
180    <y>335</y>
181    <w>128</w>
182    <h>128</h>
183   </instrument>
184
185   <instrument include="../../Instruments/attitude-indicator.xml">
186    <name>Attitude Gyro</name>
187    <x>412</x>
188    <y>335</y>
189    <w>128</w>
190    <h>128</h>
191   </instrument>
192
193   <instrument include="../../Instruments/altimeter.xml">
194    <name>Altimeter</name>
195    <x>542</x>
196    <y>335</y>
197    <w>120</w>
198    <h>120</h>
199   </instrument>
200
201   <instrument include="../../Instruments/turn.xml">
202    <name>Turn Coordinator</name>
203    <x>279</x>
204    <y>202</y>
205    <w>120</w>
206    <h>120</h>
207   </instrument>
208
209   <instrument include="../../Instruments/hsi.xml">
210    <name>Directional Gyro</name>
211    <x>412</x>
212    <y>202</y>
213    <w>120</w>
214    <h>120</h>
215   </instrument>
216
217   <instrument include="../../Instruments/vertical.xml">
218    <name>Vertical Velocity Indicator</name>
219    <x>542</x>
220    <y>202</y>
221    <w>120</w>
222    <h>120</h>
223   </instrument>
224
225 <!-- end sacred six -->
226
227 <!-- radio nav instruments --> 
228
229   <instrument include="../../Instruments/nav1.xml">
230   <name>VOR 2 Gauge</name>
231   <params>
232    <nav-to-flag>/radios/nav[1]/to-flag</nav-to-flag>
233    <nav-from-flag>/radios/nav[1]/from-flag</nav-from-flag>
234    <nav-radial-selected>/radios/nav[1]/radials/selected-deg</nav-radial-selected>
235    <nav-gs-needle-deflection>/radios/nav[1]/gs-needle-deflection</nav-gs-needle-deflection>
236    <nav-heading-needle-deflection>/radios/nav[1]/heading-needle-deflection</nav-heading-needle-deflection>
237     <nav-has-gs-needle>/sim/instrument-options/nav[1]/has-gs-needle</nav-has-gs-needle>
238     <nav-needles-pivot>/sim/instrument-options/nav[1]/needles-pivot</nav-needles-pivot>
239   </params>
240   <x>675</x>
241   <y>335</y>
242   <w>120</w>
243   <h>120</h>
244   </instrument>
245
246
247 <!-- end radio nav instruments -->
248
249
250 <!-- radio stack -->
251
252
253   <instrument include="../../Instruments/dme.xml">
254    <name>DME Display</name>
255    <x>880</x>
256    <y>361</y>
257    <w>122</w>
258    <h>59</h>
259   </instrument>
260
261   <instrument include="../../Instruments/markerbeacon.xml">
262    <name>Marker Beacon Indicators</name>
263    <x>786</x>
264    <y>361</y>
265    </instrument>
266
267   <instrument include="../../Instruments/navcom-radio.xml">
268    <name>NavCom 1 Radio</name>
269    <x>880</x>
270    <y>297</y>
271   </instrument>
272
273   <instrument include="../../Instruments/navcom-radio.xml">
274    <name>NavCom 2 Radio</name>
275    <params>
276     <comm-freq-selected-prop>/radios/comm[1]/frequencies/selected-mhz</comm-freq-selected-prop>
277     <comm-freq-standby-prop>/radios/comm[1]/frequencies/standby-mhz</comm-freq-standby-prop>
278     <nav-freq-selected-prop>/radios/nav[1]/frequencies/selected-mhz</nav-freq-selected-prop>
279     <nav-freq-standby-prop>/radios/nav[1]/frequencies/standby-mhz</nav-freq-standby-prop>
280     <nav-morse-id-volume-prop>/radios/nav[1]/volume</nav-morse-id-volume-prop>
281     <nav-morse-ident-toggle-prop>/radios/nav[1]/ident</nav-morse-ident-toggle-prop>
282    </params>
283    <x>880</x>
284    <y>232</y>
285   </instrument>
286   
287   <instrument include="../../Instruments/adf-radio.xml">
288    <name>ADF Radio</name>
289    <x>880</x>
290    <y>167</y>
291   </instrument>
292
293   <instrument include="../../Instruments/autopilot.xml">
294    <name>Autopilot</name>
295    <x>880</x>
296    <y>121</y>
297   </instrument>
298
299 <!-- end radio stack -->
300
301   <instrument include="../../Instruments/magcompass.xml">
302    <name>Magnetic Compass</name>
303    <x>768</x>
304    <y>497</y>
305   </instrument>
306  </instruments>
307
308
309 </PropertyList>