Jump to content

[1.12.X] Kerbal Planetary Base Systems v1.6.15 [28. April 2022]


Nils277

Recommended Posts

On 1/3/2019 at 5:12 AM, bunjatec said:

I think I found a bug with the thermal management of the smelter.. 

it wasn't getting up to temperature so I stole some the .cfg code from the EL smelter and tweaked it in.. 

The ELCoreHeat needs to be there as otherwise it won't work.. (it's almost always at 0% efficiency) 

btw, I'm running on KPBS1.6.6 and KSP 1.6.0.2395 and I've not encountered any other problems yet.. keep up the good work .

 

Why didn't I see this a couple of days ago!  Would have saved me a couple of hours.

Anyway, I did the same thing and smelter is working for me now.

Link to comment
Share on other sites

On 1/20/2019 at 6:00 PM, Tonka Crash said:

@Nils277 There is a bug in 1.6.0 & 1.6.1 that can lock up the parts menu in the VAB if a bulkheadProfiles isn't defined for each part. The following thread discusses it.

The following parts in this mod are missing a bulkheadProfiles definition:

  Reveal hidden contents

./PlanetaryBaseInc/BaseSystem/Parts/Electrical/Centrifuge.cfg
./PlanetaryBaseInc/BaseSystem/Parts/Electrical/NuclearFuel.cfg
./PlanetaryBaseInc/BaseSystem/Parts/Electrical/Reactor.cfg
./PlanetaryBaseInc/BaseSystem/Parts/FuelTank/FuelTank_g.cfg
./PlanetaryBaseInc/BaseSystem/Parts/FuelTank/FuelTank_small_g.cfg
./PlanetaryBaseInc/BaseSystem/Parts/Resources/Drill_g.cfg
./PlanetaryBaseInc/BaseSystem/Parts/Structural/Flatbed/Flatbed.cfg
./PlanetaryBaseInc/ContainerSystem/tank_fuelcell.cfg
./PlanetaryBaseInc/ContainerSystem/tank_liquidFuel.cfg
./PlanetaryBaseInc/ContainerSystem/tank_ore.cfg
./PlanetaryBaseInc/ContainerSystem/tank_ore_small.cfg
./PlanetaryBaseInc/ContainerSystem/tank_rocketFuel.cfg
./PlanetaryBaseInc/ContainerSystem/tank_rocketFuel_small.cfg
./PlanetaryBaseInc/ContainerSystem/tank_science_jr.cfg
./PlanetaryBaseInc/ContainerSystem/tank_xenon.cfg
./PlanetaryBaseInc/ModSupport/Parts/DeepFreeze/DF_TankGlykerol/tank_Glykerol.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/Drill_MetalOre.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/FuelTank_Metal.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/FuelTank_MetalOre.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/FuelTank_RocketParts.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/Launchpad.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/Recycler.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/ScrapMetal.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/Smelter.cfg
./PlanetaryBaseInc/ModSupport/Parts/Extraplanetary Launchpads/Workshop.cfg
./PlanetaryBaseInc/ModSupport/Parts/KAS/gangway_flexible.cfg
./PlanetaryBaseInc/ModSupport/Parts/KAS/gangway_flexible_LEGACY.cfg
./PlanetaryBaseInc/ModSupport/Parts/KIS/FuelTank_g.cfg
./PlanetaryBaseInc/ModSupport/Parts/KIS/FuelTank_small_g.cfg
./PlanetaryBaseInc/ModSupport/Parts/KIS/tank_KIS.cfg
./PlanetaryBaseInc/ModSupport/Parts/KIS/tank_KIS_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Airfilter.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Algae.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_CarbonExtractor.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_CO2_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_CO2_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_ECLSS_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_ECLSS_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Elektron.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Fertilizer_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Fertilizer_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Food_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Food_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Greenhouse.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Hydrogen.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_IFILS_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_IFILS_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_IONCROSS_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_IONCROSS_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Kerbalism_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Kerbalism_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Mulch_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Mulch_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Nitrogen.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Noms_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Noms_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Oxygen_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Oxygen_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Sabatier.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Snacks_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Snacks_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_TACLS_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_TACLS_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_TACLS_Waste_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_TACLS_Waste_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_USILS_AirScrubber.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_USILS_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_USILS_Recycler.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_USILS_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_WasteWater_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_WasteWater_Small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Waste_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Waste_small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_WaterPurifier.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Water_big.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Container_Water_Small.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/Drill_Water_g.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/OrbitalScanner.cfg
./PlanetaryBaseInc/ModSupport/Parts/LifeSupport/SurfaceScanner.cfg
./PlanetaryBaseInc/ModSupport/Parts/OSE Workshop/Drill_Dirt.cfg
./PlanetaryBaseInc/ModSupport/Parts/OSE Workshop/MaterialKits.cfg
./PlanetaryBaseInc/ModSupport/Parts/OSE Workshop/OSE_Converter.cfg
./PlanetaryBaseInc/ModSupport/Parts/OSE Workshop/OSE_Resources.cfg

 

Thanks a lot man! Will fix that in the next release.

Link to comment
Share on other sites

On 11/25/2018 at 6:41 PM, Critter79606 said:

@Nils277 Just wanted to report a missing reference.  See <null> in the below pic.

uc?export=view&id=1_rEtNtJbhVm0evmoL39D7

Thanks for the great mod!

Can you post that screenshot againt please? It does not seem to work 

On 12/2/2018 at 10:00 PM, MikeO89 said:

Did something get changed with the nuclear reactor? Recently I put one on a base and there wasn't even an option to turn it on like before. So it's just sitting there doing nothing. I didn't do anything different than any other time I've used it  and all other times I could turn it off and on at will.

Just tested out the nuclear reactor again, and it works for me. Do you have NFE installed? Or other mods that might interfere with the reactor?

On 1/17/2019 at 5:24 PM, Sebra said:

Hm. Is it work in 1.6.1 already? I have some errors but there are so many unupdated mods yet...

What errors exactly to you have that are related to KPBS?

Link to comment
Share on other sites

Update to 1.6.7

Changelog:

Quote

General:

  • Recompile for KSP 1.6.1
  • Updated KSPModFileLocalizer to version 0.2.3.3 

Localization:

Mod Support:

  • Added support for GPO SpeedFuelPump (thanks to @Gordon Dry)

Bug Fixes:

  • Fixed support for Extraplanetary Launchpads
  • Fixed missing bulkhead profiles
  • KIS container are not visible anymore when KIS is not installed

Download:

oYvtZpW.pngUVVt0OP.pnglMOxt2k.png

Link to comment
Share on other sites

Hi,

I'm using KSP 1.5.1 (stock us/english version - untranslated), I'd like to try Kerbal Planetary Base Systems (v1.6.6) mod.

My question is : KSPModFileLocalizer.dll enclosed file is required anyway, or can be omitted as long as whe're using default english?

Thanks in advance.

Link to comment
Share on other sites

4 hours ago, DomiKamu said:

Hi,

I'm using KSP 1.5.1 (stock us/english version - untranslated), I'd like to try Kerbal Planetary Base Systems (v1.6.6) mod.

My question is : KSPModFileLocalizer.dll enclosed file is required anyway, or can be omitted as long as whe're using default english?

Thanks in advance.

The can be removed when you only play KSP in english. It is only there to make sure that the KSPedia entries are in the correct language.

Link to comment
Share on other sites

PSA, the comparability patch (for PBS and USI-MKS) found here is out of date and doesn't work with the current versions of PBS and MKS. It doesn't look like it's being maintained anymore, but there might be a more up to date patch floating around that i haven't been able to find

Edited by bdole92
Link to comment
Share on other sites

Nils

KPBS update broke Kerbalism.  KKOS.Recycler and FUR Gas tanks disappeared (so a craft wont load).  Reverted to previous KPBS version and works fine. I am running two versions of the game one with USI-LS, KPBS, and FUR with no issues, the other one with Kerbalism, KPBS, and FUR and had no issues until the KPBS update.

Found this in the log

[LOG 2019-51-24 23:51:40.405] Deleting root node in file KerbetrotterLtd/FelineUtilityRover/Parts/Mods/LifeSupport/AttachableGasTank node: PART:NEEDS[Kerbalism&ProfileDefault] as it can't satisfy its NEEDS

[LOG 2019-51-24 23:51:40.453] Deleting root node in file PlanetaryBaseInc/ModSupport/Configs/Kerbalism/Profiles/KPBS_MM_Kerbalism_Default node: @PART[KKAOSS_USI_Recicler_g]:NEEDS[Kerbalism&ProfileDefault] as it can't satisfy its NEEDS

I can send full log if needed

rafael

Edited by Rafael acevedo
Link to comment
Share on other sites

10 hours ago, bdole92 said:

PSA, the comparability patch (for PBS and USI-MKS) found here is out of date and doesn't work with the current versions of PBS and MKS. It doesn't look like it's being maintained anymore, but there might be a more up to date patch floating around that i haven't been able to find

It's acutally not that easy at the moment with the compatibility with MKS. There are acutally two version of it available that are not compatible to each other. The USI "Constellation" including all USI mods with the latest changes and save breaking changes to module names. On the other hand the single releases of MKS and USI-LS still use the old modules. So the patch would be either incompatible with the new or the old version and would break the game for the players having the other version. I guess this patch will get an update once the save breaking changes officially make it into the individual mods. 

6 hours ago, Rafael acevedo said:

Nils

KPBS update broke Kerbalism.  KKOS.Recycler and FUR Gas tanks disappeared (so a craft wont load).  Reverted to previous KPBS version and works fine. I am running two versions of the game one with USI-LS, KPBS, and FUR with no issues, the other one with Kerbalism, KPBS, and FUR and had no issues until the KPBS update.

Found this in the log

[LOG 2019-51-24 23:51:40.405] Deleting root node in file KerbetrotterLtd/FelineUtilityRover/Parts/Mods/LifeSupport/AttachableGasTank node: PART:NEEDS[Kerbalism&ProfileDefault] as it can't satisfy its NEEDS

[LOG 2019-51-24 23:51:40.453] Deleting root node in file PlanetaryBaseInc/ModSupport/Configs/Kerbalism/Profiles/KPBS_MM_Kerbalism_Default node: @PART[KKAOSS_USI_Recicler_g]:NEEDS[Kerbalism&ProfileDefault] as it can't satisfy its NEEDS

I can send full log if needed

rafael

Hmm, not sure of this is really KPBS causing this. I installed the latest version of Kerbalism and uninstalled KPBS and all Kerbalism parts do not have any modules. Judging from the log it seems that "ProfileDefault" from kerbalism is not defined.

Edit: I also updated ModuleManager to 4.0.0. Which now applies the patches while loading. It seems that this causes a conflict, meaning that a part might get skipped because the chosen profile was not yet defined but the Part is already loaded. Using MM version 3.0.4 all works for me as expected

Edited by Nils277
Link to comment
Share on other sites

On 1/25/2019 at 3:50 AM, Nils277 said:

Hmm, not sure of this is really KPBS causing this.

Just my $.02 without a lot of testing (so take the anecdote for what it's worth...), but I was having a lot of issues with Kerbalism across the board. There's a lot of discussion over in that thread about getting things to work properly since the 1.6.x updates.

I've ultimately removed Kerbalism for the time being (hated to see it go for now) and otherwise I haven't had any issues with KPBS. 

Like I said, just thought I'd share!

Link to comment
Share on other sites

12 hours ago, scottadges said:

Just my $.02 without a lot of testing (so take the anecdote for what it's worth...), but I was having a lot of issues with Kerbalism across the board. There's a lot of discussion over in that thread about getting things to work properly since the 1.6.x updates.

I've ultimately removed Kerbalism for the time being (hated to see it go for now) and otherwise I haven't had any issues with KPBS. 

Like I said, just thought I'd share!

Yes the culprit was mm 4.1

Link to comment
Share on other sites

Out of curiosity, what if any new parts are planned for the future? For a long time I've kinda wanted a bigger set of parts -- perhaps counterparts to the regular ones scaled up to the size of the garage? -- that could act as the next "step" of offworld base-building. Wondering if anything like that is in the plans or works.

Link to comment
Share on other sites

@Nils277 This is a patch I've been using for USI-LS compatibility with the new USI Swap Converters. Since RoverDude went live with a release last night I thought I'd share. I've wrote it based on the dev version from November, but I'm not noticing errors. but I'm not 100% certain it's fully working. I haven't used it much since I started a new game soon after I updated my version of USI. Hopefully this is a head start for an update to KPBS.

Spoiler

//---------------------USI LS------------------------
@PART[KKAOSS_Greenhouse_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleHabitation] {} 
	-MODULE[ResourceConverter_USI] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
		StartActionName = #LOC_KPBS.greenhouseconverter.start
		StopActionName = #LOC_KPBS.greenhouseconverter.stop
		minimalCrew = 0
		minimalRate = 1.0
		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00125000
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.00012500
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.001375
			DumpExcess = False
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.75
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Central_Hub]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleLifeSupportRecycler] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 6
		BaseHabMultiplier = 1.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.165
		}
	}
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = #LOC_KPBS.waterfilter.name
		StartActionName = #LOC_KPBS.waterfilter.start
		StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 1
		RecyclePercent = .85
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 10.5
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.007
		}
	}	
}
@PART[KKAOSS_Habitat_MK2_g]:NEEDS[USILifeSupport]:FINAL
{
    
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 11.5
		CrewCapacity = 4
		BaseHabMultiplier = 0.5
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.3375
		}
	}
}
@PART[KKAOSS_Habitat_MK1_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 6
		CrewCapacity = 3
		BaseHabMultiplier = 0.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Cupola_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 2
		BaseHabMultiplier = .55
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.025
		}
	}
}
@PART[KKAOSS_Science_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 0.2
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.02
		}
	}
}

@PART[KKAOSS_LS_container_algae]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleSwappableConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.dry.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.0003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.0008
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.42
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.00032
			DumpExcess = False
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 1
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.wet.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio =  0.003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.025
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.5
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.0001
			DumpExcess = False
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio = 0.00375
			DumpExcess = True
		}
	}
}

@PART[KKAOSS_LS_container_greenhouse]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleKPBSConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
                StartActionName = #LOC_KPBS.greenhouseconverter.start
                StopActionName = #LOC_KPBS.greenhouseconverter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00045
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.000045
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.99
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.000495
			DumpExcess = False
		}
	}
}
@PART[KKAOSS_LS_container_air_scrubber]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = Air Scrubber
		StartActionName = Start Air Scrubber
		StopActionName = Stop Air Scrubber
		CrewCapacity = 4
		RecyclePercent = .4
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.8
		}
	}	
}
@PART[KKAOSS_LS_container_USILS_recycler]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
	}	
}

@PART[KKAOSS_LS_container_waterpurifier]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.waterfiler.name
                StartActionName = #LOC_KPBS.waterfilter.start
                StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.0064
		}
	}	
}


@PART[KKAOSS_USI_Recicler_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 3
		RecyclePercent = .7
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 5.25
		}
	}	
}

 

 

Link to comment
Share on other sites

4 hours ago, Tonka Crash said:

@Nils277 This is a patch I've been using for USI-LS compatibility with the new USI Swap Converters. Since RoverDude went live with a release last night I thought I'd share. I've wrote it based on the dev version from November, but I'm not noticing errors. but I'm not 100% certain it's fully working. I haven't used it much since I started a new game soon after I updated my version of USI. Hopefully this is a head start for an update to KPBS.

  Hide contents


//---------------------USI LS------------------------
@PART[KKAOSS_Greenhouse_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleHabitation] {} 
	-MODULE[ResourceConverter_USI] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
		StartActionName = #LOC_KPBS.greenhouseconverter.start
		StopActionName = #LOC_KPBS.greenhouseconverter.stop
		minimalCrew = 0
		minimalRate = 1.0
		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00125000
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.00012500
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.001375
			DumpExcess = False
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.75
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Central_Hub]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleLifeSupportRecycler] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 6
		BaseHabMultiplier = 1.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.165
		}
	}
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = #LOC_KPBS.waterfilter.name
		StartActionName = #LOC_KPBS.waterfilter.start
		StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 1
		RecyclePercent = .85
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 10.5
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.007
		}
	}	
}
@PART[KKAOSS_Habitat_MK2_g]:NEEDS[USILifeSupport]:FINAL
{
    
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 11.5
		CrewCapacity = 4
		BaseHabMultiplier = 0.5
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.3375
		}
	}
}
@PART[KKAOSS_Habitat_MK1_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 6
		CrewCapacity = 3
		BaseHabMultiplier = 0.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Cupola_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 2
		BaseHabMultiplier = .55
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.025
		}
	}
}
@PART[KKAOSS_Science_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 0.2
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.02
		}
	}
}

@PART[KKAOSS_LS_container_algae]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleSwappableConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.dry.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.0003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.0008
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.42
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.00032
			DumpExcess = False
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 1
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.wet.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio =  0.003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.025
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.5
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.0001
			DumpExcess = False
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio = 0.00375
			DumpExcess = True
		}
	}
}

@PART[KKAOSS_LS_container_greenhouse]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleKPBSConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
                StartActionName = #LOC_KPBS.greenhouseconverter.start
                StopActionName = #LOC_KPBS.greenhouseconverter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00045
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.000045
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.99
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.000495
			DumpExcess = False
		}
	}
}
@PART[KKAOSS_LS_container_air_scrubber]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = Air Scrubber
		StartActionName = Start Air Scrubber
		StopActionName = Stop Air Scrubber
		CrewCapacity = 4
		RecyclePercent = .4
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.8
		}
	}	
}
@PART[KKAOSS_LS_container_USILS_recycler]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
	}	
}

@PART[KKAOSS_LS_container_waterpurifier]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.waterfiler.name
                StartActionName = #LOC_KPBS.waterfilter.start
                StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.0064
		}
	}	
}


@PART[KKAOSS_USI_Recicler_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 3
		RecyclePercent = .7
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 5.25
		}
	}	
}

 

 

aaaaand what does  a 'swap converter' do?

Link to comment
Share on other sites

Just now, Starwaster said:

aaaaand what does  a 'swap converter' do?

Hellifiknow. The syntax for the USI modules changed on the latest release. It had been just the developement version, but went live in the release branch last night. This was my first guess based on the new USI parts. I haven't been able to find documentation describing the syntax. What I posted doesn't throw errors, but I'm not 100% certain it's working as intended.

Link to comment
Share on other sites

6 minutes ago, Tonka Crash said:

Hellifiknow. The syntax for the USI modules changed on the latest release. It had been just the developement version, but went live in the release branch last night. This was my first guess based on the new USI parts. I haven't been able to find documentation describing the syntax. What I posted doesn't throw errors, but I'm not 100% certain it's working as intended.

Because we don't know what's intended?

Link to comment
Share on other sites

On 2/6/2019 at 12:44 AM, Tonka Crash said:

@Nils277 This is a patch I've been using for USI-LS compatibility with the new USI Swap Converters. Since RoverDude went live with a release last night I thought I'd share. I've wrote it based on the dev version from November, but I'm not noticing errors. but I'm not 100% certain it's fully working. I haven't used it much since I started a new game soon after I updated my version of USI. Hopefully this is a head start for an update to KPBS.

  Reveal hidden contents


//---------------------USI LS------------------------
@PART[KKAOSS_Greenhouse_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleHabitation] {} 
	-MODULE[ResourceConverter_USI] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
		StartActionName = #LOC_KPBS.greenhouseconverter.start
		StopActionName = #LOC_KPBS.greenhouseconverter.stop
		minimalCrew = 0
		minimalRate = 1.0
		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00125000
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.00012500
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.001375
			DumpExcess = False
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.75
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Central_Hub]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleLifeSupportRecycler] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 6
		BaseHabMultiplier = 1.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.165
		}
	}
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = #LOC_KPBS.waterfilter.name
		StartActionName = #LOC_KPBS.waterfilter.start
		StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 1
		RecyclePercent = .85
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 10.5
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.007
		}
	}	
}
@PART[KKAOSS_Habitat_MK2_g]:NEEDS[USILifeSupport]:FINAL
{
    
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 11.5
		CrewCapacity = 4
		BaseHabMultiplier = 0.5
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.3375
		}
	}
}
@PART[KKAOSS_Habitat_MK1_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 6
		CrewCapacity = 3
		BaseHabMultiplier = 0.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Cupola_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 2
		BaseHabMultiplier = .55
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.025
		}
	}
}
@PART[KKAOSS_Science_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 0.2
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.02
		}
	}
}

@PART[KKAOSS_LS_container_algae]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleSwappableConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.dry.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.0003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.0008
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.42
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.00032
			DumpExcess = False
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 1
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.wet.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio =  0.003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.025
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.5
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.0001
			DumpExcess = False
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio = 0.00375
			DumpExcess = True
		}
	}
}

@PART[KKAOSS_LS_container_greenhouse]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleKPBSConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
                StartActionName = #LOC_KPBS.greenhouseconverter.start
                StopActionName = #LOC_KPBS.greenhouseconverter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00045
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.000045
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.99
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.000495
			DumpExcess = False
		}
	}
}
@PART[KKAOSS_LS_container_air_scrubber]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = Air Scrubber
		StartActionName = Start Air Scrubber
		StopActionName = Stop Air Scrubber
		CrewCapacity = 4
		RecyclePercent = .4
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.8
		}
	}	
}
@PART[KKAOSS_LS_container_USILS_recycler]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
	}	
}

@PART[KKAOSS_LS_container_waterpurifier]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.waterfiler.name
                StartActionName = #LOC_KPBS.waterfilter.start
                StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.0064
		}
	}	
}


@PART[KKAOSS_USI_Recicler_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 3
		RecyclePercent = .7
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 5.25
		}
	}	
}

 

 

It seems it did the job. Thanks for sharing!

Link to comment
Share on other sites

On 2/5/2019 at 6:44 PM, Tonka Crash said:

@Nils277 This is a patch I've been using for USI-LS compatibility with the new USI Swap Converters. Since RoverDude went live with a release last night I thought I'd share. I've wrote it based on the dev version from November, but I'm not noticing errors. but I'm not 100% certain it's fully working. I haven't used it much since I started a new game soon after I updated my version of USI. Hopefully this is a head start for an update to KPBS.

  Hide contents


//---------------------USI LS------------------------
@PART[KKAOSS_Greenhouse_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleHabitation] {} 
	-MODULE[ResourceConverter_USI] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
		StartActionName = #LOC_KPBS.greenhouseconverter.start
		StopActionName = #LOC_KPBS.greenhouseconverter.stop
		minimalCrew = 0
		minimalRate = 1.0
		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00125000
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.00012500
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.001375
			DumpExcess = False
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.75
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Central_Hub]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleLifeSupportRecycler] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 6
		BaseHabMultiplier = 1.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.165
		}
	}
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 2
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = #LOC_KPBS.waterfilter.name
		StartActionName = #LOC_KPBS.waterfilter.start
		StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 1
		RecyclePercent = .85
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 10.5
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.007
		}
	}	
}
@PART[KKAOSS_Habitat_MK2_g]:NEEDS[USILifeSupport]:FINAL
{
    
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 11.5
		CrewCapacity = 4
		BaseHabMultiplier = 0.5
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.3375
		}
	}
}
@PART[KKAOSS_Habitat_MK1_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 6
		CrewCapacity = 3
		BaseHabMultiplier = 0.1
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.1
		}
	}
}
@PART[KKAOSS_Cupola_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 2
		BaseHabMultiplier = .55
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.025
		}
	}
}
@PART[KKAOSS_Science_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupport] {} 
	-MODULE[ModuleHabitation] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE 
	{
		name = USILS_HabitationSwapOption
		ConverterName = Habitat
		StartActionName = Start Habitat
		StopActionName = Stop Habitat		
		BaseKerbalMonths = 0
		CrewCapacity = 4
		BaseHabMultiplier = 0.2
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.02
		}
	}
}

@PART[KKAOSS_LS_container_algae]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleResourceConverter_USI] {} 
	-MODULE[ModuleSwappableConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.dry.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.0003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.0008
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.42
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.00032
			DumpExcess = False
		}
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 1
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.algaefarm.converter.wet.name
                StartActionName = #LOC_KPBS.algaefarm.converter.start
                StopActionName = #LOC_KPBS.algaefarm.converter.stop

		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio =  0.003
		}
		INPUT_RESOURCE
		{
			ResourceName = Ore
			Ratio =  0.025
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 2.5
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio = 0.0001
			DumpExcess = False
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio = 0.00375
			DumpExcess = True
		}
	}
}

@PART[KKAOSS_LS_container_greenhouse]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleKPBSConverter] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USI_ConverterSwapOption
		ConverterName = #LOC_KPBS.greenhouseconverter.name
                StartActionName = #LOC_KPBS.greenhouseconverter.start
                StopActionName = #LOC_KPBS.greenhouseconverter.stop

		INPUT_RESOURCE
		{
			ResourceName = Mulch
			Ratio =  0.00045
		}
		INPUT_RESOURCE
		{
			ResourceName = Fertilizer
			Ratio =  0.000045
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.99
		}
		OUTPUT_RESOURCE
		{
			ResourceName = Supplies
			Ratio = 0.000495
			DumpExcess = False
		}
	}
}
@PART[KKAOSS_LS_container_air_scrubber]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
		ConverterName = Air Scrubber
		StartActionName = Start Air Scrubber
		StopActionName = Stop Air Scrubber
		CrewCapacity = 4
		RecyclePercent = .4
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 0.8
		}
	}	
}
@PART[KKAOSS_LS_container_USILS_recycler]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
	}	
}

@PART[KKAOSS_LS_container_waterpurifier]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.waterfiler.name
                StartActionName = #LOC_KPBS.waterfilter.start
                StopActionName = #LOC_KPBS.waterfilter.stop
		CrewCapacity = 2
		RecyclePercent = .6
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 1.0
		}
		INPUT_RESOURCE
		{
			ResourceName = Water
			Ratio = 0.0064
		}
	}	
}


@PART[KKAOSS_USI_Recicler_g]:NEEDS[USILifeSupport]:FINAL
{
	-MODULE[ModuleLifeSupportRecycler] {} 
	MODULE
	{
		name = USI_SwapController
	}
	MODULE
	{
		name = USI_SwappableBay
		bayName = Bay 1
		moduleIndex = 0
	}
	MODULE
	{
		name = USI_Converter
		UseSpecialistBonus = false
	}
	MODULE
	{
		name = USILS_LifeSupportRecyclerSwapOption
                ConverterName = #LOC_KPBS.lifesupport.name
                StartActionName = #LOC_KPBS.lifesupport.start
                StopActionName = #LOC_KPBS.lifesupport.stop
		CrewCapacity = 3
		RecyclePercent = .7
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 5.25
		}
	}	
}

 

 

Where do I add the scrip to?

Link to comment
Share on other sites

 

1 minute ago, Rafael acevedo said:

Where do I add the scrip to?

Create a file somewhere under Kerbal Space Program\GameData that ends .cfg

Mine is Kerbal Space Program\GameData\ZZZ_Personal_Patches\Mods\KPBS-USILS.cfg

BUT, you may want to wait a few days if you can. Nils indicated in the USI-LS thread that he was testing his official patch for a release soon.

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