Jump to content

[HELP] How to read module config?


Recommended Posts

I wanna put some node parameters in my part config


MODULE
{
name = MyPart
nodeA = nodeNameA
nodeB = theOtherNode
}

I need some examples on how to read them correctly, please.

Edited by Xyphos
Link to comment
Share on other sites

Look at the [KSPField] use, that is the command you are looking for.

Note that you can't add new values to the PART, you can only add values to a PARTMODULE.

Most mods will have examples of KSPFields use, that should get you started.

D.

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