ContinuousEffects
< Modding | ComponentsModding/Components/ContinuousEffects
Jump to navigation
Jump to search
Code locations (what's this?):
• Cosmoteer.Ships.Parts.Effects.PartContinuousEffects
• Cosmoteer.Ships.Parts.Effects.PartContinuousEffectsRules
A part sub-component that maintains a continuous multi-effect while active.
Alias "PartContinuousEffects".
This is how you play a sound or visual over and over. Stop it with an OperationalToggle or similar.
Inherits from OperationalChainablePartComponent
.
Name | Type | Required? | Buffable? | Default value | Description |
---|---|---|---|---|---|
MediaEffects | MultiMediaEffectRules | Yes | - | - | The effects that should be kept playing. |
MediaEffectsIntensityFactor | Float | - | Yes | 1 | For scaling. |
FactorMediaEffectsIntensityWith | ID<PartComponentRules>? | - | - | - | For scaling. |
GetColorFrom | ID<PartComponentRules>? | - | - | - | Source component for the color. |
ParentToShip | bool | - | - | - |
Notes
Nothing yet.
Examples
A reactor :
ReactorHum
{
Type = ContinuousEffects
Location = [2, 2]
MediaEffects
[] //list of effects here
}