It actually already has a sound ... remove it
This commit is contained in:
parent
eb07683aed
commit
5e07e24e0f
3 changed files with 95 additions and 24 deletions
|
@ -3073,6 +3073,10 @@
|
||||||
<value>0</value>
|
<value>0</value>
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/knb1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -3439,7 +3443,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>libraries.pushbutton();</script>
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -3478,7 +3482,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>libraries.pushbutton();</script>
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
@ -3552,9 +3556,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.cpt_efis_btns("off");
|
fcu.cpt_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3594,9 +3601,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.fo_efis_btns("off");
|
fcu.fo_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3636,9 +3646,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.cpt_efis_btns("off");
|
fcu.cpt_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3678,9 +3691,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.fo_efis_btns("off");
|
fcu.fo_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3720,9 +3736,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.cpt_efis_btns("off");
|
fcu.cpt_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3762,9 +3781,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.fo_efis_btns("off");
|
fcu.fo_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3804,9 +3826,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.cpt_efis_btns("off");
|
fcu.cpt_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3846,9 +3871,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.fo_efis_btns("off");
|
fcu.fo_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3888,9 +3916,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.cpt_efis_btns("off");
|
fcu.cpt_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -3930,9 +3961,12 @@
|
||||||
} else {
|
} else {
|
||||||
fcu.fo_efis_btns("off");
|
fcu.fo_efis_btns("off");
|
||||||
}
|
}
|
||||||
setprop("sim/sounde/btn1", 1);
|
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -4119,6 +4153,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<button>1</button>
|
<button>1</button>
|
||||||
|
@ -4130,6 +4168,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -4159,6 +4201,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<button>1</button>
|
<button>1</button>
|
||||||
|
@ -4170,6 +4216,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -4199,6 +4249,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<button>1</button>
|
<button>1</button>
|
||||||
|
@ -4210,6 +4264,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -4239,6 +4297,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>-1</value> <!-- ADF -->
|
<value>-1</value> <!-- ADF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<button>1</button>
|
<button>1</button>
|
||||||
|
@ -4250,6 +4312,10 @@
|
||||||
<value>1</value> <!-- VOR -->
|
<value>1</value> <!-- VOR -->
|
||||||
<value>0</value> <!-- OFF -->
|
<value>0</value> <!-- OFF -->
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/switch1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
<animation>
|
<animation>
|
||||||
|
@ -6469,6 +6535,10 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -6503,6 +6573,10 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
@ -9064,10 +9138,14 @@
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
<value>2</value>
|
<value>2</value>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
<!-- ND_R chrono -->
|
<!-- ND_R chrono -->
|
||||||
<animation>
|
<animation>
|
||||||
<type>pick</type>
|
<type>pick</type>
|
||||||
<object-name>chrono_fo</object-name>
|
<object-name>chrono_fo</object-name>
|
||||||
|
@ -9081,6 +9159,10 @@
|
||||||
<value>1</value>
|
<value>1</value>
|
||||||
<value>2</value>
|
<value>2</value>
|
||||||
</binding>
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("sim/sounde/btn1", 1);</script>
|
||||||
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,6 @@ var FCUController = {
|
||||||
me.FCU2.restore();
|
me.FCU2.restore();
|
||||||
},
|
},
|
||||||
AP1: func() {
|
AP1: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
if (!fmgc.Output.ap1.getBoolValue() and fbw.FBW.apOff == 0) {
|
if (!fmgc.Output.ap1.getBoolValue() and fbw.FBW.apOff == 0) {
|
||||||
fmgc.Input.ap1.setValue(1);
|
fmgc.Input.ap1.setValue(1);
|
||||||
|
@ -84,7 +83,6 @@ var FCUController = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
AP2: func() {
|
AP2: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
if (!fmgc.Output.ap2.getBoolValue() and fbw.FBW.apOff == 0) {
|
if (!fmgc.Output.ap2.getBoolValue() and fbw.FBW.apOff == 0) {
|
||||||
fmgc.Input.ap2.setValue(1);
|
fmgc.Input.ap2.setValue(1);
|
||||||
|
@ -96,7 +94,6 @@ var FCUController = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ATHR: func() {
|
ATHR: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
if (!fmgc.Output.athr.getBoolValue() and !pts.FMGC.CasCompare.casRejectAll.getBoolValue() and fbw.FBW.apOff == 0) {
|
if (!fmgc.Output.athr.getBoolValue() and !pts.FMGC.CasCompare.casRejectAll.getBoolValue() and fbw.FBW.apOff == 0) {
|
||||||
fmgc.Input.athr.setValue(1);
|
fmgc.Input.athr.setValue(1);
|
||||||
|
@ -106,7 +103,6 @@ var FCUController = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
FD1: func() {
|
FD1: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
if (!fmgc.Output.fd1.getBoolValue()) {
|
if (!fmgc.Output.fd1.getBoolValue()) {
|
||||||
fmgc.Input.fd1.setValue(1);
|
fmgc.Input.fd1.setValue(1);
|
||||||
|
@ -116,7 +112,6 @@ var FCUController = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
FD2: func() {
|
FD2: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
if (!fmgc.Output.fd2.getBoolValue()) {
|
if (!fmgc.Output.fd2.getBoolValue()) {
|
||||||
fmgc.Input.fd2.setValue(1);
|
fmgc.Input.fd2.setValue(1);
|
||||||
|
@ -167,7 +162,6 @@ var FCUController = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
IASMach: func() {
|
IASMach: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
if (fmgc.Input.ktsMach.getBoolValue()) {
|
if (fmgc.Input.ktsMach.getBoolValue()) {
|
||||||
fmgc.Input.ktsMach.setBoolValue(0);
|
fmgc.Input.ktsMach.setBoolValue(0);
|
||||||
|
@ -303,7 +297,6 @@ var FCUController = {
|
||||||
},
|
},
|
||||||
vertTemp: nil,
|
vertTemp: nil,
|
||||||
LOCButton: func() {
|
LOCButton: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
me.vertTemp = fmgc.Output.vert.getValue();
|
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) {
|
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() {
|
TRKFPA: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
fmgc.ITAF.toggleTrkFpa();
|
fmgc.ITAF.toggleTrkFpa();
|
||||||
}
|
}
|
||||||
|
@ -448,7 +440,6 @@ var FCUController = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
APPRButton: func() {
|
APPRButton: func() {
|
||||||
libraries.pushbutton();
|
|
||||||
if (me.FCUworking) {
|
if (me.FCUworking) {
|
||||||
me.vertTemp = fmgc.Output.vert.getValue();
|
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)) {
|
if ((fmgc.Output.locArm.getBoolValue() or fmgc.Output.lat.getValue() == 2) and (fmgc.Output.apprArm.getBoolValue() or me.vertTemp == 2 or me.vertTemp == 6)) {
|
||||||
|
|
|
@ -94,7 +94,6 @@ var setNDRange = func(n, d) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var cpt_efis_btns = func(i) {
|
var cpt_efis_btns = func(i) {
|
||||||
libraries.pushbutton();
|
|
||||||
if (i == "cstr") {
|
if (i == "cstr") {
|
||||||
setEfisOptions(0, 0, 1, 0, 0, 0, 0);
|
setEfisOptions(0, 0, 1, 0, 0, 0, 0);
|
||||||
} else if (i == "wpt") {
|
} else if (i == "wpt") {
|
||||||
|
@ -111,7 +110,6 @@ var cpt_efis_btns = func(i) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var fo_efis_btns = func(i) {
|
var fo_efis_btns = func(i) {
|
||||||
libraries.pushbutton();
|
|
||||||
if (i == "cstr") {
|
if (i == "cstr") {
|
||||||
setEfisOptions(1, 0, 1, 0, 0, 0, 0);
|
setEfisOptions(1, 0, 1, 0, 0, 0, 0);
|
||||||
} else if (i == "wpt") {
|
} else if (i == "wpt") {
|
||||||
|
|
Loading…
Reference in a new issue