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

FSXA Misaligned Gauge

Messages
1,084
Country
us-northcarolina
I am creating a 2D panel to match a real aircraft panel for a Spartan Executive from photos and have been successful so far using gauges from other aircraft (freeware and default FSX) I have a problem though with the fuel gauge. It is an xml gauge. The background bmp is a bezel and the gauge bmp the instrument and it also has a needle bmp. No problem. I thought I inderstood XML coding for FSX gauges but I don't do it enough and am stuck. The bezel and gauge face are misaligned and I have been able to align them. Help please. I have attached the file.
 

Attachments

Looks OK to me. You don't need the first Position line just under the background image line, and it can be removed.

gauge_fuel.jpg
 
thank you Tom everything is good now. When I finish creating the 2D custom panel is there an easy way to create a virtualo 3d panel from it? As you know I have no clue how to FSDS; GMax OR Blender at all.
 
Just out of interest, what’s the “part” mean as a unit?
also is the nonlinarity table and min max values correct?
min =0
max = 100
but max on the table is 1?

again just out of interest, why is a double element used in this case, element within element, any advantage?
 
Part is like Percent, but uses 0-1 instead of 0-100.

max = 1 would work as well as 100 - since you are not limiting the range of the value (it goes from 0 to 1 anyway) the max/min entries are not really needed.

There is no advantage in nesting Elements in this case, other than it keeps the gauge logically structured (as opposed to the normal linear structure). The only need for nested Element sections I know about is when trying to control the visibility of text in normal Text elements. You need to put the Visible line in the outer Element, and the Text in the inner Element. The other way around that is to use the Formatted Text statement instead.
 
I guess when I all through with the 2D panel with all the custom gauges created for it that are needed that I will get out my manuals and my copy of FS Design Studio and tackle the VC. I have the vc01 which is the background in the wartime version and the vc02 which is the gauges in that and go from there as I did with the 2D. Thanks all to you guys.
 
Back
Top