-
Notifications
You must be signed in to change notification settings - Fork 20
ModuleSystemHeatColorAnimator
JadeOfMaar edited this page Apr 28, 2025
·
3 revisions
This module inherits from stock ModuleColorChanger which enables color animation between an initial default state and a single desired final state. It is used in place of any Unity animations and any stock modules that direct the Unity animations for animating the heat glow on compatible parts for thermal storage and dissipation. The default curve values here lead to a simple fade in animation which tends to look bad if used on anything other than a simple light switch. Be sure to figure out and supply your own curves if one is necessary.
MODULE
{
name = ModuleSystemHeatColorAnimator
moduleID = exampleColor
shaderProperty = _TintColor
includedTransformList = exampleLights, exampleGlow // optional
animRate = 1 // optional
redCurve
{
key = 0 0
key = 1 1
}
greenCurve
{
key = 0 0
key = 1 1
}
blueCurve
{
key = 0 0
key = 1 1
}
alphaCurve
{
key = 0 0
key = 1 1
}
}-
moduleID: Required; This is the unique identifier for this module (as a given part may have multiple of this module). By this value other modules can direct it for their purposes, namelyModuleSystemHeatRadiator{}andModuleSystemHeatResourceAnimator{}. -
shaderProperty: Required; Decides which aspect of the part's coloring to animate. Radiators typically use_EmissiveColorto respect the artwork of their heat texture._TintColordoes not respect a texture and will flatly illuminate the named transform or the whole model. This is good for use as a status light. -
includedTransformList: Optional; A comma-separated list of transforms within the part to be whitelisted for animation. Multiple of this module may possess this key with different values so different regions of the model can glow in response to multiple conditions. -
animRate: Affects animation speed. As far as System Heat is concerned there might never be a need to supply a value other than 1.
Managing Heat
Part Types
Part Module Configuration
- ModuleSystemHeat
- ModuleSystemHeatRadiator
- ModuleSystemHeatEngine
- ModuleSystemHeatConverter
- ModuleSystemHeatHarvester
- ModuleSystemHeatExchanger
- ModuleSystemHeatFissionReactor
- ModuleSystemHeatFissionEngine
- ModuleSystemHeatFissionFuelContainer
- ModuleSystemHeatColorAnimator
- ModuleSystemHeatResourceAnimator
- ModuleSystemHeatSink
- SystemHeat Modules From Other Mods