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

Can One have 'Transparency' in FS2004?

Messages
10,158
Country
us-arizona
Hey guys,


In FSX XML Gauge Code, one can have a bitmap to be assigned 'transparent', (following string).

< Transparent > True < /Transparent >

Can one use this in FS9 XML Gauge code as well?



Bill
 
Of course, as a quick look at some of the FS9 default XML scripts would confirm...

Normally it is used in the context of a <Text..../> element:

<Text X="41" Y="14" Length="8" Fixed="Yes" Font="Quartz" FontHeight="0" FontWeight="400" Charset="Default" Attributes="Normal" Adjust="Center" VerticalAdjust="Center" Multiline="No" Color="#101010" BackgroundColor="transparent" HilightColor="white" Bright="Yes" UseTransparency="Yes">

or in <FormattedText...</FormattedText>

<FormattedText X="160" Y="52" Font="Arial" FontSize="50" Adjust="Left" Color="Gray" Transparent="Yes" Bright="Yes">
<String>%((A:Ambient Wind Direction, degrees))%!0d!\{dplo= } /%</String>
</FormattedText>
 
Thanks Fr. Bill.

I see that it can be used for 'drawn' rectangles that are filled with gray and made as a transparency as well. I am going to 'figure' that transparency is a set amount, as there doesnt seem to be a setting scaler of any sort that can be found, (or at least that I havent found yet).

Thanks again,

Bill

PS: On one of your above strings, it states a setting of FontHeight=... That cant be a 'hover' setting of the font above a surface, can it? For instance, the font Quartz, in reality, hovers slightly, being an LCD screen readout, casting a barely visible shadow. Surely that cannot be an available option in gauge writing, can it! (That would be pretty impressive).
 
Last edited:
Nope... in the simple <Text.../>, these two parameters FontHeight="0" FontWeight="400" act like the FontSize="18" in <FormattedText>....</FormatedText>

FontHeight="0" means autoscale the text to fit the Y=xx height.
 
Back
Top