From 7e1f0c908d7ee808576570a2ba533b0a0768be28 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Tue, 25 Jul 2017 12:21:41 -0400 Subject: [PATCH] A3XX: Add new fuel failures --- AircraftConfig/acconfig.nas | 7 + AircraftConfig/fail.xml | 153 +++++++++++++++++----- Models/Instruments/OHpanel/OHpanel.xml | 106 ++++++++++----- Models/Instruments/OHpanel/res/ohpanel.ac | 2 +- Nasal/fuel.nas | 68 +++++++++- 5 files changed, 261 insertions(+), 75 deletions(-) diff --git a/AircraftConfig/acconfig.nas b/AircraftConfig/acconfig.nas index 21dc973f..09d86d56 100644 --- a/AircraftConfig/acconfig.nas +++ b/AircraftConfig/acconfig.nas @@ -66,6 +66,13 @@ var failReset = func { setprop("/systems/failures/pump-green", 0); setprop("/systems/failures/pump-yellow-eng", 0); setprop("/systems/failures/pump-yellow-elec", 0); + setprop("/systems/failures/tank2pump1", 0); + setprop("/systems/failures/tank2pump2", 0); + setprop("/systems/failures/tank3pump1", 0); + setprop("/systems/failures/tank3pump2", 0); + setprop("/systems/failures/tank4pump1", 0); + setprop("/systems/failures/tank4pump2", 0); + setprop("/systems/failures/fuelmode", 0); } failReset(); diff --git a/AircraftConfig/fail.xml b/AircraftConfig/fail.xml index 2e8a9914..596282b4 100644 --- a/AircraftConfig/fail.xml +++ b/AircraftConfig/fail.xml @@ -136,7 +136,7 @@ true - + true @@ -144,9 +144,9 @@ - + left - /systems/failures/elec-ac-ess + /systems/failures/bleed-apu dialog-apply @@ -154,9 +154,9 @@ - + left - /systems/failures/elec-genapu + /systems/failures/bleed-ext dialog-apply @@ -164,9 +164,9 @@ - + left - /systems/failures/elec-batt1 + /systems/failures/bleed-eng1 dialog-apply @@ -174,9 +174,9 @@ - + left - /systems/failures/elec-batt2 + /systems/failures/bleed-eng2 dialog-apply @@ -184,9 +184,9 @@ - + left - /systems/failures/elec-gen1 + /systems/failures/pack1 dialog-apply @@ -194,19 +194,9 @@ - + left - /systems/failures/elec-gen2 - - dialog-apply - - true - - - - - left - /systems/failures/elec-galley + /systems/failures/pack2 dialog-apply @@ -311,7 +301,7 @@ true - + true @@ -319,9 +309,9 @@ - + left - /systems/failures/bleed-apu + /systems/failures/elec-ac-ess dialog-apply @@ -329,9 +319,9 @@ - + left - /systems/failures/bleed-ext + /systems/failures/elec-genapu dialog-apply @@ -339,9 +329,9 @@ - + left - /systems/failures/bleed-eng1 + /systems/failures/elec-batt1 dialog-apply @@ -349,9 +339,9 @@ - + left - /systems/failures/bleed-eng2 + /systems/failures/elec-batt2 dialog-apply @@ -359,9 +349,9 @@ - + left - /systems/failures/pack1 + /systems/failures/elec-gen1 dialog-apply @@ -369,15 +359,106 @@ - + left - /systems/failures/pack2 + /systems/failures/elec-gen2 dialog-apply true + + + left + /systems/failures/elec-galley + + dialog-apply + + true + + + + + + + + vbox + + + hbox + + + true + + + + + + true + + + + + + left + /systems/failures/tank2pump1 + + dialog-apply + + true + + + + + left + /systems/failures/tank2pump2 + + dialog-apply + + true + + + + + left + /systems/failures/tank3pump1 + + dialog-apply + + true + + + + + left + /systems/failures/tank3pump2 + + dialog-apply + + true + + + + + left + /systems/failures/tank4pump1 + + dialog-apply + + true + + + + + left + /systems/failures/tank4pump2 + + dialog-apply + + true + +