Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //original by Kevin Laity, fix by anonymous.
- lock throttle to 1.
- lock steering to up + R(0,0,180).
- stage.
- print "Launch!".
- when stage:liquidfuel < 2000 then stage. //for Soyuz with 4 lateral boosters ONLY.
- when stage:liquidfuel < 5 then stage.
- sas on.
- wait until altitude >10000.
- sas off.
- rcs on.
- lock steering to up + R(0,0,180) + R(0,-60,0).
- print "Beginning gravity turn.".
- wait 15.
- rcs off.
- wait until apoapsis > 100200.
- lock throttle to 0.
- lock steering to prograde.
- print "Waiting for circularization burn.".
- wait until eta:apoapsis < 15.
- sas on.
- lock throttle to 1.
- print "Burn.".
- wait until periapsis > 99500.
- lock throttle to 0.
- print "You are in orbit now. Good luck.".
- //end program
Advertisement
Add Comment
Please, Sign In to add comment