Jump to content

MM Patch Help (And some specific questions)


afyber

Recommended Posts

I've played KSP for a year or two now and have really enjoyed all the mods created for it, so I want to get started creating my own.

Clearly the simplest type of mod is a simple MM patch, but I'm not sure where to look for a general guide for programming them. I have been looking at mods I currently have installed to find examples, but there are a few things I couldn't find an example of, specifically:

  1. How to remove a stock part with a patch
  2. The Difference between "@PART" (and etc.) and "@Squad" (or other mod name)
Link to comment
Share on other sites

this is a better set of helpful comments in a thread:

What do you mean 'remove' (hide or delete)?

@PART is the beginning of most Module Manager patches.

for example

@PART[crewCabin] {}

is the basic patch to do something to a part named crewCabin (which is the Hitchhiker's)

Link to comment
Share on other sites

5 hours ago, afyber said:

I found the answer to my question in the first linked thread, I was thinking of

!PART[InfraredTelescope]:AFTER[Squad]{}

To hide the sentinel telescope in the part list and tech tree

suggest also deleting the tags (!tags = DELETE) so it won't show in the editor search either.

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