Guest User

kOS AutoLauncher

a guest
Apr 11th, 2014
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. //original by Kevin Laity, fix by anonymous.
  2. lock throttle to 1.
  3. lock steering to up + R(0,0,180).
  4. stage.
  5. print "Launch!".
  6.  
  7. when stage:liquidfuel < 2000 then stage. //for Soyuz with 4 lateral boosters ONLY.
  8. when stage:liquidfuel < 5 then stage.
  9. sas on.
  10.  
  11. wait until altitude >10000.
  12. sas off.
  13. rcs on.
  14. lock steering to up + R(0,0,180) + R(0,-60,0).
  15. print "Beginning gravity turn.".
  16. wait 15.
  17. rcs off.
  18.  
  19. wait until apoapsis > 100200.
  20. lock throttle to 0.
  21. lock steering to prograde.
  22. print "Waiting for circularization burn.".
  23.  
  24. wait until eta:apoapsis < 15.
  25. sas on.
  26. lock throttle to 1.
  27. print "Burn.".
  28.  
  29. wait until periapsis > 99500.
  30. lock throttle to 0.
  31. print "You are in orbit now. Good luck.".
  32. //end program
Advertisement
Add Comment
Please, Sign In to add comment