XR Flight Operations Manual Version 3.0
Copyright 2006-2018 Douglas Beachy. All Rights Reserved.
18
It is also possible to do
both
in a given scenario file,
in which case configuration
settings are applied in the following order:
1.
The default configuration file (e.g.,
$ORBITER_HOME\Config\DeltaGliderXR1Prefs.cfg
).
2.
The override configuration file, if any (e.g.,
$ORBITER_HOME\Config\MyShipName.xrcfg
).
3.
Any
CONFIG_OVERRIDE_<settingname>
settings specified in the scenario file.
Settings applied
later
override any earlier settings. Each XR vessel includes example
scenarios demonstrating how to override default settings using both methods:
Method 1:
Scenarios\<shipname>\Configuration File Override Example
1.scn
uses a corresponding
.xrcfg
file.
Method 2:
Scenarios\<shipname>\Configuration File Override Example
2.scn
sets
CONFIG_OVERRIDE_
values in the scenario file.
The first method is generally preferred because you can override
any
XR preference
setting by setting a custom value for it in the
.xrcfg
file(s) for the XR vessel(s) in
that scenario. For technical reasons the second method is limited to overriding only
the settings listed below:
CONFIG_OVERRIDE_MainFuelISP=#
CONFIG_OVERRIDE_SCRAMFuelISP=#
CONFIG_OVERRIDE_LOXConsumptionMultiplier=#
CONFIG_OVERRIDE_APUFuelBurnRate=#
CONFIG_OVERRIDE_CoolantHeatingRate=#
(
…w
here # is a number for that configuration setting.)
If you need to override any other settings, or if want to easily apply a given group of
settings to multiple scenarios, use method one instead.
As an example
, let’s say you want to create a custom set of XR settings for a trip
from Earth to Mars for your XR2. Y
ou don’t need to edit the default
$ORBITER_HOME\Config\XR2RavenstarPrefs.cfg
file, although you certainly may if
you wish. If you would rather just create a custom configuration, however, there are
two steps:
1.
Create a new
.xrcfg
file in the
Config
directory what contains only those
settings you wish to override. [Note that you can override as few or as many
settings as you wish.] There is a pre-installed sample file for the XR2
demonstrating this named
XR2-EXAMPLE.xrcfg
.
2.
Modify your Orbiter scenario file in which you want to use your new Mars-
configured XR2 and rename the XR2 vessel to match the filename of the
.xrcfg
file you just created:
XR2-EXAMPLE
, in this case.