Jump to content
Sign in to follow this  
Guest Bassy

HUD again

Recommended Posts

Guest Bassy

Hello all,Jan,Jon,In my continuous work on the ultimate HUD I got stuck again.I want to have an altitude rolling ladder but the thing doesn't move.What is wrong in this element?% 90n% 85n% 80n% 75n% 70n% 65n% 60n% 55n% 50n% 45n% 40n% 35n% 30n% 25n% 20n% 15n% 10n% 5n% 0n(A:Kohlsman setting hg,inHg)(A:Indicated Altitude,feet) 10000 /Thanks for your help.Bassy

Share this post


Link to post
Share on other sites

Hi,May be you need more between the values.Or divide the 2 shifts in 2 elements:....(A:Kohlsman setting hg,inHg)(A:Indicated Altitude,feet) 10000 /or....(A:Kohlsman setting hg,inHg)(A:Indicated Altitude,feet) 10000 /Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites
Guest Bassy

Thanks Jan,But neither of them work.I try some other things...Bassy

Share this post


Link to post
Share on other sites

This is the working code of my HUD:0n9n8n7n6n5n4n3n2n1n0n(A:Indicated Altitude, feet) 100000 + 1000 % 100 / flr s0 (A:Indicated Altitude, feet) 100000 + 100 % s1 80 >= if{ l1 100 % 80 - 20 / } els{ 0 } l0 + Hope you can extract something useful,Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites
Guest Bassy

Does work but very slowly.Think I go back to bmp'sThanks Jan

Share this post


Link to post
Share on other sites

Resurrected post to recover the necroed XML script - Bill (N4GIX)

This is the working code of my HUD:
<Element Name="Altitude Hundreds"> <FormattedText X="20" Y="220"  Bright="Yes" Font="Arial" FontSize="20" LineSpacing="20" Color="%( (L:hud bright,number) 0x7f + 0x100 * )%"  Adjust="center"> <Axis X="-297" Y="10"/><String>0n9n8n7n6n5n4n3n2n1n0n</String></FormattedText><Shift><Value>(A:Indicated Altitude, feet) 100000 + 1000 % 100 / flr s0 (A:Indicated Altitude, feet) 100000 + 100 % s1 80 >= if{ l1 100 % 80 - 20 / } els{ 0 } l0 + </Value><Nonlinearity><Item Value="0" X="0" Y="-200"/><Item Value="10" X="0" Y="0"/></Nonlinearity></Shift><Clip Top="372" Bottom="396"/></Element>

Hope you can extract something useful,Jan"Beatus Ille Procul Negotiis"


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