SSTU - Shadow Space Technologies Unlimited

SSTU - Shadow Space Technologies Unlimited

98.5k Downloads

Proc. Interstage decoupler GUI options

Jimbodiah opened this issue ยท 6 comments

commented

Some GUI options, like the top and bottom decoupling, for the Interstage decoupler are only visible when Advanced Tweakables are enabled.
after
before

commented

Is enabling advanced tweakables really that much trouble? I have trouble imagining a decent moderately-modded game without them.

commented

Stock options = stock options.

I'll see if the 'advanced tweakables' setting on those UI options is adjustable through config. Don't think that it is, but will take a look at it. The problem is that it is all part of the stock ModuleDecouple, which I can neither edit nor extend (last time I tried extending it there were all sort of problems with other mods that are hard-coded to only accept the stock decoupler module; e.g. mechjeb, ker, and kjr).

The only option is if the stock code allows for removing those from 'advanced tweakables' through a config setting on a per-part basis; the default 'advanced tweakable' state is defined through the source-code of each ui control for each module, and generally not exposed to config-file-based configuration.

commented

No, that is not the point. People that do not enable it will just not see these options and wonder why not (like I did after a fresh install).

commented

@SixDasher you do have a valid point, and I can absolutely see where you are coming from -- the decoupler staging features are necessary toggles to the proper configuration and function of the ISDC part.

The problem in this case is that stock code has decided that decoupler staging features are an 'advanced' feature, and I'm unsure if I can even alter it. (Literally it is hard-coded into the stock ModuleDecouple UI field definitions and might not be fixable even with custom plugin code)

I'll look into it during my next updating pass, but it may well come down to 'need to open a stock feedback/bug-report to have them open the 'advanced' setting for modules UI functions to configuration through .cfg files'.

commented

np for me, just wanted to mention it.

commented

Ho, hum... fixed in dev repo, will be available with the next update.

Events[nameof(ToggleStaging)].advancedTweakable = false;
decoupler.Events[nameof(ToggleStaging)].advancedTweakable = false;