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

Complete noob here...

Messages
217
Country
azerbaijan
I have some experience with VB.Net and C++, no XML programming though. It's my first encounter with gauge development for FSX but I'm eager to learn as much as I can... So, a couple of rookie questions to start with:

1. What are the differences between developing gauges in XML and C++ (btw, I'm reading D.Griffiths' famous essay now)? Can you also specify the advantages and disadvantages of both methods?

2. Is developing a logic for say aircraft's fuel or navigation system also called "gauge programming"?

3. If the answer to Q2 is "no", how the aircraft systems (not exactly the panels!) are programmed and where the files are saved to (FSX/Gauges) to establish the linkage with the aircraft?

Thank you!
 
IMSAHO:

1)
For most of the standard gauges, XML is more than adequate; it's faster to code, it's structure is rather easy to understand but RPN-stye of its scripying system could be a nightmare for people with lack of experience in software programming.
C++ is more powerful, has a lot more functionality and is a must when it comes to work with complex graphical functions, and of course IS a nightmare for people with no programming experience.

2) Yes, it is.

Tom
 
Hi Tom,

Big thanks for your comprehensive explanation!

Btw, trying to learn the basics of XML for FSX using the Ace tool but whatever I do I can't visualise the gauge in Ace's preview window. Even Microsoft's own examples do not open properly... :( Just a black rectangle on green screen.

Has anybody experienced such a problem? My system is Windows 7 x64.

Thanks!!!



Sent from my Galaxy S4 using Tapatalk.
 
Hi Tom,

Big thanks for your comprehensive explanation!

Btw, trying to learn the basics of XML for FSX using the Ace tool but whatever I do I can't visualise the gauge in Ace's preview window. Even Microsoft's own examples do not open properly... :( Just a black rectangle on green screen.

Has anybody experienced such a problem? My system is Windows 7 x64.

Thanks!!!



Sent from my Galaxy S4 using Tapatalk.


If you only do gauge programming logics (and completely no drawing), then you don't have to use the Ace tool at all.
 
Yes, I know, I only need a regular text editor. But the SDK example is based on fuel pressure gauge which uses two bitmaps. :) It's just difficult to launch FSX every time I want to check how the gauge looks.

Sent from my Galaxy S4 using Tapatalk.
 
Yes, I know, I only need a regular text editor. But the SDK example is based on fuel pressure gauge which uses two bitmaps. :) It's just difficult to launch FSX every time I want to check how the gauge looks.

Sent from my Galaxy S4 using Tapatalk.
You don't actually need to do that. You can create/edit any XML "gauge" while FSX is open. Save your most recent edits, then use the "Reload User Aircraft" command to instantly reload the panel system to see your changes.
 
That's cool! Thanks for the tip, I'll try that.

Sent from my Galaxy S4 using Tapatalk.
 
Back
Top