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

MSFS How to get started with MSFS Gauges

Messages
79
Country
france
Hello,

I am totally a uninitiated about Gauges.
I would like to add a simple gauge like airspeed indicator for exemple on an aircraft panel. I am looking for a clear tutorial. Exemple to follow to get started.

Thanks in advance,
 
Messages
149
Country
unitedkingdom
(1) The default MSFS method to add an ASI is almost entirely 3D modelling of the aircraft (and you set an animation on the needle to rotate with the airspeed simvar). AFAIK it is not possible to transfer a 3D gauge from one aircraft to another.

Alternatively you can model the aircraft with a flat texture somewhere in the cockpit view and 'paint' a picture of a gauge onto this flat texture. Works great for digital LCD display instruments and is currently a fallback plan for people moving FSX aircraft into MSFS (although these will look 'flat' and unrealistic in VR). These 'flat' instruments can be programmed via (2) & (3) below:

(2) If you're an experienced C++ programmer, there's a gauge example in the SDK which paints a gauge onto a flat texture (which has also needed to be added to the 3D sim model).

(3) There seems to be zero documentation on programming HTML/CSS/Javascript gauges, plus you will need to be an experienced javascript programmer to make any progress reverse engineering gauges in stock aircraft.

So you either need to be an experienced 3D modeller with knowledge of animating a needle, or an experienced C++ or Javascript programmer and an existing 3D model which has a suitable texture in the right place for the gauge.
 
Messages
79
Country
france
Thanks for your reply,

It's for the aircraft I am trying to build : AT3-R100

The best way to start it's begin with 3D modelling (Yes I fly in VR waiting for update today ;))
I think I could create these gauges below (X-Plane screenshot), all belonging a needle, maybe...

By the way , is there a tool to display any Simvar (dataref editor in X-Plane) ?

However Radio, GPS... seems complicated. I will have a look on. It seems I have to programming these later... :(

EelrV.jpg
 
Messages
669
Country
australia
By the way , is there a tool to display any Simvar (dataref editor in X-Plane) ?
SimvarWatcher seems to be the tool you need. It's in the SDK\Samples\SimvarWatcher folder. Read the SDK documentation as well as it tells you how to use it.
 
Messages
389
Country
australia
Will post my code from the Goose when I get back to my desk. Create the instrument and animate in your 3D application then ensure you name the items and animations per the instrument templates.
As I said will post screenshots and code when I get back to my desk 😃🛩️🦆
 
Top