Howto:Add shared models manually: Difference between revisions

Jump to navigation Jump to search
m
→‎STG file format: split section into two
m (→‎Step 4: fixed mistakes)
m (→‎STG file format: split section into two)
Line 93: Line 93:
  OBJECT_SHARED Models/Structures/vordme.xml -122.37389 37.61948 -0.404 0
  OBJECT_SHARED Models/Structures/vordme.xml -122.37389 37.61948 -0.404 0


== 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]]) 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