Jump to content

Is there a template for MM patches that change the tech node of a part?


Joontry

Recommended Posts

Hi,

I recently downloaded some mods that add flying saucers and an Alcubierre warp drive to the game, but would like to move the parts to the very end of the tech tree. Is there a template available for a Module Manager patch that would simply change the tech node that a part belongs to? I'm up for using the Module Manager Handbook by  Sarbian on Github to figure it out myself, but if there is a template or example available, that would save a significant amount of time. Thanks!

Link to comment
Share on other sites

let's see if I can do this from memory:


 

@PART[xxx]:FOR[Me]

{

    @TechRequired = 

}

Could use :First or :FINAL for the :FOR - but this way it will group all these patches into one pass - instead of the massive group of unscheduled or :FINAL patches

Just replace xxx with the part name from the config (not the title but the name) - replacing any `_` or spaces with `?`

and off course add which tech node you want. (https://wiki.kerbalspaceprogram.com/wiki/Technology_tree)

Link to comment
Share on other sites

You are welcome@Joontry

Hint: you can combine multiple  parts into one patch (easier to read and maintain, same work load for Module Manager) by separating part names with either a comma `,` or a pipe `|` - no spaces.

e.g.

@PART(1,2,3,|4,5]

I wouldn't mix and match and the comma is most often used.

Happy patching!

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