Initial import
This commit is contained in:
27
boot/bumper.ks
Normal file
27
boot/bumper.ks
Normal file
@@ -0,0 +1,27 @@
|
||||
@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.
|
||||
Reference in New Issue
Block a user