Game logic - Skill – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
*'''Note:''' If you have elements on the timeline and set the duration to be shorter than the position of those elements, they will be deleted!
*'''Note:''' If you have elements on the timeline and set the duration to be shorter than the position of those elements, they will be deleted!
===Cooldown===
===Cooldown===
*
*Set cooldown - how long you have to wait until the same skill can be used again
===Entry condition===
===Entry condition===
*
*Set up condition a player must meet to execute the skill
===Entry cost===
===Entry cost===
*
*Resource cost required to enter skill. Set up target resource and how much skill execution costs
===Interruption===
===Interruption===
*
*Set up what will interupt this skill
===Is Charged===
===Is Charged===
*
*Turns on charge settings, where you can set up individual charge states and their duration
===Loops in===
===Loops in===
*
*Sets up whether the skill loops and in which state
*None - skill does not loop
*Last charge state - Last charge state loops as long as the button is held
*Skill execution - Skill execution loops as long as the button is held
===Is Modal===
===Is Modal===
*
*Turns on modal settings, where you can set up modal states
*You are able to select modal skills in the skill hotbar to enter a "mode" from which you can execute elements on timeline via default action button.(Default LMB on PC)


=Elements=
=Elements=

Revision as of 14:10, 5 June 2020

Description

  • Allows creators to make their own custom skills and actions
  • You can assign a skill to any player role or assign it to player via visual scripting
  • If there are skill present in your game, you can see a skill list in your inventory screen and you can change hotbar to skill hotbar by pressing ~

Properties

Description

  • A short description of your skill

Icon

  • Skill icon that will represent the skill in skill list and hotbar

Overrides mode

  • Enable this if you want the skill execution to completely override player motion input and state (e.g., walking, flying)
  • If you enable this option, it might be a good idea to add an animation, since no default animation will show
  • Note: This option muset be enabled if you want the "Movement" element to work!

Duration

  • Determines how long the skill lasts (will also affect the timeline)
  • Note: If you have elements on the timeline and set the duration to be shorter than the position of those elements, they will be deleted!

Cooldown

  • Set cooldown - how long you have to wait until the same skill can be used again

Entry condition

  • Set up condition a player must meet to execute the skill

Entry cost

  • Resource cost required to enter skill. Set up target resource and how much skill execution costs

Interruption

  • Set up what will interupt this skill

Is Charged

  • Turns on charge settings, where you can set up individual charge states and their duration

Loops in

  • Sets up whether the skill loops and in which state
  • None - skill does not loop
  • Last charge state - Last charge state loops as long as the button is held
  • Skill execution - Skill execution loops as long as the button is held

Is Modal

  • Turns on modal settings, where you can set up modal states
  • You are able to select modal skills in the skill hotbar to enter a "mode" from which you can execute elements on timeline via default action button.(Default LMB on PC)

Elements

Marker

Sound

Full Body Animation

Upper Body Animation

Movement

Particle

Melee hit

Movement restriction

Change Speed

Hide Item

Aiming Mode

Raycast Hit

Projectile

Shape Hit

Modify Resource

Resource Deduction


Template:Ylands scripting navbox