Jump to content

Ion Ramscoops


Slye_Fox

Recommended Posts

There's gonna be a 2.5m cap (not made), 2.5m in-line (destiny), 2.5 cap (retro), 1.25 cap (no name yet), 0.625m cap (not made) & radial (not made) versions.

Code wise, I haven't got it working right yet.

It's supposed to work like the air intake, but only work when there's not atmos.

Link to comment
Share on other sites

  • 2 weeks later...
You can do a check for the atmospheric pressure to make sure it's less than or equal to zero, if true then do the resource collection. Check the wiki for the syntax on getting the atmo pressure, I don't know it off the top of my head.

I'm having trouble finding any info.

Link to comment
Share on other sites

Herpdy derp... There I go, making wild assumptions again. It sounded like you were planning on using a plugin to collect resources instead of just using stock configs. In that case I'm not sure how to make collection require an atmosphere of 0.

Sorry for the confusion! This looks really cool so far, keep at it. :)

Link to comment
Share on other sites

Here's my code;

    MODULE
{
name = ModuleResourceIntake
resourceName = Hydrogen
checkForOxygen = false
area = 0.001
intakeSpeed = 1
intakeTransformName = intake
}

RESOURCE
{
name = Kethane
amount = 0
maxAmount = 5
}
RESOURCE
{
name = Hydrogen
amount = 0
maxAmount = 5
}

MODULE
{
name = ModuleGenerator
activateGUIName = "Deploy Ramscoop"
shutdownGUIName = "Undeploy Ramscoop"
INPUT_RESOURCE
{
name = ElectricCharge
rate = 10
}
INPUT_RESOURCE
{
name = Hydrogen
rate = 1
}
OUTPUT_RESOURCE
{
name = Kethane
rate = 0.1
}
}

Link to comment
Share on other sites

I asked for help from Snjo, and he recommended that we look at the code of his plugin, and then adapt it for your use. I posted the question here: http://forum.kerbalspaceprogram.com/showthread.php/50341-Is-there-code-in-ksp-to , and hopefully within a day there will be a solution. If not, we would need to write a custom plugin.

Any pics of the new parts in-game? Even if they do not ram-scoop, they could still generate material and look cool while they do it.

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