Chirality

Does anyone know how to get ModuleResourceHarvester working for atmospheric resources?

Recommended Posts

I'm trying to get the ModuleResourceHarvester working for atmospheric CO2, but it doesn't show up on the part menu.

Here's the cfg:

PART
{
	name = CO2Compressor
	module = Part
	author = Chirality
	mesh = compressor.mu
	scale = 1
	rescaleFactor = 2.1

	node_attach = 0.03, 0.0, 0.0, 1.0, 0.0, 0.0, 1

	TechRequired = precisionEngineering
	entryCost = 6400
	cost = 20
	category = Utility
	subcategory = 0
	title = Surface Mount CO2 Compressor
	manufacturer = Chirality Technologies
	description = Filters CO2 out of the atmosphere and compresses it. Fuels CO2 thrusters!
	attachRules = 0,1,0,0,0
	mass = 0.01
	dragModelType = default
	maximum_drag = 0.2
	minimum_drag = 0.2
	angularDrag = 2
	crashTolerance = 7
	maxTemp = 2000
	bulkheadProfiles = srf
	
	MODULE
	{
		name = ModuleResourceHarvester
		HarvestorType = 2
		Efficiency = 0.15
		ResourceName = CarbonDioxide
		ConverterName = CO2 Filtration
		StartActionName = Start Filtering CO2
		StopActionName = StopFilteringCO2
		AutoShutdown = true
		UseSpecialistBonus = false
		
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 10
		}
	}
	MODULE
	{
		name = ModuleResourceConverter
		ConverterName = CO2 Compressor
		StartActionName = Start Compressor
		StopActionName = Stop Compressor
		AutoShutdown = true
		GeneratesHeat = false
		UseSpecialistBonus = false
		INPUT_RESOURCE
		{
			ResourceName = CarbonDioxide
			Ratio = 1.0
			FlowMode = ALL_VESSEL
		}
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 20
		}
		OUTPUT_RESOURCE
		{
			ResourceName = LqdCO2
			Ratio = 0.1
			DumpExcess = true
			FlowMode = ALL_VESSEL
		}
	}
}

The converter function works (or at least, it shows up).

Any ideas?

Share this post


Link to post
Share on other sites

You have a input but no output harvester so guessing you have something that holds carbondioxide ?

 

Share this post


Link to post
Share on other sites
13 hours ago, MeCripp said:

You have a input but no output harvester so guessing you have something that holds carbondioxide ?

 

The ModuleResourceHarvester module doesn't have an OUTPUT_RESOURCE. I got it to show by adding an empty animation, but it just says "nothing to harvest"

Share this post


Link to post
Share on other sites
1 hour ago, Chirality said:

The ModuleResourceHarvester module doesn't have an OUTPUT_RESOURCE. I got it to show by adding an empty animation, but it just says "nothing to harvest"

I see my other post didn't make it in do you have a resource cfg for it ?  like the ore ?

GLOBAL_RESOURCE
{
	ResourceName = Ore
	ResourceType = 0
	
	Distribution
	{
		PresenceChance = 100
		MinAbundance = 1
		MaxAbundance = 15
		Variance = 50
		Dispersal = 3
	}
}

PLANETARY_RESOURCE
{
	ResourceName = Ore
	ResourceType = 0
	PlanetName = Sun
	
	Distribution
	{
		PresenceChance = 0
		MinAbundance = 0
		MaxAbundance = 0
		Variance = 0
		Dispersal = 0
	}
}

 

Share this post


Link to post
Share on other sites
Posted (edited)
2 minutes ago, MeCripp said:

I see my other post didn't make it in do you have a resource cfg for it ?  like the ore ?


GLOBAL_RESOURCE
{
	ResourceName = Ore
	ResourceType = 0
	
	Distribution
	{
		PresenceChance = 100
		MinAbundance = 1
		MaxAbundance = 15
		Variance = 50
		Dispersal = 3
	}
}

PLANETARY_RESOURCE
{
	ResourceName = Ore
	ResourceType = 0
	PlanetName = Sun
	
	Distribution
	{
		PresenceChance = 0
		MinAbundance = 0
		MaxAbundance = 0
		Variance = 0
		Dispersal = 0
	}
}

 

Yep, I have the Community Resource Pack installed in my GameData folder.

Edited by Chirality

Share this post


Link to post
Share on other sites
Posted (edited)
35 minutes ago, Chirality said:

Yep, I have the Community Resource Pack installed in my GameData folder.

If you have scanned for it  and you can see it then still think you need a output for your ModuleResourceHarvester I really don't see the first part of it doing anything so it won't even make it to the second part because there is a missing input

 

EDIT- And I would use ModuleResourceIntake  other then the ModuleResourceHarvester

Edited by Mecripp2

Share this post


Link to post
Share on other sites
@PART[*]:HAS[@MODULE[ModuleResourceIntake]]:HAS[!MODULE[ModuleResourceConverter]]:FINAL
{
	MODULE
	{
		 name = ModuleResourceConverter
         ConverterName = OxidizerCompressor
         StartActionName = Start Compressor
         StopActionName = Stop Compressor

         AutoShutdown = true
		 GeneratesHeat = false
		 
		 UseSpecializationBonus = false
		 
		 INPUT_RESOURCE
		 {
			ResourceName = IntakeAtm
            Ratio = 0.01
		 }
		 
		 OUTPUT_RESOURCE
		 {
			ResourceName = Oxidizer
            Ratio = 11
            DumpExcess = false
		 }
		 
		 OUTPUT_RESOURCE
		 {
			ResourceName = ElectricCharge
			Ratio = 1
			DumpExcess = true
		 }
	}
}

HI,  

Here is a config that adds a compressor onto all the intakes to turn IntakeAtm into Oxidiser. 

GEH

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now