• 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.

XML to BGL

Messages
53
Country
australia
I am currently doing the Home Part 1,and have my teapot configured to XML but when i try to place into the BGL compiler exe all i get is a flash of black and white like in DOS then nothing have downloaded the new files SP2 msmx4 so i dunno,any help thanks :confused: :confused:
 
Hi Patrick,

If you drop the XML onto BGLComp you should get a BGL file created. Are you sure you are using BGLComp and not BGLC?

Maybe you can try to run it from the command prompt? Then you can see error messages if they appear.
 
No mate its bglcomp.exe along with bglcomp.xsd in note book format for reading,i was pretty happy with myself for getting that far and was looking fwd to the teaparty at KSEA rwy 34R must be a little thing its BGLCOMP_SDK is there a more recent version!?i do not know what else to download anymore unless i start again,i have the SDK on desktop, would it be looking for the file in programs,which bgl should be in addon scenery?Man!this keeps you on your toes when your learning :scratchch ,regards Parick.
 
Got it!!dont know what i did but when i looked further down the bgl _sdk folder there it was,just did not look far enough,i thought it was suppos :D ed to appear in Addon Scenery,see how it goes,Pat.
 
So far as to so good for the bgl file. Now the problem is to get it to appear at rwy 34R at KSEA,placed it in the Addonscenery/scenery file and no show, i assume that if a bgl file is produced then all the parameters are right or is that not so,its only a teapot and not much data on it when i go to show addon scenery it reads in search area it reads Seatle washington,hmm,have to have a think!
 
Did you remove the comments from the XML file? I am sure the tiutorial explaina that as well. By default GMax places comment marks around the placement code, so nothing is actually placed.
 
Yes thanks for that ,removed all criteria as set down. created a XML without errors and created a bgl file, all locstat data enterted,have now created a folder "teapot" placed in addon scenery and now has a data and scenery sub file,placed into the scenery add of Fs9 scenery and it accepted such,restarted FS9....no go,hmm,interesting,why not!? It shows in the ladder of scenery move up,move down as teapot!no error sign on start up ,just loads away as usual. Spent a few hours on this today,will have another go tomorrow night,"The fun is in the learning" ;)
 
That does all sound correct.

Did you enter the coordinates of the tutorial? In that case you should be looking at Lelystad (EHLE) and not at KSEA.
 
Umm,no,not really,put in co-ordinates of rwy 34R at KSEA,maybe something wrong with co-ords,did the top down trick,flash of lightning or whatever and thought great,came up in the XML no worries,gotta go to work,catch you later Arno,thanks for looking in,regards Patrick. :D
 
OK, could you maybe post the XML code you are using here? I bet some of us here can spot the error if we see the code.
 
Patrick
I had that problem to when I was doing some scenery. I don't know how I did it but when I put in a macro I put in the wrong elevation. It was there just under ground. maybe take a look at that. (just a thought)


"woody"
 
Thanks Woody,will check it out and will keep that in mind,before top down press B for QNH or elevatioon,will send XML and notepd Arno.i think it attached went really quick.
 
That all looks correct. But have you loaded your MDL library in a seperate library BGL? I don't see it here in this XML file. Without that FS does not know which objects belongs to the GUID.

Below you find an example file where I place an object at my test location and also include the MDL.

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData version="9.0" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation="bglcomp.xsd">

	<SceneryObject lat="40" lon="-40" alt="5" pitch="0" bank="0" heading="0" altitudeIsAgl="TRUE" imageComplexity="NORMAL">
		<LibraryObject name="BCBA3F794490A2B041D03DA1181A09DB" scale="1.0" />
	</SceneryObject>

	<ModelData name="BCBA3F794490A2B041D03DA1181A09DB" sourceFile="safedock.mdl" />
</FSData>
 
I think there has been a mx up and will start again Arno{All Practise]and will go softly softly this time,will delete all and start again,thanks for that and stay tuned,man when i see that teapot on the rwy i will have a night out. :cool: there is aMDL source file at the end of the business,oh well!
 
No, when altitudeIsAgl="TRUE" then the altitude is always above ground level, so 0 means at the ground.

For the heading your are right, I test my objects with heading 0 normally.
 
Back
Top