Jump to content

Converting B9 fuel switch tanks to use WBI storage templates.


Recommended Posts

I need to find the baseVolume of B9 part switch tanks, then set the WBI capacity factor to baseVolume/1801, then ideally delete the B9 part switch module for fuel. 

This is the patch I have right now:

Spoiler

@PART:HAS[@MODULE[ModuleB9PartSwitch],#&ModuleB9PartSwitch/baseVolume&>0]:FINAL

{

    MODULE

    {

        name = WBIConvertibleStorage

        enableLogging = True

        showGUI = True

        confirmResourceSwitch = True

        defaultTemplate = LFO

        templateNodes = STORAGE_TEMPLATE

        templateTypes = Storage

        fieldReconfigurable = True

        resourcesToReplace = ALL

        capacityFactor = #&ModuleB9PartSwitch/baseVolume&/1801

        logoPanelTransforms = decalPanel001, decalPanel002, decalPanel003, decalPanel004

        decalsVisible = false

        baseStorage = .001

        maxStorage = 9100

    }

   

   

}

 

I am not sure what the baseStorage, decal things, and maxStorage do,  but it does not seem to interfere. I also cant figure out how to delete only the B9 part switch for duel, so I have just left it on and used convertible storage for editing.

The actual capacity of the tanks seem fine.

The problem I am running into is that all fuel tanks have a minimum value of 880 LF and that they always start at that much filled by default.

What is going wrong?

Also, how would I do this for FS fuel switch parts?

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