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

Tree Placement Problem

Messages
4
Country
brazil
Hi guys,

Im new at scenery designing, and I need some help, please.

I´ve made a small scenery with this great tool FSX KML, but Im not geting success on tree placement.

Tried several trees with no success at all, so I need some help.

Here is part of the code generated by the FSX KML:

<?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=" -22,8620959166997"
lon=" -46,0419518624254"
alt="0"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="270"
imageComplexity="VERY_SPARSE"
>
<LibraryObject
name="{80174547-7e8e-40a3-bee8-f0774d410bdd}"
scale="1"
/>
</SceneryObject>
...

What is wrong? Why the trees or any other library object is NOT showing?

I´m using version 1.08 (Beta).

thx in advance.
 
Last edited:
XML to BGL

Hi,

Did you compile (bglcomp.exe) your xml code and put the resulting bgl file in a FSX activated scenery folder?

Regards,

José
 
Yes, I´m using the FSX\addon scenery\scenery tab.

Yes, my file continues with 5 more object insertion and finishes with the apropriate code.

I can compile it and the compiler generates de BGL without a single error, but no trees, elephants, buildings etc. Ive tried almost everything without success.
 
Here is part of the code generated by the FSX KML:

<?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=" -22,8620959166997"
lon=" -46,0419518624254"
alt="0"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="270"
imageComplexity="VERY_SPARSE"
>
<LibraryObject
name="{80174547-7e8e-40a3-bee8-f0774d410bdd}"
scale="1"
/>
</SceneryObject>
...

Could the comma's be the problem

lat=" -22,8620959166997"
lon=" -46,0419518624254"


can you change to

lat="-22.8620959166997"
lon="-46.0419518624254"

and run the .BAT file again?
 
Problem Solved - Thank You!

Man,

After exchanging the ','s for '.'s and compiled the XML file, the trees finally appear on the place they need to be.

Thanks for your help. :)
 
Man,

After exchanging the ','s for '.'s and compiled the XML file, the trees finally appear on the place they need to be.

Thanks for your help. :)

Ok, I'll need fix it in 1.09 so that it uses '.' and not ','
 
Yes,

It would be great :) , because people like me who uses the decimal point as a ',' instead of '.' will apreciate it. :-)

BTW, what tool should I use to make the same stuff with FS9?

Thx for you attention.
 
Last edited:
Ok, I'll need fix it in 1.09 so that it uses '.' and not ','

Yes,

It would be great :) , because people like me who uses the decimal point as a ',' instead of '.' will apreciate it. :-)

Thx for you attention.

Um, am I missing summat here - late night misinterpretation ?

Did you mean that it wouldn't care if you use either a stop or a comma ???

I had to do that for a SAP client, and basically, the numbers were either
+/- with two digits, a 'separator char' and then 13 'fractional' digits...

I knew that was what you meant !!!
 
Back
Top