FilipeTessaro - Skillcraft: Data-Driven Abilities for GAS, Skill Bar, Skill Tree, Multiplayer

Skillcraft is data-driven abilities on Unreal's Gameplay Ability System, for Unreal Engine 5.6, 5.7 and 5.8. Every ability is one data asset: what it costs, how long it waits, how it travels and what it does when it lands. One generic ability runs all of them, so a new skill never needs a new class and never needs C++.

It drops on the ability system you already have, on the character or on the player state like Lyra, and brings what an action RPG needs around it: a skill bar on keys 1 to 0, levels, skill points, ranks with prerequisites, a skill tree window and save data. Every cast is predicted in multiplayer.

Seven kinds from one asset.

  • Instant: strikes, heals and buffs on the caster or the aimed actor.

  • Projectile: flies along the aim, lands on what it hits or explodes in a radius.

  • Area: everything in a radius, around the caster or at the aimed point, dropped to the ground.

  • Channel: lands every interval for a duration, stops when the key is let go.

  • Summon: spawns an actor at the caster or the aimed point for a lifetime.

  • Passive: always on, or fired by a gameplay event (on cast, on hit, on getting hit), for lifesteal, thorns or mana back.

  • Cast time, cost, cooldown, shared cooldowns by tag and cancel on release on any of them.

Your effects, your attributes.

  • An ability applies your own gameplay effects and passes its value as Set By Caller, so damage, heals, buffs and stuns work the same way.

  • Every number grows with rank: a base at rank 1 plus a value per rank.

  • Cost in any attribute: mana comes ready with its regen, stamina or rage is one gameplay effect away.

  • Gameplay cues for the cast (predicted) and the impact, and a cast montage through GAS.

  • Data Validation tells you what is missing when you save the asset.

Skill bar.

  • 10 slots on keys 1 to 0 through Enhanced Input, bound by the component itself, no input assets to make.

  • Icon, key, cooldown shade and seconds, dimmed when it can't be paid, lit while it runs.

  • Your own keys, your own input actions, or your own bar from a Widget Blueprint child or from Get Slot State.

Progression and skill tree.

  • Level, experience and skill points, replicated to the owner.

  • Ranks bought with points, a level needed per rank, prerequisites on other abilities.

  • A skill tree window on K: green when a node can be learned, a tooltip that says what is missing, click to learn.

  • A reset that gives back exactly the points spent.

  • Save Data with soft references, and a ready Save Game class.

Multiplayer.

Casts are local predicted: the caster sees the cost, the cooldown, the cast cue and its own projectile on the frame the key goes down. The server checks the aim before anything lands and never shows the caster its projectile twice. Measured with a dedicated server and 2 clients, and a listen server with 4, at 150 ms of round trip with 5% of the packets lost, with the ability system on the pawn and on the player state: every client ends with the server's numbers.

Lyra.

Added to Lyra's player state through a Game Feature's Add Components action and played against bots, on one machine and with a dedicated server and a client. Damage goes through Lyra's own damage execution, so teammates are spared like they are by Lyra's guns. A guide ships for it.

Start in one minute.

  • Add an Ability System Component and BP_SKL_ExampleAbilities to your character and press 1 to 6: eight abilities, a skill tree and points already set.

  • The abilities next to it are data assets to duplicate and change.

  • A playable arena ships too: Manny, five targets, six abilities on the bar and a meteor to learn.

  • A Skillcraft page in the Gameplay Debugger shows level, mana, states and every ability with its rank, slot and cooldown.

Measured, not promised.

  • 0.13 ms on the server per cast in a Shipping build, the same per cast from 50 to 200 casters.

  • Built on 5.6, 5.7 and 5.8 with strict includes, for Windows and Linux.

  • 12 automated tests and 144 Blueprint members checked on each version.

What it does not do.

  • It brings no character, no health and no damage formula: it applies your gameplay effects.

  • Areas land on everyone in the radius but the caster; who takes damage is your effect's call.

  • The skill tree is a grid of nodes, with no graph editor in 1.0.

Every class is open to Blueprint and the C++ source ships. One plugin, no other marketplace plugin needed.

Documentation: https://apps.tessaroapps.com/skillcraft/docs/ (first ability in 5 minutes, networking, every node, Lyra and FAQ).

Support by email: contato@tessaroapps.com.

PS: Feature requests are accepted!