Jump to content

Simple ElectricCharge question (.cfg)


MatterBeam

Recommended Posts

I'm trying to make a part consume electricity just for the sake of consuming electricity.

In .cfg files, I know of ModuleGenerator that converts INPUT_RESOURCE into OUTPUT_RESOURCE, or ModuleAlternator, that just creates a resource, but I don't know of any Module which acts as the opposite of ModuleAlternator, as in, it simply consumes a resource.

Can I: use negative values in ModuleAlternator?

use another, dedicated resource-consuming Module?

- - - Updated - - -

For now I'm using ModuleGenerator where the OUTPUT_RESOURCE has a value of zero.

Link to comment
Share on other sites

What is use the electricity ?

EDIT- This should just use it.

MODULE
{
name = ModuleGenerator
isAlwaysActive = true
INPUT_RESOURCE
{
name = ElectricCharge
rate = 0.75
}
}

EDIT- In some older mod to get them to work in .90 use

RESOURCE
{
name = ElectricCharge
amount = 0
maxAmount = 0
isTweakable = false
hideFlow = true
}

Edited by Mecripp2
Link to comment
Share on other sites

I gotta say, a part to use up electric charge... just for the sake of using up electric charge... well, it's actually sounding extremely "kerbal" to do that, but I really don't see much point otherwise.

I'm making a special fuel tank that needs to keep its contents heated. Therefore, it consumes energy without 'producing' any other resource.

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