1
0
Fork 0
fgdata/preferences.xml
david 03a0ad18eb Finished setting up configurable default viewing properties, and
implement them for the C172P 3D model.  Look near the top of
preferences.xml for an example.  The recognized properties are as
follow, with vanilla defaults in parentheses:

  /sim/view/config/default-field-of-view-deg (30)
  /sim/view/config/default-pitch-deg (0)
  /sim/view/config/front-direction-deg (0)
  /sim/view/config/front-left-direction-deg (45)
  /sim/view/config/left-direction-deg (90)
  /sim/view/config/back-left-direction-deg (135)
  /sim/view/config/back-direction-deg (180)
  /sim/view/config/back-right-direction-deg (225)
  /sim/view/config/right-direction-deg (270)
  /sim/view/config/front-right-direction-deg (315)

These are particularly useful for the view from inside a 3D aircraft
model.
2002-11-02 21:41:53 +00:00

402 lines
12 KiB
XML

<?xml version="1.0"?>
<!--
************************************************************************
Global defaults for FlightGear property values.
Started September 2000 by David Megginson, david@megginson.com
************************************************************************
-->
<PropertyList>
<!-- General simulation preferences -->
<sim>
<intl include="Translations/locale.xml"/>
<aircraft>c172</aircraft>
<virtual-cockpit type="bool">false</virtual-cockpit>
<startup>
<xsize type="int">800</xsize>
<ysize type="int">600</ysize>
<splash-screen type="bool">true</splash-screen>
<intro-music type="bool">false</intro-music>
<game-mode type="bool">false</game-mode>
<airport-id>KSFO</airport-id>
<fullscreen type="bool">false</fullscreen>
<units>feet</units>
<trim type="bool">true</trim>
<browser-app>netscape</browser-app><!-- help viewer -->
</startup>
<rendering>
<random-objects>true</random-objects>
</rendering>
<model-hz type="int">120</model-hz>
<sound type="bool">true</sound>
<speed-up type="double">1.0</speed-up>
<current-view>
<field-of-view type="double">55.0</field-of-view>
</current-view>
<panel>
<path>Aircraft/c172/Panels/c172-vfr-panel.xml</path>
<visibility type="bool">false</visibility>
<jitter type="bool">false</jitter>
</panel>
<hud>
<path>Huds/Default/default.xml</path>
<visibility type="bool">false</visibility>
</hud>
<instrument-options>
<nav n="0">
<has-gs-needle type="bool">true</has-gs-needle>
<needles-pivot type="bool">true</needles-pivot>
</nav>
<nav n="1">
<has-gs-needle type="bool">false</has-gs-needle>
<needles-pivot type="bool">true</needles-pivot>
</nav>
<hsi n="0">
<has-gs-needle type="bool">true</has-gs-needle>
</hsi>
<dg>
<style type="int">0</style>
</dg>
</instrument-options>
<input>
<selected>
<engine n="0" type="bool">true</engine>
<engine n="1" type="bool">false</engine>
<engine n="2" type="bool">false</engine>
<engine n="3" type="bool">false</engine>
</selected>
</input>
<number-views type="int">4</number-views>
<!-- "tower" positioned to right of runway at KSFO -->
<tower>
<longitude-deg type="double">-122.362175</longitude-deg>
<latitude-deg type="double">37.616559</latitude-deg>
<altitude-ft type="double">54</altitude-ft>
<roll-deg type="double">0</roll-deg>
<pitch-deg type="double">0</pitch-deg>
<heading-deg type="double">0</heading-deg>
</tower>
<view>
<name>Cockpit View</name>
<type>lookfrom</type>
<internal type="bool">false</internal>
<config>
<from-model type="bool">true</from-model>
<from-model-idx type="int">0</from-model-idx>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<default-field-of-view-deg type="double">55.0</default-field-of-view-deg>
<default-pitch-deg type="double">0</default-pitch-deg>
<front-direction-deg type="double">0</front-direction-deg>
<front-left-direction-deg type="double">45</front-left-direction-deg>
<left-direction-deg type="double">90</left-direction-deg>
<back-left-direction-deg type="double">135</back-left-direction-deg>
<back-direction-deg type="double">180</back-direction-deg>
<back-right-direction-deg type="double">225</back-right-direction-deg>
<right-direction-deg type="double">270</right-direction-deg>
<front-right-direction-deg type="double">315</front-right-direction-deg>
</config>
</view>
<view>
<name>Chase View</name>
<type>lookat</type>
<config>
<from-model type="bool">false</from-model>
<from-model-idx type="int">0</from-model-idx>
<eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path>
<eye-heading-deg-path>/orientation/heading-deg</eye-heading-deg-path>
<at-model type="bool">true</at-model>
<at-model-idx type="int">0</at-model-idx>
<ground-level-nearplane-m type="double">0.5f</ground-level-nearplane-m>
<x-offset-m type="double">0</x-offset-m>
<y-offset-m type="double">0</y-offset-m>
<z-offset-m type="double">-25</z-offset-m>
</config>
</view>
<view>
<name>Tower View</name>
<type>lookat</type>
<config>
<eye-lat-deg-path>/sim/tower/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/sim/tower/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/sim/tower/altitude-ft</eye-alt-ft-path>
<eye-roll-deg-path>/sim/tower/roll-deg</eye-roll-deg-path>
<eye-pitch-deg-path>/sim/tower/pitch-deg</eye-pitch-deg-path>
<eye-heading-deg-path>/sim/tower/heading-deg</eye-heading-deg-path>
<at-model type="bool">true</at-model>
<at-model-idx type="int">0</at-model-idx>
<ground-level-nearplane-m type="double">10.0f</ground-level-nearplane-m>
<x-offset-m type="double">0</x-offset-m>
<y-offset-m type="double">0</y-offset-m>
<z-offset-m type="double">0</z-offset-m>
</config>
</view>
<view>
<name>Tower View Look From</name>
<type>lookfrom</type>
<config>
<eye-lat-deg-path>/sim/tower/latitude-deg</eye-lat-deg-path>
<eye-lon-deg-path>/sim/tower/longitude-deg</eye-lon-deg-path>
<eye-alt-ft-path>/sim/tower/altitude-ft</eye-alt-ft-path>
<eye-roll-deg-path>/sim/tower/roll-deg</eye-roll-deg-path>
<eye-pitch-deg-path>/sim/tower/pitch-deg</eye-pitch-deg-path>
<eye-heading-deg-path>/sim/tower/heading-deg</eye-heading-deg-path>
<ground-level-nearplane-m type="double">10.0f</ground-level-nearplane-m>
<x-offset-m type="double">0</x-offset-m>
<y-offset-m type="double">0</y-offset-m>
<z-offset-m type="double">0</z-offset-m>
</config>
</view>
</sim>
<!-- Position -->
<position>
<altitude-ft type="double">-9999</altitude-ft>
</position>
<!-- Velocities -->
<velocities>
<speed-north-fps type="double">0.0</speed-north-fps>
<speed-east-fps type="double">0.0</speed-east-fps>
<speed-down-fps type="double">0.0</speed-down-fps>
</velocities>
<!-- Orientation -->
<orientation>
<heading-deg type="double">270</heading-deg>
<roll-deg type="double">0.0</roll-deg>
<pitch-deg type="double">0.424</pitch-deg>
</orientation>
<!-- Environment -->
<environment>
<visibility-m type="double">16000</visibility-m>
<temperature-sea-level-degc type="double">15</temperature-sea-level-degc>
<dewpoint-sea-level-degc type="double">5</dewpoint-sea-level-degc>
<pressure-sea-level-inhg type="double">29.92</pressure-sea-level-inhg>
<wind-from-heading-deg type="double">270</wind-from-heading-deg>
<clouds>
<status>true</status>
<layer n="0">
<type>mostly-sunny</type>
<elevation-ft>5000</elevation-ft>
<thickness-ft>600</thickness-ft>
<transition-ft>150</transition-ft>
<span-m>40000</span-m>
</layer>
<layer n="1">
<type>cirrus</type>
<elevation-ft>19500</elevation-ft>
<thickness-ft>65</thickness-ft>
<transition-ft>25</transition-ft>
<span-m>40000</span-m>
</layer>
<layer n="2">
<type>clear</type>
<span-m>40000</span-m>
</layer>
<layer n="3">
<type>clear</type>
<span-m>40000</span-m>
</layer>
<layer n="4">
<type>clear</type>
<span-m>40000</span-m>
</layer>
</clouds>
<params>
<control-fdm-atmosphere type="bool">false</control-fdm-atmosphere>
<base-wind-speed-kt type="double">0</base-wind-speed-kt>
<gust-wind-speed-kt type="double">0</gust-wind-speed-kt>
</params>
</environment>
<!-- Controls -->
<controls>
<aileron type="double">0.0</aileron>
<aileron-trim type="double">0.0</aileron-trim>
<elevator type="double">0.0</elevator>
<elevator-trim type="double">0.0</elevator-trim>
<rudder type="double">0.0</rudder>
<rudder-trim type="double">0.0</rudder-trim>
<flaps type="double">0.0</flaps>
<starter n="0" type="bool">false</starter>
<magnetos n="0" type="int">0</magnetos>
<throttle n="0" type="double">0.0</throttle>
<mixture n="0" type="double">1.0</mixture>
<propeller-pitch n="0" type="double">1.0</propeller-pitch>
<starter n="1" type="bool">false</starter>
<magnetos n="1" type="int">0</magnetos>
<throttle n="1" type="double">0.0</throttle>
<mixture n="1" type="double">1.0</mixture>
<propeller-pitch n="1" type="double">1.0</propeller-pitch>
<starter n="2" type="bool">false</starter>
<magnetos n="2" type="int">0</magnetos>
<throttle n="2" type="double">0.0</throttle>
<mixture n="2" type="double">1.0</mixture>
<propeller-pitch n="2" type="double">1.0</propeller-pitch>
<starter n="3" type="bool">false</starter>
<magnetos n="3" type="int">0</magnetos>
<throttle n="3" type="double">0.0</throttle>
<mixture n="3" type="double">1.0</mixture>
<propeller-pitch n="3" type="double">1.0</propeller-pitch>
<brakes n="0" type="double">0.0</brakes>
<brakes n="1" type="double">0.0</brakes>
<brakes n="2" type="double">0.0</brakes>
<gear-down type="double">1.0</gear-down>
</controls>
<!-- User input devices -->
<input>
<!-- included externally -->
<keyboard include="keyboard.xml"/>
<!-- included externally -->
<joysticks include="joysticks.xml"/>
<!-- included externally -->
<mice include="mice.xml"/>
</input>
<!-- Radio settings -->
<radios>
<dme>
<switch-position type="int">0</switch-position>
</dme>
<comm n="0">
<frequencies>
<selected-mhz type="double">118.00</selected-mhz>
<standby-mhz type="double">115.8</standby-mhz>
</frequencies>
</comm>
<comm n="1">
<frequencies>
<selected-mhz type="double">111.80</selected-mhz>
<standby-mhz type="double">115.70</standby-mhz>
</frequencies>
</comm>
<nav n="0">
<frequencies>
<selected-mhz type="double">115.80</selected-mhz>
<standby-mhz type="double">111.70</standby-mhz>
</frequencies>
<radials>
<selected-deg type="double">280.0</selected-deg>
</radials>
</nav>
<nav n="1">
<frequencies>
<selected-mhz type="double">116.80</selected-mhz>
<standby-mhz type="double">113.90</standby-mhz>
</frequencies>
<radials>
<selected-deg type="double">029.0</selected-deg>
</radials>
</nav>
<kr-87>
<inputs>
<rotation-deg type="double">90</rotation-deg>
</inputs>
<outputs>
<selected-khz type="double">379.0</selected-khz>
<standby-khz type="double">341.0</standby-khz>
</outputs>
</kr-87>
</radios>
<!-- Instruments -->
<instrumentation>
<airspeed-indicator>
<serviceable type="bool" archive="y">true</serviceable>
</airspeed-indicator>
<altimeter>
<serviceable type="bool" archive="y">true</serviceable>
<setting-inhg type="double" archive="y">29.92</setting-inhg>
</altimeter>
<attitude-indicator>
<serviceable type="bool" archive="y">true</serviceable>
<spin type="double" archive="y">0.0</spin>
</attitude-indicator>
<heading-indicator>
<serviceable type="bool" archive="y">true</serviceable>
<spin type="double" archive="y">0.0</spin>
<offset-deg type="double" archive="y">4.5</offset-deg> <!-- just for fun -->
</heading-indicator>
<vertical-speed-indicator>
<serviceable type="bool" archive="y">true</serviceable>
</vertical-speed-indicator>
</instrumentation>
<systems>
<pitot>
<serviceable type="bool" archive="y">true</serviceable>
</pitot>
<static>
<serviceable type="bool" archive="y">true</serviceable>
<pressure-inhg type="double" archive="y">29.92</pressure-inhg>
</static>
<vacuum>
<serviceable type="bool" archive="y">true</serviceable>
</vacuum>
</systems>
</PropertyList>
<!-- end of preferences.xml -->