Jump to content

Atmospheric Harvester


Recommended Posts

Hello.

I'm beginning at modding.

I did a lot of research to find somethings interresting, cause there's not a lot ksp-modding tutorials on the web...

I finally found some websites that contains a lot of information about it.

I succeeded to create new engines, new fuel tanks, new resources, and even a semi-functional intake air for a resource that I created. And resources-config files, to choose their rarity on the differtents planets.

I say "semi", cause the intake resource module seems to don't care at all about the resource's "abundance"... And so the intake was always "breathing" the same amount of resource, whatever the ship was.

So I tried to use the "ResourceHarvester" module instead of the Intake module.

But it doesn't work.

The module shows up in the VAB, like that :1NhrQqKYaTDq_7-rQuBpIhwRQ8yEz4Z8frzD55vlaI1M7Icf33B6bB7_HQq5HfzkVKlEh5s0kXz-f1AX

But not in the "world" (when i "launch" the ship) :L9ZjpAlRMOMrnnnRO-jvLp0DxiABFv1c2WdgrqDq

I don't know why...

Here's the cfg file :

https://drive.google.com/open?id=0B3Lfry-N0T97bmo3WktocmdSX28

Thank you.

 

 

 

Edited by Yahnyx
Link to comment
Share on other sites

On 18/8/2017 at 0:25 AM, Yahnyx said:

I know.

I created a new resource called Helium.

I know it works because I also created a fueltank that contain Helium, and it works.

 

Did you add it to the planet atmosphere. It does not magically show up in the planet atmosphere unless you put it there. Adding the resource is not sufficient.

This is from the community resource pack (Argon Gas)

PLANETARY_RESOURCE
{
	ResourceName = ArgonGas
	ResourceType = 2
	PlanetName = Kerbin
	
	Distribution
	{
		PresenceChance = 100
		MinAbundance = 0.01
		MaxAbundance = 0.1
		Variance = 5
	}
}

You can also add it globally.

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