- Messages
- 1,068
- Country

I have installed two switches onto my panel RIGHT OUT of the cpt toggles without any changes whatsoever. I also updated the aircraft.cfg so that it has a primer and an electric fuel pump. by changing the first 0 in each aircraft.cfg entry to a 1 which I understand is NO to YES, true? Here are the two codes:
Neither switch moves from on or off position it just there. There IS a hand click on the panel but nothing happens. What is missing? This is stock code toggles from cpt_toggles with their switches.
Code:
<Gauge Name="Primer" Version="1.0">
<Element>
<Select>
<Value>(A:ENGINE PRIMER,bool)</Value>
<Case Value="0">
<Image Name="switch_off.bmp" ImageSizes="39,59"/>
</Case>
<Case Value="1">
<Image Name="switch_on.bmp" ImageSizes="39,59"/>
</Case>
</Select>
</Element>
<Mouse>
<Help ID="HELPID_CESS_PRIMER_SWITCH"/>
<Cursor Type="Hand"/>
<Click Event="TOGGLE_PRIMER"/>
</Mouse>
</Gauge>
Code:
<Gauge Name="FuelPump 1" Version="1.0">
<Element>
<Select>
<Value>(A:General eng1 fuel pump switch,bool)</Value>
<Case Value="0">
<Image Name="switch_off.bmp" ImageSizes="35,31"/>
</Case>
<Case Value="1">
<Image Name="switch_on.bmp" ImageSizes="35,31"/>
</Case>
</Select>
</Element>
<Mouse>
<Tooltip ID="">Fuel Pump 1</Tooltip>
<Help ID="Boost Pump"/>
<Cursor Type="Hand"/>
<Click Event="TOGGLE_ELECT_FUEL_PUMP1"/>
</Mouse>
</Gauge>
Neither switch moves from on or off position it just there. There IS a hand click on the panel but nothing happens. What is missing? This is stock code toggles from cpt_toggles with their switches.
Last edited:


