TweakScale

TweakScale

1M Downloads

Implement GetInfo on TweakScale's Part Module

Lisias opened this issue ยท 2 comments

commented

To allow informing the user about the part's capabilities on Editor.

Additionally, avoid cluttering the Window with too much information (or perhaps allow the user to select how much information he/she wants on the new TS menu), as was suggested on #217 .

image

commented

Well, Implemented as follows:

screenshot52

screenshot54

Scale Types relying on normalised factors (0.. 1.0 .. 4.0) or percentages (0% .. 100% .. 400%) are abbreviated.

commented

It's not possible to implement a "switch" for showing the GetInfo or not on the Editor.

Apparently KSP caches whatever is the value of GetInfo() while loading the parts into the GameData, as the switch I implemented at runtime didn't suppressed the feature as I was expecting. Whatever is the value being returned by GetInfo() on Loading Scene appears to be the value being shown on Editor.

This is pretty annoying, as I can't reflect the current TweakScale state on it. :(