25 lines
505 B
Plaintext
25 lines
505 B
Plaintext
@lazyglobal off.
|
|
wait until ship:unpacked.
|
|
rcs off.
|
|
|
|
runoncepath("0:/lib/common.ks").
|
|
runoncepath("0:/lib/stage/thor.ks").
|
|
runoncepath("0:/lib/stage/able.ks").
|
|
|
|
local target_inclination is 97.
|
|
local target_alt is 350_000.
|
|
|
|
local hdg is launch_azimuth(target_inclination, target_alt).
|
|
|
|
thor:launch(hdg, target_alt).
|
|
stage.
|
|
able:launch(hdg, target_alt).
|
|
|
|
warpto(time:seconds + (eta:apoapsis - 30)).
|
|
wait until eta:apoapsis < 30.
|
|
|
|
rcs on.
|
|
lock steering to ship:prograde.
|
|
wait until eta:apoapsis < 10.
|
|
stage.
|