From 2b268e5e52e6d0ed09dd0998676f05e6c24a2268 Mon Sep 17 00:00:00 2001 From: KenwoodFox Date: Mon, 12 Apr 2021 17:25:35 -0400 Subject: [PATCH] Remove unused boot files. --- boot/radarr_boot.ks | 42 ------------------------------------------ boot/tutorial_boot.ks | 18 ------------------ 2 files changed, 60 deletions(-) delete mode 100644 boot/radarr_boot.ks delete mode 100644 boot/tutorial_boot.ks diff --git a/boot/radarr_boot.ks b/boot/radarr_boot.ks deleted file mode 100644 index b68f956..0000000 --- a/boot/radarr_boot.ks +++ /dev/null @@ -1,42 +0,0 @@ -// Written based off CheersKevin's youtube series -// On programming in KOS - -// This script is the boot script for the Radarr -// series of surface scanning probes. - - -// This method prints in big letters something on the screen. -FUNCTION NOTIFY { - PARAMETER message. - PARAMETER duration IS 5. - PARAMETER color IS WHITE. - - HUDTEXT("kOS: " + message, duration, 2, 50, color, false). - PRINT message. -} - -// This section from latest docs. -WAIT UNTIL ship:unpacked. -CLEARSCREEN. - -// This line from CheersKevin on youtube -core:part:getmodule("kOSProcessor"):doevent("Open Terminal"). // Open the terminal on boot! - -NOTIFY("Boot sequence complete, prepare to load and compile the flight scripts."). - -IF true { // Set this to false to avoid compiling ascent code. - COMPILE "0:/RadarrSeries/radarr_kerbin.ks" TO "1:/ascent.ksm". // Compile the flight code into a ksm object. -} ELSE { - COPYPATH("0:/RadarrSeries/radarr_kerbin.ks", "1:/ascent.ks"). // Copy over our launch script from the archive at ksc -} - -// I changed this! - -NOTIFY("Program compiled and ready to run."). - -IF alt:radar < 100 { // If our radar alt is lower than 10 - WAIT 5. - RUN ascent.ks. // Run the ascent stage! -} ELSE { - NOTIFY("System booted but did not pass pre-flight checks, aborting excecution!"). -} diff --git a/boot/tutorial_boot.ks b/boot/tutorial_boot.ks deleted file mode 100644 index 8a06c6e..0000000 --- a/boot/tutorial_boot.ks +++ /dev/null @@ -1,18 +0,0 @@ -// Written based off CheersKevin's youtube series -// On programming in KOS - -FUNCTION NOTIFY { - PARAMETER message. - HUDTEXT("kOS: " + message, 5, 2, 50, WHITE, false). -} - -NOTIFY("Program booted!"). - -IF ALT:RADAR < 100 { // If our radar alt is lower than 10 - WAIT 10. - COPY proto.proto1.ks FROM 0. // Copy in a prototyping script - RUN proto.proto1.ks. // Run the script we coppied over -} else { - NOTIFY("System booted but did not pass pre-flight checks, aborting excecution!"). -} -