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

XML Invisible HELP

Messages
15
Country
spain
Hello.

I´m trying to set a XML Gauge over a *.gau, but I cant see it. seems to be invisible.
Anyone can help:

Here:
---------------------------------------------------------------
<Gauge Name="752 HDG Window" Version="1.0">
<Image Name="QW_752_hdg_window.bmp" Bright="Yes" ImageSizes="143,50"/>

// ---- 752 HDG numbers


<Element>
<Visible>(L:circuit_gen_pwr, bool)</Visible>
<Position X="34" Y="17"/>
<Select>
<Value>(L:hdg_sel_dir, enum) 100 / flr </Value>
<Case Value="0">
<Image Name="Qw_752_0.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="1">
<Image Name="Qw_752_1.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="2">
<Image Name="Qw_752_2.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="3">
<Image Name="Qw_752_3.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="4">
<Image Name="Qw_752_4.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="5">
<Image Name="Qw_752_5.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="6">
<Image Name="Qw_752_6.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="7">
<Image Name="Qw_752_7.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="8">
<Image Name="Qw_752_8.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="9">
<Image Name="Qw_752_9.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
</Select>
</Element>

<Element>
<Visible>(L:circuit_gen_pwr, bool)</Visible>
<Position X="60" Y="17"/>
<Select>
<Value>(L:hdg_sel_dir, enum) 10 / (L:hdg_sel_dir, enum) 100 / flr 10 * - flr </Value>
<Case Value="0">
<Image Name="Qw_752_0.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="1">
<Image Name="Qw_752_1.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="2">
<Image Name="Qw_752_2.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="3">
<Image Name="Qw_752_3.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="4">
<Image Name="Qw_752_4.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="5">
<Image Name="Qw_752_5.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="6">
<Image Name="Qw_752_6.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="7">
<Image Name="Qw_752_7.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="8">
<Image Name="Qw_752_8.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="9">
<Image Name="Qw_752_9.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
</Select>
</Element>

<Element>
<Visible>(L:circuit_gen_pwr, bool)</Visible>
<Position X="88" Y="17"/>
<Select>
<Value>(L:hdg_sel_dir, enum) (L:hdg_sel_dir, enum) 10 / flr 10 * - flr </Value>
<Case Value="0">
<Image Name="Qw_752_0.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="1">
<Image Name="Qw_752_1.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="2">
<Image Name="Qw_752_2.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="3">
<Image Name="Qw_752_3.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="4">
<Image Name="Qw_752_4.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="5">
<Image Name="Qw_752_5.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="6">
<Image Name="Qw_752_6.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="7">
<Image Name="Qw_752_7.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="8">
<Image Name="Qw_752_8.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
<Case Value="9">
<Image Name="Qw_752_9.bmp" Luminous="Yes" Bright="Yes" ImageSizes="20,24"/>
</Case>
</Select>
</Element>

<Mouse>
<Area Left="0" Right="71" Top="0" Bottom="49">
<Cursor Type="DownArrow"/>
<Tooltip>Heading Setting Decrease</Tooltip>
<Click Kind="LeftSingle+RightSingle" Repeat="Yes">
(M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:hdg_sel_dir_decr, enum) }
(M:Event) 'RightSingle' scmp 0 == if{ 2 (&gt;L:hdg_sel_dir_decr, enum) }
</Click>
</Area>
<Area Left="72" Right="142" Top="0" Bottom="49">
<Cursor Type="UpArrow"/>
<Tooltip>Heading Setting Increase</Tooltip>
<Click Kind="LeftSingle+RightSingle" Repeat="Yes">
(M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:hdg_sel_dir_incr, enum) }
(M:Event) 'RightSingle' scmp 0 == if{ 2 (&gt;L:hdg_sel_dir_incr, enum) }
</Click>
</Area>
</Mouse>
</Gauge>
 
You could try setting the draw order in the panel.cfg file. The last one drawn will sometimes be displayed over the earlier ones. But if the gauges underneath have any movement at all, they will often pop up to the top and ruin things. Is there no way to suppress the display of the .gau file underneath?
 
You could try setting the draw order in the panel.cfg file. The last one drawn will sometimes be displayed over the earlier ones. But if the gauges underneath have any movement at all, they will often pop up to the top and ruin things. Is there no way to suppress the display of the .gau file underneath?
Its already the last entry in the panel.Cfg.
I can’t suppress the .gau from underneath because I need the switches.
Im editing the panel MCP from 747 panel to have digital numbers.
The problem is that I set new HDG ALTITUDE VS and SPEED windows with digital numbers over the old ones, but I can’t see the XML gauge . It’s invisible

Maybe set them the first in the order In the cfg? Gauge00?

thanks
 
You can't see them because the 747 panel renders over them. draw order (search the SDK regarding panel.cfg files) is the best answer to your issue.
 
You can't see them because the 747 panel renders over them. draw order (search the SDK regarding panel.cfg files) is the best answer to your issue.
For draw order you mean gauge00, gauge01...? In same panel I added a few xml gauges and I can see them. Don’t know if there might be something with the xml code above....
 
Hi,

IIRC, the only way to make an XML gauge visible over a .gau/dll gauge is to add a void <CustomDraw> element; something like:

Code:
        ....first element
       <Element Name="void">
            <Visible>1</Visible>
            <Position X="NN" Y="NN" />
            <CustomDraw></CustomDraw>
       </Element>
      .... rest of the gauge

Where X & Y might be the start coordinates of the area you want to cover with the XML file. Or perhaps you can remove the <Position> property, you'll have to test.

Hope this helps

Tom
 
Draw order is set by a separate panel.cfg entry at the bottom of each Windownn section:

draw_order00=gauge50, gauge60
draw_order01=gauge51, gauge60
draw_order02=gauge52, gauge60
draw_order03=gauge53, gauge60
 
Draw order is set by a separate panel.cfg entry at the bottom of each Windownn section:

draw_order00=gauge50, gauge60
draw_order01=gauge51, gauge60
draw_order02=gauge52, gauge60
draw_order03=gauge53, gauge60
Thanks, but the gauge under keeps popping up sometime. Im new in XML editing.

Also do you know why the Xml disappears at night?

Thanks
 
I warned you about the gauge underneath popping up if it changes. Nothing you can do about that short of getting rid of anything moving in the gauge underneath.

No, I don't know why it disappears.

Sounds like you should start over with another approach.
 
Back
Top