Advertisement
sumguytwitches

hathi eve landing

Apr 7th, 2023 (edited)
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. lock x to body:geopositionof(srfprograde:vector):heading.
  2. lock p to max(0,min(70,-verticalspeed*10)).
  3. lock steering to heading(x+180,p,180).
  4. shutoff(vectors).
  5. startup(nukes).
  6. set autoangle to false.
  7. set extraangle to 25.
  8. when autoangle then {
  9. setangle(90-vang(up:vector, ship:facing:vector) - extraangle).
  10. return autoangle.
  11. }
  12.  
  13. when abs(steeringmanager:angleerror) < 5 then {print char(7). wait 1. lock throttle to nukedv.}
  14. when ship:oxidizer < 1000 then shutoff(vectors).
  15. when nukedv < 1 then {
  16. shutoff(nukes).
  17. startup(vectors).
  18. lock throttle to 0.
  19. lock steering to heading(x,p).
  20. lock p to 35.
  21. set autoangle to true.
  22. wait 1.
  23. when abs(steeringmanager:angleerror) < 5 then {
  24. print char(7).
  25. wait 1.
  26. lock throttle to -verticalspeed - 150.
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement