Jump to content

Module: Alternator help request


Absolution

Recommended Posts

Can anyone offer any tips on how to make use of the Alternator module? I give my rocket parts an initial charge and the alternator module but the entire electric charge is spent the instant the launch pad loads up. It's like some silly Kerbal plugged in a dead battery. Furthermore, no electricity is generated during the flight. My only thought is that something is using electricity so quickly that anything that is generated is spent instantly. However, nothing on my rocket uses electricity at all; not even the payloads. I must not be using the module correctly. Any tips?

a snip from my rocket code:


MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 1.0
}
}

RESOURCE
{
name = ElectricCharge
amount = 50
maxAmount = 50
}

Link to comment
Share on other sites

Alternator hooks into a ModuleEngines, if you're trying to use it on a non-engine part or with a custom engine it won't work.

It's an engine with the appropriate modules.

Bigger snip:


MODULE
{
name = ModuleEngines
thrustVectorTransformName = ThrustTransform
exhaustDamage = True
ignitionThreshold = 0.1
minThrust = 0
maxThrust = 367
heatProduction = 350
fxOffset = 0, 0, 0.0
PROPELLANT
{
name = LiquidFuel
ratio = 0.9
DrawGauge = True
}
PROPELLANT
{
name = Oxidizer
ratio = 1.1
}
atmosphereCurve
{
key = 0 272
key = 1 272
}
}

MODULE
{
name = ModuleGimbal
gimbalTransformName = ThrustTransform
gimbalRange = 0.6
}


RESOURCE
{
name = LiquidFuel
amount = 2228
maxAmount = 2228
}

RESOURCE
{
name = Oxidizer
amount = 2723
maxAmount = 2723
}

RESOURCE
{
name = MonoPropellant
amount = 50
maxAmount = 50
}

MODULE
{
name = ModuleAlternator
RESOURCE
{
name = ElectricCharge
rate = 1.0
}
}

RESOURCE
{
name = ElectricCharge
amount = 50
maxAmount = 50
}

Thoughts?

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
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...