TweakScale / Companion_OPT

Adds (up to date) TweakScale /L patches for Orbit Portal Technologies (OPT).
GNU General Public License v2.0
0 stars 1 forks source link

Gather requirements and implement the new Use Cases for OPT Reconfig #2

Open Lisias opened 4 years ago

Lisias commented 4 years ago

As mentioned here.

For OPT Reconfig.

JadeOfMaar commented 4 years ago

The new use case is where B9PartSwitch, with its feature/module switching capabilities is applied to a given module to affect what is consumed or produced by it (precisely, B9PS can add and remove keys and whole sub nodes of a target node and refresh the target module). Particularly the modules I mess with are ModuleEnginesFX{}, ModuleRCSFX{}, ModuleResourceConverter{}. I haven't tested other modules but I might do ModuleResourceHarvester{} at some point.

When B9 is used to change just the INPUT_RESOURCE{}, OUTPUT_RESOURCE{}, PROPELLANT{} in these modules, it's not going to be looking for whatever values (per module?) Tweakscale uses to remember how much the affected part was resized, so the module's rates are never scaled.

Example: the stock fuel cells and Restock+ MonoProp APU are changed from:

Example: the OPT SAGE engine's secondary engine mode is hooked and given 4 subtypes so you can change its Isp and thrust in Closed Cycle like a VASIMR.

Lisias commented 4 years ago

Moar relevant info.

https://forum.kerbalspaceprogram.com/index.php?/topic/87956-130-opt-space-plane-v201-updated-29072017/&do=findComment&comment=3822315

f you get around to it you will find that the Egg Dog engine is the same kind as the WarpJet SAGE engine as described in https://github.com/net-lisias-ksp/TweakScale/issues/93. It also uses B9 to change engine module properties.