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

Question - how to dynamically spawn a scenery object?

Messages
158
Country
us-northcarolina
I'd put this in the right forum if I could figure out which one that was - scenery design? - just not sure so I'm putting it in "general" for now.

My product has a new feature that optionally assigns arrival gates to pilots, and requires that they get to that gate to complete the flight successfully.
The option is well received in beta with some reservations:

I give some direction in the form of heading and distance to the gate, but it's still quite difficult to find the right spot at poorly lit, poorly marked airports, or when there are a line of gates or parking spots all close together.

The best solution would be to spawn a scenery object at the "top" of the gate or parking spot so the pilot could visually home in on it when he gets close.

I confess I have no idea how to do this from a gauge and/or a DLL. Looks like maybe I can do it through SimConnect for FSX, but for FS9 I don't have much of a clue. I only know that somehow it can be done: a product I once used called Cargo Pilot would assign you a drop-off point and spawn a lamppost there and some other objects to make it obvious where you had to go, even cones around the edges to guide you into the spot. All done dynamically by the DLL when you started your flight.

I didn't see any facility in FSUIPC but perhaps I haven't looked hard enough.

Could it perhaps involve generating a .BGL file "on the fly" with the object and its location and somehow getting FS to know about it it without restarting? Or reading an changing the position of an existing object to place it?

Anyone who has a direction to point me in -- that would be greatly appreciated.

Dutch
 
Last edited:
Hi,

Some people do it in FS2004, for example the Instant Scenery tool, but there is no public interface to do this. So I would not know how to do it, FSUIPC does not have this option.

As you mentioned for FSX it is quite easy with SimConnect. If the positions are known ahead of time, you might be able to make some conditional scenery in FS2004 and trigger it with some variable that you can set through FSUIPC.
 
Back
Top