Game logic - Resource – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands editor navbox}}" to "{{Navbox/Ylands}}")
m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ")
Line 3: Line 3:
*You can assign these resources to player roles. Each player role can have a maximum of 4 resources assigned
*You can assign these resources to player roles. Each player role can have a maximum of 4 resources assigned
=Properties=
=Properties=
===Default value===  
=== Default value ===
*Default value of resource set up when resource is assigned to player
*Default value of resource set up when resource is assigned to player
===Max Value===  
=== Max Value ===
*Maximum value that the resource can have
*Maximum value that the resource can have
*Max value can be changed via visual scripting if the box is checked
*Max value can be changed via visual scripting if the box is checked
===Regeneration===  
=== Regeneration ===
*How much of resource is automatically regenerated per second
*How much of resource is automatically regenerated per second
*Only accepts whole numbers
*Only accepts whole numbers
===Show bar===  
=== Show bar ===
*Sets if the resource bar should be visible on screen or not
*Sets if the resource bar should be visible on screen or not
===Priority===  
=== Priority ===
*Set up in which order the resource bars appear on screen. (Priority 1 appears before priority 2)
*Set up in which order the resource bars appear on screen. (Priority 1 appears before priority 2)
===Icon===  
=== Icon ===
*Set up visual representation of the resource that shows up in the bar
*Set up visual representation of the resource that shows up in the bar
===Show text values===  
=== Show text values ===
*Check if you want resource values shown as written text inside the resource bar
*Check if you want resource values shown as written text inside the resource bar
===Text===  
=== Text ===
*Text types - choose between several ways of the text being displayed
*Text types - choose between several ways of the text being displayed
*Text Color - choose color of the text displayed
*Text Color - choose color of the text displayed

Revision as of 20:12, 31 January 2021

Description

  • Game logic used to set up player resources(mana, stamina, etc.)for use with skills and other feaures
  • You can assign these resources to player roles. Each player role can have a maximum of 4 resources assigned

Properties

Default value

  • Default value of resource set up when resource is assigned to player

Max Value

  • Maximum value that the resource can have
  • Max value can be changed via visual scripting if the box is checked

Regeneration

  • How much of resource is automatically regenerated per second
  • Only accepts whole numbers

Show bar

  • Sets if the resource bar should be visible on screen or not

Priority

  • Set up in which order the resource bars appear on screen. (Priority 1 appears before priority 2)

Icon

  • Set up visual representation of the resource that shows up in the bar

Show text values

  • Check if you want resource values shown as written text inside the resource bar

Text

  • Text types - choose between several ways of the text being displayed
  • Text Color - choose color of the text displayed