From 259c9a3e17ff0bdba8660c9788a27b938a2cb7cd Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Tue, 30 Apr 2019 11:00:35 +0100 Subject: [PATCH] Make it not go CRC when it goes CRC when it should not go CRC (hopefully it will stop going CRC) --- Models/FlightDeck/a320.flightdeck.xml | 11 +++++++++++ Nasal/ECAM/ECAM-controller.nas | 2 +- Nasal/fire.nas | 6 +++--- Sounds/A320-common-sound.xml | 5 ++++- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/Models/FlightDeck/a320.flightdeck.xml b/Models/FlightDeck/a320.flightdeck.xml index 7cc9ae28..f0d53585 100644 --- a/Models/FlightDeck/a320.flightdeck.xml +++ b/Models/FlightDeck/a320.flightdeck.xml @@ -5028,6 +5028,17 @@ ECAM/warnings/master-warning-light 0 + + + + systems/electrical/bus/dc-ess + 25 + + + property-assign + sim/sound/warnings/crc + 0 + diff --git a/Nasal/ECAM/ECAM-controller.nas b/Nasal/ECAM/ECAM-controller.nas index 8a8435aa..0293d105 100644 --- a/Nasal/ECAM/ECAM-controller.nas +++ b/Nasal/ECAM/ECAM-controller.nas @@ -72,7 +72,7 @@ var warning = { me.noRepeat = 1; }, sound: func() { - if (me.aural > 1 or me.noRepeat2 == 1 or me.active == 0) {return;} + if (me.aural > 1 or me.noRepeat2 == 1 or me.active == 0) {return;} aural[me.aural].setBoolValue(0); me.noRepeat2 = 1; settimer(func() { diff --git a/Nasal/fire.nas b/Nasal/fire.nas index 2b673a8b..7d65524a 100644 --- a/Nasal/fire.nas +++ b/Nasal/fire.nas @@ -315,13 +315,13 @@ var engFireDetectorUnit = { apuBleedNode.setValue(0); systems.apu_stop(); apuEmerShutdown.setBoolValue(1); - settimer(func() { + settimer(func() { # 3 sec delay - source TTM ATA 26 FIRE PROTECTION p102 extinguisherBottles.vector[4].discharge(); - }, 2); + }, 3); } else { settimer(func() { extinguisherBottles.vector[4].discharge(); - }, 2); + }, 3); } } } diff --git a/Sounds/A320-common-sound.xml b/Sounds/A320-common-sound.xml index 2edca093..d93b937e 100644 --- a/Sounds/A320-common-sound.xml +++ b/Sounds/A320-common-sound.xml @@ -1504,7 +1504,10 @@ - sim/sound/effects/volume + + 5 + sim/sound/effects/volume + 10 100