Howto:Convert objects from X-Plane: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 26: Line 26:
Installation:
Installation:


unpack the scripts somewhere, cd there. You should have
unpack the scripts somewhere, cd there. You should have the following files


# ls -1
# ls -1
bin/
bin/
doc/
doc/
msfs2ac.profile
msfs2ac.profile


Adjust the paths in msfs2ac.profile according to your setup:
Adjust the paths in msfs2ac.profile according to your setup:
FG_SRC must point to your FG source,  
* FG_SRC must point to your FG source,  
XPLANE must point to the X-Plane custom scenery folder, e.g.
* XPLANE must point to the X-Plane custom scenery folder, e.g.


export FG_SRC=/home/tom/daten/fgfs/src-release/fg-cvs/
# cat msfs2ac.profile
export XPLANE="/home/tom/X-Plane 9 Demo/Custom Scenery/"
export FG_SRC=/home/tom/daten/fgfs/src-release/fg-cvs/
export XPLANE="/home/tom/X-Plane 9 Demo/Custom Scenery/"


Install fs2xplane here. This should add a directory lib/ plus some files in bin/.
Install fs2xplane here. This should add a directory lib/ plus some files in bin/.
Line 86: Line 87:
OBJECT_STATIC Bluewonder.ac            13.8101 51.0535 0  238.5            # e010n50/e013n51/3171139.stg
OBJECT_STATIC Bluewonder.ac            13.8101 51.0535 0  238.5            # e010n50/e013n51/3171139.stg


The third number is the object's altitude. In Bluewonder.XML it is given AGL, however, in FGFS, it is in absolute meters, so we have to guesstimate and correct it later on using the UFO. A good guess here is 120.
The third number is the object's altitude. In Bluewonder.XML it is given AGL, however, in FGFS, it is in absolute meters, so we have to guesstimate and correct it later on using the UFO or, even better, [[Howto:_Calculate_elevations|query the actual elevation]]. A good guess here is 120.


Now add this line to FGFS scenery/objects/e010n50/e013n51/3171139.stg
Add this line to FGFS scenery/objects/e010n50/e013n51/3171139.stg
and move the model and textures from fgfs/Bluewonder to FGFS scenery/objects/e010n50/e013n51/
and move the model and textures from fgfs/Bluewonder to FGFS scenery/objects/e010n50/e013n51/


Now fire up fgfs --airport=EDDC, fly about 4.5 nm hdg 145, you should find this:
Now fire up fgfs --airport=EDDC, fly about 4.5 nm hdg 145, you should find this:
[[File:Example.jpg]]
153

edits

Navigation menu