Add explicit types for all non-string properties. This will help a
[fg:toms-fgdata.git] / preferences.xml
1 <?xml version="1.0"?>
2
3 <!--
4 ************************************************************************
5 Global defaults for FlightGear property values.
6
7 Started September 2000 by David Megginson, david@megginson.com
8 ************************************************************************
9 -->
10
11 <PropertyList>
12
13  <!-- General simulation preferences -->
14  <sim>
15   <aircraft>c172</aircraft>
16   <virtual-cockpit type="bool">false</virtual-cockpit>
17   <startup>
18    <xsize type="int">800</xsize>
19    <ysize type="int">600</ysize>
20    <splash-screen type="bool">true</splash-screen>
21    <intro-music type="bool">false</intro-music>
22    <game-mode type="bool">false</game-mode>
23    <airport-id>KSFO</airport-id>
24    <fullscreen type="bool">false</fullscreen>
25    <units>feet</units>
26    <trim type="bool">true</trim>
27    <browser-app>netscape</browser-app><!--  help viewer -->
28   </startup>
29   <model-hz type="int">120</model-hz>
30   <sound type="bool">true</sound>
31   <speed-up type="double">1.0</speed-up>
32   <field-of-view type="double">55.0</field-of-view>
33   <panel>
34    <path>Aircraft/c172/Panels/c172-vfr-panel.xml</path>
35    <visibility type="bool">false</visibility>
36    <jitter type="bool">false</jitter>
37   </panel>
38   <hud>
39    <path>Huds/Default/default.xml</path>
40    <visibility type="bool">false</visibility>
41   </hud>
42   <instrument-options>
43    <nav n="0">
44     <has-gs-needle type="bool">true</has-gs-needle>
45     <needles-pivot type="bool">true</needles-pivot>
46    </nav>
47    <nav n="1">
48     <has-gs-needle type="bool">false</has-gs-needle>
49     <needles-pivot type="bool">true</needles-pivot>
50    </nav>
51    <hsi n="0">
52     <has-gs-needle type="bool">true</has-gs-needle>
53    </hsi>
54    <dg>
55     <style type="int">0</style>
56    </dg>
57   </instrument-options>
58   <input>
59    <selected>
60     <engine n="0" type="bool">true</engine>
61     <engine n="1" type="bool">false</engine>
62     <engine n="2" type="bool">false</engine>
63     <engine n="3" type="bool">false</engine>
64    </selected>
65   </input>
66
67   <current-view type="int">0</current-view>
68   <number-views type="int">3</number-views>
69
70   <!-- "tower" positioned to right of runway at KSFO -->
71   <tower>
72     <longitude-deg type="double">-122.362175</longitude-deg>
73     <latitude-deg type="double">37.616559</latitude-deg>
74     <altitude-ft type="double">54</altitude-ft>
75     <roll-deg type="double">0</roll-deg>
76     <pitch-deg type="double">0</pitch-deg>
77     <heading-deg type="double">0</heading-deg>
78   </tower>
79
80
81   <view>
82     <name>Cockpit View</name>
83     <type>lookfrom</type>
84     <internal type="bool">false</internal>
85     <config>
86       <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
87       <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
88       <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
89       <eye-heading-deg-path>/orientation/heading-deg</eye-heading-deg-path>
90       <eye-pitch-deg-path>/orientation/pitch-deg</eye-pitch-deg-path>
91       <eye-roll-deg-path>/orientation/roll-deg</eye-roll-deg-path>
92     </config>
93   </view>
94
95
96   <view>
97     <name>Chase View</name>
98     <type>lookat</type>
99     <config>
100       <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
101       <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
102       <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
103       <eye-heading-deg-path>/orientation/heading-deg</eye-heading-deg-path>
104       <eye-pitch-deg-path>/orientation/pitch-deg</eye-pitch-deg-path>
105       <eye-roll-deg-path>/orientation/roll-deg</eye-roll-deg-path>
106
107       <target-lat-deg-path>/position/latitude-deg</target-lat-deg-path>
108       <target-lon-deg-path>/position/longitude-deg</target-lon-deg-path>
109       <target-alt-ft-path>/position/altitude-ft</target-alt-ft-path>
110       <target-heading-deg-path>/orientation/heading-deg</target-heading-deg-path>
111       <target-pitch-deg-path>/orientation/pitch-deg</target-pitch-deg-path>
112       <target-roll-deg-path>/orientation/roll-deg</target-roll-deg-path>
113
114       <x-offset-m type="double">0</x-offset-m>
115       <y-offset-m type="double">0</y-offset-m>
116       <z-offset-m type="double">-25</z-offset-m>
117     </config>
118   </view>
119
120
121   <view>
122     <name>Tower View</name>
123     <type>lookat</type>
124     <config>
125       <eye-lat-deg-path>/sim/tower/latitude-deg</eye-lat-deg-path>
126       <eye-lon-deg-path>/sim/tower/longitude-deg</eye-lon-deg-path>
127       <eye-alt-ft-path>/sim/tower/altitude-ft</eye-alt-ft-path>
128       <eye-roll-deg-path>/sim/tower/roll-deg</eye-roll-deg-path>
129       <eye-pitch-deg-path>/sim/tower/pitch-deg</eye-pitch-deg-path>
130       <eye-heading-deg-path>/sim/tower/heading-deg</eye-heading-deg-path>
131
132       <target-lat-deg-path>/position/latitude-deg</target-lat-deg-path>
133       <target-lon-deg-path>/position/longitude-deg</target-lon-deg-path>
134       <target-alt-ft-path>/position/altitude-ft</target-alt-ft-path>
135       <target-roll-deg-path>/orientation/roll-deg</target-roll-deg-path>
136       <target-pitch-deg-path>/orientation/pitch-deg</target-pitch-deg-path>
137       <target-heading-deg-path>/orientation/heading-deg</target-heading-deg-path>
138
139       <x-offset-m type="double">0</x-offset-m>
140       <y-offset-m type="double">0</y-offset-m>
141       <z-offset-m type="double">0</z-offset-m>
142     </config>
143   </view>
144
145   <!-- chase view -->
146   <view n="1">
147    <desc>chase view</desc>
148    <default>
149     <pilot-offset>
150      <heading-deg type="double">180.0</heading-deg>
151      <pitch-deg type="double">0</pitch-deg>
152      <radius-m type="double">25</radius-m>
153     </pilot-offset>
154    </default>
155   </view>
156
157  </sim>
158
159
160  <!-- Position -->
161
162  <position>
163   <altitude-ft type="double">-9999</altitude-ft>
164  </position>
165
166
167  <!-- Velocities -->
168
169  <velocities>
170   <speed-north-fps type="double">0.0</speed-north-fps>
171   <speed-east-fps type="double">0.0</speed-east-fps>
172   <speed-down-fps type="double">0.0</speed-down-fps>
173  </velocities>
174
175
176  <!-- Orientation -->
177
178  <orientation>
179   <heading-deg type="double">270</heading-deg>
180   <roll-deg type="double">0.0</roll-deg>
181   <pitch-deg type="double">0.424</pitch-deg>
182  </orientation>
183
184
185  <!-- Environment -->
186
187  <environment>
188   <visibility-m type="double">16000</visibility-m>
189  </environment>
190
191
192  <!-- Controls -->
193
194  <controls>
195
196   <aileron type="double">0.0</aileron>
197   <aileron-trim type="double">0.0</aileron-trim>
198
199   <elevator type="double">0.0</elevator>
200   <elevator-trim type="double">0.0</elevator-trim>
201
202   <rudder type="double">0.0</rudder>
203   <rudder-trim type="double">0.0</rudder-trim>
204
205   <flaps type="double">0.0</flaps>
206
207   <starter n="0" type="bool">false</starter>
208   <magnetos n="0" type="int">0</magnetos>
209   <throttle n="0" type="double">0.0</throttle>
210   <mixture n="0" type="double">1.0</mixture>
211   <propeller-pitch n="0" type="double">1.0</propeller-pitch>
212
213   <starter n="1" type="bool">false</starter>
214   <magnetos n="1" type="int">0</magnetos>
215   <throttle n="1" type="double">0.0</throttle>
216   <mixture n="1" type="double">1.0</mixture>
217   <propeller-pitch n="1" type="double">1.0</propeller-pitch>
218
219   <starter n="2" type="bool">false</starter>
220   <magnetos n="2" type="int">0</magnetos>
221   <throttle n="2" type="double">0.0</throttle>
222   <mixture n="2" type="double">1.0</mixture>
223   <propeller-pitch n="2" type="double">1.0</propeller-pitch>
224
225   <starter n="3" type="bool">false</starter>
226   <magnetos n="3" type="int">0</magnetos>
227   <throttle n="3" type="double">0.0</throttle>
228   <mixture n="3" type="double">1.0</mixture>
229   <propeller-pitch n="3" type="double">1.0</propeller-pitch>
230
231   <brakes n="0" type="double">0.0</brakes>
232   <brakes n="1" type="double">0.0</brakes>
233   <brakes n="2" type="double">0.0</brakes>
234
235   <gear-down type="double">1.0</gear-down>
236
237  </controls>
238
239
240  <!-- User input devices -->
241
242  <input>
243
244   <!-- included externally -->
245   <keyboard include="keyboard.xml"/>
246
247   <!-- included externally -->
248   <joysticks include="joysticks.xml"/>
249
250   <!-- included externally -->
251   <mice include="mice.xml"/>
252
253  </input>
254
255
256  <!-- Radio settings -->
257
258  <radios>
259
260   <dme>
261    <switch-position type="int">0</switch-position>
262   </dme>
263
264   <comm n="0">
265    <frequencies>
266     <selected-mhz type="double">118.00</selected-mhz>
267     <standby-mhz type="double">115.8</standby-mhz>
268    </frequencies>
269   </comm>
270
271   <comm n="1">
272    <frequencies>
273     <selected-mhz type="double">111.80</selected-mhz>
274     <standby-mhz type="double">115.70</standby-mhz>
275    </frequencies>
276   </comm>
277
278   <nav n="0">
279    <frequencies>
280     <selected-mhz type="double">117.3</selected-mhz>
281     <standby-mhz type="double">110.3</standby-mhz>
282    </frequencies>
283    <radials>
284     <selected-deg type="double">119.0</selected-deg>
285    </radials>
286   </nav>
287
288   <nav n="1">
289    <frequencies>
290     <selected-mhz type="double">111.80</selected-mhz>
291     <standby-mhz type="double">115.70</standby-mhz>
292    </frequencies>
293    <radials>
294     <selected-deg type="double">029.0</selected-deg>
295    </radials>
296   </nav>
297
298   <adf>
299    <frequencies>
300     <selected-khz type="double">266.0</selected-khz>
301     <standby-khz type="double">300.0</standby-khz>
302    </frequencies>
303    <rotation-deg type="double">90</rotation-deg>
304   </adf>
305
306  </radios>
307
308  <!-- Instruments -->
309
310  <!-- this is here because the datum isn't retained on a reset -->
311
312  <steam>
313    <altimeter-datum-mb type="double">1013.25</altimeter-datum-mb>
314  </steam>
315
316  </PropertyList>
317
318 <!-- end of preferences.xml -->
319