TweakScale
TweakScale copied to clipboard
Adjust Exponent of a resource
I have tried several variations and cannot seem to set the TWEAKSCALEEXPONENTS
of a resource on a part
Part config
MODULE
{
name = TweakScale
type = armor
}
RESOURCE
{
name = Armor
amount = 500
maxAmount = 1000
}
TweakScale Config
SCALETYPE
{
name = armor
freeScale = true
defaultScale = 100
suffix = %
scaleFactors = 10, 50, 100, 200, 400
incrementSlide = 1, 1, 2, 5
TWEAKSCALEEXPONENTS { armor = -1 }
}
TWEAKSCALEEXPONENTS
{
name = BD4x1panelArmor //part name
Resources
{
amount = -1
maxAmount = -1
}
}
Ultimately I would like to ignore the scaling of this resource as it translates to thickness in mm
Realistically it should not go past 1000 as that would be 1 meter thick.