Ivan Iaitckikh
EN RU

My projectsCoopKit

Plugin documentation

CoopKit Heroes

Heroes for co-op and team games as data assets: look, skins, abilities and your own modules in one asset, and a hero choice the server checks and applies to every pawn the player gets.

Unreal Engine versions
  • 5.4
  • 5.5
  • 5.6
  • 5.7
  • 5.8
On this page
  1. Supported engine versions
  2. Installation
  3. Editor tools, step by step
    1. Show the plugin's content
    2. Create a hero
    3. Open the CoopKit Hub
    4. Find a hero
    5. Make a new hero with the wizard
    6. The hero card
    7. Hero Roster and Hero Comparison
    8. Play the demo with the mouse
    9. Install the AI agent skills
  4. Quick start
  5. Overview map
  6. Hero workspace (editor)
  7. AI agent skills
  8. Integration
    1. Gameplay Tags
    2. Components
    3. Interfaces (optional, implement on your actors)
    4. Events
    5. Replication
    6. Data assets
    7. Engine plugin dependencies
  9. Console commands for developers
  10. Works well with
  11. Changelog

Heroes for co-op and team games. A hero is one data asset: name and role, look and skins, Gameplay Ability System content (abilities, effects, tags) and modules for systems of your game. A component on the player state lets a player choose a hero; the server checks the choice and applies the hero to every pawn the player gets, and every client sees the hero's look, players who join a running game included.

Supported engine versions

Unreal Engine 5.4, 5.5, 5.6, 5.7 and 5.8. Platform: Windows (Win64).

Installation

Install the plugin from Fab, then enable CoopKit Heroes in Edit > Plugins and restart the editor. The plugin enables the engine's Gameplay Abilities plugin.

Editor tools, step by step

Step-by-step pictures of the editor tools of CoopKitHeroes. You do everything with the mouse; the only typing is a name for a new asset. Your editor may look slightly different from the pictures.

Show the plugin's content

The plugin's own assets (examples, demo maps) live in the plugin folder. To see them in the Content Browser, click Settings in the Content Browser and turn on Show Plugin Content.

Content Browser Settings menu with Show Plugin Content

Create a hero

  1. In the Content Browser, open the folder for the new asset.
  2. Click Add, point to CoopKit, then click Hero.
  3. Enter a name for the asset.

Add menu, CoopKit submenu, Hero entry

Open the CoopKit Hub

The hub shows the entities of every CoopKit plugin in your project in one window. CoopKitHeroes adds the category Hero.

  1. On the main menu, click Tools, then click CoopKit Hub.

Tools menu with the CoopKit Hub entry

  1. The hub opens on the categories. Each entity type has a button that shows the number of its entities and the name of the plugin that adds it.

CoopKit Hub with the categories, Hero highlighted

Find a hero

  1. Click the category Hero. The left side now lists only this category. It also has a search box, the name box and New Hero. Click < Back to return to the categories.

Hero category open, Back highlighted

  1. Click a hero in the list. The right side shows its name, type, asset path and id. Open opens its card in a separate window (a double click in the list does the same).

Hero entities, one selected

  1. Where Used shows the assets that use the selected hero.

Where Used result

  1. Check Project checks every entity of every type: data errors and duplicate ids. The result appears in the text box below the buttons.

Check Project result

Make a new hero with the wizard

  1. In the Hero category, click the name box and enter a name (letters, digits, underscores). The button New Hero turns on.

Name entered, New Hero button highlighted

  1. Click New Hero. The wizard opens. Set the display name, the role and the mesh, or pick a hero to copy from, and tick what to create: the wizard makes the hero's own ability, effect and skin material in its folder. The mesh and the Animation Blueprint stay shared. Click Create.

New Hero wizard

  1. The card of the new hero opens. The new hero appears in the hub's list and is selected. The text box below the buttons says "Created" and shows the full asset path. The new assets are not saved yet: click Save All in the Content Browser to keep them.

