|
void | DeRegisterCluster (uint controlUnitId) |
| Deregister a DeployedScience Cluster (ModuleGroundExpControl) and all the deployable parts that are connected to it. This will also be Called automatically when GameEvent onGroundScienceDeregisterCluster is Fired. More...
|
|
float | ExpDimReturnsRate (string experimentId, string celestialBodyName) |
| Calculates and Returns the Diminishing Science Multiplier Rate based on the experimentId and Celestial Body name. Each additional Experiment on the same Celestial Body returns a diminishing amount of science. More...
|
|
DeployedSciencePart | ExpMaxScienceMultiplier (string experimentId, string celestialBodyName) |
| Finds and returns the first matching DeployedSciencePart that has an experiment matching ExperimentId and deployed on the Celestial Body passed in. If none found will return null. More...
|
|
float | GetDiminishingReturnsMultiplier (int numExperiments) |
| Will return the Diminishing Returns multiplier from the diminishing returns config based on the number passed in. More...
|
|
override void | OnAwake () |
|
void | OnDestroy () |
|
override void | OnLoad (ConfigNode node) |
|
override void | OnSave (ConfigNode node) |
|
void | RegisterCluster (ModuleGroundExpControl controlUnit, List< ModuleGroundSciencePart > deployableScienceParts) |
| Register a DeployedScience Cluster (ModuleGroundExpControl) and all the deployable parts that are connected to it. This will also be Called automatically when GameEvent onGroundScienceRegisterCluster is Fired. More...
|
|
void | SetDiminishingScienceRate (string experimentId, string celestialBodyName) |
| Will set the Diminishing Science Rate on all Deployed Science Experiments that match the ExperimentId and Celestial Body passed in. The First (highest) science returning experiment (based on buffs set based on traits for the kerbal that deployed it) returns a rate of 1. Then for each other instance of the same experiment a diminishing rate is applied based on what is defined in the Deployed Science cfg. More...
|
|
void | Load (ConfigNode node) |
|
void | Save (ConfigNode node) |
|
|
static string | SeismicExperimentId = "deployedSeismicSensor" |
| This is the experiment name for the Deployed Sesimic Sensor. Which processes seismic activity experiments when vessels crash into CBs. More...
|
|
void Expansions.Serenity.DeployedScience.Runtime.DeployedScience.DeRegisterCluster |
( |
uint |
controlUnitId | ) |
|
|
inline |
Deregister a DeployedScience Cluster (ModuleGroundExpControl) and all the deployable parts that are connected to it. This will also be Called automatically when GameEvent onGroundScienceDeregisterCluster is Fired.
float Expansions.Serenity.DeployedScience.Runtime.DeployedScience.ExpDimReturnsRate |
( |
string |
experimentId, |
|
|
string |
celestialBodyName |
|
) |
| |
|
inline |
Calculates and Returns the Diminishing Science Multiplier Rate based on the experimentId and Celestial Body name. Each additional Experiment on the same Celestial Body returns a diminishing amount of science.
- Parameters
-
experimentId | |
celestialBodyName | |
- Returns
DeployedSciencePart Expansions.Serenity.DeployedScience.Runtime.DeployedScience.ExpMaxScienceMultiplier |
( |
string |
experimentId, |
|
|
string |
celestialBodyName |
|
) |
| |
|
inline |
Finds and returns the first matching DeployedSciencePart that has an experiment matching ExperimentId and deployed on the Celestial Body passed in. If none found will return null.
- Parameters
-
experimentId | |
celestialBodyName | |
- Returns
float Expansions.Serenity.DeployedScience.Runtime.DeployedScience.GetDiminishingReturnsMultiplier |
( |
int |
numExperiments | ) |
|
|
inline |
Will return the Diminishing Returns multiplier from the diminishing returns config based on the number passed in.
- Parameters
-
numExperiments | The number of experiments |
- Returns
override void Expansions.Serenity.DeployedScience.Runtime.DeployedScience.OnAwake |
( |
| ) |
|
|
inlinevirtual |
void Expansions.Serenity.DeployedScience.Runtime.DeployedScience.OnDestroy |
( |
| ) |
|
|
inline |
override void Expansions.Serenity.DeployedScience.Runtime.DeployedScience.OnLoad |
( |
ConfigNode |
node | ) |
|
|
inlinevirtual |
override void Expansions.Serenity.DeployedScience.Runtime.DeployedScience.OnSave |
( |
ConfigNode |
node | ) |
|
|
inlinevirtual |
Register a DeployedScience Cluster (ModuleGroundExpControl) and all the deployable parts that are connected to it. This will also be Called automatically when GameEvent onGroundScienceRegisterCluster is Fired.
void Expansions.Serenity.DeployedScience.Runtime.DeployedScience.SetDiminishingScienceRate |
( |
string |
experimentId, |
|
|
string |
celestialBodyName |
|
) |
| |
|
inline |
Will set the Diminishing Science Rate on all Deployed Science Experiments that match the ExperimentId and Celestial Body passed in. The First (highest) science returning experiment (based on buffs set based on traits for the kerbal that deployed it) returns a rate of 1. Then for each other instance of the same experiment a diminishing rate is applied based on what is defined in the Deployed Science cfg.
- Parameters
-
experimentId | |
celestialBodyName | |
double Expansions.Serenity.DeployedScience.Runtime.DeployedScience.DataSendFailedTimeDelay = 600f |
How long to delay before attempting to resend Science Data
float Expansions.Serenity.DeployedScience.Runtime.DeployedScience.MinimumSeismicEnergyRequired = 3000 |
The Minimum amount of Energy Required for a Seismic Event to generate Science.
double Expansions.Serenity.DeployedScience.Runtime.DeployedScience.ScienceTimeDelay = 60f |
How often Science is processed for timed Deployed Science Experiments in secs.
string Expansions.Serenity.DeployedScience.Runtime.DeployedScience.SeismicExperimentId = "deployedSeismicSensor" |
|
static |
This is the experiment name for the Deployed Sesimic Sensor. Which processes seismic activity experiments when vessels crash into CBs.
int Expansions.Serenity.DeployedScience.Runtime.DeployedScience.SeismicScienceProcessingDelay = 3 |
There is a delay after the first impact is detected on a CB before the science is processed. This is to allow all parts of the vessel to hit the ground and generate data. Changing this value will change the length of that delay.
DictionaryValueList<uint, DeployedScienceCluster> Expansions.Serenity.DeployedScience.Runtime.DeployedScience.DeployedScienceClusters |
|
get |
DictionaryValueList<int, float> Expansions.Serenity.DeployedScience.Runtime.DeployedScience.DiminishingReturns |
|
get |
A dictionary of the diminishing returns science multipliers. Key is the Number of the same experiment per CB. Value is the multiplier to apply to science for the key.
DeployedScience Expansions.Serenity.DeployedScience.Runtime.DeployedScience.Instance |
|
staticgetset |
bool Expansions.Serenity.DeployedScience.Runtime.DeployedScience.IsActive |
|
staticgetset |
DictionaryValueList<string, float> Expansions.Serenity.DeployedScience.Runtime.DeployedScience.SeismicEnergyRates |
|
get |
The Impact rates J(oules) for each Celestial Body to register Science for the Seismic Sensor Experiment.
The documentation for this class was generated from the following file: