IT Autoflight: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 60: Line 60:


==== Before you Begin ====
==== Before you Begin ====
Download the latest version of IT-AUTOFLIGHT V3.0.0 Beta from [https://www.github.com/it0uchpods/IT-AUTOFLIGHT.git here]. Extract the Archive with WinRAR, 7Zip, or similar.
* Download the latest version of IT-AUTOFLIGHT V3.0.0 Beta from [https://www.github.com/it0uchpods/IT-AUTOFLIGHT.git here]. Extract the Archive with WinRAR, 7Zip, or similar.
* JSB Aircraft ONLY:
 
<syntaxhighlight lang="nasal">
var aglgears = func {
    var agl = getprop("/position/altitude-agl-ft") or 0;
    var aglft = agl - 6.0;  # is the position from the Aircraft above ground
    var aglm = aglft * 0.3048;
    setprop("/position/gear-agl-ft", aglft);
    setprop("/position/gear-agl-m", aglm);
 
    settimer(aglgears, 0.01);
}
 
aglgears();
</syntaxhighlight>
 
Add this, and start the sim. Find the value of "/position/altitude-agl-ft" when on ground. Replace the 6.0 with that value. The gear-agl-ft property should read around 0, but not negative when on ground. Adjust as necessary.


==== Step One ====
==== Step One ====
2,222

edits

Navigation menu