Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function launch()
- local vessel = getActiveVessel()
- if not vessel:hasModule("ScanSat") then
- print("ScanSat is not installed")
- return
- end
- if not vessel:hasModule("LaserDist") then
- print("LaserDist is not installed")
- return
- end
- if not vessel:hasModule("SurfaceLights") then
- print("SurfaceLights is not installed")
- return
- end
- if not vessel:hasModule("WarpEverywhere") then
- print("WarpEverywhere is not installed")
- return
- end
- if not vessel:hasModule("KosForAllVisual: EnvironmentalVisualEnhancements (volumetrics edition)") then
- print("EnvironmentalVisualEnhancements (volumetrics edition) is not installed")
- return
- end
- if not vessel:hasModule("RealPlume") then
- print("RealPlume is not installed")
- return
- end
- if not vessel:hasModule("Scatterer") then
- print("Scatterer is not installed")
- return
- end
- if not vessel:hasModule("TUFX") then
- print("TUFX is not installed")
- return
- end
- if not vessel:hasModule("Waterfall") then
- print("Waterfall is not installed")
- return
- end
- if not vessel:hasModule("Parallax") then
- print("Parallax is not installed")
- return
- end
- if not vessel:hasModule("Restock") then
- print("Restock is not installed")
- return
- end
- if not vessel:hasModule("RocketSupport: KRPC") then
- print("KRPC is not installed")
- return
- end
- if not vessel:hasModule("KOS") then
- print("KOS is not installed")
- return
- end
- if not vessel:hasModule("KOS-StockCamera") then
- print("KOS-StockCamera is not installed")
- return
- end
- if not vessel:hasModule("KOS-Scansat") then
- print("KOS-Scansat is not installed")
- return
- end
- if not vessel:hasModule("KOS-EVA") then
- print("KOS-EVA is not installed")
- return
- end
- if not vessel:hasModule("KOS-Career") then
- print("KOS-Career is not installed")
- return
- end
- if not vessel:hasModule("QuickStart") then
- print("QuickStart is not installed")
- return
- end
- print("Launching...")
- vessel:setStage(1)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 1 complete")
- vessel:setStage(2)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 2 complete")
- vessel:setStage(3)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 3 complete")
- vessel:setStage(4)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 4 complete")
- vessel:setStage(5)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 5 complete")
- vessel:setStage(6)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 6 complete")
- vessel:setStage(7)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 7 complete")
- vessel:setStage(8)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 8 complete")
- vessel:setStage(9)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print("Stage 9 complete")
- vessel:setStage(10)
- vessel:ignite()
- while vessel:getThrust() > 0 do
- vessel:update()
- end
- print
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement