• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

BGL Compiler SDK

Messages
10
Country
england
I'm trying to place a model I created into FSX and have created an xml fil=e with the object name , location etc. When I drag this over the bgl compiler tit appears to run but doesn't create a bgl file in the folder.

What am i doing wrong ???:mad:
 
#1 What are you dragging - the created MDL file?

#2 - Why are you not compiling direct to bgl? FSDS3.5.1, like FSDS3.0, will create the bgl (i.e. automatically process the mdl+xml placement file through the BGLCompiler.
 
Hi Felix,

I'm dragging the XML file over the bgl compiler but getting nothing. If I do the same with an xml text file it works okay and compiles a useable bgl.

I'm not using FSDS bgl creation facility as I can't see how you set the heading of the model you wish to place. The only options you appear to have in the properties menu are lat & lon.

My other problem is the format of Lat & Lon coordinates when I decompile a bgl file I get the coordinates in a different as attached.:(

Any ideas ?
 

Attachments

Hi Felix,

I'm dragging the XML file over the bgl compiler but getting nothing. If I do the same with an xml text file it works okay and compiles a useable bgl.

I'm not using FSDS bgl creation facility as I can't see how you set the heading of the model you wish to place. The only options you appear to have in the properties menu are lat & lon.

You set the heading of the model within FSDS. Your "back" view is NORTH (or South... with my scenery skills, I'm just happy that the darned thing showed up where I wanted it to).



My other problem is the format of Lat & Lon coordinates when I decompile a bgl file I get the coordinates in a different as attached.:(

Any ideas ?


FOr your other problem, my scenery abilities don't go that far. :rolleyes:
 
I'm dragging the XML file over the bgl compiler but getting nothing.
Do you have the mdl file in the same folder as bglcomp?

My other problem is the format of Lat & Lon coordinates when I decompile a bgl file I get the coordinates in a different as attached
Why is the format of lat/long a problem? Bglcomp allows many formats.

George
 
Edit your .xml to the FSX format

-----------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 23/10/2007 -->
<FSData
version="9.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<SceneryObject
lat="50.6867250055075"
lon="-2.54920274019241"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="0"
imageComplexity="VERY_SPARSE">
<LibraryObject
name="{7e9ad656-4c08-2bc2-8f11-62a16f524511}"
scale="1.00"
/>
</SceneryObject>
<ModelData
sourceFile="7e9ad656-4c08-2bc2-8f11-62a16f524511"
fileOffset="0"/>

</FSData>

------------------------------------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Created by Scenery Design Engine (SDE) on 23/10/2007 -->
<FSData
version="9.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="bglcomp.xsd">
<SceneryObject
lat="50.6867250055075"
lon="-2.54920274019241"
alt="0.0M"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="0"
imageComplexity="VERY_SPARSE">
<LibraryObject
name="{7e9ad656-4c08-2bc2-8f11-62a16f524511}"
scale="1.00"
/>
</SceneryObject>
<ModelData sourceFile="myfilename.MDL" />
</FSData>
 
Thanks for the help Guys,

I'll try out the suggestions and get back to you.

One other question. I'd like to place my scenery in FSX by using the object placement tool from the SDK. Where would I have to save my library file to for the object placement tool to recognise it ?

Thanks
Staz
 
Back
Top