Skip to content

BP_Light

NullPointerExcy edited this page Apr 2, 2025 · 11 revisions

BP_Light

The BP_Light is the core component of the Modular Light System. It represents a single light source that can be turned on and off. It can be connected to other lights to form a circuit, move, rotate, scale, has state and color properties, and more.

Features

Light Mesh

Property Type Default Value Description
Light Mesh Static Mesh None The mesh that represents the light source.
Material Override Material None Override the material of the light mesh.
Mesh Simulate Physics Boolean False Enable physics simulation for the mesh. (Necessary for moving light, if it should collide)
Mesh Enable Gravity Boolean False Enable gravity for the mesh.
Mesh Scale Vector (1, 1, 1) Scale of the mesh.

Light Settings

Property Type Default Value Description
Default On? Boolean True Should the light be on by default?
Default Destroyed? Boolean False Should the light be destroyed by default?
Is Destroyable? Boolean False Can the light be destroyed? (By projectiles etc.)
Light Color Color White The color of the light.
Light Cast Shadow? Boolean True Should the light cast shadows?
Light Intensity Float 500 lm The intensity of the light.
Light Radius Float 1000 The radius of the light.
Light Position Vector (0, 0, 0) The relative offset position of the light.
Light Rotation Rotator (0, 0, 0) The relative offset rotation of the light.
Light Type Enum Point Light The type of the light.
Light Health Float 100 The health of the light (Unused)

Light Destruction Trigger

Property Type Default Value Description
Destroy Trigger Position Vector (0, 0, 0) The relative offset position of the destroy trigger.
Destroy Trigger Scale Vector (1, 1, 1) The scale of the destroy trigger.
Destroy Velocity Threshold Float 2900 The velocity threshold for the destroy trigger.

Light Interaction

Property Type Default Value Description
Allow Direct Interaction Boolean True Can the light be toggled directly?
Light Switch Trigger Position Vector (0, 0, 0) The relative offset position of the switch trigger.
Light Switch Trigger Scale Vector (2, 2, 2) The scale of the switch trigger.
Actors To Ignore Array None Actors that should be ignored by the interaction.
Interaction Position Vector (0, 0, 0) The relative offset position of the interaction.
Use Interaction Icon? Boolean True Should the interaction icon be displayed?

Light Editor

Property Type Default Value Description
Hide Triggers Boolean False Should the triggers be hidden in the editor?

Light Audio

Property Type Default Value Description
Light Audio Default Sound Wave None The default sound for the light.
Light Audio Flicker Sound Wave None The flicker sound for the light.
Light Audio Turn On Sound Wave None The turn on sound for the light.
Light Audio Turn Off Sound Wave None The turn off sound for the light.
Light Audio Destruction Sound Wave None The destroy sound for the light.

More documentation will be added soon...

Clone this wiki locally