PDA

View Full Version : FS9 XML Coding



Firebar
December 20th, 2008, 05:34
For any of you out there who understand a bit more of this than I do.

Would this code



<Value>
(L:Engine1FuelCut, bool) 0 ==
(L:FuelPump1, number) 0 ==
(L:FuelPump2, number) 0 ==
(L:XFeed, number) 0 ==
(L:FuelPump3, number) 0 ==
(L:FuelPump4, number) 0 ==
or
or
and
and
or
if{ 1 (&amp;gt;K:TOGGLE_ENGINE1_FAILURE) }
</Value>


Cause engine 1 not to work if FuelCut = 0 or [ (FuelPump1 = 0 and FuelPump2 = 0) and ( FuelPump3 = 0 or FuelPump4 = 0 or XFeed - 0) ]

The above is the best way I can explain it.

Basically I want the engine not to work if the Fuel Valve is closed or if both the left (1 and 2) pumps are off and the Right Pumps (3 and 4) arent feeding fuel through the crossfeed (feed to left is = 1)

If you can help cheers
Matt