Jump to content

[1.8-1.9] Modular Fuel Tanks v5.13.1


taniwha

Recommended Posts

On 12/20/2017 at 8:26 PM, taniwha said:

in that the editor filter doesn't get setup correctly. I have it fixed locally but have not had the time to do a release.

 

Would that be why the basic tanks aren't showing up in the LFO category with FilterExtensions?

Link to comment
Share on other sites

I am using TAC Life support and Modular Fuel tanks (among other mods). Is it possible that the problem with fuel tanks being initially empty also corresponds to command pods not having any oxygen/food/water/etc? I can add it manually through action group menu in VAB.

Edited by JANXOL
Link to comment
Share on other sites

  • 2 weeks later...

Wasn't there a time when we could switch tank types in the VAB?

The reason I ask is that I'm trying to use FASA_Gemini_Lander_LFT as a pressurized tank.  I know that %type = ServiceModule creates the "pressurized" tank and allows it to use UDMF/IRFNA.  Unfortunately, for my situation, to accomplish this requires SaveFile editing.

Is that still around? Or, am I missing something?

Link to comment
Share on other sites

On 1/15/2018 at 5:18 PM, taniwha said:

It's there in the part action window (ie, right-click) for the part. If there's no option to change tank types, then the tank hasn't been set up with multiple types.

I've looked around but I am unable to find an example of multi-type configurations.  Just trying to logic it out, would this work?

@PART[FASA_Gemini_Lander_LFT]
{
    MODULE
    {
        name = ModuleFuelTanks
        type = Default, ServiceModule
        volume = 255
    }
}

Or, can you point me to an existing config?

Link to comment
Share on other sites

On 1/17/2018 at 4:43 PM, taniwha said:

Check the configs in Talisar Parts. type has the current type, and when multiple types are possible, each type has a typeAvailable line.

GameData/TalisarParts/Parts/FuelTank/Spherical/Configs/TAL_Large_HalfSpherical_Tank_Fuel.cfg

Right!  That got it!!!

Now, if I can just figure out why RESOURCE[ElectricCharge] is getting taken away by the new config ...

EDIT: YEAH! Got that one figure!

Edited by TranceaddicT
Link to comment
Share on other sites

Is there a reason you don't have fuel in the 2.5-3.75 adapter? Also,  looking the source, if I want to add a tank to a part, I just do this:

@PART[Size3TinyTank]
{
	MODULE
	{
		name = ModuleFuelTanks
		volume = 1800
		type = Default
	}
}

To make this tank use MFT?

https://github.com/linuxgurugamer/RecycledParts/blob/master/Release/GameData/SpaceTuxIndustries/RecycledParts/RSCapsuledyne/Parts/FuelTank/Size3TinyTank.cfg

Link to comment
Share on other sites

Yeppers.  That will do it.

I believe you can add preconfigured amounts by doing this:

@PART[Size3TinyTank]
{
    MODULE
    {
        name = ModuleFuelTanks
        volume = 1800
        type = Default

        RESOURCE
        {
            name = LiquidFuel
            amount = 810
            maxAmount = 810
        }

        RESOURCE
        {
            name = Oxidizer
            amount = 990
            maxAmount = 990
        }
    }        
}
Link to comment
Share on other sites

  • 2 weeks later...

Hi ,

I am using Near Future Mods and ran into the problem that some of the props use Lithium and the tanks provided in the mod are 10t and 20t size. This is quite big, in fact to big for what I wanted to do. So I thought that I could use Modular Fuel Tanks to store Lithium in other tanks. that But it seems that its not  supported in this mod. For me Lithiumwould have the great advatange that in Near Future the Convert-O-Tron's are able to create Lithium out of ore.

For me it would be a perfect scenario: flying somewhere, land (planet or asteroid), do some mining and ... refill the tanks. But I need smaller tanks.

Litium is  a metal and becomes liquid above 180.50 °C =  356.90 °F

Any ideas / suggestions ?

TIA, Joe

 

Edited by JoeeoJ
Corrections and further information
Link to comment
Share on other sites

Hi,

I want to change the dry/wet mass ratio of KW Rocketery SA-2 LFT fuel tank but I can't find how.

[Edit] ok I found it, I post it maybe it will help someone else.

In the KW_ModularFuelTanks.cfg file (GameData/ModularFuelTanks) find the type of the part (here Default) and rename it as you wish (Perso). This when way you will not change every Default typed parts

Then in the TankTypes.cfg file (GameData/ModularFuelTanks/Resources) clone the TANK_DEFINITION of the type Default and change the name of the clone for Perso. This when way you will not change every Default typed parts. Now change the basemass.

KW_ModularFuelTanks.cfg:

Spoiler

@PART[KW1mNoseCone]
{
    //!RESOURCE[LiquidFuel] {}
    //!RESOURCE[Oxidizer] {}
    //!RESOURCE[MonoPropellant] {}
    //!RESOURCE[XenonGas] {}
    MODULE
    {
        name = ModuleFuelTanks
        volume = 50
        type = Structural
    }
}


@PART[KW1mRCSfuel]
{
    //!RESOURCE[LiquidFuel] {}
    //!RESOURCE[Oxidizer] {}
    //!RESOURCE[MonoPropellant] {}
    //!RESOURCE[XenonGas] {}
    MODULE
    {
        name = ModuleFuelTanks
        volume = 100
        type = RCS
    }
}

@PART[KW1mtankPancake]
{
    //!RESOURCE[LiquidFuel] {}
    //!RESOURCE[Oxidizer] {}
    //!RESOURCE[MonoPropellant] {}
    //!RESOURCE[XenonGas] {}
    MODULE
    {
        name = ModuleFuelTanks
        volume = 112.5
        type = Default
    }
}

@PART[KW1mtankL0_5]
{
    //!RESOURCE[LiquidFuel] {}
    //!RESOURCE[Oxidizer] {}
    //!RESOURCE[MonoPropellant] {}
    //!RESOURCE[XenonGas] {}
    MODULE
    {
        name = ModuleFuelTanks
        volume = 120
        type = Default
    }
}

@PART[KW1mtankL1]
{
    //!RESOURCE[LiquidFuel] {}
    //!RESOURCE[Oxidizer] {}
    //!RESOURCE[MonoPropellant] {}
    //!RESOURCE[XenonGas] {}
    MODULE
    {
        name = ModuleFuelTanks
        volume = 240
        type = Default
    }
}

@PART[KW1mtankL2]
{
    //!RESOURCE[LiquidFuel] {}
    //!RESOURCE[Oxidizer] {}
    //!RESOURCE[MonoPropellant] {}
    //!RESOURCE[XenonGas] {}
    MODULE
    {
        name = ModuleFuelTanks
        volume = 480
        type = Default (here change Default for an unused name)
    }
}

[...]

TankTypes.cfg:

Spoiler

added line:

TANK_DEFINITION
{
    name = Perso
    basemass = 0.000225 * volume
    TANK
    {
      name = LiquidFuel
      amount = full
      maxAmount = 45%
    }
    TANK
    {
      name = Oxidizer
      amount = full
      maxAmount = 55%
    }
    TANK
    {
      name = MonoPropellant
      mass = 0.000625
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = XenonGas
      mass = 0.000625
      amount = 0.0
      maxAmount = 0.0
      utilization = 56.0
       note = (pressurized)
    }
}

TANK_DEFINITION
{
    name = Default
    basemass = 0.000625 * volume
    TANK
    {
      name = LiquidFuel
      amount = full
      maxAmount = 45%
    }
    TANK
    {
      name = Oxidizer
      amount = full
      maxAmount = 55%
    }
    TANK
    {
      name = MonoPropellant
      mass = 0.000625
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = XenonGas
      mass = 0.000625
      amount = 0.0
      maxAmount = 0.0
      utilization = 56.0
       note = (pressurized)
    }
}

TANK_DEFINITION
{
    name = Fuselage
    basemass = 0.000625 * volume
    TANK
    {
      name = LiquidFuel
      amount = full
      maxAmount = 100%
    }
    TANK
    {
      name = Oxidizer
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = MonoPropellant
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = XenonGas
      amount = 0.0
      maxAmount = 0.0
      utilization = 56.0
      note = (pressurized)
    }
}

TANK_DEFINITION
{
    name = Structural
    basemass = 0.0003125 * volume
    TANK
    {
      name = LiquidFuel
      mass = 0.0003125
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = Oxidizer
      mass = 0.0003125
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = MonoPropellant
      mass = 0.0005
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = XenonGas
      mass = 0.0005
      amount = 0.0
      maxAmount = 0.0
      utilization = 56.0
      note = (pressurized)
    }
}

TANK_DEFINITION
{
    name = Jet
    basemass = 0.000625 * volume
    TANK
    {
      name = LiquidFuel
      amount = full
      maxAmount = 100%
    }
}

TANK_DEFINITION
{
    name = Oxy
    basemass = 0.000625 * volume
    TANK
    {
      name = Oxidizer
      amount = full
      maxAmount = 100%
    }
}

TANK_DEFINITION
{
    name = RCS
    basemass = 0.0006 * volume
    TANK
    {
      name = MonoPropellant
      amount = full
      maxAmount = 100%
    }
}

TANK_DEFINITION
{
    name = Xenon
    basemass = 0.000072 * volume
    TANK
    {
      name = XenonGas
      //mass = 0.000625
      amount = full
      maxAmount = 100%
       note = (pressurized)
    }
}
// NK
TANK_DEFINITION
{
    name = ServiceModule
    basemass = 0.000625 * volume
    TANK
    {
      name = LiquidFuel
      amount = full
      maxAmount = 40.5%
    }
    TANK
    {
      name = Oxidizer
      amount = full
      maxAmount = 49.5%
    }
    TANK
    {
      name = MonoPropellant
      mass = 0.000625
      amount = full
      maxAmount = 3%
    }
    TANK
    {
        name = ElectricCharge
        mass = 0.002375
        utilization = 60
        amount = full
        maxAmount = 7%
    }
}
TANK_DEFINITION
{
    name = Solid
    // somewhere between RT-10 and BACC
    basemass = 0.00137885 * volume
    TANK
    {
      name = SolidFuel
      amount = full
      maxAmount = 100%
    }
}

TANK_DEFINITION
{
    name = Balloon
    basemass = 0.00001 * volume
    TANK
    {
      name = LiquidFuel
      amount = full
      maxAmount = 45%
    }
    TANK
    {
      name = Oxidizer
      amount = full
      maxAmount = 55%
    }
    TANK
    {
      name = MonoPropellant
      mass = 0.000625
      amount = 0.0
      maxAmount = 0.0
    }
    TANK
    {
      name = XenonGas
      mass = 0.000625
      amount = 0.0
      maxAmount = 0.0
      utilization = 56.0
       note = (pressurized)
    }
}

 

 

 

Edited by Toqui
Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...
On 4/10/2018 at 8:55 PM, DracoSilverpath said:

Hey there! Its likely been mentioned somehwere, but upon launching ksp 1.4.2 with this mod, it says it is not supported. does that mean it is not working at all? Or is this just an annoying popup I should ignore for now?

Can be safely ignored for now. Taniwah will get around to fixing it at some point, hopefully is just a recompile. :)

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