Jump to content

Creating resources without generator?


Recommended Posts

  

I've been trying to write a personal patch for KerbalAtomics that makes nuclear engines use EnrichedUranium and create DepletedFuel depending on the throttle (not a generator). I've tried this two ways but encountered a problem with each.

First I tried setting DepletedFuel as a propellant with a negative ratio. This gave me the production rate I wanted but also made the engine think it was only getting 2/3 of the propellants and so would only give 2/3 the thrust. I could kludge it and just increase the thrust values to compensate but that bothers my OCD and I thought there must be a better way.

@MODULE[ModuleEnginesFX]
        {
            PROPELLANT
            {
                name = DepletedFuel
                ratio = -0.000033
                DrawGauge = False
            }
        }

I then tried making an Alternator that would produce DepletedFuel but for some reason KSP doesn't seem to like making alternators with values below 0.01 units/s (and I would like a production rate around 0.00001 units/s).

MODULE
    {
        name = ModuleAlternator
        RESOURCE
        {
            name = DepletedFuel
            rate = 0.000033
        }
    }

 

Are there any other ways to generate resources depending on the throttle? I'm just starting to learn this stuff so talk to me like I'm 5 :P

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