Jump to content

How to make parts from my own mod only show in VAB build menu when I have another mod installed?


Recommended Posts

Hey guys! I want to put a part in game, but am not sure how to make it reliant on another mod to work. For example, installing Extraplanetary Launchpads on its own doesn't show the Planetary Base EL parts, but installing both does show. Here's the beginning of the config file for the K&K Smelter:

PART:NEEDS[Launchpad]
{
    // Kerbal Space Program - Part Config
    // A storage for rocket parts
    MODEL
    {
        model = PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/Smelter
    }
    
    
    // --- general parameters ---
    name = KKAOSS_Smelter
    module = Part
    author = Nils277

(pretty sure the end isn't relevant)

I suspect it has something to do with the 'PART:NEEDS[Launchpad]' bit, but it isn't clear why the piece in the brackets is Launchpad instead of the name of the mod in GameData (ExtraplanetaryLaunchpads). I do want the dependency mod to be Extraplanetary Launchpads though, so if there's no place where this tag can usually be found, I can still do what I want.

EDIT: I have since found where. It's the mod plugin name, which can usually be found under GameData\{ModName}\Plugins\{PluginName}.dll

Edited by NachoTwinsBean
found out where :D
Link to comment
Share on other sites

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