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

FSX Gauge Transparency Help

Messages
292
Country
unitedkingdom
I am creating a popup throttle quadrant gauge with a RGB 0,0,0 background bitmap overlayed with the quadrant bitmap, I am using the black background because I want the throttle levers to show above the quadrant image, but the RGB 0,0,0 background is showing up black in the sim, isn't RGB 0,0,0 supposed to be transparent?

Here's the code I have got so far:
Code:
    <Filename>LR35_ECU.xml</Filename>
    <SimGauge.Gauge id="Gauge" ArtDirectory=".">
        <FloatPosition>0.000,0.000</FloatPosition>
        <Size>280,557</Size>
        <Image id="LR35_ECU Back.bmp" Name="LR35_ECU Back.bmp">
            <Transparent>True</Transparent>
        </Image>
        <Element id="Base">
            <FloatPosition>0.000,79.000</FloatPosition>
            <Image id="LR35_ECU.bmp" Name="LR35_ECU.bmp">
                <Transparent>True</Transparent>
                <Bright>True</Bright>
            </Image>
        </Element>
        <Element id="Throttle Left">
            <FloatPosition>14.000,17.000</FloatPosition>
            <Image id="Throttle_lever_left.bmp" Name="Throttle_lever_left.bmp">
                <Transparent>True</Transparent>
                <Axis>-1.000,-220.000</Axis>
                <Bright>True</Bright>
            </Image>
            <MaskImage id="Throttle_lever_left_mask.bmp" Name="Throttle_lever_left_mask.bmp">
            </MaskImage>
            <Shift id="Shift">
                <Scale>0.000,-2.100</Scale>
                <Expression id="Expression">
                    <Minimum>0.000</Minimum>
                    <Maximum>100.000</Maximum>
                    <Script>(A:General Eng Throttle Lever Position:1,percent)</Script>
                </Expression>
            </Shift>
        </Element>
        <MouseArea id="MouseArea">
            <FloatPosition>10.000,5.000</FloatPosition>
            <Size>80,330</Size>
            <CursorType>Hand</CursorType>
            <MouseClick id="MouseClick">
                <Script>                        (M:Y) 130 - 134 /  0  max 1 min  1 - /-/  1
                        (A:Throttle lower limit,part)
                        s0 - * l0 +  16384.0 *  (&gt;K:THROTTLE1_SET) </Script>
                <ClickType>LeftSingle+LeftDrag</ClickType>
                <MouseWheelFlip>True</MouseWheelFlip>
            </MouseClick>
            <Tooltip id="Tooltip">
                <DefaultId>TOOLTIPTEXT_THROTTLE_ENG1_THROTTLE_PERCENT</DefaultId>
            </Tooltip>
        </MouseArea>
    </SimGauge.Gauge>
</SimBase.Document>


Any help will be most appreciated.
 
You could try the following ,
Omit the Black background Bitmap ,
instead declare the background instrument size at the beginning of the instrument , then your background will be invisible .
eg ;
<Size X="460" Y="460"/>

Then just add the Bitmaps that you want to appear .

Cheers
Karol
 
Re above .
In this shot I have a Pop Up window of Text with invisible background that is placed over the Radar
it is selected on during Approach by a click on the Stall light to determine applicable approach speed.

In the composite shot I dragged it to left to show invisible nature .

I use ' zorder ' in panel.cfg to ensure it is always on top of other windows .
Invisible Bkgrnd Text.jpg
 
Thank's for the replys, fixed it by adding "Background_color=0,0,0" to the [WindowXX], I had an incline that it was the popup background that was showing up black, there you go, another lesson learn't:).
 
Back
Top