This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dragengine:modules:dragonscript:behavior_light [2025/05/04 13:40] – [light.check] dragonlord | dragengine:modules:dragonscript:behavior_light [2025/06/19 12:35] (current) – dragonlord | ||
---|---|---|---|
Line 9: | Line 9: | ||
====== ECBehaviorLight ====== | ====== ECBehaviorLight ====== | ||
- | Behavior element behavior adding | + | Behavior element behavior adding |
- | + | ||
- | Custom colors are typically used to allow players to customize the look of their player actor by altering the color of individual body parts. This behavior allows to define custom color slots the player or artist can manipulate. This behavior does not define how custom colors are applied. This is left for other behaviors or game scripts to do. | + | |
- | + | ||
- | Custom colors compose of a display name and the currently assigned color. This color can be null to use the assigned default color. An optional list of colors can be used to restrict the colors the player can select. If the list is empty the player can choose the color unrestricted. In addition a display description can be added in case the game developer would like to communicate additional information about the custom color. | + | |
====== Instance Counts ====== | ====== Instance Counts ====== | ||
- | This behavior can be used multiple times on an element to add multiple | + | This behavior can be used multiple times on an element to add multiple |
====== Element Class Properties ====== | ====== Element Class Properties ====== |