ea264c688c
lot, since otherwise a property that is never set or tied by FlightGear itself will always be kept as a string and converted on each access. That's why fgGetBool and friends could take up a lot of processor time sometimes.
319 lines
9 KiB
XML
319 lines
9 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>
|
|
<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>
|
|
<model-hz type="int">120</model-hz>
|
|
<sound type="bool">true</sound>
|
|
<speed-up type="double">1.0</speed-up>
|
|
<field-of-view type="double">55.0</field-of-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>
|
|
|
|
<current-view type="int">0</current-view>
|
|
<number-views type="int">3</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>
|
|
<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>
|
|
<eye-pitch-deg-path>/orientation/pitch-deg</eye-pitch-deg-path>
|
|
<eye-roll-deg-path>/orientation/roll-deg</eye-roll-deg-path>
|
|
</config>
|
|
</view>
|
|
|
|
|
|
<view>
|
|
<name>Chase View</name>
|
|
<type>lookat</type>
|
|
<config>
|
|
<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>
|
|
<eye-pitch-deg-path>/orientation/pitch-deg</eye-pitch-deg-path>
|
|
<eye-roll-deg-path>/orientation/roll-deg</eye-roll-deg-path>
|
|
|
|
<target-lat-deg-path>/position/latitude-deg</target-lat-deg-path>
|
|
<target-lon-deg-path>/position/longitude-deg</target-lon-deg-path>
|
|
<target-alt-ft-path>/position/altitude-ft</target-alt-ft-path>
|
|
<target-heading-deg-path>/orientation/heading-deg</target-heading-deg-path>
|
|
<target-pitch-deg-path>/orientation/pitch-deg</target-pitch-deg-path>
|
|
<target-roll-deg-path>/orientation/roll-deg</target-roll-deg-path>
|
|
|
|
<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>
|
|
|
|
<target-lat-deg-path>/position/latitude-deg</target-lat-deg-path>
|
|
<target-lon-deg-path>/position/longitude-deg</target-lon-deg-path>
|
|
<target-alt-ft-path>/position/altitude-ft</target-alt-ft-path>
|
|
<target-roll-deg-path>/orientation/roll-deg</target-roll-deg-path>
|
|
<target-pitch-deg-path>/orientation/pitch-deg</target-pitch-deg-path>
|
|
<target-heading-deg-path>/orientation/heading-deg</target-heading-deg-path>
|
|
|
|
<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>
|
|
|
|
<!-- chase view -->
|
|
<view n="1">
|
|
<desc>chase view</desc>
|
|
<default>
|
|
<pilot-offset>
|
|
<heading-deg type="double">180.0</heading-deg>
|
|
<pitch-deg type="double">0</pitch-deg>
|
|
<radius-m type="double">25</radius-m>
|
|
</pilot-offset>
|
|
</default>
|
|
</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>
|
|
</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">117.3</selected-mhz>
|
|
<standby-mhz type="double">110.3</standby-mhz>
|
|
</frequencies>
|
|
<radials>
|
|
<selected-deg type="double">119.0</selected-deg>
|
|
</radials>
|
|
</nav>
|
|
|
|
<nav n="1">
|
|
<frequencies>
|
|
<selected-mhz type="double">111.80</selected-mhz>
|
|
<standby-mhz type="double">115.70</standby-mhz>
|
|
</frequencies>
|
|
<radials>
|
|
<selected-deg type="double">029.0</selected-deg>
|
|
</radials>
|
|
</nav>
|
|
|
|
<adf>
|
|
<frequencies>
|
|
<selected-khz type="double">266.0</selected-khz>
|
|
<standby-khz type="double">300.0</standby-khz>
|
|
</frequencies>
|
|
<rotation-deg type="double">90</rotation-deg>
|
|
</adf>
|
|
|
|
</radios>
|
|
|
|
<!-- Instruments -->
|
|
|
|
<!-- this is here because the datum isn't retained on a reset -->
|
|
|
|
<steam>
|
|
<altimeter-datum-mb type="double">1013.25</altimeter-datum-mb>
|
|
</steam>
|
|
|
|
</PropertyList>
|
|
|
|
<!-- end of preferences.xml -->
|
|
|