diff --git a/A320-main.xml b/A320-main.xml
index adde2bd4..3abab8ef 100644
--- a/A320-main.xml
+++ b/A320-main.xml
@@ -104,8 +104,11 @@
0
0
- 0
- 0
+ 0
+ 0
+ 0
+ 0
+ 0
diff --git a/Models/Instruments/OHpanel/OHpanel.xml b/Models/Instruments/OHpanel/OHpanel.xml
index 17cb24e1..a62adc02 100644
--- a/Models/Instruments/OHpanel/OHpanel.xml
+++ b/Models/Instruments/OHpanel/OHpanel.xml
@@ -606,7 +606,7 @@
nasal
-
+
@@ -673,7 +673,7 @@
nasal
-
+
@@ -740,7 +740,7 @@
nasal
-
+
@@ -1047,7 +1047,7 @@
nasal
-
+
@@ -1119,7 +1119,7 @@
nasal
-
+
@@ -1152,7 +1152,7 @@
nasal
-
+
@@ -1219,7 +1219,7 @@
nasal
-
+
@@ -1286,7 +1286,7 @@
nasal
-
+
@@ -1353,7 +1353,7 @@
nasal
-
+
@@ -1421,7 +1421,7 @@
nasal
-
+
@@ -1486,7 +1486,7 @@
nasal
-
+
@@ -1551,7 +1551,7 @@
nasal
-
+
@@ -1616,7 +1616,7 @@
nasal
-
+
@@ -1680,7 +1680,7 @@
nasal
-
+
@@ -1745,7 +1745,7 @@
nasal
-
+
@@ -1810,7 +1810,7 @@
nasal
-
+
@@ -1875,7 +1875,7 @@
nasal
-
+
@@ -1941,7 +1941,7 @@
nasal
-
+
@@ -1996,7 +1996,7 @@
nasal
-
+
@@ -2051,7 +2051,7 @@
nasal
-
+
@@ -2171,7 +2171,7 @@
nasal
-
+
@@ -2247,7 +2247,7 @@
nasal
-
+
@@ -2322,7 +2322,7 @@
nasal
-
+
@@ -2393,7 +2393,7 @@
nasal
-
+
@@ -2431,7 +2431,7 @@
nasal
-
+
@@ -2536,7 +2536,7 @@
nasal
-
+
@@ -2726,7 +2726,7 @@
nasal
-
+
@@ -2803,7 +2803,7 @@
nasal
-
+
@@ -2878,7 +2878,7 @@
nasal
-
+
@@ -2945,7 +2945,7 @@
nasal
-
+
@@ -3011,7 +3011,7 @@
nasal
-
+
@@ -3086,7 +3086,7 @@
nasal
-
+
@@ -3169,7 +3169,7 @@
nasal
-
+
@@ -3218,7 +3218,7 @@
nasal
-
+
@@ -3290,7 +3290,7 @@
nasal
-
+
@@ -3628,7 +3628,7 @@
nasal
-
+
@@ -3707,7 +3707,7 @@
nasal
-
+
diff --git a/Nasal/libraries.nas b/Nasal/libraries.nas
index c6864d92..294442c7 100644
--- a/Nasal/libraries.nas
+++ b/Nasal/libraries.nas
@@ -79,6 +79,24 @@ setlistener("/sim/sounde/btn1", func {
}, 0.05);
});
+setlistener("/sim/sounde/oh-btn", func {
+ if (!getprop("/sim/sounde/oh-btn")) {
+ return;
+ }
+ settimer(func {
+ props.globals.getNode("/sim/sounde/oh-btn").setBoolValue(0);
+ }, 0.05);
+});
+
+setlistener("/sim/sounde/btn3", func {
+ if (!getprop("/sim/sounde/btn3")) {
+ return;
+ }
+ settimer(func {
+ props.globals.getNode("/sim/sounde/btn3").setBoolValue(0);
+ }, 0.05);
+});
+
setlistener("/sim/sounde/knb1", func {
if (!getprop("/sim/sounde/knb1")) {
return;
@@ -108,7 +126,7 @@ setlistener("/controls/switches/no-smoking-sign", func {
props.globals.getNode("/sim/sounde/no-smoking-sign").setBoolValue(1);
settimer(func {
props.globals.getNode("/sim/sounde/no-smoking-sign").setBoolValue(0);
- }, 2);
+ }, 1);
});
#########
diff --git a/Sounds/A320-common-sound.xml b/Sounds/A320-common-sound.xml
index 87ed708c..26cc3160 100644
--- a/Sounds/A320-common-sound.xml
+++ b/Sounds/A320-common-sound.xml
@@ -704,7 +704,7 @@
Button
once
- Aircraft/A320Family/Sounds/Cockpit/button.wav
+ Aircraft/A330Family/Sounds/Cockpit/button.wav
/sim/sounde/btn1
@@ -713,6 +713,30 @@
+
+ ButtonOH
+ once
+ Aircraft/A330Family/Sounds/Cockpit/button2.wav
+
+ /sim/sounde/oh-btn
+
+
+ 0.75
+
+
+
+
+ Button3
+ once
+ Aircraft/A330Family/Sounds/Cockpit/button3.wav
+
+ /sim/sounde/btn3
+
+
+ 0.75
+
+
+
Knob
once
@@ -733,7 +757,7 @@
/sim/sounde/switch1
- 0.60
+ 0.75
diff --git a/Sounds/Cockpit/button2.wav b/Sounds/Cockpit/button2.wav
new file mode 100644
index 00000000..fef8b5a9
Binary files /dev/null and b/Sounds/Cockpit/button2.wav differ
diff --git a/Sounds/Cockpit/button3.wav b/Sounds/Cockpit/button3.wav
new file mode 100644
index 00000000..511272cc
Binary files /dev/null and b/Sounds/Cockpit/button3.wav differ
diff --git a/Sounds/Cockpit/switch.wav b/Sounds/Cockpit/switch.wav
index 605e5006..b886d6f0 100644
Binary files a/Sounds/Cockpit/switch.wav and b/Sounds/Cockpit/switch.wav differ