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

Implement "Scaling Variants" to derive new "stretched" parts #43

Lisias opened this issue May 11, 2019 · 0 comments


None yet
1 participant
Copy link

commented May 11, 2019

LinuxGuruGamer suggested a new feature, allowing TweakScale to stretch parts anisotropicaly.

Source: Forum.

My current proposal is to add VARIANTS to the TweakScale module config section, and a new Tweak on the Tweakables menu would allow to select the scale variant for the part. Being an Add'On author tool, no UI will be created for anisotropic scaling by the user:

PART[fuelTankStreteched] // FL-T400 Fuel Tank with Streched Variantes
		type = stack
		defaultScale = 1.25
			name = stretched
			scale_x = 1.0
			scale_y = 1.15
			scale_z = 2.0
			exponent_scales = x,y,z
			name = more stretched
			scale_x = 1.0
			scale_y = 1.50
			scale_z = 4.0
			exponent_scales = x,y,z
		<and so goes on>

Adding "VARIANTS" to the TweakScale section, where Add'On authors would add the desired variations of the base part with the stretching he/she wants.

The scaling exponent to be used would be the same specified on the parent TweakScale, but the dimensions to be used need to be specified to cope with the bidimensional and mono-dimensional scaling (to be applied to solar panels, for example).

Once the VARIANT is selected using a new Tweak on the Tweakables Menu, the user still can apply the "user" scaling as he always did. I'm unsure if I should allow "TweakScale/Variant" to be injected on preexistent parts, however.

It still doesn't copes with the texturing stretching, but that can be fixed later -the problems can be solved one by one. Assuming this would be a problem to be dealt.

Source: Forum.

@Lisias Lisias added the enhancement label May 11, 2019

@Lisias Lisias added this to the TweakScale3 milestone May 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.