diff --git a/A320-main.xml b/A320-main.xml index b7799dde..9e348f51 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -613,8 +613,8 @@ true 0 0 - 0 - 0 + 0 + 0 0 0.0 0.8 diff --git a/AircraftConfig/acconfig.nas b/AircraftConfig/acconfig.nas index 99980a16..6defbc4c 100644 --- a/AircraftConfig/acconfig.nas +++ b/AircraftConfig/acconfig.nas @@ -73,6 +73,8 @@ var failReset = func { setprop("/systems/failures/tank4pump1", 0); setprop("/systems/failures/tank4pump2", 0); setprop("/systems/failures/fuelmode", 0); + setprop("/systems/failures/cargo-aft-fire", 0); + setprop("/systems/failures/cargo-fwd-fire", 0); } failReset(); diff --git a/AircraftConfig/fail.xml b/AircraftConfig/fail.xml index 7e5077c1..cd4a34ec 100644 --- a/AircraftConfig/fail.xml +++ b/AircraftConfig/fail.xml @@ -474,9 +474,9 @@ - + left - /systems/fire/cargo/fwddet + /systems/failures/cargo-aft-fire dialog-apply @@ -484,9 +484,9 @@ - + left - /systems/fire/cargo/aftdet + /systems/failures/cargo-fwd-fire dialog-apply diff --git a/Models/Instruments/OHpanel/OHpanel.xml b/Models/Instruments/OHpanel/OHpanel.xml index 54ad5f71..40665e5c 100644 --- a/Models/Instruments/OHpanel/OHpanel.xml +++ b/Models/Instruments/OHpanel/OHpanel.xml @@ -248,7 +248,7 @@ - + select FwdCargoSmkBtn1S @@ -317,7 +317,6 @@ - Cargo Smoke Test pick @@ -326,6 +325,18 @@ false + + + + systems/electrical/bus/dc1 + 25 + + + systems/electrical/bus/dc2 + 25 + + + property-assign controls/fire/cargo/test 1 @@ -337,47 +348,85 @@ - - - + + pick + FwdCargoDischBtn + + + + + + + controls/OH/protectors/fwddisch + 1 + + + + systems/electrical/bus/dc1 + 25 + + + systems/electrical/bus/dc2 + 25 + + + + + property-assign + controls/fire/cargo/fwddisch + 1 + + + + + controls/OH/protectors/aftdisch + 1 + + + nasal + + + + pick - AftCargoDischGuard + AftCargoDischBtn - + + + + + controls/OH/protectors/aftdisch + 1 + + + + systems/electrical/bus/dc1 + 25 + + + systems/electrical/bus/dc2 + 25 + + + + property-assign - controls/OH/protectors/aftdisch + controls/fire/cargo/aftdisch 1 - - - property-assign - controls/OH/protectors/aftdisch - 0 - - - nasal - - - + + + + controls/OH/protectors/aftdisch + 1 + + + nasal + + @@ -407,41 +456,56 @@ pick - FwdCargoDischBtn + AftCargoDischGuard - + property-assign - controls/fire/cargo/fwddisch + controls/OH/protectors/aftdisch 1 - - nasal - - + + + property-assign + controls/OH/protectors/aftdisch + 0 + + + nasal + + + - pick - AftCargoDischBtn - - - - property-assign - controls/fire/cargo/aftdisch - 1 - - - nasal - - - + rotate + FwdCargoDischGuard + controls/OH/protectors/fwddisch + -145 + + -0.0067 + 0.19051 + -0.11153 + -0.00524 + 0.20242 + -0.11153 + - pick - AftCargoDischBtn + rotate + AftCargoDischGuard + controls/OH/protectors/aftdisch + -145 + + 0.00633 + 0.29475 + -0.11153 + 0.00779 + 0.30666 + -0.11153 + @@ -4836,8 +4900,26 @@ false - property-toggle + property-cycle controls/lighting/landing-lights[1] + 0 + 0.5 + 1 + + + nasal + + + + + + false + + property-cycle + controls/lighting/landing-lights[1] + 1 + 0.5 + 0 nasal @@ -4854,8 +4936,26 @@ false - property-toggle + property-cycle controls/lighting/landing-lights[2] + 0 + 0.5 + 1 + + + nasal + + + + + + false + + property-cycle + controls/lighting/landing-lights[2] + 1 + 0.5 + 0 nasal diff --git a/Nasal/fire.nas b/Nasal/fire.nas index 665fd5a9..cb4faa39 100644 --- a/Nasal/fire.nas +++ b/Nasal/fire.nas @@ -13,8 +13,8 @@ setlistener("/sim/signals/fdm-initialized", func { var level = getprop("/systems/fire/cargo/bottlelevel"); var fwdsquib = getprop("/systems/fire/cargo/fwdsquib"); var aftsquib = getprop("/systems/fire/cargo/aftsquib"); - var fwddet = getprop("/systems/fire/cargo/fwddet"); - var aftdet = getprop("/systems/fire/cargo/aftdet"); + var fwddet = getprop("/systems/failures/cargo-fwd-fire"); + var aftdet = getprop("/systems/failures/cargo-aft-fire"); var test = getprop("/controls/fire/cargo/test"); var guard1 = getprop("/controls/fire/cargo/fwdguard"); var guard2 = getprop("/controls/fire/cargo/aftguard"); @@ -35,8 +35,8 @@ setlistener("/sim/signals/fdm-initialized", func { var fire_init = func { setprop("/controls/OH/protectors/fwddisch", 0); setprop("/controls/OH/protectors/aftdisch", 0); - setprop("/systems/fire/cargo/fwddet", 0); - setprop("/systems/fire/cargo/aftdet", 0); + setprop("/systems/failures/cargo-fwd-fire", 0); + setprop("/systems/failures/cargo-aft-fire", 0); setprop("/systems/fire/cargo/fwdsquib", 0); setprop("/systems/fire/cargo/aftsquib", 0); setprop("/systems/fire/cargo/bottlelevel", 100); @@ -67,8 +67,8 @@ var master_fire = func { level = getprop("/systems/fire/cargo/bottlelevel"); fwdsquib = getprop("/systems/fire/cargo/fwdsquib"); aftsquib = getprop("/systems/fire/cargo/aftsquib"); - fwddet = getprop("/systems/fire/cargo/fwddet"); - aftdet = getprop("/systems/fire/cargo/aftdet"); + fwddet = getprop("/systems/failures/cargo-fwd-fire"); + aftdet = getprop("/systems/failures/cargo-aft-fire"); test = getprop("/controls/fire/cargo/test"); guard1 = getprop("/controls/fire/cargo/fwdguard"); guard2 = getprop("/controls/fire/cargo/aftguard"); diff --git a/revision.txt b/revision.txt index 929e30ed..42cda8bd 100644 --- a/revision.txt +++ b/revision.txt @@ -1 +1 @@ -1519 \ No newline at end of file +1520 \ No newline at end of file