Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust Exponent of a resource #73

Open
gomker opened this issue Oct 5, 2017 · 0 comments
Open

Adjust Exponent of a resource #73

gomker opened this issue Oct 5, 2017 · 0 comments

Comments

@gomker
Copy link

gomker commented Oct 5, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant