Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lock x to body:geopositionof(srfprograde:vector):heading.
- lock p to max(0,min(70,-verticalspeed*10)).
- lock steering to heading(x+180,p,180).
- shutoff(vectors).
- startup(nukes).
- set autoangle to false.
- set extraangle to 25.
- when autoangle then {
- setangle(90-vang(up:vector, ship:facing:vector) - extraangle).
- return autoangle.
- }
- when abs(steeringmanager:angleerror) < 5 then {print char(7). wait 1. lock throttle to nukedv.}
- when ship:oxidizer < 1000 then shutoff(vectors).
- when nukedv < 1 then {
- shutoff(nukes).
- startup(vectors).
- lock throttle to 0.
- lock steering to heading(x,p).
- lock p to 35.
- set autoangle to true.
- wait 1.
- when abs(steeringmanager:angleerror) < 5 then {
- print char(7).
- wait 1.
- lock throttle to -verticalspeed - 150.
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement