Game logic - Resource – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}")
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
*Game logic used to set up player resources(mana, stamina, etc.)for use with skills and other feaures
*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
*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
Line 25: Line 25:


----
----
{{Ylands editor navbox}}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}


[[Category: Game Logic]]
[[Category: Game Logic]]
[[Category: Ylands 1.3]]
[[Category: Ylands 1.3]]

Latest revision as of 14:21, 24 November 2023

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