-
Notifications
You must be signed in to change notification settings - Fork 23
ModuleChargeableEngine
DareMightyThingsJPL edited this page Apr 20, 2025
·
2 revisions
Documentation for ModuleChargeableEngine
MODULE
{
name = ModuleChargeableEngine
// Charge Parameters
Charged = false
ChargeRate = 10
ChargeAmount = 0
ChargeGoal = 1000
// Animation Parameters, this isn't necessary
ChargingLightRootTransformName = Placeholder
// Engine Parameters
ShutdownEngineOnLowThrottle = true
MinimumThrottleFraction = 0.001
}
-
Charged: the value determining whether the engine is already charged when a vessel with the engine is launched. Uses true and false values. -
ChargeRate: Decimal value, determines how fast the engine charges up. -
ChargeAmount: Decimal value, determines the amount that the engine is charged when a vessel with the engine is launched. -
ChargeGoal: The total amount of charge needed for the engine to start, expressed as Electric Charge (1 ElectricCharge = 1 KiloWatt) -
ChargingLightRootTransform: Determines the root transform animation that the engine uses when charging and is charged up. -
ShutdownEngineOnLowThrottle: Determines whether when dropping below the value set byMinimumThrottleFraction, the engine shuts off, and needs to be recharged. Uses true and false values. -
MinimumThrottleFraction: Determines the engine throttle (expressed as a decimal fraction (eg. 0.9 = 90%, 0.1 = 10%)) at which the engine shuts off. IfShutdownEngineOnLowThrottleis set to false,MinimumThrottleFractionshould be set to 0.