18
edits
(fix in/out variables) |
|||
Line 160: | Line 160: | ||
* Set the ELEV_MODE in params.ini | * Set the ELEV_MODE in params.ini | ||
* ELEV_MODE = Manual | * ELEV_MODE = Manual | ||
:* run tools.py, this will create a file elev.in. Copy elev.in to $FGDATA/Nasal/ | :* run tools.py (tools.py -f LOWI/params.ini), this will create a file elev.in. Copy elev.in to $FGDATA/Nasal/ | ||
:* tools.py will tell you to hide a certain scenery/Objects/... folder, to prevent probing elevation on top of existing objects | :* tools.py will tell you to hide a certain scenery/Objects/... folder, to prevent probing elevation on top of existing objects | ||
:* run FG, open debug->nasal console, enter: elev. | :* run FG, open debug->nasal console, enter: elev.get_elevation(), press execute. Might take a long time, depending on the area scanned. This will write elevation data to /tmp/elev.out (which is actually just plain 5 column data: lon,lat,x,y,elevation). Put elev.out into LOWI/ | ||
* ELEV_MODE = Telnet | * ELEV_MODE = Telnet | ||
:* Run setup.py | :* Run setup.py |
edits