TurboCompound
Resource contributor
- Messages
- 190
I tested the gauge in-game. The success was mixed. The Fuel switch worked as expected (though I forgot that the light comes on when the fuel switch is off, so the battery thing works in reverse. Fortunately, I think I can fix that.)
However, the problem was that the APU Starter light would not come on. I'm sure that the code is just screaming the answer at me, but I just don't know enough to catch on. Any ideas? Doug's XML debugger showed that L:APU_Starter was indeed changing to 1, so it must be one of the other values. The debugger did not list L:APU_Ign as an active variable.
However, the problem was that the APU Starter light would not come on. I'm sure that the code is just screaming the answer at me, but I just don't know enough to catch on. Any ideas? Doug's XML debugger showed that L:APU_Starter was indeed changing to 1, so it must be one of the other values. The debugger did not list L:APU_Ign as an active variable.
Code:
<Gauge Name="CL6_APU_Panel" Version="0.3">
<Image Name="APU_Panel.bmp"/>
<Element>
<Position X="221" Y="52"/>
<Select>
<Value>(L:APU_FuelSOV,Bool) (A:ELECTRICAL MASTER BATTERY, bool) and</Value>
<Case Value="0">
<Image Name="FuelValveClosed.bmp"/>
</Case>
<Case Value="1">
<Image Name="FuelValveOpen.bmp"/>
</Case>
</Select>
</Element>
<Element>
<Position X="368" Y="52"/>
<Select>
<Value>(L:APU_Starter,Bool) (A:FUEL TANK LEFT MAIN LEVEL,pounds) 5 > and (A:ELECTRICAL MASTER BATTERY,bool) and (L:APU_FuelSOV,Bool)and</Value>
<Case Value="0">
<Image Name="APU_Start.bmp"/>
</Case>
<Case Value="1">
<Image Name="APU_Start_Ign.bmp"/>
1 (>L:APU_Ign,bool)
</Case>
</Select>
</Element>
<Mouse>
<Area Left="221" Right="285" Top="52" Bottom="116">
<Tooltip>APU Fuel Valve</Tooltip>
<Cursor Type="Hand"/>
<Click>(L:APU_FuelSOV,Bool) ! (>L:APU_FuelSOV,Bool)</Click>
</Area>
<Area Left="368" Right="432" Top="52" Bottom="116">
<Tooltip>APU Start/Stop</Tooltip>
<Cursor Type="Hand"/>
<Click>(L:APU_Starter,Bool) ! (>L:APU_Starter,Bool)</Click>
</Area>
</Mouse>
</Gauge>


