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)
The code for the indicator in the right with background :
The code for the other indicator on the left :
Someone has an idea ?
Thx in advance.
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)
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: