March 20, 201016 yr Hi, i just did a trial for XML gauge coding. So far, i only able to code this far: <Gauge Name="Tes Output" Version="1.0"> <Text X="110" Y="10" Bright="Yes" Length="11" Font="Arial" Color="Red" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Rudder Deflection, degrees)</Value></String> </Text> <Text X="110" Y="21" Bright="Yes" Length="11" Font="Arial" Color="White" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Warning Fuel, bool)</Value></String> </Text> <Text X="110" Y="32" Bright="Yes" Length="11" Font="Gill Sans MT" Color="Blue" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Velocity Body X, knots)</Value></String> </Text> <Text X="110" Y="43" Bright="Yes" Length="11" Font="Courier New" Color="Cyan" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Velocity Body Y, knots)</Value></String> </Text> <Text X="110" Y="54" Bright="Yes" Length="11" Font="Arial Narrow" Color="Red" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Velocity Body Z, knots)</Value></String> </Text></Gauge> But, when it is activated at FS9, it only shows blank (black) panel with no writings on it. Can anyone help me? Thanks.
March 20, 201016 yr Hi, i just did a trial for XML gauge coding. So far, i only able to code this far: <Gauge Name="Tes Output" Version="1.0"> <Text X="110" Y="10" Bright="Yes" Length="11" Font="Arial" Color="Red" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Rudder Deflection, degrees)</Value></String> </Text> <Text X="110" Y="21" Bright="Yes" Length="11" Font="Arial" Color="White" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Warning Fuel, bool)</Value></String> </Text> <Text X="110" Y="32" Bright="Yes" Length="11" Font="Gill Sans MT" Color="Blue" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Velocity Body X, knots)</Value></String> </Text> <Text X="110" Y="43" Bright="Yes" Length="11" Font="Courier New" Color="Cyan" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Velocity Body Y, knots)</Value></String> </Text> <Text X="110" Y="54" Bright="Yes" Length="11" Font="Arial Narrow" Color="Red" Adjust="Center" VerticalAdjust="Center"> <String><Value>(A:Velocity Body Z, knots)</Value></String> </Text></Gauge> But, when it is activated at FS9, it only shows blank (black) panel with no writings on it. Can anyone help me? Thanks. Too many errors in your code.here is a bit of code to show the nav1 radio freq. You can use this as a template to build the rest of your code. I suggest you read Nike Pikes tutorial on xml as that would provide you with a great deal of help. http://www.fs2x.com/Tutorials.htm**CODE SAMPLE***<Gauge Name="Tes Output" Version="1.0"><Element><Position X="320" Y="219" /><Text X="110" Y="10" Bright="Yes" Length="11" Font="Arial" Color="#7BAD10" Adjust="Center" VerticalAdjust="Center"> <String>%((A:Nav1 Active Frequency,Mhz))%!6.2f!% ----%{end}</String></Text></Element></Gauge>You have to adjust the position tag, X Y, to suit your project.Pay attention to the gauge layout and the A Var you are using, all this is covered on the site in various documents.<Gauge><Element><Position>etcgood luck,Douglas
Create an account or sign in to comment