Hub after the wizard

The hero card

The card shows everything about one hero. Open it from the hub (Open) or double-click the asset in the Content Browser.

Hero card

  • Properties: the data of the hero.

Properties section

  • Preview: the hero in 3D; the Skin list shows each skin.

Preview section

  • Parts: every asset the hero uses. own parts lie in the hero's folder and are renamed, duplicated and deleted with it; shared parts are used by other assets too and are never touched. Open opens a part in its editor, Create makes a new own part.

Parts section, Replace highlighted

  • To use another asset for a part, click Replace and click the asset in the list.

Replace list open

  • Summary: what the data means in practice.

Summary section

  • Validation: problems of the data, refreshed on every change. Validate checks again.

Validation without problems

When a value does not work, Validation shows the problem in red right away, for example an empty Hero Id.

Validation with an error

Hero Roster and Hero Comparison

Tools > Hero Roster lists every hero of the project. Duplicate, Rename and Delete work on a hero with all its own parts; shared parts are never touched. Save All saves the changes.

Hero Roster

Tools > Hero Comparison shows the heroes side by side, for balancing.

Hero Comparison

Play the demo with the mouse

  1. Show the plugin's content (see above), double-click /CoopKitHeroes/Maps/L_HeroesDemo, then click Play in the toolbar.

Play button in the toolbar

  1. The panel in the top left corner lists the heroes of the roster with Play and a skin button, and the players with their heroes. You play the Knight. Click Play with 2 windows. Play restarts with two windows. Your Play settings stay as they were.

One window with Play with 2 windows

  1. In window 2, click Play on the Knight row. Player 1 plays the Knight, so the server refuses.

The server refused: Taken

  1. In window 2, click Play on the Mage row. Both windows list Player 2 as the Mage.

Player 2 plays the Mage

  1. In window 1, click Look at on the Player 2 row, then a skin button. Both windows show the new skin.

The Knight in the Ember skin

Install the AI agent skills

The skills let an AI coding agent extend the plugin with you (see AI agent skills in the README).

  1. On the main menu, click Tools, point to CoopKit, then click Install AI Agent Skills. The CoopKit Hub has the same button.

Tools, CoopKit, Install AI Agent Skills

Install AI Agent Skills button in the hub

  1. A message lists the skill folders that were copied into your project. Click OK. If some folders could not be copied, the message shows a warning icon and lists them.

Skills installed

  1. If the skills are already in the project, the plugin asks first. Yes replaces them and removes any change you made to their files; No keeps them.

Replace the installed skills?

Quick start

The plugin ships a demo that is ready to play. Open the map and click Play. You do everything with the mouse, on a panel of buttons in the top left corner of each game window. The panel lists the heroes of the roster with Play and a skin button, and the players (Player 1, Player 2, ...) with the hero each one plays.

  1. In the Content Browser, open Settings and turn on Show Plugin Content. Double-click /CoopKitHeroes/Maps/L_HeroesDemo, then click Play in the toolbar. You play the roster's default hero, the Knight.
  2. Click Play on the Ranger row. The server checks the choice against the roster and dresses your pawn as the Ranger. Click Frost skin on the same row: the Ranger changes its colors.
  3. The roster gives each hero to one player per match. To see that, click Play with 2 windows. Play restarts as a listen server with two windows. Your Play settings stay as they were.
  4. In window 2, click Play on the row of the hero window 1 plays. The server refuses, and the panel says Taken. Click Play on a free hero instead. Both windows list the new hero.
  5. Click Look at on the other player's row. The camera turns to that player's pawn, so you see the hero's look. Change the skin in the other window and watch the colors change.

How the demo is built:

  • The game mode BP_CKHeroesDemoGameMode uses the player state BP_CKHeroesDemoPlayerState, which carries the hero component with the roster DA_HeroRoster_Demo (four heroes, each once per match, Knight by default), and the demo pawn ACKHeroesDemoCharacter.
  • The game mode uses the HUD class CKHeroes Demo HUD, which draws the panel. The panel is C++, without Widget Blueprints. Play and the skin buttons call Request Hero on your hero component, as a hero select screen would. The refusals come from On Selection Rejected. Look at only turns your camera.
  • Automation tests CoopKit.Heroes.Demo.MapsLoad, .ListenServer and .RestartPlay load the map with no warning, then click the same buttons in one window and on a listen server with a client under 150 ms lag: a hero and its skin, a refused hero, a free hero on both machines, Look at, and Play with 2 windows.

In your project:

  1. Create heroes: Content Browser > Add > CoopKit > Hero. Fill in Hero Id, Display Name, Mesh and, if you use the Gameplay Ability System, Abilities, Effects and Granted Tags.
  2. Create a roster: Add > CoopKit > Hero Roster. Add the heroes players may choose, pick the uniqueness rule (a hero once per team or per match) and a default hero.
  3. Add CKHero to your player state Blueprint or class and set its Roster.
  4. Give your pawn a skeletal mesh and, for abilities, an Ability System Component (on the pawn or on the player state).
  5. From your hero select screen call Request Hero on the local player's hero component (Find Local Hero Component). Bind On Selection Rejected to show why a choice failed and On Hero Changed to update the screen.

Overview map

/CoopKitHeroes/Maps/L_HeroesOverview shows the plugin at work on three stands, with bots and the four demo heroes (Knight, Ranger, Mage, Cleric):

  • Lineup: two bots play the Knight and the Ranger and switch between the hero's own look and a skin; every machine shows the same colors.
  • Rules: a bot plays a free hero. The server turns down its requests for a hero another player already plays and for a skin the hero does not have, and shows the reason. A skin the hero has goes through.
  • Respawn: a bot gets a new pawn again and again and stays the same hero.

Open it and click Play, alone or as a listen server. The overview map has no panel: the stands play by themselves. To choose heroes yourself, use the demo map from Quick start.

Hero workspace (editor)

Everything about a hero is in one place; you never need to look for its parts in folders.

  • Hero card (double-click a hero): Properties, a 3D Preview with a skin picker, Parts (mesh, animation, materials, abilities, effects, skins, icon, portrait, pawn class) with a thumbnail, an own / shared label and Open / Replace / Create, plus Summary and Validation.
  • New Hero wizard (Content Browser > Add > CoopKit > Hero, the Hero Roster or the CoopKit Hub): creates DA_Hero_<Name> with its own ability (GA_<Name>_Primary), stats effect (GE_<Name>_Stats) and skin material (MI_<Name>_Alt) in the hero's folder and links them; the mesh and the Animation Blueprint stay shared.
  • Tools > Hero Roster: every hero with search and a role filter; New, Open, Duplicate, Rename, Delete (with all own parts; shared parts are never touched), Save All, Compare, Export CSV and Import CSV.
  • Tools > Hero Comparison: heroes side by side with the attributes their effects set, for balancing.
  • Tools > CoopKit Hub: the entities of every installed CoopKit plugin in one window. The hub opens on categories, one per entity type. Click Hero to list the heroes, and click < Back to return. Each row shows the name players see next to the asset name.

The folder of a new hero comes from Config/DefaultEditor.ini of your project:

[CoopKit.Workspace]
EntityPathTemplate=/Game/CoopKit/{Folder}/{Name}
EntityPathTemplate.Hero=/Game/Characters/Heroes/{Name}
SharedPathTemplate=/Game/CoopKit/Shared/{Folder}

AI agent skills

The plugin includes a skill for AI coding agents. It is called coopkit-heroes. It works with Claude Code, and with Antigravity, Codex and other agents that read .agents/skills.

The skill needs a C++ project to build. If your project is Blueprint-only, the skill tells you how to add a C++ class first.

Ask your agent for something like "add a regeneration rate parameter to heroes". In Claude Code you can also type /coopkit-heroes. The skill adds the change from your own C++ module and does not edit the plugin. If it has to edit the plugin as a last resort, it records the change in CHANGES-LOCAL.md. It also adds a validation and an automation test. Then it builds the Editor target with the engine's own build tool and runs the tests.

If the build cannot run, the skill tells you what to do:

  • On Windows, install Visual Studio 2022 with the "Game development with C++" workload, including MSVC and the Windows SDK.
  • If the editor is open with the project, close it, or press Ctrl+Alt+F11 in the editor so Live Coding compiles the change.

The skill can also edit CoopKitHeroes data in the open editor, without clicks. The editor module has UCKHeroesAgentLibrary, a function library for Python and Editor Utility Blueprints (unreal.CKHeroesAgentLibrary in Python). With it the agent lists, creates, describes, validates, exports and imports the data assets and gets the answers as JSON. You can ask your agent, for example: "make a new one, set its values and check it". The editor needs the Python Editor Script Plugin enabled in Edit > Plugins.

In Unreal Engine 5.8, an agent can also call the same functions through the engine's Unreal MCP server, with no Python script. The plugin contains the file Content/Python/init_unreal.py. The editor runs it at start and it registers the toolset init_unreal.CoopKitHeroesToolset, so you install nothing in your project. To turn it on, open Edit > Plugins, search for Unreal MCP, tick it and restart the editor. It also enables the Toolset Registry and Python plugins that it needs.

Please note:

  • Unreal MCP and the Toolset Registry are experimental engine features. They may change in a later engine version.
  • When the server starts, the engine shows a notice that your data is sent to an LLM (an AI language model). Read it before you accept.
  • The server listens on 127.0.0.1 and has no authentication of its own, so any program running on your computer can call it. Turn it on only on a computer you trust, and only while you need it.
  • In engine versions without the Toolset Registry, or with Unreal MCP off, the file does nothing and the plugin works as before. The Python route above and the agent skill stay available on every supported version.

Install the skill into your project in one of two ways:

  • In the editor, use Tools > CoopKit > Install AI Agent Skills or the Install AI Agent Skills button in the CoopKit Hub window. This copies the skills of every enabled CoopKit plugin into .claude/skills/ and .agents/skills/ of your project. It asks before replacing skills that are already there. Replacing removes any edits you made to those skill files.
  • By hand, copy the plugin's folder Extras/AgentSkills/coopkit_heroes to <YourProject>/.claude/skills/coopkit-heroes and to <YourProject>/.agents/skills/coopkit-heroes. The new folder name has a hyphen. The plugin's folder has an underscore because Fab file names allow only letters, digits and underscores.

Then open your agent in the project folder and ask for the change.

Integration

How CoopKitHeroes talks to your project and to other plugins without compile-time links.

Gameplay Tags

TagKindSet byMeaning
CK.Heroes.State.SelectedStateHero component (player state), via IGameplayTagAssetInterfaceThe player has a hero.
CK.Heroes.Reject.UnknownHeroReject reasonServerThe hero is empty or not in the player's roster.
CK.Heroes.Reject.UnknownSkinReject reasonServerThe hero has no skin with this id.
CK.Heroes.Reject.TakenReject reasonServerAnother player of the team or the match plays the hero.
CK.Heroes.Reject.LockedReject reasonServerThe server locked the choice, or the roster forbids switching while the pawn lives.
CK.Heroes.Reject.DeniedReject reasonYour selection gateThe game refused the choice.
CK.Heroes.Event.HeroAppliedGameplay EventServer, to the Ability System Component that got the hero (the pawn's, else the player state's)The hero was applied to the pawn; the hero data is the Optional Object.
CK.Heroes.Role.Tank, .Damage, .SupportReady valuesHero data (Role)Use them or any tag of your own.

Components

