Jump to content

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


Chirality

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?

Link to comment
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"

Link to comment
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
	}
}

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
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

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...