View Full Version : Api to bgl ?
Ajax
September 10th, 2006, 13:22
Hi all,
I wonder if there is a way to convert api files to bgl, in order to use them in cfs2 mission builder ?
leroy10
November 18th, 2006, 09:20
Hi Alax,
What you need to do is make it into a library object..
1: add the api in FSSC or whatever scenery program you use.
2: compile it FSSC, it's irrelevant where in the world you place it we’re just using FSSC to convert into a bgl.
3. Once you have it in bgl format use BGLAnalyze.exe and decompile it into a .sca file..
4. Then you need to hand edit it and copy the objects drawing code and paste it into your library..
Header( 1 N94:21:19.15 S94:21:19.18 W000:00:00.00 W000:00:00.00 )
LatRange( S94:21:19.18 N94:21:19.15 )
ObjID( XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX )
LibObj(
PWR 0
SIZE 11
SCALE 0.500
TYPE 0
NAME "XXXXXXXXXX" )
RotateToAircraft( :L000232 0 0 0
0 0 1 0000 0000 0000 )
Return
:L000232
<PASTE OBJECT DRAWING CODE HERE>
Return
EndObj
Cheers Mate
Lindsay
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.