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

Detecting flight load completed

Messages
20
Country
france
Hello,

When loading a new flight, or changing time in P3D there is a black screen with progress bar during the load of textures, traffic, etc...

I would like to detect when this loading occurs, and when it is completed through SimConnect. I don't find any reference about such a variable or event. May somebody point me in the right direction please ?

Best regards,
JP
 
Unfortunately the only thing I can suggest is monitoring the GetSimTime function (see C++ timers in the wiki) to see if it has been increasing for 10-15 seconds or so after you get a Sim start event (use SubscribeToSystemEvent).
 
Look into SimConnect_SubscribeToSystemEvent and it's FlightLoaded System Event Name.
 
Thank you for the help. SimStart and SimStop évents looks like more what I am looking for, thanks for pointing me in this direction.

Regards,
JP
 
JP... I'm seriously late to this party (more-or-less randomly scanning the SimConnect forum!) but you can detect FlightLoaded successfully, just not in the way that the SimConnect SDK examples say you can. They are completely wrong as the FlightLoaded event occurs a long time before SimConnect starts up. There's an example in sd2gau (currently sd2gau36 as I write this) on how to detect the FlightLoaded event using SimConnect. Ed and Doug Dawson gave me a lot of help on solving this one.
 
Last edited:
Back
Top