A3XX: Fix MCDU not allowing certain altitudes in THRRED/ACC, make Parking Brake lever working, improve hidden ECAM msgs

This commit is contained in:
Joshua Davidson 2017-06-16 18:25:33 -04:00
parent d182b21b61
commit 6745986efd
4 changed files with 27 additions and 27 deletions

View file

@ -4667,7 +4667,7 @@
<animation>
<type>rotate</type>
<object-name>ParkBrk</object-name>
<property>controls/parking-brake</property>
<property>/controls/gear/brake-parking</property>
<factor>-90</factor>
<center>
<x-m>0.1270</x-m>
@ -4689,7 +4689,7 @@
<repeatable type="bool">false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/parking-brake</property>
<property>/controls/gear/brake-parking</property>
</binding>
</action>
</animation>

View file

@ -627,9 +627,9 @@
<object-name>Line7G</object-name>
<object-name>Line8G</object-name>
<diffuse>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
<red>0</red>
<green>0.543</green>
<blue>0</blue>
</diffuse>
<ambient>
<red>0</red>
@ -642,9 +642,9 @@
<blue>0</blue>
</specular>
<emission>
<red>0.2</red>
<green>0.4</green>
<blue>0.2</blue>
<red>0</red>
<green>0.543</green>
<blue>0</blue>
</emission>
</animation>

View file

@ -577,7 +577,7 @@ var perfTOInput = func(key) {
setprop("/MCDU[0]/scratchpad", "");
} else {
var tfs = size(scratchpad);
if (tfs == 9) {
if (tfs >= 7 or tfs <= 9) {
var thracc = split("/", scratchpad);
var thrred = size(thracc[0]);
var acc = size(thracc[1]);

View file

@ -69,9 +69,9 @@ var lskbutton = func(btn) {
radnavInput("L2");
} else if (getprop("/MCDU[1]/page") == "CLB") {
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");
} else if (getprop("/MCDU[0]/page") == "DES") {
} else if (getprop("/MCDU[1]/page") == "DES") {
initInputA("L5");
} else {
setprop("/MCDU[1]/scratchpad-msg", "1");
@ -121,7 +121,7 @@ var lskbutton = func(btn) {
perfCLBInput("L6");
} else if (getprop("/MCDU[1]/page") == "CRZ") {
perfCRZInput("L6");
} else if (getprop("/MCDU[0]/page") == "DES") {
} else if (getprop("/MCDU[1]/page") == "DES") {
perfDESInput("L6");
} else {
setprop("/MCDU[1]/scratchpad-msg", "1");
@ -577,7 +577,7 @@ var perfTOInput = func(key) {
setprop("/MCDU[1]/scratchpad", "");
} else {
var tfs = size(scratchpad);
if (tfs == 9) {
if (tfs >= 7 or tfs <= 9) {
var thracc = split("/", scratchpad);
var thrred = size(thracc[0]);
var acc = size(thracc[1]);