Jump to content

Using stock heat system


Recommended Posts

Hi there,

For my mod RealBattery I would like to implement a heat-up system when dis/charging my battery and reduce charge rates. Many mods use their own heat system, like KSPI-E wasteheat.

Is it possible to use the stock heat system (internal, part, skin temp + all the Flux)? any tutorials/mods to learn from? 

Thanks!

Edited by Blackline
Link to comment
Share on other sites

part.AddThermalFlux(kilowatts)
part.AddSkinThermalFlux(kilowatts)
part.AddExposedThermalFlux(kilowatts)
ModuleCoreHeat.AddEnergyToCore(double energy)

You most likely only want the first of those, but for completeness... (As I understand it: skin / exposed are for aero/reentry, module core heat is for thermal generation where you want to be able to insulate it from the parts around and exhaust the majority direct to radiators)

Edited by Crzyrndm
Link to comment
Share on other sites

The stock heat system is perfectly adequate for small thermal fluxes (few hundred kW) at any timewarp, and for very large fluxes at high timewarp when working inside the core heat system. It really depends on what you want to do. 

You should first determine is what kind of fluxes you will generate, and when you will be generating them. This will inform your choice of how to work with them and whether to work inside core or internal heat systems. Chances are you want to work within internal, which is, like @Crzyrndm said, accessed with part.AddThermalFlux(kW). It's simple enough. 

Link to comment
Share on other sites

  • 2 weeks later...

Thanks for clarification regarding warp and supposed heat mechanic. but I think I have to go with the core heat module, because I want to be able to stop radiators from cooling my stuff too much, and tempGoal seems to be the perfect functionality for this purpose. 

But since I can't get my batteries' heat system to work properly, are there any mods out there using the moduleCoreHeat? I can't find anything. 

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