HvrdlS

Apollo Kerbin Return

Jun 26th, 2023
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. @clobberbuiltins on.
  2. clearscreen.
  3. return1().
  4.  
  5. function return1 {
  6. lock altit to ship:altitude.
  7. set status1 to "Controls are unlocked.Waiting for return to Kerbin".
  8. until altit < 150000 {
  9. printing().
  10. }
  11.  
  12. lock steering to srfretrograde.
  13. stage.
  14. set status1 to "SM has Separated".
  15. until altit < 70000 {
  16. printing().
  17. }
  18.  
  19. set status1 to "CM did enter the atmosphere of Kerbin".
  20. until altit < 3750 {
  21. printing().
  22. }
  23.  
  24. stage.
  25. wait 1.
  26. stage.
  27. set status1 to "Heat Shield Separation and Drogue Chutes Deploy".
  28. until altit < 1750 {
  29. printing().
  30. }
  31.  
  32. ag8 on.
  33. stage.
  34. set status1 to "Main Chutes Deploy".
  35. until ship:status = "Landed" or ship:status = "Splashed" or ship:status = "Crashed" {
  36. printing().
  37. }
  38.  
  39. set status1 to "Touchdown".
  40. print "Touchdown of CM.Welcome to Kerbin".
  41. }
  42.  
  43. function printing {
  44. clearscreen.
  45. set t to (time:seconds-now1)/60.
  46. print "T+: " + t + " Minutes".
  47. print "Status: " + status1.
  48. wait 0.1.
  49. }
Advertisement
Add Comment
Please, Sign In to add comment