• There seems to be an up tick in Political commentary in recent months. Those of us who are long time members of the site we know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religiours commentary out of the fourms.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politicion will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment amoung members. It is a poison to the community. We apprciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

FS9 XML Coding

Firebar

Charter Member
For any of you out there who understand a bit more of this than I do.

Would this code

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 (&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
 
Back
Top