RasterPropMonitor icon indicating copy to clipboard operation
RasterPropMonitor copied to clipboard

variable requirements: experimentId

Open anxcon opened this issue 10 years ago • 6 comments

variables for things like atmo pressure, ambient temp, gravity, etc something in RPM cfg to put experimentId, when no gadget onboard and if experiment not filled for that altitude (and biome if applicable) then say N/A or such, if experiment filled or have gadget then show value

can go further and look at % of experiment filled, and add an error rate to the value

for cfg, thinking just something basic variablename = experimentId that way it can be expanded for other experiments people might come up with such as fuel science mod testing fuels, could effect a variable used in dv formula

anxcon avatar Oct 02 '15 00:10 anxcon

I don't quite understand what the feature you are asking is. Is it a variable? More than one variable? Something other than a variable?

MOARdV avatar Oct 02 '15 12:10 MOARdV

RPM variables for making the displays, just give the values, such as ATMPRESSURE gives atmo pressure, whether or not any related tools are onboard (such as the stock sciencey toy for measuring pressure)

i'm basicly asking for optional pre req to be added, to allow it to display, in this case it would be a part with ModuleEnviroSensor turned on, or if a previous measurement was taken (checking experimentId barometerScan for progress for current biome/situation)

if we can link the variable to experimentId ourselves when making the displays, then anyone could expand it with all the sciencey toys that exist :)

anxcon avatar Oct 02 '15 17:10 anxcon

Okay, I understand now. That could be very difficult to do, since there are hundreds of variables in RPM. It would be easier to use the new SELECT_ variables to customize results, although that will still require a way to know if a particular experiment is available. I will need to think about how I would do this.

MOARdV avatar Oct 02 '15 18:10 MOARdV

read through wiki again and couldn't find info on SELECT_ variables?

but that combined with a variable to see current/max/0-1 progress of an experimentId in the current biome/situ sounds like itll work :)

but then this should probably be split into 2 issues?

  1. variable to see experimentId progress
  2. variable for true/false to see if ModuleEnviroSensor(of type) is on vessel and active

anxcon avatar Oct 03 '15 21:10 anxcon

Select variable is here: https://github.com/Mihara/RasterPropMonitor/wiki/Custom-Variables#creating-a-select-variable

Not clearly documented - that's one of my upcoming tasks, to make it easier to find things since this mod has grown so much.

As for the experiment progress and sensor type info, that should be fairly easy to add. That's been one of the things I've been meaning to add for a long time, but I do not spend much time playing career, so I never knew what needs to be added for science.

MOARdV avatar Oct 04 '15 01:10 MOARdV

for science variables current progress value (i would say in current biome/situ) max value obtainable (again for current biome/situ) could have a transmit value "can perform here" (for current biome/situ)

but the way custom variables work, makes me think that style works better than single variables per field

RPM_EXPERIMENT_VARIABLE { name = SCIENCE_VALUE experimentId = GooExperiment biomeId = BIOMEID (if you want it to current variable to fetch data based on current biome, or have some other variable used say custom one that translates long+lat into biome) situation = SITUATION (same reasons) type = CURRENT (current, max, transmit multiplier, etc) }

just what i thought of after a day, i dunno

anxcon avatar Oct 05 '15 01:10 anxcon