Game logic - Skill – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 35: Line 35:


=Elements=
=Elements=
*This is a list of elements creator can put on the timeline to create their custom skill
===Marker===
===Marker===
*
*Serves as a reference point for visual scripting
*Put it anywhere on a timeline to run custom script at specified time
===Sound===
===Sound===
*
*Plays chosen sound effect
*Can be instant or looped (switch is located top left)
===Full Body Animation===
===Full Body Animation===
*
*Adds a full body animation chosen from the list
*When chosen, animation is automatically set to its default duration
*You can shorten or lengthen the animation
*When shortening, the animation will cut off at the end point
*When lengthening, the character will be stuck in the last animation frame until it ends
*If you lengthen the animation, the part that is longer than its default duration will be highlighted in red
===Upper Body Animation===
===Upper Body Animation===
*
*Same as full body animation, but only affects the upper part of character's body
===Movement===
===Movement===
*
*

Revision as of 12:12, 8 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

  • This is a list of elements creator can put on the timeline to create their custom skill

Marker

  • Serves as a reference point for visual scripting
  • Put it anywhere on a timeline to run custom script at specified time

Sound

  • Plays chosen sound effect
  • Can be instant or looped (switch is located top left)

Full Body Animation

  • Adds a full body animation chosen from the list
  • When chosen, animation is automatically set to its default duration
  • You can shorten or lengthen the animation
  • When shortening, the animation will cut off at the end point
  • When lengthening, the character will be stuck in the last animation frame until it ends
  • If you lengthen the animation, the part that is longer than its default duration will be highlighted in red

Upper Body Animation

  • Same as full body animation, but only affects the upper part of character's body

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