Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //=====CMLS Boot Script=====
- //~~bootCMLS.ks~~
- //Boot file that is loaded onto second stage computer at
- //rollout.
- //
- //Ensures that CMLSlaunch is run from the archive, that
- //all files in the CMLS directory are compiled to reflect
- //their most recent uploaded versions, and that all library
- //functions are built and loaded.
- SWITCH TO 0.
- CLEARSCREEN.
- SET TERMINAL:WIDTH TO 50.
- SET TERMINAL:HEIGHT TO 25.
- //~~~~~Compiling~~~~~ #open
- COMPILE CMLSlaunch.ks.
- COMPILE CMLS1run.ks.
- COMPILE CMLS2run.ks.
- COMPILE CMLSeng.ks.
- COMPILE CMLSsburn.ks.
- COMPILE LIB_LAZcalc.ks.
- COMPILE LIB_PID.ks.
- COMPILE LIB_CMLSeng.ks.
- PRINT "All CMLS files accounted for and compiled.".
- WAIT 0.25.
- //compiling #close
- //~~~~~Build Library~~~~~ #open
- RUN LIB_LAZcalc.ksm.
- RUN LIB_PID.ksm.
- RUN LIB_CMLSeng.ksm.
- PRINT "Libraries built.".
- PRINT " ".
- WAIT 0.25.
- //build library #close
- //~~~~~User instructions~~~~~ #open
- PRINT "To initiate launch script, type:".
- PRINT "RUN CMLSlaunch.ksm([TAlt],[TInc],[Node]).".
- PRINT "TAlt = Desired altitude of final circular orbit;".
- PRINT "TInc = Desired inclination of final orbit;".
- PRINT "Node = (A)scending or (D)escending, in quotes.".
- //#close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement