Jump to content

Sandriell

Members
  • Posts

    38
  • Joined

  • Last visited

Posts posted by Sandriell

  1. 18 hours ago, panarchist said:

    I would definitely object to making them even, since that doesn't reflect RL values at all. For MKS it makes sense, since that system uses "Supplies". It also makes sense for Snacks. But if using TAC-LS it's completely inaccurate since as @linuxgurugamerpointed out they all have different densities. The point to US2 wedges is that they have consistent volumes. I can't remember the in-game volume of a wedge, but just looking at RL values for Food, Oxygen, and Water with 1m3 as an example - 1m3 of food is 190 days for 1 human. 1m3 of water is 400 days, and and 1m3 of compressed Oxygen is 247.5 days. (source and source)

    That is fine. I never suggested anyone use it, was never intending to share it anyway, and only did cause linuxgurugamer was asking for more input and figured I would throw it out there if it was wanted.

  2. On 12/24/2021 at 10:53 AM, linuxgurugamer said:
      Reveal hidden contents

     

    @SandriellI've been reviewing this, I see that you've changed the amounts by (in some cases) a lot.  Can you explain the reasoning behind those changes?  Did you do calculations to figure out the correct amount, or are they just changes to suit your playing style?

    The only amounts I changed by a lot were for life support. I just wanted to even things out really and did calculations based on consumption/generation numbers from TAC Life support

    For example with default configs the wedges all provided different amounts of resources. For example, per kerbal, the water wedge would give 1 year 73 days, the oxygen wedge would give 361 days and the food wedge gave 331 days. 

    With the changes, they are all even, meaning all the life support wedges give you the same 303 days of life support, per kerbal, per wedge size. The waste wedges double those numbers, per size. Just made things simpler.

    For mass changes I shot for a middle ground, lowering some masses and raising others, with a goal of making the wedges generally all in multiples of 25kg.

    All the changes could probably use some more tweaking, but it was all "good enough" for me for my personal use.

  3. 19 hours ago, CS30 said:

    Hi, I downloaded this mod a couple weeks ago and I love it, but I'm playing career mode and when I try to transmit processed science from the Fate deep space lab, it uploads and everything but doesn't give me the actual science. It shows the progress percentage and gives me a message when it's done but not the message telling me it's added the science. I have two of the stock processing labs on the same station and those work fine, so I've ruled out the issue being the antenna and/or connection. 

    Apologies if this is an issue that has already been noted and solved.

    Thanks

    Are you using TAC Life Support as well? If so, I believe this is related to the NRE spam and I posted a patch that fixes this issue.

  4. 3 minutes ago, Gordon Dry said:

    A tankMass of 0 is allowed?

    And I suggest a different boiloff config for LqdMethane compared to LqdHydrogen, there are configs circulating with proper values.

    tankmass is simply added mass from fuel, since the tank already has some mass by default no added mass is needed for the first size. The default configs also have 0 added mass for the first size.

    And you are right, methane should be:

    Quote

                BoiloffRate = 0.005
                CoolingCost = 0.045

     

  5. 5 hours ago, linuxgurugamer said:

    I'd like to see them.  One of the issues I saw was incorrect attach nodes, I've adjusted them and will be looking for feedback on how it works, seeing your changes will be helpful as well

     

    Here is the changes I made.

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////   Rebalance mass and resource amounts to to make craft building easier.
    ///////////   Sandriell - https://forum.kerbalspaceprogram.com/index.php?/profile/165509-sandriell/
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    @PART[USMatBayWedge,USGuidanceComputer,USRTGWedge]:FINAL
    {
    	@mass = 0.1
    }
    
    @PART[USFluidSpectroWedge,USAccelGravWedge,USThermoBaroWedge,USGooBayWedge]:FINAL
    {
    	@mass = 0.05
    }
    
    @PART[USSabatier,USWaterPurifier,USFuelCellMedium,USElektron]:FINAL
    {
    	@mass = 0.2
    }
    
    @PART[USOxygenWedge]:FINAL
    {
    	@mass = 0.034
    
    	@MODULE[USFuelSwitch]
    	{
    		@resourceAmounts = 11104;22208;33312;44416
    		@initialResourceAmounts = 11104;22208;33312;44416
    		@tankMass = 0;0.045;0.094;0.153
    	}
    }
    
    @PART[USFoodWedge]:FINAL
    {
    	@mass = 0.069
    
    	@MODULE[USFuelSwitch]
    	{
    		@resourceAmounts = 110;220;330;440
    		@initialResourceAmounts = 110;220;330;440
    		@tankMass = 0.000;0.094;0.188;0.282
    	}
    }
    
    @PART[USWaterWedge]:FINAL
    {
    	@mass = 0.077
    
    	@MODULE[USFuelSwitch]
    	{
    		@resourceAmounts = 72.5;145;217.5;290
    		@initialResourceAmounts = 72.5;145;217.5;290
    		@tankMass = 0;0.103;0.205;0.308
    	}
    }
    
    @PART[USSolidWasteWedge]:FINAL
    {
    	@mass = 0.05
    
    	@MODULE[USFuelSwitch]
    	{
    		@resourceAmounts = 20;40;60;80
    		@initialResourceAmounts = 0;0;0;0
    		@tankMass = 0;0.1;0.2;0.3
    	}
    }
    
    @PART[USGreyWaterWedge]:FINAL
    {
    	@mass = 0.075
    
    	@MODULE[USFuelSwitch]
    	{
    		@resourceAmounts = 185;370;555;740
    		@initialResourceAmounts = 0;0;0;0
    		@tankMass = 0;0.1;0.2;0.3
    	}
    }
    
    @PART[USCarbonDioxideWedge]:FINAL
    {
    	@mass = 0.025
    
    	@MODULE[USFuelSwitch]
    	{
    		@resourceAmounts = 19182.5;38365;57547.5;76730
    		@initialResourceAmounts = 0;0;0;0
    		@tankMass = 0;0.1;0.2;0.3
    	}
    }
    
    @PART[USComboLifesupportWedge]:FINAL
    {
    	@mass = 0.015
    
    	%RESOURCE[Food]
    	{
    		@name = Food
    		@amount = 55
    		@maxAmount = 55
    	}
    
    	%RESOURCE[Oxygen]
    	{
    		@name = Oxygen
    		@amount = 5552
    		@maxAmount = 5552
    	}
    
    	%RESOURCE[Water]
    	{
    		@name = Water
    		@amount = 36.25
    		@maxAmount = 36.25
    	}
    }
    
    @PART[USHydrazineWedge]:FINAL
    {
    	@mass = 0.015
    
    	@MODULE[USFuelSwitch]
    	{
    		@resourceAmounts = 27.5;55;82.5;110
    		@initialResourceAmounts = 27.5;55;82.5;110
    		@tankMass = 0;0.015;0.030;0.045
    	}
    }

    Additionally the patch I shared earlier to add cryo-support also has mass changes to rebalance the fuel wedge. Here is the updated version with those changes.

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////   Expand fuel options and add support to the fuel tank wedge for LqdHydrogen and LqdMethane added by CryoTanks
    ///////////   Sandriell - https://forum.kerbalspaceprogram.com/index.php?/profile/165509-sandriell/
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    @PART[USAerozineWedge]:NEEDS[CryoTanks]
    {
    	@title = Universal Storage: Fuel Tank
    	@description = Fuel tank built in wedge format to be mounted to Universal Storage cores. Capable of holding Liquid Fuel as well as cryogenic Liquid Hydrogen and Liquid Methane, all with or without Oxidizer. Cryogenic fuels will require a small amount of electric charge to prevent boil-off. Fuel may be refueled via lines, or the entire wedge can be removed on EVA and replaced with new equipment or storage.  Four size variants are available.
    	@mass = 0.015
    
    	@MODULE[USFuelSwitch]
    	{
    		@SwitchID = 0;1
    		@resourceNames = LiquidFuel,Oxidizer;LiquidFuel,Oxidizer;LiquidFuel,Oxidizer;LiquidFuel,Oxidizer|LiquidFuel;LiquidFuel;LiquidFuel;LiquidFuel|LqdHydrogen,Oxidizer;LqdHydrogen,Oxidizer;LqdHydrogen,Oxidizer;LqdHydrogen,Oxidizer|LqdHydrogen;LqdHydrogen;LqdHydrogen;LqdHydrogen|LqdMethane,Oxidizer;LqdMethane,Oxidizer;LqdMethane,Oxidizer;LqdMethane,Oxidizer|LqdMethane;LqdMethane;LqdMethane;LqdMethane
    		@resourceAmounts = 10,12;20,24;30,36;40,48|22;44;66;88|105,7;225,15;345,23;450,30|165;330;495;660|40,8;90,18;130,26;165,33|110;220;330;440
    		@initialResourceAmounts = 10,12;20,24;30,36;40,48|22;44;66;88|105,7;225,15;345,23;450,30|165;330;495;660|40,8;90,18;130,26;165,33|110;220;330;440
    		@tankCost = 0;35;70;105|0;35;70;105|0;35;70;105|0;35;70;105|0;35;70;105|0;35;70;105
    		@tankMass = 0;0.015;0.030;0.045|0;0.015;0.030;0.045|0;0.015;0.030;0.045|0;0.015;0.030;0.045|0;0.015;0.030;0.045|0;0.015;0.030;0.045
    	}
    
    	MODULE
    	{
    		name = USSwitchControl
    		SwitchID = 1
    		ButtonName = #autoLOC_US_FuelVariants
    		CurrentVariantTitle = #autoLOC_US_FuelVariants
    		ShowPreviousButton = False
    		ObjectNames = #LOC_CryoTanks_switcher_fuel_lfox;#LOC_CryoTanks_switcher_fuel_lf;#LOC_CryoTanks_switcher_fuel_lh2ox;#LOC_CryoTanks_switcher_fuel_lh2;#LOC_CryoTanks_switcher_fuel_methalox;#LOC_CryoTanks_switcher_fuel_methane
    		FuelSwitchModeTwo = True
    		ModuleDisplayName = #autoLOC_US_TankOptions
    		VariantColors = #bfa760,#3399cc;#bfa760,#bfa760;#99ccff,#3399cc;#99ccff,#99ccff;#00bf8f,#3399cc;#00bf8f,#00bf8f
    	}
    
    	MODULE
    	{
    		name =  ModuleCryoTank
    		CoolingEnabled = False
    		BOILOFFCONFIG
    		{
    			FuelName = LqdHydrogen
    			// in % per hr
    			BoiloffRate = 0.05
    			CoolingCost = 0.09
    		}
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			// in % per hr
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }

     

  6. @linuxgurugamer I have some other personal changes that I made to the mod that include rebalancing the various wedge's weights to make it easier to install them without creating massive amounts of torque. I also did some rebalancing on the TAC life support resource amounts that I felt made things a lot easier to calculate and understand the length of time they will last as well as all wedges providing the same length of life support.

    I didn't share them because I wasn't sure if it was appropriate to share such big changes. However, if desired I can share them and you can decide what to do with it.

  7. 47 minutes ago, fragtzack said:

    The 'PMA-4' Science Lab can't seem to radio home science after processing.  In game goes through all the motions correctly, even the radio appears to be sending.  But in the end, no science is sent...And the below is the log file:

     

    (Filename: <cd473063d3a2482f8d93d388d0c95035> Line: 0)

    Exception handling event onPartActionUICreate in class ModuleScienceLab:System.NullReferenceException: Object reference not set to an instance of an object
      at ModuleScienceLab.updateModuleUI () [0x00000] in <cd473063d3a2482f8d93d388d0c95035>:0 
      at ModuleScienceLab.onPartActionUI (Part p) [0x00025] in <cd473063d3a2482f8d93d388d0c95035>:0 
      at EventData`1[T].Fire (T data) [0x000b0] in <cd473063d3a2482f8d93d388d0c95035>:0  
    (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

    NullReferenceException: Object reference not set to an instance of an object
      at ModuleScienceLab.updateModuleUI () [0x00000] in <cd473063d3a2482f8d93d388d0c95035>:0 
      at ModuleScienceLab.onPartActionUI (Part p) [0x00025] in <cd473063d3a2482f8d93d388d0c95035>:0 
      at EventData`1[T].Fire (T data) [0x000b0] in <cd473063d3a2482f8d93d388d0c95035>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    EventData`1:Fire(Part)
    UIPartActionWindow:CreatePartList(Boolean)
    UIPartActionWindow:UpdateWindow()
    UIPartActionController:UpdateActiveWindows()
    UIPartActionController:UpdateFlight()
    UIPartActionController:Update()

     

     

    Further tests:

    --Spawned in a second  'PMA-4' Science Lab  to same location using option  cheat place object. Using the same save game and same mods. Got same results, broken send science.

    --Spawned in the stock science lab, no issues. Science was sent just fine.

    I posted a temporary work around for this in the Stockalike Station Parts Redux thread,

  8. I am also getting the exact same NRE spam in my logs with any of the 3 science lab parts.

    Spoiler

    Exception handling event onPartActionUICreate in class ModuleScienceLab:System.NullReferenceException: Object reference not set to an instance of an object
      at ModuleScienceLab.updateModuleUI () [0x00000] in <cd473063d3a2482f8d93d388d0c95035>:0 
      at ModuleScienceLab.onPartActionUI (Part p) [0x00025] in <cd473063d3a2482f8d93d388d0c95035>:0 
      at EventData`1[T].Fire (T data) [0x000b0] in <cd473063d3a2482f8d93d388d0c95035>:0 

    NullReferenceException: Object reference not set to an instance of an object
        ModuleScienceLab.updateModuleUI () (at <cd473063d3a2482f8d93d388d0c95035>:0)
        ModuleScienceLab.onPartActionUI (Part p) (at <cd473063d3a2482f8d93d388d0c95035>:0)
        EventData`1[T].Fire (T data) (at <cd473063d3a2482f8d93d388d0c95035>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:LogException(Exception)
        EventData`1:Fire(Part)
        UIPartActionWindow:CreatePartList(Boolean)
        UIPartActionWindow:UpdateWindow()
        UIPartActionController:UpdateActiveWindows()
        UIPartActionController:UpdateFlight()
        UIPartActionController:Update()

    I believe that the issue is specifically related to the TacGenericConverters that are added to the part in the TAC patches (SSPXR-TACLS-00.cfg & SSPXR-TACLS-01.cfg) included with the mod. Removing the modules fixes the NRE spam.

    Here is a super-simple patch to remove the converters that will "fix" the part until it can be diagnosed what about the converters is conflicting with the part.

    @PART[sspx-science-1875-1,sspx-lab-375-1,sspx-lab-5-1]:FINAL
    {
    	!MODULE[TacGenericConverter],* {}
    }

    This removes the 3 life-support recyclers on those parts. Not critical in my opinion, and so still very playable without them for now.

    *This may not fix crafts already in flight.

  9. On 11/18/2021 at 5:12 AM, dave1904 said:

    I've the same issue with science lab with statin parts expansion. I'll upload logs to a Dropbox once im home.

    Can confirm. Only happens with SSPX and Life support installed with dependencys. 

    https://drive.google.com/file/d/1q3wbKD70hs2WVj9betFzgo5ny-b99qsG/view?usp=sharing

    Was also getting the exact same NRE spam in  my logs with the labs from Stockalike Station Parts Redux.

    I believe that the issue is specifically related to the TacGenericConverters that are added to the part in the TAC patches (SSPXR-TACLS-00.cfg & SSPXR-TACLS-01.cfg) included with the SSPR mod. Removing the modules fixes the NRE spam.

    Here is a super-simple patch to remove the converters that will "fix" the part until it can be diagnosed what about the converters is conflicting with the part.

    @PART[sspx-science-1875-1,sspx-lab-375-1,sspx-lab-5-1]:FINAL
    {
    	!MODULE[TacGenericConverter],* {}
    }

    This removes the 3 life-support recyclers on those parts. Not critical in my opinion, and so still very playable without them for now.

    *This may not fix crafts already in flight.

  10. I created a patch that will add CryoTanks/CryoEngines' Methane and Methalox fuels to the trusses from Near Future Construction. No new models though for them obviously, so they simply use the existing models for Hydrogen and Hydrolox.

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////   Add Methane and Methalox from CryoTanks to Near Future Construction's trusses
    ///////////   Sandriell - https://forum.kerbalspaceprogram.com/index.php?/profile/165509-sandriell/
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    B9_TANK_TYPE:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	name = NFC_LCH4OCryo
    	tankMass = 0.000278904
    	tankCost = 0
    
    	RESOURCE
    	{
    		name = LqdMethane
    		unitsPerVolume = 1.875
    	}
    	RESOURCE
    	{
    		name = Oxidizer
    		unitsPerVolume = 0.625
    	}
    }
    B9_TANK_TYPE:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	name = NFC_LCH4Cryo
    	tankMass =  0.00010627500
    	tankCost = 0.2
    
    	RESOURCE
    	{
    		name = LqdMethane
    		unitsPerVolume = 5
    	}
    }
    
    @PART[truss-octo-01]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo] // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = OctoLargeBare
    			transform = COLLISION15
    			transform = LH2OXTankLarge
    			transform = LH2OXTankLargeFoil
    			addedCost = 2696
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = OctoLargeBare
    			transform = COLLISION15
    			transform = LH2TankLarge
    			addedCost = 2696
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }
    
    @PART[truss-octo-02]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo]  // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = OctoMedBare
    			transform = COLLISION14
    			transform = LH2OXTankMed
    			transform = LH2OXTankMedFoil
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = OctoMedBare
    			transform = COLLISION14
    			transform = LH2TankMed
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }
    
    // Hex Truss XL
    @PART[truss-hex-01]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo]  // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = HexLH2OTankLrg
    			transform = HexLH2OTankLrgFoil
    			transform = LargeTruss
    			transform = COLLIDERLRG
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = HexLH2TankLrg
    			transform = LargeTruss
    			transform = COLLIDERLRG
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }
    
    
    // Hex Truss XL
    @PART[truss-hex-02]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo]  // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = HexLH2OTankMed
    			transform = MediumTruss
    			transform = HexLH2OTankMedFoil
    			transform = COLLIDERMED
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = HexLH2TankMed
    			transform = MediumTruss
    			transform = COLLIDERMED
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }

     

  11. I created a patch that will add Methane and Methalox to the trusses from Near Future Construction. No new models though for them obviously, so they simply use the existing models for Hydrogen and Hydrolox.

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////   Add Methane and Methalox from CryoTanks to Near Future Construction's trusses
    ///////////   Sandriell - https://forum.kerbalspaceprogram.com/index.php?/profile/165509-sandriell/
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    B9_TANK_TYPE:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	name = NFC_LCH4OCryo
    	tankMass = 0.000278904
    	tankCost = 0
    
    	RESOURCE
    	{
    		name = LqdMethane
    		unitsPerVolume = 1.875
    	}
    	RESOURCE
    	{
    		name = Oxidizer
    		unitsPerVolume = 0.625
    	}
    }
    B9_TANK_TYPE:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	name = NFC_LCH4Cryo
    	tankMass =  0.00010627500
    	tankCost = 0.2
    
    	RESOURCE
    	{
    		name = LqdMethane
    		unitsPerVolume = 5
    	}
    }
    
    @PART[truss-octo-01]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo] // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = OctoLargeBare
    			transform = COLLISION15
    			transform = LH2OXTankLarge
    			transform = LH2OXTankLargeFoil
    			addedCost = 2696
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = OctoLargeBare
    			transform = COLLISION15
    			transform = LH2TankLarge
    			addedCost = 2696
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }
    
    @PART[truss-octo-02]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo]  // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = OctoMedBare
    			transform = COLLISION14
    			transform = LH2OXTankMed
    			transform = LH2OXTankMedFoil
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = OctoMedBare
    			transform = COLLISION14
    			transform = LH2TankMed
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }
    
    // Hex Truss XL
    @PART[truss-hex-01]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo]  // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = HexLH2OTankLrg
    			transform = HexLH2OTankLrgFoil
    			transform = LargeTruss
    			transform = COLLIDERLRG
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = HexLH2TankLrg
    			transform = LargeTruss
    			transform = COLLIDERLRG
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }
    
    
    // Hex Truss XL
    @PART[truss-hex-02]:NEEDS[CommunityResourcePack&CryoTanks]
    {
    	!MODULE[ModuleB9DisableTransform] {}
    
    	@MODULE[ModuleB9PartSwitch]
    	{
    		%SUBTYPE[LCH4OCryo]  // Methalox
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methalox
    			tankType = NFC_LCH4OCryo
    			transform = HexLH2OTankMed
    			transform = MediumTruss
    			transform = HexLH2OTankMedFoil
    			transform = COLLIDERMED
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane/Oxidizer Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane and Oxidizer storage
    		}
    		%SUBTYPE[LCH4Cryo] // Methane
    		{
    			title = #LOC_CryoTanks_switcher_fuel_methane
    			tankType = NFC_LCH4Cryo
    			transform = HexLH2TankMed
    			transform = MediumTruss
    			transform = COLLIDERMED
    			addedCost = 1348
    			crashTolerance = 50
    			descriptionSummary = Liquid Methane Tanks
    			descriptionDetail = Integrated tanks with Liquid Methane storage
    		}
    	}
    
    	@MODULE[ModuleCryoTank]
    	{
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			BoiloffRate = 0.005
    			CoolingCost = 0.045
    		}
    	}
    }

     

  12. 2 minutes ago, Brigadier said:

    Wouldn't putting the patch in a user folder (e.g. zz_my_mods) unrelated to either mod be more resilient since installing or updating that particular mod could wipe out the patch file inadvertently?

    Yep, technically you could put it anywhere in the GameData folder and it would work fine. Updating either manually or through CKAN should be safe though, as neither method would overwrite any user created files- as long as you are not deleting the mod folder before updating.

  13. For anyone using Nertea's Cryo Tanks/Cryo Engines mods- here is a patch that will add Liquid Hydrogen and Liquid Methane to the Fuel Tank wedge, as well as adding a Liquid Fuel only option.

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////   Expand fuel options and add support to the fuel tank wedge for LqdHydrogen and LqdMethane added by CryoTanks
    ///////////   Sandriell - https://forum.kerbalspaceprogram.com/index.php?/profile/165509-sandriell/
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    @PART[USAerozineWedge]:NEEDS[CryoTanks]
    {
    	@title = Universal Storage: Fuel Tank
    	@description = Fuel tank built in wedge format to be mounted to Universal Storage cores. Capable of holding Liquid Fuel as well as cryogenic Liquid Hydrogen and Liquid Methane, all with or without Oxidizer. Cryogenic fuels will require a small amount of electric charge to prevent boil-off. Fuel may be refueled via lines, or the entire wedge can be removed on EVA and replaced with new equipment or storage.  Four size variants are available.
    
    	@MODULE[USFuelSwitch]
    	{
    		@SwitchID = 0;1
    		@resourceNames = LiquidFuel,Oxidizer;LiquidFuel,Oxidizer;LiquidFuel,Oxidizer;LiquidFuel,Oxidizer|LiquidFuel;LiquidFuel;LiquidFuel;LiquidFuel|LqdHydrogen,Oxidizer;LqdHydrogen,Oxidizer;LqdHydrogen,Oxidizer;LqdHydrogen,Oxidizer|LqdHydrogen;LqdHydrogen;LqdHydrogen;LqdHydrogen|LqdMethane,Oxidizer;LqdMethane,Oxidizer;LqdMethane,Oxidizer;LqdMethane,Oxidizer|LqdMethane;LqdMethane;LqdMethane;LqdMethane
    		@resourceAmounts = 10,12;20,24;30,36;40,48|22;44;66;88|105,7;225,15;345,23;450,30|165;330;495;660|40,8;90,18;130,26;165,33|110;220;330;440
    		@initialResourceAmounts = 10,12;20,24;30,36;40,48|22;44;66;88|105,7;225,15;345,23;450,30|165;330;495;660|40,8;90,18;130,26;165,33|110;220;330;440
    		@tankCost = 0;35;70;105|0;35;70;105|0;35;70;105|0;35;70;105|0;35;70;105|0;35;70;105
    		@tankMass = 0;0.014;0.028;0.042|0;0.014;0.028;0.042|0;0.014;0.028;0.042|0;0.014;0.028;0.042|0;0.014;0.028;0.042|0;0.014;0.028;0.042
    	}
    
    	MODULE
    	{
    		name = USSwitchControl
    		SwitchID = 1
    		ButtonName = #autoLOC_US_FuelVariants
    		CurrentVariantTitle = #autoLOC_US_FuelVariants
    		ShowPreviousButton = False
    		ObjectNames = #LOC_CryoTanks_switcher_fuel_lfox;#LOC_CryoTanks_switcher_fuel_lf;#LOC_CryoTanks_switcher_fuel_lh2ox;#LOC_CryoTanks_switcher_fuel_lh2;#LOC_CryoTanks_switcher_fuel_methalox;#LOC_CryoTanks_switcher_fuel_methane
    		FuelSwitchModeTwo = True
    		ModuleDisplayName = #autoLOC_US_TankOptions
    		VariantColors = #bfa760,#3399cc;#bfa760,#bfa760;#99ccff,#3399cc;#99ccff,#99ccff;#00bf8f,#3399cc;#00bf8f,#00bf8f
    	}
    
    	MODULE
    	{
    		name =  ModuleCryoTank
    		CoolingEnabled = False
    		BOILOFFCONFIG
    		{
    			FuelName = LqdHydrogen
    			// in % per hr
    			BoiloffRate = 0.05
    			CoolingCost = 0.09
    		}
    		BOILOFFCONFIG
    		{
    			FuelName = LqdMethane
    			// in % per hr
    			BoiloffRate = 0.05
    			CoolingCost = 0.09
    		}
    	}
    }

    I suggest saving it in a file called "US_CryoTanks.cfg" and putting it in your either "GamaData/CryoTanks/Patches" or "GamaData/UniversalStorage2/Patches" folders. Pick only one.

  14. I don't know if you plan to include Cryo Engines in the PKMC companion, but if you do here is patch for it:

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////   "Near Future" Cryo Engines
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    
    @PART[cryoengine-stromboli-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = .625
        }
    }
    
    @PART[cryoengine-vesuvius-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.25
        }
    }
    
    @PART[cryoengine-hecate-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.25
        }
    }
    
    @PART[cryoengine-erebus-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.875
        }
    }
    
    @PART[cryoengine-pavonis-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.875
        }
    }
    
    @PART[cryoengine-fuji-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 2.5
        }
    }
    @PART[cryoengine-ulysses-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 2.5
        }
    }
    
    @PART[cryoengine-etna-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 3.75
        }
    }
    @PART[cryoengine-tharsis-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 3.75
        }
    }
    @PART[cryoengine-hawk-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = .625
        }
    }
    @PART[cryoengine-compsognathus-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = .625
        }
    }
    @PART[cryoengine-harrier-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.875
        }
    }
    @PART[cryoengine-iguanodon-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.875
        }
    }
    @PART[cryoengine-buzzard-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.25
        }
    }
    @PART[cryoengine-deinonychus-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.25
        }
    }
    @PART[cryoengine-allosaur-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 2.5
        }
    }
    @PART[cryoengine-eagle-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 2.5
        }
    }
    @PART[cryoengine-vulture-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 3.75
        }
    }
    @PART[cryoengine-tyrannosaur-1]:NEEDS[CryoEngines,TweakScale]:FOR[TweakScaleCompanion_PKMC_CE]
    {
        #@TWEAKSCALEBEHAVIOR[Engine]/MODULE[TweakScale] { }
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 3.75
        }
    }

     

  15. The illectroemergency.cfg patch is modifying any engines with an existing resource by turning it into electric charge- this completely breaks SRBs in particular. This is due to editing a resource instead of adding a new one. Removing the @ symbols from everything except the first line fixes it.

    @PART[*]:HAS[@MODULE[ModuleEngines]]
    {
      RESOURCE
      {
        name = ElectricCharge
        amount = 2.5
        maxAmount = 2.5
      }
    }

    I saw you already caught the missing bracket.

  16. On 8/27/2019 at 11:08 PM, Tallinu said:

    I'm on KSP 1.7.3 with SR 1.9.1.3 and RecoveryController 0.0.3.8 and I have a couple of questions.

    1: I don't know if this is actually a feature that Stage Recovery is supposed to have or if I'm remembering wrong. I thought that in the past I had been able to drop an upper stage or payload from orbit back onto a suborbital trajectory and have the mod recover it for me while I do other things (assuming it met the parachute, heat shield, and/or propulsive landing criteria of course), but recent attempts haven't even resulted in a "stage destroyed" message, as if the mod just isn't handling the event. It works fine for stages jettisoned as I launch a new vehicle, but it seems like once something has achieved orbit it stops paying attention (or at least doesn't generate the expected messages).

    2: It was also tricky to figure out just how many parachute modules I needed to attach via docking ports to successfully bring down an older "space bus" craft for recovery (which was replaced by a larger model with better crew capacity and more delta-V). When attaching the parachute-laden probes to the old design in the editor, SR treated each of them as separate stages (even though no staging was enabled on the docking ports), and stubbornly kept telling me that the main craft was 0% recoverable. I had to replace the docking ports with structural connections and/or move the parachutes onto the main craft in order to figure out how many were actually needed.

    At first I thought that the parachutes all being on these docked probes might be responsible for SR not recovering the craft after I dropped it out of orbit, but then I realized that it still should have generated a "stage destroyed" message if that was the case, so it's probably just a separate usability issue. It's easy to find out if something like a docked escape pod ("MOOSE" etc) has enough parachutes to land safely by simply detaching it from everything else, after all, and I just keep coming back to that after trying to think up any use case that would require the current treatment of docking ports. I understand that it might not be easy to do anything about, but it would be a "very nice to have" feature/tweak/whatever if there was a way to make it treat unstaged docking ports in the editor as being one stage instead of separate stages and base its diagnostic report on the combined unit.

    Thanks for keeping this mod going, and all the others you maintain -- I use quite a few of them! :)

    What mode are you playing in? In my experience at least, the mod only works in Career Mode.

×
×
  • Create New...