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

Search results

  1. I

    Selecting an Engine in Fuel Selector

    Hello DragonflightDesign, Perhaps you are right. I am a fairly experienced C developer but just a beginner with Gauge programming. I see Gauge Macros as just a bunch of function declarations as library (DLL) code but with no obvious control flow because I have no idea what the function calls...
  2. I

    Selecting an Engine in Fuel Selector

    Hello DragonflightDesign, Here is why I believe that my B-5 Magneto Gauge and a Fuel Selector that both try to set the state of magnetos would cause a race condition: The typical Magneto Gauge detects the current state of magnetos and sets itself to that state. If there are multiple magneto...
  3. I

    Selecting an Engine in Fuel Selector

    Hello DragonflightDesign, I believe it is much more optimal to use mixture to cut engines rather than the magnetos for the following reasons: The vast majority of the military aircraft (with the exception of trainers and the like) were flown with "Auto-mixture", typically Auto-Lean for...
  4. I

    Selecting an Engine in Fuel Selector

    Thank You, DragonflightDesign, Your code example just gave me an "Aha moment". I had always been under the impression that the delay parameter was a specification for a timer for an interrupt and it didn't occur to me that the gauge code was being executed exactly 18 times per second. I was...
  5. I

    Selecting an Engine in Fuel Selector

    Hello Gentlemen, Perhaps the comments above don't apply as much as you might think. In Combat Flight Simulator, there actually are no "External Tanks", so I can't use those at all. When entering the simulator, the default situation is for One LEFT tank to be selected, One Right tank to be...
  6. I

    Selecting an Engine in Fuel Selector

    Hello Gentlemen, I am trying to program a set of Gauges for a P-38 Lightning using the FS2000 SDK. Each Engine has its own Fuel Selector. My issue is that I need to be able to select an Engine for which the Fuel Tank selection applies. So far my attempts at various methods have not worked...
  7. I

    Multiple Rotation Needle for Tachometer

    Thank you, DragonflightDesign, Your Tutorial is probably the single best reference I have found thus far for working on CFS/FS2000 Gauges. There are a bunch of things I don't yet understand but I don't believe it is right to ask questions without at least trying things out first to see...
  8. I

    Multiple Rotation Needle for Tachometer

    Commenting out the Thousands Needle got the value for Hundreds to display correctly but the needle still would move in odd directions to get to where it was supposed to be until the last field (delay) of the Needle macro was changed to zero. At that point everything seemed to work and seems to...
  9. I

    Multiple Rotation Needle for Tachometer

    Tried the second non-linearity table. The pattern of movement of the Hundreds Needle isn't the same but it still doesn't seem to work. It now seems to stay moving for much longer when the RPM is changed. Next thing I will try is to see if I can make just the Hundreds Needle display properly. -...
  10. I

    Multiple Rotation Needle for Tachometer

    Hello Fellow Programmers, I am currently trying to program a CFS / FS2000 Tachometer (FS2000 SDK and C++) that has two Needles. One indicates Thousands (This one works without a problem). The other indicates Hundreds and under (This one doesn't work). See attached image for a clearer...
  11. I

    Editing FS98 Gauges

    Hello All, After a couple months of diversions (I reworked my P-40E and built a P-40F from the result), I am back to exploring gauges. Since the last post I have had some success: I now have a Tachometer for Engine1 and Engine2. I now have a Manifold Pressure Gauge for Engine1 and Engine2. The...
  12. I

    Editing FS98 Gauges

    Hello DG, To address your comment about "C/C++ Variables": If it were really C or C ++, I would not be running into any issues. I have been coding in C since the mid 1980's and am pretty competent there. I don't claim expertise in C++ but know enough to effectively tutor someone who was...
  13. I

    Editing FS98 Gauges

    Hello Guys, The reality may be even a bit worse than you all are thinking. Not only are folks still flying the original Combat Flight Simulator that was released around 1999, Some of us are still developing for it. The SDK I am using is not for FS9, it is for FS98 as in 1998 with most of the...
  14. I

    Editing FS98 Gauges

    Hello WarpD, I am working with CFS (AKA CFS1) not CFS2. I know for certain that CFS2 gauges will not work with the original CFS. I don't happen to have FS2000 installed anywhere even though I have the CDs, so I can't test gauges from that simulator. The versions of the CFS SDK that I have...
  15. I

    Editing FS98 Gauges

    Hello DG, n4gix That was the point I was getting at. It doesn't make a whole lot of sense to use N1 and N2 for a piston engine, but that is the way it is done in FS98 / CFS. The other variables you described do not exist in the FS98 SDK header file and the CFS SDK appears to really be just a...
  16. I

    Editing FS98 Gauges

    Hello WarpD, I did notice that there are specific Token Variables now for Reciprocating engines. I always thought it was a bit strange to use the N1 and N2 values for a piston engine. In doing some reading and experimenting, I am pretty certain the issue is in the way I am setting up the...
  17. I

    Editing FS98 Gauges

    Hello TGibson, WarpD,. Actually there are a lot more factors that control the maximum manifold pressure. Since I am just testing for Gauge Development, I took my existing AIR file for the B-25C Mitchell which should only be capable of 2600 RPM and 44 inches Hg under Take-Off / Emergency power...
  18. I

    FS2004 string format problem

    Can you just add 0.5 to the number before it truncates?
  19. I

    Editing FS98 Gauges

    After a few more attempts, I now have a working Tachometer and a working Manifold Pressure Gauge for Engine1 and Engine2. This maybe obvious to more experienced folks here, but here is what I have found thus far: 1. The RPM Scaler does not appear to be particularly useful. I tested the return...
  20. I

    Editing FS98 Gauges

    Status Update Hello All. Since my last post here, I pretty much gave up on the Tachometer Gauge I had been working on. The combination of MinGW or GnuC and the FS98 SDK just didn't seem to work together. I managed to get a Tachometer to compile with MinGW, but had to eliminate many of the...
Top