Advertisement
Guest User

SSTO with Kerbal OS

a guest
Aug 26th, 2013
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. MODULE
  2. {
  3. name = kOSProcessor
  4. isEnabled = True
  5. EVENTS
  6. {
  7. Activate
  8. {
  9. active = True
  10. guiActive = True
  11. guiIcon = Open Terminal
  12. guiName = Open Terminal
  13. category = Open Terminal
  14. guiActiveUnfocused = False
  15. unfocusedRange = 2
  16. externalToEVAOnly = True
  17. }
  18. TogglePower
  19. {
  20. active = True
  21. guiActive = True
  22. guiIcon = Toggle Power
  23. guiName = Toggle Power
  24. category = Toggle Power
  25. guiActiveUnfocused = False
  26. unfocusedRange = 2
  27. externalToEVAOnly = True
  28. }
  29. }
  30. ACTIONS
  31. {
  32. }
  33. harddisk
  34. {
  35. capacity = 10000
  36. volumeName =
  37. file
  38. {
  39. filename = ssto
  40. line = clearscreen.
  41. line =
  42. line = lock throttle to 1.
  43. line = print "Taking off".
  44. line = stage.
  45. line = lock steering to prograde + R(0,15,0).
  46. line =
  47. line =
  48. line = wait until altitude > 100.
  49. line = print "Ascending to 18000m".
  50. line = GEAR off.
  51. line = lock steering to prograde + R(0,45,0).
  52. line =
  53. line =
  54. line = wait until altitude > 18000.
  55. line = print "Increasing horizontal velocity".
  56. line = lock steering to prograde + R(0,-5,0).
  57. line =
  58. line = wait until altitude > 23000.
  59. line = print "Throttling back to 75%".
  60. line = lock throttle to 0.75.
  61. line = lock steering to prograde.
  62. line =
  63. line = wait until altitude > 25000.
  64. line = print "Throttling back to 50%".
  65. line = lock throttle to 0.5.
  66. line = lock steering to prograde + R(0,5,0).
  67. line =
  68. line = wait until altitude > 26000.
  69. line = print "Going to rocket power".
  70. line = toggle AG1.
  71. line = lock steering to prograde + R(0,30,0).
  72. line = lock throttle to 1.
  73. line =
  74. line = wait until apoapsis > 100000.
  75. line = print "Waiting to circularise".
  76. line = lock throttle to 0.
  77. line = lock steering to prograde.
  78. line =
  79. line = wait until eta:apoapsis < 10.4.
  80. line = print "Circularizing in 3".
  81. line = wait 1.
  82. line = print "2".
  83. line = wait 1.
  84. line = print "1".
  85. line =
  86. line = wait until eta:apoapsis < 7.4.
  87. line = print "circularising".
  88. line = lock throttle to 1.
  89. line =
  90. line = wait until periapsis > 99000.
  91. line = print "Orbit Achieved!".
  92. }
  93. }
  94. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement