- Messages
- 1,084
- Country

Below is the code I have written in XML for one of four digital gauges I need for the overhead panel of my C-17 Globemaster. Before I go any further, I would like to thank you all for your help with making the ramp panel a success. It is included on my panel which I have shared with the others in my vANG who also fly C-17s. Now to my new problem.
I created the gauge below by modifying a fuel percent gauge which is on the main panel. On the overhead are the actual quantities of fuel for the left auxiliary, left main, right main and right auxiliary fuel tanks. I checked to make sure that these were the names of the actual fuel tanks in the aircraft cfg and they are. I can get the gauge to appear, but the text in both the left auxiliary and left main I have created so faer both show zero though there is actually 100% fuel when I start the FS9. Please help again. What did I leave out or type wrong. I have tried going through both the XML tutorials and even the FS9 Panel SDK I have but no help. My gauges both read zero.
I created the gauge below by modifying a fuel percent gauge which is on the main panel. On the overhead are the actual quantities of fuel for the left auxiliary, left main, right main and right auxiliary fuel tanks. I checked to make sure that these were the names of the actual fuel tanks in the aircraft cfg and they are. I can get the gauge to appear, but the text in both the left auxiliary and left main I have created so faer both show zero though there is actually 100% fuel when I start the FS9. Please help again. What did I leave out or type wrong. I have tried going through both the XML tutorials and even the FS9 Panel SDK I have but no help. My gauges both read zero.
Code:
<Gauge Name="fuel_left_main" Version="1.0">
<Image Name="fuel.bmp"/>
<Image sizes= "30,15"/>
<Select>
<Value> (A:Fuel tank left main quantity, pounds)
</Value>
</Select>
<Element>
<Text X="190" Y="112" Length="19" Fixed="no" Font="Arial" Attributes="Bold" Adjust="center" VerticalAdjust="center" Color="#FFFFFF" Bright="Yes">
<String>%((A:fuel tank left main qty, pounds))%!5d! </String>
</Text>
</Element>
</Gauge>



