Jump to content

Intro to KSP Plugin Development???


Recommended Posts

Hi all,

I'm looking to develop some plugins for KSP, mostly something that I feel should be simple, but I can't find any basic info anywhere:

1. Where is the API?? I found a partial API on the wiki page, but it had very little on it.

2. Can I load the API into visual studio so it recognizes the classes I'm trying to use?

3. Compiler guidelines. Any rules for compiling the code into plugins? I noticed they're in .dll format.

Cheers and thanks for the help.

Link to comment
Share on other sites

Okay well, I found this thread, which is great. I'm all setup in VS, and I can see the KSP class libraries and stuff.

http://kspwiki.nexisonline.net/wiki/Setting_up_Visual_Studio

Now my problem is, I'm new to Object Oriented Programming, so what does the code structure of a plugin look like? Does it have a main method like an application would? How does the flow of control work?

Link to comment
Share on other sites

Plugins being distributed here on the forums are required to include their source code. Download a few and see for yourself.

Just remember' date=' don't use someone else's code without permission.

Cheers!

[b']Capt'n Skunky

KSP Community Manager

Thanks skunky, I didn't know that. I'll have a look.

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