482
edits
(→Exporting the result: command key to lower case) |
(→Saving to XML: files to find the output file) |
||
Line 90: | Line 90: | ||
Alternatively, if you press the ''e'' key while developing scenery with Ufo, fgfs will generate an xml file with the dump of your current work in a "ufo-model-export.xml" file. | Alternatively, if you press the ''e'' key while developing scenery with Ufo, fgfs will generate an xml file with the dump of your current work in a "ufo-model-export.xml" file. | ||
Under unix the file is saved to ~/.fgfs | Under unix the file is saved to directory ''~/.fgfs'' | ||
Under windows it is saved to ''%APPDATA%\flightgear.org''. Under a typical Windows installation the file will look something like this: | |||
C:\Documents and Settings\{YOURUSERNAME}\Application Data\flightgear.org | |||
(Note that some FlightGear 1.9.1 users have reported that pressing ''e'' gives an error message to the console and fails to save the XML file. The [http://www.flightgear.org/forums/viewtopic.php?f=2&t=3170&st=0&sk=t&sd=a&sid=a14a7a3a2f2084f44295880fca7e2932 problem is outlined here] and [http://www.flightgear.org/forums/viewtopic.php?f=2&t=3170&st=0&sk=t&sd=a&start=15 solution given here]--simply add a line to ~flightgear~/data/Nasal/IORules reading "WRITE ALLOW $FG_HOME/ufo-model-export.xml".) | |||
==Loading the XML file as part of FlightGear scenery== | |||
You can later reload this XML file with --config= command-line parameter: | You can later reload this XML file with --config= command-line parameter: | ||
Example for Linux: | Example for Linux: | ||
fgfs --config=$HOME/.fgfs/ufo-model-export.xml | fgfs --config=$HOME/.fgfs/ufo-model-export.xml | ||
[[Category:Howto|Place 3D objects with the UFO]] | [[Category:Howto|Place 3D objects with the UFO]] | ||
[[Category:Scenery enhancement|Place 3D objects with the UFO]] | [[Category:Scenery enhancement|Place 3D objects with the UFO]] |
edits