36
edits
(General cleanup) |
(→Step 5) |
||
Line 51: | Line 51: | ||
=== Step 5 === | === Step 5 === | ||
Next locate a .stg file into which you will place a reference to the new model and its position. | Next locate a .stg file into which you will place a reference to the new model and its position. | ||
There may | There is more information about .stg files, below, but in brief: The .stg files are named according to tile number and stored under the scenery directories. The default installation places a limited amount of scenery (for the area around San Francisco) in <tt>[[$FG_ROOT]]/scenery</tt> but you may have scenery in other directories, as specified in <tt>[[$FG_SCENERY]]</tt>. (See [[Howto: Install scenery]].) Under each scenery directory, you will find directories called <tt>Objects</tt> and <tt>Terrain</tt>, and under them directories that group tiles into larger and smaller quadrants. Thus, if the tile number is 942058, you will find <tt>942058.stg</tt> under <tt>$FG_ROOT</tt> as <tt>$FG_Root/Scenery/Objects/w130n30/w123n37/942058.stg</tt>. | ||
There is generally more than one .stg file for a given tile, in different directories. It's important to edit one that will actually be read by flightgear (see below). One thing you can do is create a personal customized scenery directory separate from the standard installation. That way, if you upgrade FG your customizations won't get overwritten. (If you create such a directory, add it first in <tt>[[$FG_SCENERY]]</tt>, create a directory structure inside it parallel to the one in the standard scenery story, and create a .stg file in the appropriate place.) For the same reason, it is best not to edit the .stg files in the folder where TerraSync stores the scenery it has fetched, since TerraSync may overwrite them with newer versions. Objects associated with airports are usually put into a .stg file under a "Terrain" directory; other objects are put under "Objects". | |||
=== Step 6 === | === Step 6 === |
edits