-
Notifications
You must be signed in to change notification settings - Fork 32
Module Reference: TestFlightReliability
-
configuration
- an alias for the configuration in the corresponding TestFlightCore -
reliabilityCurve
- a float curve from the part's data to its base failure rate (in events per second). Should not be given for derived Reliability modules
The TestFlightReliability module is responsible for determining both the Base Failure Rate and Momentary Failure Rates of a part. Different versions of this module do different things. The base version of this module is also responsible for determining general failure and triggering random failures when appropriate. Derived modules may implement custom Momentary Failure Modifiers, or even trigger their own custom failures, but they should never always leave the handling of general failures to the base module.
There must always be a base TestFlightReliability module on a part, but there can be an additional number of secondary Reliability derived modules as well
TestFlightReliability_EngineCycle Engine ignition and running time.
-
engineConfig
- similar toconfiguration
, used by RealFuels -
cycle
- a float curve from the time the engine has been running (seconds) to a failure rate multiplier. 1.0 (the default) means the momentary failure rate equals the base TestFlightReliability module's base failure rate. -
thrustModifier
- a float curve from the engine thrust (kN) to how quickly the engine wears out. 1.0 (the default) meanscycle
counts real seconds of running time. -
idleDecayRate
- the rate at which running time is "forgotten" when the engine is off. 1.0 means one second of cooldown cancels one second of running time. Defaults to 0 (cycle
is based on total time of all burns). -
engineID
- if the part has multipleModuleEngines
, theengineID
of the one this Reliability module should track -
ratedBurnTime
- number of seconds the engine can continuously operate. Used only for display purposes; all in-game calculations are based oncycle
TestFlightReliability_DynamicPressure Dynamic pressure
-
reliabilityAtPressure
- a float curve from the dynamic pressure (Pa, not kPa) to a failure rate multiplier. Multiplier as forEngineCycle/cycle
.
TestFlightReliability_SkinTemperature Part skin temperature
-
temperatureCurve
- a float curve from the temperature (K) to a failure rate multiplier. Multiplier as forEngineCycle/cycle
.
TestFlightReliability_InternalTemperature Part internal temperature
-
temperatureCurve
- seeSkinTemperature/temperatureCurve
.
TestFlightReliability_TestFail Manually triggered failures for debugging purposes