Advertisement
sumguytwitches

e-plane takeoff

Oct 6th, 2020 (edited)
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. set x to 90.
  2. lock p to 5.
  3. lock steering to heading(x,p).
  4. lock deploy to min(max(3,airspeed^0.7), 89.9).
  5. set blades to ship:partsdubbedpattern("blade").
  6. set ship:control:pilotmainthrottle to 1.
  7.  
  8. set adjust to true.
  9. when true then {For b in blades b:getmodule("ModuleControlSurface"):setfield("deploy angle",deploy).
  10. return adjust.}
  11.  
  12. wait until altitude > 1000.
  13. lock p to -verticalspeed + 1.
  14.  
  15.  
  16.  
  17. .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement