Jump to content

KSP.AI(All Unmanned, All the Time)


demon_313
 Share

Recommended Posts

Link to comment
Share on other sites

Well I started coding on Scratch, which was not useful for anything other than Scratch, but it still taught me a lot of things. Also kOS is based closely on other languages and is designed to be familiar to those who know other coding languages, so I suppose that works the other way round.
Yes, it is very addictive and a massive time sink.

Link to comment
Share on other sites

1 hour ago, demon_313 said:

B) and this is my biggest hangup... I don't know how i feel about learning a language that only works in KSP.

KSP programming in real-world languages: 

 

Edited by FleshJeb
Grabbed the wrong thread. This should be the right one.
Link to comment
Share on other sites

The Kerbin-Science-mk1

ZtrKVPZ.png

k-s-1-boot.ks
core:part:getmodule("kOSProcessor"):doevent("Open Terminal").
runpath("0:/k-s-1.ks").

k-s-1.ks
print("3").
wait 1.
print("2").
wait 1.
print("1").
wait 1.

lock steering to up.
lock throttle to 100.

stage.
print("Lift off!").

wait 60.
SAS on.

wait until altitude > 60000.
print("Altitude 60K, Staging...").

stage.
wait 2.
lock throttle to 0.

print("Launch Program End...").

Link to comment
Share on other sites

I sincerely hope that you will, like me, be sucked down the rabbit hole that is kOS and spend all your time until the Kraken devours you fixing faulty landing scripts and futilely struggling to control aircraft.

Edited by fulgur
Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...