Howto:Add shared models manually: Difference between revisions

Jump to navigation Jump to search
m
→‎XML file format: Fix link to Fgfsrc
m (→‎STG file format: split section into two)
m (→‎XML file format: Fix link to Fgfsrc)
Line 94: Line 94:


== XML file format ==
== XML file format ==
Alternately, there is a way to include this same information in XML configuration files that are loaded at runtime; see [[Howto: Place 3D objects with the UFO]] or <tt>$FG_ROOT/Docs/README.scenery</tt> for more details.  This approach has the advantage of keeping your new scenery clearly separate from the standard scenery files without having to create your own custom scenery directory structure.  Further, you can then manually control whether or not to load it at run-time, using the --config option on the command line. You can also include it in one of the standard startup files (such as [[.fgfsrc]]) but this will load it into memory every time you start FG, whether or not you are flying in the area.  If you place the scenery information in .stg files, it is only loaded into memory when needed.
Alternately, there is a way to include this same information in XML configuration files that are loaded at runtime; see [[Howto: Place 3D objects with the UFO]] or <tt>$FG_ROOT/Docs/README.scenery</tt> for more details.  This approach has the advantage of keeping your new scenery clearly separate from the standard scenery files without having to create your own custom scenery directory structure.  Further, you can then manually control whether or not to load it at run-time, using the --config option on the command line. You can also include it in one of the standard startup files (such as [[Fgfsrc|.fgfsrc]]) but this will load it into memory every time you start FG, whether or not you are flying in the area.  If you place the scenery information in .stg files, it is only loaded into memory when needed.


[[Category:Howto|Add shared models manually]]
[[Category:Howto|Add shared models manually]]
[[Category:Scenery enhancement|Add shared models manually]]
[[Category:Scenery enhancement|Add shared models manually]]

Navigation menu