Jump to content

Add-on Request: a Mod to Restrict Module functions to a selected part


Fergrim

Recommended Posts

Is this possible?  I have so many mods with functions I really enjoy, but many are so powerful that I feel like it'd make more sense if they were deeper behind the research wall, tied to a specific part.

To be clear, I'm asking for something that would add an option like KerbalEngineer has, to restrict a modules functionality contingent on whether or not your ship contains a given part, any given part set by the user of said mod.

So it'd look like

Bind Module X

to

Part Y

How's that sound?

I know I'm free to just not use them until a chosen time, but it just doesn't feel as good and it breaks my immersion.  Also, if someone could create this, other mod creators could use it too.

Link to comment
Share on other sites

The problem is that this kind of support needs to be built into -each and every mod that wants to support it-.  Any third-party mod that tried to do such would only make a mess of things (e.g. it is very bad to manipulate other mods' modules' internals, and stock does not offer any reliable methods to -disable- modules without mucking about with their internal state.... which requires prior-knowledge of their internal state.... which also requires having links to their .dll's..).

TLDR:  Such a feature would need to be built into the stock code at the lowest level; something that would allow for dynamically enabling/disabling a module purely externally, without needing knowledge of or access to that modules' internals.  THEN a third party mod could easily enable/disable specific modules based on the presence of a part on the craft.  Until/unless the stock changes happen though, I would not get your hopes up about this being even remotely viable, as there is simply no way to turn off modules.

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