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>
|
||||
<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>
|
||||
|
|
|
@ -626,26 +626,26 @@
|
|||
<object-name>Line6G</object-name>
|
||||
<object-name>Line7G</object-name>
|
||||
<object-name>Line8G</object-name>
|
||||
<diffuse>
|
||||
<red>0.2</red>
|
||||
<green>0.4</green>
|
||||
<blue>0.2</blue>
|
||||
</diffuse>
|
||||
<ambient>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</ambient>
|
||||
<specular>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</specular>
|
||||
<emission>
|
||||
<red>0.2</red>
|
||||
<green>0.4</green>
|
||||
<blue>0.2</blue>
|
||||
</emission>
|
||||
<diffuse>
|
||||
<red>0</red>
|
||||
<green>0.543</green>
|
||||
<blue>0</blue>
|
||||
</diffuse>
|
||||
<ambient>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</ambient>
|
||||
<specular>
|
||||
<red>0</red>
|
||||
<green>0</green>
|
||||
<blue>0</blue>
|
||||
</specular>
|
||||
<emission>
|
||||
<red>0</red>
|
||||
<green>0.543</green>
|
||||
<blue>0</blue>
|
||||
</emission>
|
||||
</animation>
|
||||
|
||||
<!-- Blue -->
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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]);
|
||||
|
|
Reference in a new issue