I have created a 2d gauge fsx syntax. All other elements work with alternate fnts with the exception of my fuel readout. this a readout of the percentage fuel. In the string code below PT is meant to be a % sign.
PT is the place holder I wish to replace with % sign. I have tried all types of escape charecters etc. but they just break the gauge or wish to evaluate more data. I have tried seaching but the moment I put % in a search I just get thousands of pages on coding xml.
<GaugeString>\{fnt1}\{clr2}GAS\{fnt}\{clr} %(100 (A:fuel total quantity, gallons)
(A:fuel total capacity,gallons) / *)%!3d!\{fnt1}PT{fnt}</GaugeString>.
I am using percentage as nn% x10 roughly equates to the distance I have left in the tanks.
Any help would be appreciated.
BesB
PT is the place holder I wish to replace with % sign. I have tried all types of escape charecters etc. but they just break the gauge or wish to evaluate more data. I have tried seaching but the moment I put % in a search I just get thousands of pages on coding xml.
<GaugeString>\{fnt1}\{clr2}GAS\{fnt}\{clr} %(100 (A:fuel total quantity, gallons)
(A:fuel total capacity,gallons) / *)%!3d!\{fnt1}PT{fnt}</GaugeString>.
I am using percentage as nn% x10 roughly equates to the distance I have left in the tanks.
Any help would be appreciated.
BesB


