I am working to modify the stock DC-3 fuel gauge to work with a plane that does not have 201 and 203 gallon tanks.....one that has 3 50-gallon tanks. I opened the XLM file and changed the capacities to 50 50 50.
But I can't find the tooltips so I can create a new one to work with this modified gauge. Here's a copy of the modified XLM so you can see what I have done and maybe be able to help me do what I want to do....and yes...the cab has been unzipped and the resulting folder had been renamed.
<Gauge Name="fuel_gauge" Version="1.0">
<Image Name="fuel_gauge.bmp"/>
<!-- ========================= Fuel Gauge ======================== -->
<Element>
<Position X="42" Y="42.8437"/>
<Image Name="fuel_gauge_needle.bmp" PointsTo="North">
<Axis X="3" Y="29.8437"/>
</Image>
<Rotate>
<Value>(L:Fuel Gauge Switch, enum) 0 ==
if{ (A:Fuel tank left main level,position) 50 * quit }
else{ (L:Fuel Gauge Switch, enum) 1 ==
if{ (A:Fuel tank right main level,position) 50 * quit }
else{ (A:Fuel tank center level,position) 50 * quit } }
</Value>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
<GAUGE_FUEL_INDICATORS Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="15" Y="62"/>
<Item Value="10" X="9" Y="36"/>
<Item Value="18" X="24" Y="15"/>
<Item Value="26" X="49" Y="10"/>
<Item Value="34" X="71" Y="27"/>
<Item Value="42" X="70" Y="59"/>
<Item Value="50" X="68" Y="61"/>
</Nonlinearity>
<Delay DegreesPerSecond="180"/>
</Rotate>
</Element>
<Mouse>
<Help ID="HELPID_GAUGE_FUEL_PERCENT"/>
<Tooltip ID="TOOLTIPTEXT_DC3_FUEL_GAUGE"/> <<<How do I change this>>>
</Mouse>
</Gauge>
OBIO
But I can't find the tooltips so I can create a new one to work with this modified gauge. Here's a copy of the modified XLM so you can see what I have done and maybe be able to help me do what I want to do....and yes...the cab has been unzipped and the resulting folder had been renamed.
<Gauge Name="fuel_gauge" Version="1.0">
<Image Name="fuel_gauge.bmp"/>
<!-- ========================= Fuel Gauge ======================== -->
<Element>
<Position X="42" Y="42.8437"/>
<Image Name="fuel_gauge_needle.bmp" PointsTo="North">
<Axis X="3" Y="29.8437"/>
</Image>
<Rotate>
<Value>(L:Fuel Gauge Switch, enum) 0 ==
if{ (A:Fuel tank left main level,position) 50 * quit }
else{ (L:Fuel Gauge Switch, enum) 1 ==
if{ (A:Fuel tank right main level,position) 50 * quit }
else{ (A:Fuel tank center level,position) 50 * quit } }
</Value>
<Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
<GAUGE_FUEL_INDICATORS Action="Freeze"/>
</Failures>
<Nonlinearity>
<Item Value="0" X="15" Y="62"/>
<Item Value="10" X="9" Y="36"/>
<Item Value="18" X="24" Y="15"/>
<Item Value="26" X="49" Y="10"/>
<Item Value="34" X="71" Y="27"/>
<Item Value="42" X="70" Y="59"/>
<Item Value="50" X="68" Y="61"/>
</Nonlinearity>
<Delay DegreesPerSecond="180"/>
</Rotate>
</Element>
<Mouse>
<Help ID="HELPID_GAUGE_FUEL_PERCENT"/>
<Tooltip ID="TOOLTIPTEXT_DC3_FUEL_GAUGE"/> <<<How do I change this>>>
</Mouse>
</Gauge>
OBIO