Jump to content

ModuleResourceHarvester: HarvesterType = 2 not working.


Recommended Posts

Hey forum.

With the new boyancy in 1.0.5 I started modifying the mk1 liquid fuel tank so it would act as a ballast tank.

I am using the community resources pack to specify the "water" resource.

I use these part modules:

ModuleResourceConverter ... to consume water and convert it to "nothing". This removes water from the tank while the converter is running.

ModuleResourceHarvester ... this is supposed to harvest the "water" resource from the ocean and place it in the tank.

My problem is with the Harvester.

If I set HarvesterType = 2 (which means it will act like an atmospheric harvester) I can happily harvest water from the air. If I set HarvesterType = 1, I can see in the part description that it now says "oceanic". However I get no button when I right click the part and try to use it. It doesn't matter if the part is submerged or not. The button for the converter is still there and works.

Why is that so? Are those harvester types not really implemented into stock KSP? Then again stock doesn't use any atmospheric harvesters and they seem to work fine. Am I missing a code line?

Here is the part's config file so far.


PART
{
name = Ballast Tank
module = Part
author = Chaos.Klaus
rescaleFactor = 1
node_stack_top = 0.0, 0.9375, 0.0, 0.0, 1.0, 0.0
node_stack_bottom = 0.0, -0.9375, 0.0, 0.0, -1.0, 0.0
node_attach = 0.0, 0.0, -0.625, 0.0, 0.0, 1.0, 1
TechRequired = aviation
entryCost = 2600
cost = 550
category = FuelTank
subcategory = 0
title = Ballast Tank
manufacturer = D8 Submersibles
description = A modified fuel tank that can be flodded with water to decrease it's boyancy. To increase boyancy again, repressurize the tank with the compressed air that is stored in a different compartment of the tank.
attachRules = 1,1,1,1,0
mass = 0.25
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.3
angularDrag = 2
crashTolerance = 10
breakingForce = 50
breakingTorque = 50
maxTemp = 2000 // = 3000
thermalMassModifier = 2.0
fuelCrossFeed = True
bulkheadProfiles = size1, srf


MODEL
{
model = Squad/Parts/Structural/mk1Parts/Fuselage
}


RESOURCE
{
name = Water
amount = 1000
maxAmount = 2000
}

MODULE
{
name = ModuleFuelJettison
}

MODULE
{
name = ModuleResourceHarvester
HarvesterType = 1 // this specifies the harvester to be of the "oceanic" type. 0 is "surface", 2 is "atmospheric", 1 is "oceanic"
Efficiency = 1
ResourceName = Water
ConverterName = air vents
StartActionName = open vents
StopActionName = close vents
}

MODULE
{
name = ModuleResourceConverter
ConverterName = Compressor
StartActionName = start repressurizing
StopActionName = stop repressurizing

INPUT_RESOURCE
{
ResourceName = Water
Ratio = 10
FlowMode = STAGE_PRIORITY_FLOW
}
}
}


EDIT: Mixed it up. Corrected: 1 is oceanic and 2 is atmospheric. Problem still stands.

Edited by Chaos_Klaus
Link to comment
Share on other sites

OK. So I found out that the oceanic harvester from Karbonite also doesn't show the buttons ... until you deploy it.

Do these harvester types need an animation, or do I need to specify some special mesh that tells KSP where the resource is taken in? I guess the same applies to drills.
Link to comment
Share on other sites

Hey, I've been attempting the same thing. 1st I do not think the oceanic is implemented in stock KSP nor do I think atmospheric is implemented. It doesnt seem to be an issue with having to deploy, as if you tell the module to be a surface you should be able to start and stop harvesting of water. Water must be an available resource under the vessel for the option to pop up in surface mode, so you have to create the water resource and have it populate the planet (i tested by just having the entire planet have 100% water) I cant determine how to tell if the ship is in water however... only when the ship is in the water biome (unfortunately much of costal water is the shore biome). I edited the surface ore scanner to scan for water to help me trouble shoot this. I thought perhaps oceanic may only work when the ship was in the water biome but to no avail, and surface stops working as soon as you are in too deep of water (basically when you leave the shore biome). Harvesting on land has not worked yet, may try to just edit the rill to harvest water and see what happens.
Link to comment
Share on other sites

I used the community resource pack. It has definitions for both oceanic and atmospheric water. Atmospheric harvesting works fine! (even under water)

I installed Karbonite, which has an oceanic harvester. It uses the stock resource system ... and works. I don't know where the problem is.
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...