diff --git a/Nasal/ECAM/ECAM-logic.nas b/Nasal/ECAM/ECAM-logic.nas
index 8315abd7..3d649166 100644
--- a/Nasal/ECAM/ECAM-logic.nas
+++ b/Nasal/ECAM/ECAM-logic.nas
@@ -43,6 +43,16 @@ var messages_priority_2 = func {
athr_offw.noRepeat = 0;
athr_offw_1.noRepeat = 0;
}
+
+ if (getprop("/it-autoflight/output/athr") == 1 and ((getprop("/systems/thrust/eng-out") != 1 and (getprop("/systems/thrust/state1") == "MAN" or getprop("/systems/thrust/state2") == "MAN")) or (getprop("/systems/thrust/eng-out") == 1 and (getprop("/systems/thrust/state1") == "MAN" or getprop("/systems/thrust/state2") == "MAN" or (getprop("/systems/thrust/state1") == "MAN THR" and getprop("/controls/engines/engine[0]/throttle-pos") <= 0.83) or (getprop("/systems/thrust/state2") == "MAN THR" and getprop("/controls/engines/engine[0]/throttle-pos") <= 0.83)))) and (getprop("/ECAM/warning-phase") >= 5 and getprop("/ECAM/warning-phase") <= 7)) {
+ athr_lim.active = 1;
+ athr_lim_1.active = 1;
+ } else {
+ athr_lim.active = 0;
+ athr_lim_1.active = 0;
+ athr_lim.noRepeat = 0;
+ athr_lim_1.noRepeat = 0;
+ }
}
var messages_priority_2_old = func {
@@ -162,13 +172,13 @@ var messages_right_memo = func {
land_asap_a.active = 0;
}
- if (libraries.ap_active == 1) {
+ if (libraries.ap_active == 1 and getprop("/it-autoflight/output/ap-warning") == 1) {
ap_off.active = 1;
} else {
ap_off.active = 0;
}
- if (libraries.athr_active == 1) {
+ if (libraries.athr_active == 1 and getprop("/it-autoflight/output/athr-warning") == 1) {
athr_off.active = 1;
} else {
athr_off.active = 0;
diff --git a/Nasal/ECAM/ECAM-messages.nas b/Nasal/ECAM/ECAM-messages.nas
index f29f5fdc..8a08f994 100644
--- a/Nasal/ECAM/ECAM-messages.nas
+++ b/Nasal/ECAM/ECAM-messages.nas
@@ -19,10 +19,12 @@ var warningsOld = std.Vector.new([
var warnings = std.Vector.new([
var ap_offw = warning.new(msg: "AUTO FLT AP OFF", active: 0, colour: "r", aural: "calv", light: "warning", noRepeat: 0),
+ var athr_offw = warning.new(msg: "AUTO FLT A/THR OFF", active: 0, colour: "a", aural: "chime", light: "caution", noRepeat: 0),
+ var athr_offw_1 = warning.new(msg: "-THR LEVERS........MOVE", active: 0, colour: "b", aural: "none", light: "none", noRepeat: 0),
var athr_lock = warning.new(msg: "ENG THRUST LOCKED", active: 0, colour: "a", aural: "chime", light: "caution", noRepeat: 0),
var athr_lock_1 = warning.new(msg: "-THR LEVERS........MOVE", active: 0, colour: "b", aural: "none", light: "none", noRepeat: 0),
- var athr_offw = warning.new(msg: "AUTO FLT A/THR OFF", active: 0, colour: "a", aural: "chime", light: "caution", noRepeat: 0),
- var athr_offw_1 = warning.new(msg: "-THR LEVERS........MOVE", active: 0, colour: "b", aural: "none", light: "none", noRepeat: 0)
+ var athr_lim = warning.new(msg: "AUTO FLT A/THR LIMITED", active: 0, colour: "a", aural: "chime", light: "caution", noRepeat: 0),
+ var athr_lim_1 = warning.new(msg: "-THR LEVERS........MOVE", active: 0, colour: "b", aural: "none", light: "none", noRepeat: 0),
]);
var leftmemos = std.Vector.new([
diff --git a/Sounds/A320-common-sound.xml b/Sounds/A320-common-sound.xml
index c97d5b80..a79b51fb 100644
--- a/Sounds/A320-common-sound.xml
+++ b/Sounds/A320-common-sound.xml
@@ -817,7 +817,7 @@
- apoff
+ apoff-looped
looped
/Aircraft/IDG-A32X/Sounds/apoff.wav
@@ -846,17 +846,15 @@
- apoff
+ apoff-single
once
/Aircraft/IDG-A32X/Sounds/apoff.wav
-
-
- /it-autoflight/output/ap-warning
- 2
-
-
+
+ /it-autoflight/output/ap-warning
+ 1
+
/it-autoflight/output/ap1
0