User Tools

Site Tools


dragengine:modules:dragonscript:behavior_customcolor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:behavior_customcolor [2020/12/20 23:24] – [ECBehaviorCustomColor] dragonlorddragengine:modules:dragonscript:behavior_customcolor [2024/03/14 16:54] (current) dragonlord
Line 8: Line 8:
  
 ====== ECBehaviorCustomColor ====== ====== ECBehaviorCustomColor ======
- 
-Behavior element behavior adding custom color support. 
- 
-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. 
  
 <WRAP center 100%> <WRAP center 100%>
 <WRAP center box 450px> <WRAP center box 450px>
-{{youtube>Gte74Jte8A0 ?medium}}+{{youtube>Gte74Jte8A0?medium}}
 <WRAP centeralign>Behavior in action</WRAP> <WRAP centeralign>Behavior in action</WRAP>
 </WRAP> </WRAP>
 </WRAP> </WRAP>
 +
 +Behavior element behavior adding custom color support.
 +
 +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 ======
Line 90: Line 90:
 ====== API Documentation ====== ====== API Documentation ======
  
-[[https://developer.dragondreams.ch/docs/dragonscript/scriptapi/latest/classDragengine_1_1Scenery_1_1ECBehaviorCustomColor.html|ECBehaviorCustomcolor]].+#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorCustomColor.html,ECBehaviorCustomcolor~@#.
  
 Since DragonScript Module Version **1.5** Since DragonScript Module Version **1.5**
dragengine/modules/dragonscript/behavior_customcolor.1608506671.txt.gz · Last modified: 2020/12/20 23:24 by dragonlord