Jump to content

Is it possible to make mods with python?


theleg

Recommended Posts

Unity uses C# as it's base language.(And most mod makers use it, it's almost considered the standard)

(But to be precise, KSP runs on the Common Language  Runtime, which manages the execution of .NET Programs.)

Many mods use .DLL files, which basically are libraries of functions. It's easier to import .DLLs in C#.

While it's technically possible to replicate this in python, it makes your code inefficient.

Also while I've never made a mod with python, I'm not sure how i'll get the code running, without some kind of "executor" written out of C#.

Just learn C# dude........

Link to comment
Share on other sites

Using Pyjion you can compile .net DLL's and use those. Like @editor99says, by the time you get this to work you're better of writing everything straight in C#

If you're looking to perform certain tasks in Python, consider the kRPC mod. Development on it is more active than the forum thread suggests and it exposes pretty much everything available in the game.

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...