- Messages
- 181
- Country

Okay. I expect you all were happy that my last needle started to work and I will stop posting my novices questions... FALSE 
My needles work, as shown here. But I need to "hide" parts of needles which are "under" the actual needle "window"... better than 100 words will be this picture
I read at www.fs2x.com tutorial (part 1 I think) that I shall use maskimage. I tried it on first left needle - TQ1. I drew a mask (which will be the same for all 8 needles) as shown here (colours are WIP, later on I changed them, read bellow)
So the small arch are pure black (pure black colour in Photoshop), the rest I did by the 1/1/1 colour - is this configuration of 1/1/1 clr correct?
Then I saved it as BMP16 bit (by the way, by eye look it looks like only black square, no difference, so I can not say if my colours were not lost during saving
).
I tried to give it into my code:
(rmk: my background_upped is 1149*899px, the mask image the same)
and voila... it doesnt work - gauge doesnt appear in FS.
So I tried to make the mask image ca. 5 pixel on each side smalled (to avoid overlaping the mask from the background (because 899/2 is not 450, but 449,5), but no change. I think I am doing some thing terribly bad, but what? Image format? Coding? Colours in the mask bmp?
Thanx for advice
PB
My needles work, as shown here. But I need to "hide" parts of needles which are "under" the actual needle "window"... better than 100 words will be this picture
I read at www.fs2x.com tutorial (part 1 I think) that I shall use maskimage. I tried it on first left needle - TQ1. I drew a mask (which will be the same for all 8 needles) as shown here (colours are WIP, later on I changed them, read bellow)
So the small arch are pure black (pure black colour in Photoshop), the rest I did by the 1/1/1 colour - is this configuration of 1/1/1 clr correct?
Then I saved it as BMP16 bit (by the way, by eye look it looks like only black square, no difference, so I can not say if my colours were not lost during saving
I tried to give it into my code:
Code:
<Gauge Name="EV-55 EICAS upper" Version="1.0">
<Image Name="background_upper.bmp"/>
<!-- grafika --><Element>
<Position X="13" Y="12"/>
<Image Name="background_upper_grafika.bmp"/>
</Element>
<!-- rucicka TQ1 --><Element>
[B]<MaskImage Name="mask.bmp">
<Axis X="574"> Y="450"/>
</MaskImage>[/B]
<Position X="281" Y="371"/>
<Image Name="rucicka1.bmp" PointsTo="North">
<Axis X="12" Y="240"/>
</Image>
<Rotate>
<Value Minimum="0" Maximum="1600">(A:Eng1 torque,ft-lbs)</Value>
<Nonlinearity>
<Item Value= "0" X= "75" Y="252" />
<Item Value= "200" X="113" Y="202" />
<Item Value= "400" X="162" Y="165" />
<Item Value= "600" X="221" Y="141" />
<Item Value= "800" X="284" Y="134" />
<Item Value="1000" X="343" Y="142" />
<Item Value="1200" X="403" Y="166" />
<Item Value="1400" X="451" Y="203" />
<Item Value="1600" X="490" Y="252" />
</Nonlinearity>
<Delay DegreesPerSecond="9"/>
</Rotate>
</Element>
/////here are my rest 7 needles, I deleted it for this forum to make it shorter///////¨
</Gauge>
and voila... it doesnt work - gauge doesnt appear in FS.
So I tried to make the mask image ca. 5 pixel on each side smalled (to avoid overlaping the mask from the background (because 899/2 is not 450, but 449,5), but no change. I think I am doing some thing terribly bad, but what? Image format? Coding? Colours in the mask bmp?
Thanx for advice
PB
Last edited:


