A32X: Fix FADEC Behavior on ground

This commit is contained in:
Joshua Davidson 2017-10-28 13:03:29 -04:00
parent 49986e58c5
commit 0a71e016ba
4 changed files with 9 additions and 9 deletions

View file

@ -40,7 +40,7 @@
<text> <text>
<halign>left</halign> <halign>left</halign>
<label>A32X Professional by it0uchpods Design Group</label> <label>A32X by it0uchpods Design Group</label>
</text> </text>
<text> <text>
<halign>left</halign> <halign>left</halign>

View file

@ -39,7 +39,7 @@
<text> <text>
<halign>center</halign> <halign>center</halign>
<label>Welcome to the IDG A32X Professional!</label> <label>Welcome to the IDG A32X Series!</label>
</text> </text>
<text> <text>
<halign>center</halign> <halign>center</halign>

View file

@ -66,7 +66,7 @@ setlistener("/controls/engines/engine[0]/throttle-pos", func {
setprop("/systems/thrust/state1", "MAN THR"); setprop("/systems/thrust/state1", "MAN THR");
unflex(); unflex();
} else if (thr1 >= 0.78 and thr1 < 0.83) { } else if (thr1 >= 0.78 and thr1 < 0.83) {
if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { if (getprop("/gear/gear[0]/wow") == 1) {
setprop("/it-autoflight/input/athr", 1); setprop("/it-autoflight/input/athr", 1);
} }
if (getprop("/controls/engines/thrust-limit") == "FLX") { if (getprop("/controls/engines/thrust-limit") == "FLX") {
@ -76,13 +76,13 @@ setlistener("/controls/engines/engine[0]/throttle-pos", func {
} }
setprop("/systems/thrust/state1", "MCT"); setprop("/systems/thrust/state1", "MCT");
} else if (thr1 >= 0.83 and thr1 < 0.95) { } else if (thr1 >= 0.83 and thr1 < 0.95) {
if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { if (getprop("/gear/gear[0]/wow") == 1) {
setprop("/it-autoflight/input/athr", 1); setprop("/it-autoflight/input/athr", 1);
} }
setprop("/systems/thrust/state1", "MAN THR"); setprop("/systems/thrust/state1", "MAN THR");
unflex(); unflex();
} else if (thr1 >= 0.95) { } else if (thr1 >= 0.95) {
if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { if (getprop("/gear/gear[0]/wow") == 1) {
setprop("/it-autoflight/input/athr", 1); setprop("/it-autoflight/input/athr", 1);
} }
setprop("/controls/engines/engine[0]/throttle-fdm", 0.99); setprop("/controls/engines/engine[0]/throttle-fdm", 0.99);
@ -126,7 +126,7 @@ setlistener("/controls/engines/engine[1]/throttle-pos", func {
setprop("/systems/thrust/state2", "MAN THR"); setprop("/systems/thrust/state2", "MAN THR");
unflex(); unflex();
} else if (thr2 >= 0.78 and thr2 < 0.83) { } else if (thr2 >= 0.78 and thr2 < 0.83) {
if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { if (getprop("/gear/gear[0]/wow") == 1) {
setprop("/it-autoflight/input/athr", 1); setprop("/it-autoflight/input/athr", 1);
} }
if (getprop("/controls/engines/thrust-limit") == "FLX") { if (getprop("/controls/engines/thrust-limit") == "FLX") {
@ -136,13 +136,13 @@ setlistener("/controls/engines/engine[1]/throttle-pos", func {
} }
setprop("/systems/thrust/state2", "MCT"); setprop("/systems/thrust/state2", "MCT");
} else if (thr2 >= 0.83 and thr2 < 0.95) { } else if (thr2 >= 0.83 and thr2 < 0.95) {
if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { if (getprop("/gear/gear[0]/wow") == 1) {
setprop("/it-autoflight/input/athr", 1); setprop("/it-autoflight/input/athr", 1);
} }
setprop("/systems/thrust/state2", "MAN THR"); setprop("/systems/thrust/state2", "MAN THR");
unflex(); unflex();
} else if (thr2 >= 0.95) { } else if (thr2 >= 0.95) {
if (getprop("/gear/gear[1]/wow") == 1 or getprop("/gear/gear[2]/wow") == 1) { if (getprop("/gear/gear[0]/wow") == 1) {
setprop("/it-autoflight/input/athr", 1); setprop("/it-autoflight/input/athr", 1);
} }
setprop("/controls/engines/engine[1]/throttle-fdm", 0.99); setprop("/controls/engines/engine[1]/throttle-fdm", 0.99);

View file

@ -1 +1 @@
3019 3020