Jump to content

cfg to add science container to all command modules


Recommended Posts

Hi,

I'd want to add science container to all command part, with the ability to have a button in the part GUI like "transfer data here", which would move all the science to this part. So far, I've done this :

@PART[*]:HAS[MODULE[ModuleCommand],![ModuleScienceContainer]]:FINAL
{
    MODULE
    {
        name = ModuleScienceContainer
        
        reviewActionName = #autoLOC_502201 //#autoLOC_502201 = Review Stored Data
        storeActionName = #autoLOC_502202 //#autoLOC_502202 = Store Experiments
        evaOnlyStorage = True // i.e. can nearby regular vessels also do this, or EVA only
        storageRange = 2
        canBeTransferredToInVessel = True
        canTransferInVessel = True
        showStatus = True
    }
}

But I don't have the ability to transfer the data without eva'ing...
Thanks

Link to comment
Share on other sites

The parameter you’ve added “evaOnlyStorage” is set to true so it’s doing as instructed. Not familiar with the module but presumably setting it to false will solve your problem.

Link to comment
Share on other sites

Hmm ok, I will try to add/tweak this evening see what I come up with. I’ve just noticed on the patch although there’s an option to “cantransferinvessel” there doesn’t look like there’s a corresponding action name (just review and store). How do you normally transfer it to another part internally? 

Link to comment
Share on other sites

There's this one

// Add in-vessel transfer support to all parts that can hold science, unless
// explicitly disabled by the part.  This is the same ability that the stock
// Experiment Storage Unit has; it doesn't really make sense for it to be
// limited to just the that part.
// Author: Wyzard
@PART[*]:HAS[@MODULE[ModuleScienceContainer],!MODULE[KerbalEVA]]
{
	@MODULE[ModuleScienceContainer]
	{
		// Allow "Container: Collect All" and "Container: Transfer
		// Data" by default.
		&canTransferInVessel = True

		// Allow targeting by "Container: Transfer Data" on other
		// parts by default.
		&canBeTransferredToInVessel = True
	}
}

from:

 

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