Bluedog-Design-Bureau
Bluedog-Design-Bureau copied to clipboard
Some way to show available science for non-DMSAG module science parts
While the DMagic module will show the totalScienceLevel value in the VAB part info, the stock module for non-animated parts doesn't show the scienceValueRatio at all. And since a lot of the parts in BDB use this field to balance science parts through the tech tree, it might be worth either changing all science parts to use the DMagic module (if that works even when they aren't animated), or making a new version of ModuleScienceExperiment that also shows the scienceValueRatio.
DMSAG needs an animation and making our own science experiment module is not really within our expertise. Well unless JSO feels like it.
After some testing, turns out there's already a stock field to show % available, it's just transmission % that DMagic enables. Some examples:
This will show both values by enabling the stock field then converting to an animationless DM module:
@PART[Bluedog_IonSensor]:FINAL { @MODULE[ModuleScienceExperiment],* { @name = DMModuleScienceAnimateGeneric %showScienceValueRatio = true showStartEvent = false showEndEvent = false experimentAnimation = false showEditorEvents = false } }
This just shows the science value without changing the module:
@PART[bluedog_OSO_Photometer]:FINAL { @MODULE[ModuleScienceExperiment],* { %showScienceValueRatio = true } }
And this just shows transmission by converting to DMagic:
@PART[bluedog_OSO_Experiment]:FINAL { @MODULE[ModuleScienceExperiment],* { @name = DMModuleScienceAnimateGeneric showStartEvent = false showEndEvent = false experimentAnimation = false showEditorEvents = false } }
And it looks like some experiments that already use DMagic don't have showScienceValueRatio
set to true, so they only show transmission and not the total value.
Also, there's no clutter in the PAW for an animationless DMagic part, there's fields to disable them:
Converting stock to DMagic would also require adding the totalScienceLevel
field with the value of that module's scienceValueRatio
. totalScienceLevel
does the same thing as the stock module's scienceValueRatio
, but because they have different names it doesn't automatically work when the module is converted. It works the same in game tho, this has totalScienceLevel = 0.5
: