Jump to content

Required language for mod scripting


Broax

Recommended Posts

I think this is an easy straightforward question and that this is the right place to put it in...

What programming language(s) should one learn to be able to create mods for unity/KSP?

I searched around but was overwhelmed with so much indepth information.. :(

Link to comment
Share on other sites

Unity and KSP use C#, and i've looked through some plugin's source code before; they're all in C#, so you'll need to use C#. I could be wrong, but I think if you use a different Unity compatible language (like UnityScript), you won't be able to use the KSP API.

(I haven't made a plugin though, so I could be wrong)

Link to comment
Share on other sites

One mod to note is Telemachus (forum, github), which exposes much of KSP through WebSockets as well as traditional web APIs, I compiled it from source with no noticeable problems with 0.90 on 64-bit Linux (How to get it working), and plan to use it with Python or Julia as an externalized alternative to kOS. There are a number of existing interfaces including a python wrapper. The license prevents me from redistributing the binaries.

Link to comment
Share on other sites

One mod to note is Telemachus (forum, github), which exposes much of KSP through WebSockets as well as traditional web APIs, I compiled it from source with no noticeable problems with 0.90 on 64-bit Linux (How to get it working), and plan to use it with Python or Julia as an externalized alternative to kOS. There are a number of existing interfaces including a python wrapper. The license prevents me from redistributing the binaries.

Neat, maybe I can do something similar that'll allow me to show off my skills in Lisp

Link to comment
Share on other sites

I'm kind of wondering how feasible it would be to add in a lua interpreter for KSP, I wonder if we could have ingame scripting that way (a la kOS)

We had one in the past. There are plenty of C# lua implementation available so it is just a matter of time.

Link to comment
Share on other sites

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.

×
×
  • Create New...