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

Recent content by DragonflightDesign

  1. DragonflightDesign

    MSFS How to work with SimConnect_AIReleaseControl

    Error 20: '(... )It is also used by other functions to report that flags or reserved parameters have not been set to zero'. Are you sure that your SimConnect_AIReleaseControl call has the correct parameters?
  2. DragonflightDesign

    Heywood Air Starter Is this possible?

    Yes. You will need to apply a fuel tank, open the fuel valve and run the starter one after another. It can be done as I did something very similar a long time ago. If that produces a start that is too sudden, you'll need to delay the opening of the fuel valve and allow the engine to motor. BE...
  3. DragonflightDesign

    FS2004 Autopilot Will Not Smoothly Acquire Altitude

    Although I don't do XML as a general rule, from reading your code above it appears that you may have a lot of code flooding going on which, as Tom says, will clog the system up badly. Each time you use a K: var, before you send the same command again, run a check on the event to see if it has...
  4. DragonflightDesign

    P3D v4 Cockpit swapping mirrors

    Just adding the camera should do it.
  5. DragonflightDesign

    MSFS WASM module exception calling fclose()

    Hi Max strcpy in OP's second post - lots of them by his own admission. Thanks for the info about WASM support (or lack of it!) for the C++ standards. -Dai
  6. DragonflightDesign

    MSFS WASM module exception calling fclose()

    As you've found, you've fallen foul of the delay caused by Windows writing to disc. So, your file opener should be { FILE* logfile = fopen("\\work\\mylogfile.log", "a"); if(logfile != NULL) { fprintf(logfile, "%s \n", debugtext); fclose(logfile); } } Secondly, by using...
  7. DragonflightDesign

    MSFS Library ticket 'Endurance' figure (you know - the brief description that appears in the Hanger)

    I'll give that a try. Thank you. Edit: yep, that was it. Whoever did the cfg file calculated a no-load, from-full-to-the-very-last-drop range. Oh, no aircrew either. That was the only way I could get the numbers to give me 28 hours from max fuel vs fuel burn.
  8. DragonflightDesign

    MSFS Library ticket 'Endurance' figure (you know - the brief description that appears in the Hanger)

    Jeez... this one would be out of fuel long before then. Seventeen hours is its maximum range. Although I didn't originate this project, the fuel load and fuel burn in the .cfg files are correct for those seventeen hours. Thanks Rick.
  9. DragonflightDesign

    MSFS Library ticket 'Endurance' figure (you know - the brief description that appears in the Hanger)

    So I've been sucked into this world to fix a problem. In this particular case almost all of the parameters on the 'library card' were wrong, but I tracked most of them down to the aircraft.cfg and the flight_model.cfg file. The one I can't find is the 'Endurance' figure - it's currently set at a...
  10. DragonflightDesign

    MSFS Getting temperature at a given location

    That's an interesting piece of code...
  11. DragonflightDesign

    MSFS Getting temperature at a given location

    Well... what we used to do for creating TFR (terrain following radar) in FSX was to add an invisible aircraft (or flight of aircraft) that flew in formation directly along the heading of the user aircraft. You should be able to do something very similar in MSFS.
  12. DragonflightDesign

    Combining 4 Magnetos to 1 Master

    I don't do XML but I did face the same problem in my last project. What I did was to separate the display from the actual magneto switching action so that you could twist and turn the switches as much as you liked, but the actual mag left/right/both code was only triggered when the master switch...
  13. DragonflightDesign

    MSFS How to animate a continuous flap

    Now that's useful....
  14. DragonflightDesign

    MSFS How to animate a continuous flap

    Unless Asobo have changed the base code, you can't do it. There is a KEY_FLAPS_SET,x event (where x = value between 0 and 16384) which has never worked.
  15. DragonflightDesign

    Load a DLL upon simulator startup

    As Ed says - that's one of the biggest gripes that many developers have with MSFS (and one of the reasons I have avoided developing for it so far). A possible solution to the logging problem is to make your dll export data in a SimConnect format and then capture/log the exported data with a...
Top