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

Placing FSX scenery objects

MatthewS

Resource contributor
Messages
333
Country
australia
I want to add a feature to FSX KML that will allow FSX scenery objects to be placed along a polyline.

I'm not at home at the moment, and so can't check my SDK docs, but I just thought someone here might be able to give me an idea of what to do.

I think I just need to get FSX KML to generate a XML input file for BGLCOMP.

For example, say I want to place the FSX lighthouse scenery object at a given longitude / latitude and facing a given heading. Do I need to worry about elevation or will FSX place it on the ground automatically?

What would the XML file look like? Can someone give me an example?

Thanks.
 
Last edited:
Tools for FSX objects placement

Hi, Matthews

As you know, there are good tools to place FSX's objects and the yours will be welcome. One can even place an isolated object using a XML piece of code, as below (copied from a thread in this forum):

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

<SceneryObject
lat="S33 25.07"
lon="E149 39.16"
alt="0"
altitudeIsAgl="TRUE"
pitch="0"
bank="0"
heading="0"
imageComplexity="NORMAL">
<LibraryObject
name="{618157a1-e440-460a-af0e-ced6ef527fa8}"
scale="1.0"/>
</SceneryObject>
</FSData>

If you adjust the altitude to

alt="0"
altitudeIsAgl="TRUE"

the object will be placed on the terrain level (0 meters above ground level).

I think if your application could put serialized objects, as a pole line, transmission towers and others alined objects, at some regular intervals, using a poly or a line, it would be more useful.

Regards,

José
 
You can use the Mission Builder to place objects. Save the mission and use a program called Scenery Shortcut for FSX to convert the .xml to .bgl files.

Scenery Shortcut for FSX can you get here

Don't worry about the order it's free.
 
Hi Matthew

As mentioned above to place a single object is easy. To place them along a line you would need some algorithms which take the start and end locations of a line plus the spacing you want. Thus you can start at one end and generate multiple scenery placement code.


I have routines built into my Library Object Manager which will place objects along a given line, either randomly or evenly and also offset them slightly on the line. Drop me a PM if you want some further information.
 
Library Object, where?

Hello friends:

How can I MOVE an object (those small driveable bridges in FSX) just a few feet aways from their corrent locations; or simply place a similar one where it is missing and make the object (bridge) viewable when in Free Fight?

I read about "Library Object" and "Library Object Manager." Where are they within FSX deluxe? Perhaps I could just go there and choose/select the object I want to add to an EXISTING scenery in FSX.

Thanks to all for your help!

dito
 
Generally you can't move them as such. It is a two stage process if the objects are currently part of the default scenery. The methods used also depend on which versions of FS you are working with.

For Example in FS9 you would first need to create an exclusion rectangle (or maybe several) to 'remove' the original objects. Then you would need to add your own where you wanted them. If you are talking about bridges then it depends on their type. In FS9 some are related to Roads and the method to remove those is different.

Can you give some more idea of exactly what you want to do.

Library Objects are objects stored in library Bgls. These are called by XML placement code to put them in the actual scenery.

Library Object Manager is a tool (written by me) that can categorize library objects and also do things like exclusion rectangles and making bridges.
 
Hello friends:

How can I MOVE an object (those small driveable bridges in FSX) just a few feet aways from their corrent locations; or simply place a similar one where it is missing and make the object (bridge) viewable when in Free Fight?

I read about "Library Object" and "Library Object Manager." Where are they within FSX deluxe? Perhaps I could just go there and choose/select the object I want to add to an EXISTING scenery in FSX.

Thanks to all for your help!

dito

Hi... I'm working on this feature in FSX KML 1.07 at the moment (both placing scenery objects from library and excluding existing objects via exclusion rectangle)... It should be ready over the weekend (maybe even before).

And as Jon said... to "move" existing object, you need to exclude the existing object and replace it with the same object in different position
 
Generally you can't move them as such. It is a two stage process if the objects are currently part of the default scenery. The methods used also depend on which versions of FS you are working with.

For Example in FS9 you would first need to create an exclusion rectangle (or maybe several) to 'remove' the original objects. Then you would need to add your own where you wanted them. If you are talking about bridges then it depends on their type. In FS9 some are related to Roads and the method to remove those is different.

Can you give some more idea of exactly what you want to do.

Library Objects are objects stored in library Bgls. These are called by XML placement code to put them in the actual scenery.

Library Object Manager is a tool (written by me) that can categorize library objects and also do things like exclusion rectangles and making bridges.


Hello,

The FS version I have the FSX Deluxe. And exactly what I want to do is to move or place a bridge over Chicago river as part of Michigan Ave. The bridge there is missing. Yet there are lots of them in Chicago. So I though, maybe I could just move one of those bridges and put it there where it is missing in Michigan Ave.

As to there type, I believe there's only one type of default bridges in Chicago. And that's the kind I want to use.

So, is it possible to do it, and how?

Thanks,

dito
 
Hi... I'm working on this feature in FSX KML 1.07 at the moment (both placing scenery objects from library and excluding existing objects via exclusion rectangle)... It should be ready over the weekend (maybe even before).

And as Jon said... to "move" existing object, you need to exclude the existing object and replace it with the same object in different position

Oh, wow...over the weekend? I'll be looking forward to!

Thanks,

dito
 
Back
Top