1
0
Fork 0

It actually already has a sound ... remove it

This commit is contained in:
legoboyvdlp R 2021-07-29 20:54:14 +01:00
parent eb07683aed
commit 5e07e24e0f
3 changed files with 95 additions and 24 deletions

View file

@ -3073,6 +3073,10 @@
<value>0</value>
<value>1</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/knb1", 1);</script>
</binding>
</action>
</animation>
@ -3439,7 +3443,7 @@
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
@ -3478,7 +3482,7 @@
</binding>
<binding>
<command>nasal</command>
<script>libraries.pushbutton();</script>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
@ -3552,9 +3556,12 @@
} else {
fcu.cpt_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3594,9 +3601,12 @@
} else {
fcu.fo_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3636,9 +3646,12 @@
} else {
fcu.cpt_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3678,9 +3691,12 @@
} else {
fcu.fo_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3720,9 +3736,12 @@
} else {
fcu.cpt_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3762,9 +3781,12 @@
} else {
fcu.fo_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3804,9 +3826,12 @@
} else {
fcu.cpt_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3846,9 +3871,12 @@
} else {
fcu.fo_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3888,9 +3916,12 @@
} else {
fcu.cpt_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -3930,9 +3961,12 @@
} else {
fcu.fo_efis_btns("off");
}
setprop("sim/sounde/btn1", 1);
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -4119,6 +4153,10 @@
<value>1</value> <!-- VOR -->
<value>-1</value> <!-- ADF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
<action>
<button>1</button>
@ -4130,6 +4168,10 @@
<value>1</value> <!-- VOR -->
<value>0</value> <!-- OFF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -4159,6 +4201,10 @@
<value>1</value> <!-- VOR -->
<value>-1</value> <!-- ADF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
<action>
<button>1</button>
@ -4170,6 +4216,10 @@
<value>1</value> <!-- VOR -->
<value>0</value> <!-- OFF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -4199,6 +4249,10 @@
<value>1</value> <!-- VOR -->
<value>-1</value> <!-- ADF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
<action>
<button>1</button>
@ -4210,6 +4264,10 @@
<value>1</value> <!-- VOR -->
<value>0</value> <!-- OFF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -4239,6 +4297,10 @@
<value>1</value> <!-- VOR -->
<value>-1</value> <!-- ADF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
<action>
<button>1</button>
@ -4250,6 +4312,10 @@
<value>1</value> <!-- VOR -->
<value>0</value> <!-- OFF -->
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/switch1", 1);</script>
</binding>
</action>
</animation>
<animation>
@ -6469,6 +6535,10 @@
}
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
@ -6503,6 +6573,10 @@
}
</script>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
@ -9064,10 +9138,14 @@
<value>1</value>
<value>2</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>
<!-- ND_R chrono -->
<!-- ND_R chrono -->
<animation>
<type>pick</type>
<object-name>chrono_fo</object-name>
@ -9081,6 +9159,10 @@
<value>1</value>
<value>2</value>
</binding>
<binding>
<command>nasal</command>
<script>setprop("sim/sounde/btn1", 1);</script>
</binding>
</action>
</animation>

View file

@ -72,7 +72,6 @@ var FCUController = {
me.FCU2.restore();
},
AP1: func() {
libraries.pushbutton();
if (me.FCUworking) {
if (!fmgc.Output.ap1.getBoolValue() and fbw.FBW.apOff == 0) {
fmgc.Input.ap1.setValue(1);
@ -84,7 +83,6 @@ var FCUController = {
}
},
AP2: func() {
libraries.pushbutton();
if (me.FCUworking) {
if (!fmgc.Output.ap2.getBoolValue() and fbw.FBW.apOff == 0) {
fmgc.Input.ap2.setValue(1);
@ -96,7 +94,6 @@ var FCUController = {
}
},
ATHR: func() {
libraries.pushbutton();
if (me.FCUworking) {
if (!fmgc.Output.athr.getBoolValue() and !pts.FMGC.CasCompare.casRejectAll.getBoolValue() and fbw.FBW.apOff == 0) {
fmgc.Input.athr.setValue(1);
@ -106,7 +103,6 @@ var FCUController = {
}
},
FD1: func() {
libraries.pushbutton();
if (me.FCUworking) {
if (!fmgc.Output.fd1.getBoolValue()) {
fmgc.Input.fd1.setValue(1);
@ -116,7 +112,6 @@ var FCUController = {
}
},
FD2: func() {
libraries.pushbutton();
if (me.FCUworking) {
if (!fmgc.Output.fd2.getBoolValue()) {
fmgc.Input.fd2.setValue(1);
@ -167,7 +162,6 @@ var FCUController = {
}
},
IASMach: func() {
libraries.pushbutton();
if (me.FCUworking) {
if (fmgc.Input.ktsMach.getBoolValue()) {
fmgc.Input.ktsMach.setBoolValue(0);
@ -303,7 +297,6 @@ var FCUController = {
},
vertTemp: nil,
LOCButton: func() {
libraries.pushbutton();
if (me.FCUworking) {
me.vertTemp = fmgc.Output.vert.getValue();
if ((fmgc.Output.locArm.getBoolValue() or fmgc.Output.lat.getValue() == 2) and !fmgc.Output.apprArm.getBoolValue() and me.vertTemp != 2 and me.vertTemp != 6) {
@ -330,7 +323,6 @@ var FCUController = {
}
},
TRKFPA: func() {
libraries.pushbutton();
if (me.FCUworking) {
fmgc.ITAF.toggleTrkFpa();
}
@ -448,7 +440,6 @@ var FCUController = {
}
},
APPRButton: func() {
libraries.pushbutton();
if (me.FCUworking) {
me.vertTemp = fmgc.Output.vert.getValue();
if ((fmgc.Output.locArm.getBoolValue() or fmgc.Output.lat.getValue() == 2) and (fmgc.Output.apprArm.getBoolValue() or me.vertTemp == 2 or me.vertTemp == 6)) {

View file

@ -94,7 +94,6 @@ var setNDRange = func(n, d) {
}
var cpt_efis_btns = func(i) {
libraries.pushbutton();
if (i == "cstr") {
setEfisOptions(0, 0, 1, 0, 0, 0, 0);
} else if (i == "wpt") {
@ -111,7 +110,6 @@ var cpt_efis_btns = func(i) {
}
var fo_efis_btns = func(i) {
libraries.pushbutton();
if (i == "cstr") {
setEfisOptions(1, 0, 1, 0, 0, 0, 0);
} else if (i == "wpt") {