July 12, 200520 yr 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
July 12, 200520 yr 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" Jan "Beatus ille qui procul negotiis..."
July 19, 200520 yr 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" Jan "Beatus ille qui procul negotiis..."
February 17, 201016 yr Moderator 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
Create an account or sign in to comment