FANDOM


Launch Sequence Utilizing Loops (Kevin Laity) Edit

set tVal to 1.

lock throttle to tVal.
lock steering to up + R(0,0,180).
stage.
print "Launch!".

until altitude > 10000
{
  if verticalspeed > 210
  {
    set tVal to tVal – 0.02.
  }.
}.

lock steering to up + R(0,0,180) + R(0,-60,0).
print "Beginning gravity turn.".

wait 5.

until throttle = 1
{
  set tVal to tVal + 0.02.
  if tVal > 1 { set tVal to 1. }.
}.
// Program proceeds with staging and reaching orbit from here.

Note: This file is publicly editable and might contain malicious code.
Please exercise caution when using.
Launch Sequence Utilizing Loops.txt view

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.