Files
kos-scripts/boot/bumper.ks
2025-10-29 15:40:14 -07:00

27 lines
465 B
Plaintext

@lazyglobal off.
wait until ship:unpacked.
runoncepath("0:/lib/stage/v2.ks").
runoncepath("0:/lib/common.ks").
local target_azimuth is 90.
local target_pitch is 10.
rcs off.
v2:launch(target_azimuth, target_pitch).
rcs on.
local hdg is lookdirup(ship:srfprograde:forevector, ship:up:forevector).
lock throttle to 1.0.
lock steering to hdg.
wait 1.
wait until steering_locked().
stage.
wait 3.
stage.
wait until stage:ready.
stage.
wait until ship:thrust = 0.