A3XX: Fix MCDU not allowing certain altitudes in THRRED/ACC, make Parking Brake lever working, improve hidden ECAM msgs
This commit is contained in:
parent
d182b21b61
commit
6745986efd
4 changed files with 27 additions and 27 deletions
|
@ -4667,7 +4667,7 @@
|
||||||
<animation>
|
<animation>
|
||||||
<type>rotate</type>
|
<type>rotate</type>
|
||||||
<object-name>ParkBrk</object-name>
|
<object-name>ParkBrk</object-name>
|
||||||
<property>controls/parking-brake</property>
|
<property>/controls/gear/brake-parking</property>
|
||||||
<factor>-90</factor>
|
<factor>-90</factor>
|
||||||
<center>
|
<center>
|
||||||
<x-m>0.1270</x-m>
|
<x-m>0.1270</x-m>
|
||||||
|
@ -4689,7 +4689,7 @@
|
||||||
<repeatable type="bool">false</repeatable>
|
<repeatable type="bool">false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-toggle</command>
|
<command>property-toggle</command>
|
||||||
<property>controls/parking-brake</property>
|
<property>/controls/gear/brake-parking</property>
|
||||||
</binding>
|
</binding>
|
||||||
</action>
|
</action>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
|
@ -627,9 +627,9 @@
|
||||||
<object-name>Line7G</object-name>
|
<object-name>Line7G</object-name>
|
||||||
<object-name>Line8G</object-name>
|
<object-name>Line8G</object-name>
|
||||||
<diffuse>
|
<diffuse>
|
||||||
<red>0.2</red>
|
<red>0</red>
|
||||||
<green>0.4</green>
|
<green>0.543</green>
|
||||||
<blue>0.2</blue>
|
<blue>0</blue>
|
||||||
</diffuse>
|
</diffuse>
|
||||||
<ambient>
|
<ambient>
|
||||||
<red>0</red>
|
<red>0</red>
|
||||||
|
@ -642,9 +642,9 @@
|
||||||
<blue>0</blue>
|
<blue>0</blue>
|
||||||
</specular>
|
</specular>
|
||||||
<emission>
|
<emission>
|
||||||
<red>0.2</red>
|
<red>0</red>
|
||||||
<green>0.4</green>
|
<green>0.543</green>
|
||||||
<blue>0.2</blue>
|
<blue>0</blue>
|
||||||
</emission>
|
</emission>
|
||||||
</animation>
|
</animation>
|
||||||
|
|
||||||
|
|
|
@ -577,7 +577,7 @@ var perfTOInput = func(key) {
|
||||||
setprop("/MCDU[0]/scratchpad", "");
|
setprop("/MCDU[0]/scratchpad", "");
|
||||||
} else {
|
} else {
|
||||||
var tfs = size(scratchpad);
|
var tfs = size(scratchpad);
|
||||||
if (tfs == 9) {
|
if (tfs >= 7 or tfs <= 9) {
|
||||||
var thracc = split("/", scratchpad);
|
var thracc = split("/", scratchpad);
|
||||||
var thrred = size(thracc[0]);
|
var thrred = size(thracc[0]);
|
||||||
var acc = size(thracc[1]);
|
var acc = size(thracc[1]);
|
||||||
|
|
|
@ -69,9 +69,9 @@ var lskbutton = func(btn) {
|
||||||
radnavInput("L2");
|
radnavInput("L2");
|
||||||
} else if (getprop("/MCDU[1]/page") == "CLB") {
|
} else if (getprop("/MCDU[1]/page") == "CLB") {
|
||||||
initInputA("L5"); # Does the same thing as on the INIT page
|
initInputA("L5"); # Does the same thing as on the INIT page
|
||||||
} else if (getprop("/MCDU[0]/page") == "CRZ") {
|
} else if (getprop("/MCDU[1]/page") == "CRZ") {
|
||||||
initInputA("L5");
|
initInputA("L5");
|
||||||
} else if (getprop("/MCDU[0]/page") == "DES") {
|
} else if (getprop("/MCDU[1]/page") == "DES") {
|
||||||
initInputA("L5");
|
initInputA("L5");
|
||||||
} else {
|
} else {
|
||||||
setprop("/MCDU[1]/scratchpad-msg", "1");
|
setprop("/MCDU[1]/scratchpad-msg", "1");
|
||||||
|
@ -121,7 +121,7 @@ var lskbutton = func(btn) {
|
||||||
perfCLBInput("L6");
|
perfCLBInput("L6");
|
||||||
} else if (getprop("/MCDU[1]/page") == "CRZ") {
|
} else if (getprop("/MCDU[1]/page") == "CRZ") {
|
||||||
perfCRZInput("L6");
|
perfCRZInput("L6");
|
||||||
} else if (getprop("/MCDU[0]/page") == "DES") {
|
} else if (getprop("/MCDU[1]/page") == "DES") {
|
||||||
perfDESInput("L6");
|
perfDESInput("L6");
|
||||||
} else {
|
} else {
|
||||||
setprop("/MCDU[1]/scratchpad-msg", "1");
|
setprop("/MCDU[1]/scratchpad-msg", "1");
|
||||||
|
@ -577,7 +577,7 @@ var perfTOInput = func(key) {
|
||||||
setprop("/MCDU[1]/scratchpad", "");
|
setprop("/MCDU[1]/scratchpad", "");
|
||||||
} else {
|
} else {
|
||||||
var tfs = size(scratchpad);
|
var tfs = size(scratchpad);
|
||||||
if (tfs == 9) {
|
if (tfs >= 7 or tfs <= 9) {
|
||||||
var thracc = split("/", scratchpad);
|
var thracc = split("/", scratchpad);
|
||||||
var thrred = size(thracc[0]);
|
var thrred = size(thracc[0]);
|
||||||
var acc = size(thracc[1]);
|
var acc = size(thracc[1]);
|
||||||
|
|
Reference in a new issue