Melchior FRANZ:
Add harrier/vtol support: Display the Harrier's thrust vector setting. 0=vertical, 100=max forward flight, -20=max backward
This commit is contained in:
parent
eb5124840b
commit
c055153de5
1 changed files with 14 additions and 2 deletions
|
@ -34,6 +34,8 @@ F3 and F4 are used like "Shift", "Control", or "Alternate" on computer keyboards
|
|||
For example: press F3 and keep holding it down while pressing the fire
|
||||
button/trigger -> toggle parking brake
|
||||
|
||||
When flying the Harrier, "F3/hat left" and "right" control the thrust vector.
|
||||
|
||||
|
||||
|
||||
___________________________________ Customization ____________________________________
|
||||
|
@ -449,7 +451,12 @@ ________________________________________________________________________________
|
|||
view.panViewDir(-1);
|
||||
}
|
||||
} elsif (mod == 1) {
|
||||
controls.adjMixture(-2);
|
||||
controls.adjMixture(-1);
|
||||
if (getprop("/sim/aero") == "harrier") {
|
||||
thv = getprop("/controls/engines/engine[0]/mixture");
|
||||
thv = int(thv * 120 - 20);
|
||||
gui.popupTip("Thrust vector " ~ thv);
|
||||
}
|
||||
} elsif (mod == 2) {
|
||||
controls.aileronTrim(-0.75);
|
||||
} elsif (mod == 3) {
|
||||
|
@ -474,7 +481,12 @@ ________________________________________________________________________________
|
|||
view.panViewDir(1);
|
||||
}
|
||||
} elsif (mod == 1) {
|
||||
controls.adjMixture(2);
|
||||
controls.adjMixture(1);
|
||||
if (getprop("/sim/aero") == "harrier") {
|
||||
thv = getprop("/controls/engines/engine[0]/mixture");
|
||||
thv = int(thv * 120 - 20);
|
||||
gui.popupTip("Thrust vector " ~ thv);
|
||||
}
|
||||
} elsif (mod == 2) {
|
||||
controls.aileronTrim(0.75);
|
||||
} elsif (mod == 3) {
|
||||
|
|
Loading…
Reference in a new issue