ReStocked/Distribution/Restock/GameData/ReStock/Patches/Resource/restock-isrus.cfg
drewcassidy f5b81532bb
Finish overhauling animation module to support waiting states
• ISRU Animation module now will optionally wait for the current looping animation to complete before changing states, making transitions look more seamless
• Better looping animation handling, instead of manually refreshing animations
• Better documentation
• Remove some debug code in HeatEffects
2019-08-30 21:02:20 -07:00

111 lines
1.8 KiB
INI

// Patches applying art changes to ISRUs
// Contents:
// - Convert-O-Tron 125 (MiniISRU)
// - Convert-O-Tron 250 (ISRU)
// Convert-O-Tron 125
@PART[MiniISRU]
{
@author = Andrew Cassidy
!MODEL {}
MODEL
{
model = ReStock/Assets/Resource/restock-isru-125-1
scale = 1.0, 1.0, 1.0
}
MODULE
{
name = ModuleRestockISRUAnimation
deployAnimationName = heater
needsEC = true
}
MODULE
{
name = ModuleRestockHeatEffects
enableHeatEmissive = true
useCoreTemp = true
shaderProperty = _EmissiveColor
excludedRenderer = ISRU-125_heater
lerpMax = 2700
redCurve
{
key = 0 0 2 2
key = 1 1 0 0
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 1 0 0
key = 1 1 0 0
}
disableBlackbody = true
}
}
// Convert-O-Tron 250
@PART[ISRU]
{
@author = Andrew Cassidy
!MODEL {}
MODEL
{
model = ReStock/Assets/Resource/restock-isru-25-1
scale = 1.0, 1.0, 1.0
}
!MODULE[ModuleAnimationGroup] {}
MODULE
{
name = ModuleRestockISRUAnimation
deployAnimationName = Deploy
activeAnimationName = Run
retractAnimationName = Retract
needsEC = true
waitForComplete = true
}
MODULE
{
name = ModuleRestockHeatEffects
enableHeatEmissive = true
useCoreTemp = true
shaderProperty = _EmissiveColor
excludedRenderer = ISRU-25_heater
lerpMax = 2700
redCurve
{
key = 0 0 2 2
key = 1 1 0 0
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 1 0 0
key = 1 1 0 0
}
disableBlackbody = true
}
}