Archived

This topic is now archived and is closed to further replies.

Guest Bassy

HUD again

Recommended Posts

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
Help AVSIM continue to serve you!
Please donate today!

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

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

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"

Share this post


Link to post
Share on other sites