ComponentPut onReplicatedNotes
UCKHeroComponentPlayer stateYesChoice, roster and lock. Applies the hero to each pawn of the player. Mesh Component Tag picks the skeletal mesh that shows the hero (default: the character's mesh or the first skeletal mesh).
ACKHeroesDemoHUDHUD class of the demo game modeNoThe demo's panel of buttons and mouse cursor for the local player. Demo only.

Interfaces (optional, implement on your actors)

InterfaceMethodDefault when not implemented
ICKHeroSelectionGate (game mode or game state)CheckHeroSelection(Player, Hero, Skin): return a tag to refuseEvery choice the roster rules allow goes through.
IGenericTeamAgentInterface (engine; player state or controller)GetGenericTeamIdPlayers without a team form one team for the Team uniqueness rule.

Events

Delegate / Gameplay EventFires on (Server / Owning Client / All)Payload
OnHeroChangedAllComponent, hero (null when cleared), skin id
OnSelectionRejectedOwning Client (and a listen host for its own player)Component, requested hero, skin id, reason tag
OnAppearanceAppliedAllComponent, pawn, hero
CK.Heroes.Event.HeroAppliedServerFGameplayEventData: Instigator = player state, Target = pawn, Optional Object = hero
UCKHeroModule::ApplyToPawn / RemoveFromPawnServerPawn, player state
UCKHeroModule::ApplyAppearanceAllPawn, skin id

Replication

Property / RPCConditionReliable
Selection (hero asset and skin id)All (COND_None), OnRep applies the look-
Roster, bSelectionLockedAll (COND_None)-
ServerRequestHeroOwning client to serverYes: an explicit player action
ClientSelectionRejectedServer to owning clientYes: the player must learn why
Abilities, effects, tagsThrough the Ability System Component's own replication-

Seamless travel: call CopyTo on the old player state's hero component from your player state's CopyProperties.

Data assets

Create them in the Content Browser: Add > CoopKit. Double-click opens the CoopKitHeroes data editor (Properties, Summary and Validation tabs).

Data typeWhat it setsValidation
UCKHeroData (Hero)Id, name, role, pawn class, mesh, animation, materials (the hero's own look, by slot), icon, portrait, skins, abilities, effects, tags, modulesId and name required; skin ids set and unique; no empty ability, effect or module entries; module errors. A missing mesh is a warning.
UCKHeroRosterData (Hero Roster)Heroes on offer, uniqueness (none, team, match), default hero, switching while aliveAt least one hero; no empty entries; no hero or Hero Id twice; the default hero is on the list.

Hero modules (UCKHeroModule, Blueprint or C++) carry the parts of a hero the plugin does not know, such as a starting inventory or revive settings. A module does not keep state: one module object serves every player of the hero.

Engine plugin dependencies

PluginRequired / OptionalStability (Beta / Experimental)
Gameplay AbilitiesRequired (enabled by the plugin)Stable

Console commands for developers

The demo needs no console. For development and automation the plugin has a console command:

CommandWhereWhat it does
ck.heroes.Select <HeroId> [SkinId]Any playerAsks the server for the hero (and skin) for the local player. Without arguments, writes the current hero and skin to the log.

Works well with

Each CoopKit plugin works on its own, and none of them needs another. They share Gameplay Tags, interfaces and the Gameplay Ability System, so you can connect them in your project. That takes a little work.

These plugins go with CoopKit Heroes:

  • CoopKit Draft (Fab): Server-checked hero selection with draft modes, bans, blind picks, reserve time and swaps.
  • CoopKit Combat (Fab): Melee and ranged combat on the Gameplay Ability System, predicted on the client and judged by the server.
  • CoopKit Inventory (Fab): Bag and equipment in one replicated list; the server checks every request.
  • CoopKit Revive (Fab): Down, not dead, with revive by a teammate, spectating, respawn, checkpoints and team wipe.

Changelog

See CHANGELOG.md next to CoopKitHeroes.uplugin and the Changelog section of the Fab listing.

More about CoopKit

Copyright 2026 Ivan Iaitckikh. Page updated