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

N1 - N2 arc indicator

Messages
73
Hello !

I try to make an N1, N2 indicator using arc object in ACES. The code works but the result is not clean, there are lots of little points, the line is pixelised. I don't know how to do this to have a clean gauge.

On the left, N1 and N2 indicator without background-image.

On the right indicator with background-image (made in photoshop)

n1.jpg


The code for the indicator in the right with background :

Code:
        <Element id="Element">
            <FloatPosition>180.000,10.000</FloatPosition>
            <Image id="RafaleM_RightScreen_NBackground.bmp" Name="RafaleM_RightScreen_NBackground.bmp">
                <Transparent>True</Transparent>
            </Image>
            <Element id="Element">
                <FloatPosition>1.000,1.000</FloatPosition>
                <Arc id="Arc">
                    <Radius>39</Radius>
                    <LineWidth>4</LineWidth>
                    <LineColor>aquamarine</LineColor>
                    <EndAngle>135</EndAngle>
                </Arc>
            </Element>
            <Element id="Element">
                <FloatPosition>1.000,1.000</FloatPosition>
                <Arc id="Arc">
                    <Radius>39</Radius>
                    <LineWidth>4</LineWidth>
                    <LineColor>black</LineColor>
                    <StartAngleScript>0</StartAngleScript>
                    <EndAngleScript>135 (A:ENG N2 RPM:2,PERCENT) +</EndAngleScript>
                </Arc>
            </Element>
        </Element>

The code for the other indicator on the left :

Code:
        <Element id="Element">
            <FloatPosition>90.000,100.000</FloatPosition>
            <Element id="Element">
                <FloatPosition>3.000,3.000</FloatPosition>
                <Arc id="Arc">
                    <Radius>32</Radius>
                    <LineWidth>4</LineWidth>
                    <LineColor>aquamarine</LineColor>
                    <EndAngle>135</EndAngle>
                </Arc>
            </Element>
            <Element id="Element">
                <FloatPosition>2.500,2.500</FloatPosition>
                <Arc id="Arc">
                    <Radius>32</Radius>
                    <LineWidth>5</LineWidth>
                    <LineColor>black</LineColor>
                    <StartAngleScript>0</StartAngleScript>
                    <EndAngleScript>135 (A:ENG N2 RPM:2,PERCENT) +</EndAngleScript>
                </Arc>
            </Element>
            <Element id="Element">
                <FloatPosition>27.500,27.500</FloatPosition>
                <GaugeText id="GaugeText">
                    <Bold>True</Bold>
                    <FontColor>aquamarine</FontColor>
                    <FontHeight>15</FontHeight>
                    <GaugeString>%((A:ENG N2 RPM:2,PERCENT))%!d!</GaugeString>
                    <HorizontalAlign>CENTER</HorizontalAlign>
                    <Size>25,15</Size>
                    <Transparent>True</Transparent>
                </GaugeText>
            </Element>
            <Element id="Element">
                <FloatPosition>25.000,62.500</FloatPosition>
                <GaugeText id="GaugeText">
                    <Bold>True</Bold>
                    <FontColor>aquamarine</FontColor>
                    <FontHeight>15</FontHeight>
                    <GaugeString>N2</GaugeString>
                    <HorizontalAlign>CENTER</HorizontalAlign>
                    <Size>20,15</Size>
                    <Transparent>True</Transparent>
                </GaugeText>
            </Element>
        </Element>

Someone has an idea ?

Thx in advance.
 
Last edited:
Back
Top