Add code for unmanned science return probe.
This commit is contained in:
parent
81720074e4
commit
fcf93c4106
3 changed files with 37 additions and 170 deletions
17
prog/reentry.ks
Normal file
17
prog/reentry.ks
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
@lazyglobal off.
|
||||
|
||||
SAS off.
|
||||
lock STEERING to SHIP:SRFRETROGRADE.
|
||||
|
||||
for p in SHIP:PARTS {
|
||||
if p:MODULES:Find("ModuleRTAntenna") > -1 and p:GetModule("ModuleRTAntenna"):ALLEVENTNAMES:Find("Deactivate") > -1 {
|
||||
p:GetModule("ModuleRTAntenna"):DoEvent("Deactivate").
|
||||
}
|
||||
}
|
||||
|
||||
when SHIP:ALTITUDE - SHIP:GEOPOSITION:TERRAINHEIGHT < 2500 then {
|
||||
CHUTES on.
|
||||
}
|
||||
|
||||
wait until false.
|
Loading…
Add table
Add a link
Reference in a new issue