Jump to content
Sign in to follow this  
Guest n707jt

STALL warning

Recommended Posts

Guest n707jt

Hi guysI am very new to XML and I am trying to create a STALL warning sign for my HUD. I copied the STALL file from the default FS9 747 EICAS and I am attempting to modify it (say the font size and position) but I can't seem to get it. It is still staying at its original position. Why is this so? :S

<Element>			<Position X="80" Y="100"/>			<Text X="47" Y="6" Bright="Yes" Length="4" Font="Civa Gauge Font" Color="Red" Adjust="Center" VerticalAdjust="Center" Multiline="No">			   <String>%(  0 (A:Stall warning, bool) 0 << | (A:Overspeed warning, bool) 1 <<  |  d s0 (>L:Current warnings, mask) (L:Displayed warnings, mask) ~ & s1 if{ l1  (>L:Displayed warn, mask) } l0 (>L:Displayed warnings, mask) l0 (L:Displayed warn, mask) & s1 (>L:Displayed warn, mask))%(l1 2 &)%{if}OVERSPEED%{else}%(l1 1 &)%{if}STALL%{end}%{end}</String>			</Text>	</Element>

Share this post


Link to post
Share on other sites

You have no FontSize= in the <Text> entry. The <Position X="xx" Y="yy"/> entry determines where within the gauge the text line will be displayed.

<Position X="80" Y="100"/>			<Text X="47" Y="6" Bright="Yes" Length="4" Font="Civa Gauge Font" Color="Red" Adjust="Center" VerticalAdjust="Center" Multiline="No">

The above is very "obsolete" formatting instructions. Try using this instead. Adjust the Y="yy" to match the FontSize="ff" entry:

<Position X="80" Y="100"/> <Text X="47" Y="12" Bright="Yes" Font="Civa Gauge Font" FontSize="10" Color="Red" Adjust="Center" VerticalAdjust="Center" Multiline="No">

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...