This nearly mostly works!
This commit is contained in:
@@ -30,6 +30,8 @@ IF true { // Set this to false to avoid compiling ascent code.
|
||||
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
|
||||
|
||||
18
boot/tagBoot.ks
Normal file
18
boot/tagBoot.ks
Normal file
@@ -0,0 +1,18 @@
|
||||
// Idea from JonnyOThan#0171
|
||||
// On the kOS discord.
|
||||
|
||||
WAIT UNTIL ship:unpacked.
|
||||
CLEARSCREEN.
|
||||
|
||||
// This line from CheersKevin on youtube
|
||||
core:part:getmodule("kOSProcessor"):doevent("Open Terminal"). // Open the terminal on boot!
|
||||
|
||||
PRINT "Using TagBoot ver 1.0".
|
||||
WAIT 5.
|
||||
PRINT "Booting with tag " + core:part:tag + "...".
|
||||
WAIT 5.
|
||||
|
||||
// reddit says the path cant be fully qualified (no 0:/)
|
||||
COPYPATH("0:/" + core:part:tag + "/boot.ks", "1:/boot/boot.ks").
|
||||
set core:bootfilename to "/boot/boot.ks".
|
||||
reboot. // Reboot the FC
|
||||
Reference in New Issue
Block a user