feat: overhaul lander suicide burn, add transfer GUI, improve ascent fairing logic
- lander.ks: Replace fixed suicide burn with dynamic throttle control using vertical fraction, gateRatio, and finalPhase logic; simplify post-land sequence to SAS stabilityassist - transfer.ks: Replace hardcoded Mun target with GUI popup menu populated from body:orbitingchildren - ascent.ks: Change fairing jettison trigger from dynamic pressure to altitude > atm height; guard antenna extension with hasmodule check - basic.ks: Append stayRunner invocation at end of script - boot/boot.ks: Remove commented RT connection block; add newline before runPath - boot/testing.ks: Switch to volume 0 and use relative paths for transfer and doManeuver scripts - boot/heloBoot.ks: Delete unused boot file
This commit is contained in:
+21
-1
@@ -66,4 +66,24 @@ function hohmannTransfer {
|
||||
// print "Wait Time (s) : " + round(waitTime, 0).
|
||||
}
|
||||
|
||||
hohmannTransfer(Mun).
|
||||
local g is GUI(300).
|
||||
set g:x to 100.
|
||||
set g:y to 100.
|
||||
|
||||
local titleLabel is g:addlabel("Transfer to which body?").
|
||||
set titleLabel:style:align to "center".
|
||||
set titleLabel:style:hstretch to true.
|
||||
|
||||
local popup is g:addpopupmenu().
|
||||
set popup:optionsuffix to "NAME".
|
||||
for localMoon in body:orbitingchildren popup:addoption(localMoon).
|
||||
popup:changed.
|
||||
// print popup:options.
|
||||
// print popup:changed.
|
||||
|
||||
g:show().
|
||||
wait until popup:changed.
|
||||
// print popup:value.
|
||||
g:dispose().
|
||||
|
||||
hohmannTransfer(popup:value).
|
||||
Reference in New Issue
Block a user