Advertisement
Guest User

kOS Zero Length Launch System

a guest
Jan 23rd, 2016
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.07 KB | None | 0 0
  1. clearscreen.
  2. print "starting take off sequence.".
  3.  
  4.  
  5. FROM {local countdown is 5.} UNTIL countdown = 0 STEP {SET countdown to countdown - 1.}
  6.     DO {
  7.         PRINT "..." + countdown.
  8.         WAIT 1.
  9. }
  10.  
  11. ag3 on.
  12. ag4 on.
  13. ag6 off.
  14. sas on.
  15. rcs on.
  16. wait 1.
  17. gear off.
  18. lights on.
  19.  
  20.  
  21. lock throttle to 1.
  22. stage.
  23.  
  24. print "Engine spooling up".
  25.  
  26. FROM {local countdown is 15.} UNTIL countdown = 0 STEP {SET countdown to countdown - 1.}
  27.     DO {
  28.         PRINT "..." + countdown.
  29.         WAIT 1.
  30. }
  31.  
  32. print "Activating rocket engines".
  33. FROM {local countdown is 5.} UNTIL countdown = 0 STEP {SET countdown to countdown - 1.}
  34.     DO {
  35.         PRINT "..." + countdown.
  36.         WAIT 1.
  37. }
  38. lock throttle to 1.
  39. ag1 on.
  40.  
  41. print "Prepare for separation".
  42. FROM {local countdown is 5.} UNTIL countdown = 0 STEP {SET countdown to countdown - 1.}
  43.     DO {
  44.         PRINT "..." + countdown.
  45.         WAIT 1.
  46. }
  47. stage.
  48. wait 1.
  49. stage.
  50.  
  51. print "Flap and Elevator retract in:".
  52. FROM {local countdown is 15.} UNTIL countdown = 0 STEP {SET countdown to countdown - 1.}
  53.     DO {
  54.         PRINT "..." + countdown.
  55.         WAIT 1.
  56. }
  57. ag3 off.
  58. ag4 off.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement