![]() |
Kerbal Space Program
1.12.4
|
Static Public Member Functions | |
| static double | AdjustedSentinelViewAngle (Orbit innerOrbit, Orbit outerOrbit) |
| Calculates the viewing angle offset created by a sentinel's distance from its focus body. More... | |
| static float | CalculateReadDuration (string s) |
| Calculates how long a message of any length should display using average reading speeds. More... | |
| static bool | FindInnerAndOuterBodies (double SMA, out CelestialBody innerBody, out CelestialBody outerBody) |
| Uses an arbitrary semi-major axis to determine the bodies on either side of it. More... | |
| static bool | FindInnerAndOuterBodies (Orbit o, out CelestialBody innerBody, out CelestialBody outerBody) |
| Uses semi-major axis of an orbit to determine the bodies on either side of it. More... | |
| static bool | FindInnerAndOuterBodies (Vessel v, out CelestialBody innerBody, out CelestialBody outerBody) |
| Uses semi-major axis of a vessel's orbit to determine the bodies on either side of it. More... | |
| static double | GetEscapeVelocity (CelestialBody body, double altitude) |
| Calculates the velocity required to escape a body at a certain altitude. More... | |
| static double | GetMinimumOrbitalSpeed (CelestialBody body) |
| Calculates the slowest velocity to possibly maintain while still in orbit of a body. More... | |
| static double | GetProgradeBurnAllowance (Orbit o) |
| Calculates how much velocity a sentinel spawned asteroid has to work with in a prograde eccentricity burn. More... | |
| static double | GetRetrogradeBurnAllowance (Orbit o) |
| Calculates how much velocity a sentinel spawned asteroid has to work with in a retrograde eccentricity burn. More... | |
| static UntrackedObjectClass | GetVesselClass (Vessel v) |
| Gets the discovery object class of a vessel, loaded or not. More... | |
| static bool | IsOnSolarOrbit (CelestialBody body) |
| Determines if a body is directly orbiting the sun. More... | |
| static double | RandomRange (System.Random generator=null, double min=double.MinValue, double max=double.MaxValue) |
| Chooses a random unweighted number from min-max. More... | |
| static SentinelScanType | RandomScanType (System.Random generator=null) |
| Picks a random scan type. More... | |
| static bool | SentinelCanScan (Vessel v, CelestialBody innerBody=null, CelestialBody outerBody=null) |
| Determines if a vessel is properly aligned for sentinel scanning. More... | |
| static UntrackedObjectClass | WeightedAsteroidClass (System.Random generator=null) |
| Chooses a random asteroid class, weighted towards larger classes. More... | |
| static double | WeightedRandom (System.Random generator) |
| Chooses a random number from 0-1, weighted towards zero by WeightedStability. More... | |
| static double | WeightedRandom (System.Random generator, double min, double max) |
| Chooses a random number from min-max, weighted towards min by WeightedStability. More... | |
| static double | WeightedRandom (System.Random generator, double max) |
| Chooses a random number from 0-max, weighted towards 0 by WeightedStability. More... | |
Static Public Attributes | |
| static double | MaxAsteroidEccentricity = 0.4 |
| static double | MaxAsteroidInclination = 40 |
| static double | MinAsteroidEccentricity = 0.05 |
| static double | MinAsteroidInclination = 5 |
| static int | perSentinelObjectLimit = 10 |
| How many untracked objects each sentinel can track More... | |
Properties | |
| static string | SentinelModuleDisplayName [get, set] |
| static string | SentinelModuleName [get, set] |
| static string | SentinelPartDisplayName [get, set] |
| static string | SentinelPartName [get, set] |
| static string | SentinelPartTitle [get] |
| static double | SentinelViewAngle [get, set] |
| static float | SpawnChance [get, set] |
| static int | WeightedStability [get, set] |
|
inlinestatic |
Calculates the viewing angle offset created by a sentinel's distance from its focus body.
| innerOrbit | The sentinel's orbit. |
| outerOrbit | The focus body's orbit. |
|
inlinestatic |
Calculates how long a message of any length should display using average reading speeds.
| s | The string. |
|
inlinestatic |
Uses an arbitrary semi-major axis to determine the bodies on either side of it.
| SMA | The semi-major axis. |
| innerBody | The body to store the inner body in. |
| outerBody | The body to store the outer body in. |
|
inlinestatic |
Uses semi-major axis of an orbit to determine the bodies on either side of it.
| o | The orbit. |
| innerBody | The body to store the inner body in. |
| outerBody | The body to store the outer body in. |
|
inlinestatic |
Uses semi-major axis of a vessel's orbit to determine the bodies on either side of it.
| v | The vessel. |
| innerBody | The body to store the inner body in. |
| outerBody | The body to store the outer body in. |
|
inlinestatic |
Calculates the velocity required to escape a body at a certain altitude.
| body | The body. |
| altitude | The altitude. |
|
inlinestatic |
Calculates the slowest velocity to possibly maintain while still in orbit of a body.
| body | The body. |
|
inlinestatic |
Calculates how much velocity a sentinel spawned asteroid has to work with in a prograde eccentricity burn.
| o | The asteroid's orbit. |
|
inlinestatic |
Calculates how much velocity a sentinel spawned asteroid has to work with in a retrograde eccentricity burn.
| o | The asteroid's orbit. |
|
inlinestatic |
Gets the discovery object class of a vessel, loaded or not.
| v | The vessel. |
|
inlinestatic |
Determines if a body is directly orbiting the sun.
| body | The CelestialBody. |
|
inlinestatic |
Chooses a random unweighted number from min-max.
| generator | An optional random generator. |
| min | The minimum generated value. |
| max | The maximum generated value. |
|
inlinestatic |
Picks a random scan type.
| generator | An optional random generator. |
|
inlinestatic |
Determines if a vessel is properly aligned for sentinel scanning.
| v | The vessel. |
| innerBody | Optional inner body. |
| outerBody | Optional outer body. |
|
inlinestatic |
Chooses a random asteroid class, weighted towards larger classes.
| generator | An optional random generator. |
|
inlinestatic |
Chooses a random number from 0-1, weighted towards zero by WeightedStability.
| generator | An optional random generator. |
|
inlinestatic |
Chooses a random number from min-max, weighted towards min by WeightedStability.
| generator | An optional random generator. |
| min | The minimum generated value. |
| max | The maximum generated value. |
|
inlinestatic |
Chooses a random number from 0-max, weighted towards 0 by WeightedStability.
| generator | An optional random generator. |
| max | The maximum generated value. |
|
static |
|
static |
|
static |
|
static |
|
static |
How many untracked objects each sentinel can track
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticgetset |
|
staticget |
|
staticgetset |
|
staticgetset |
|
staticgetset |
1.8.7