dceeddfcf1
- 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
23 lines
427 B
Plaintext
23 lines
427 B
Plaintext
switch to 0.
|
|
cd("scripts").
|
|
|
|
local g is GUI(300).
|
|
set g:x to 100.
|
|
set g:y to 100.
|
|
|
|
local titleLabel is g:addlabel("Scripts").
|
|
set titleLabel:style:align to "center".
|
|
set titleLabel:style:hstretch to true.
|
|
|
|
local popup is g:addpopupmenu().
|
|
set popup:optionsuffix to "NAME".
|
|
|
|
list files in localFiles.
|
|
for f in localFiles popup:addoption(f).
|
|
popup:changed.
|
|
|
|
g:show().
|
|
wait until popup:changed.
|
|
g:dispose().
|
|
|
|
runpath(popup:value). |