Universal Combat Framework: Player Combat and Enemy AI for Unreal Engine 5

Documentation Unreal Engine Combat AI Player

Enemy AI and player combat for Unreal Engine 5.6 to 5.8 in one plugin: enemies that score their moves, hold their distance and take turns, players with combos, items, lock-on and finishers, one hit and defense system for both, and enemies that fight with the player's action graphs.


Enemy AI and player combat for Unreal Engine 5.6 to 5.8 in one plugin. Enemies pick their moves by score, circle and hold their distance, react to what the player does and take turns as a group. Players fight with combos built as action graphs, draw items that bring their own moves, lock on, parry and finish an enemy with a paired move. Both sides swing, land hits and defend through the same systems, and an enemy can fight with a combo from an action graph, the way a player's presses walk it. You set everything up in Blueprints and data assets, and it runs in single player, on a listen server and on a dedicated server.
Already own Soulslike Enemy Combat or Universal Player Combat? Buy the other at any time, verify both purchases on the Rigbak Discord, and claim Universal Combat Framework there. Upgrade and Access says how. A project built on either moves across with its assets and settings: see Switching to Universal Combat Framework.
New here? Getting Started opens the demo, where the player fights enemies on the enemy AI, some of them playing combos from an action graph, and executes a boss, then points you at the first page of each layer.
Building with an AI agent such as Claude Code, Codex or Cursor? The AI Agent Guide hands it the plugin's guide, so it builds a player and enemies from your own meshes and animations in your open editor.

How it fits together

The enemy layer decides what an enemy does, the player layer gives a player the moves, items and camera they control, and the core under both is how every character swings, hits, defends and takes a hit. The seam joins the two layers: an enemy's action set can play a combo from an action graph.

Start here


The seam


Core


Enemy layer


Player layer

⚔️ Build Your First Combo

A sword that swings three hits and lands them: a graph, an item, a key and a hit volume.

🧱 Character Setup

The components that make a character of your own fight, with its parent class left as it is.

🕸️ Action Graph

The state machine behind every move: nodes, transitions, and the window that says when an input counts.

🗺️ Action Graph Editor

Read the cards, wire moves together, and watch a character run the graph during play.

⏳ Gates, Costs and Cooldowns

When a move may start, what it spends, and how long it waits.

🎮 Input

Turn a key into an input tag: the character's own inputs, an item's, chords, and abilities that answer a key.

🗡️ Items

A definition plus fragments, each adding one capability, and presets a family of items shares.

🧰 Equipment

Drawing and putting away: body places, whose moves the character uses, and reaches that swap on a notify.

🎒 Inventory

What a character owns: stacks, spending them, and state that belongs to one item.

🔢 Quick Bar

The belt of slots on the player controller, one key per slot.

🤲 Pickups, Drops and Holders

Items lying in the world, dropping what is held, and racks with Take and Put Back.

🎭 Combat Styles

One asset gives a character its combat feel: rotation, targeting, reach, movement, camera, tags and keys.

🎯 Targeting

Make anything targetable, pick the enemy in front, lock on and switch with a flick.

🧭 Attack Steering

An attack turns to its target, closes the gap and stops short instead of running into it.

🎥 Camera

A third-person camera framed by the combat style or the weapon in hand.

🏃 Sprint and Speed

Walk, sprint on a held button with a stamina cost, and slow the character by tag.

💫 Hit Reactions

A struck character answers the blow: a flinch that cuts its attack, and hyper armor that carries a heavy swing on.

🚪 Interaction

Make any actor usable: its options, how a character finds it, and a prompt for the key to press.

📦 Interaction Payloads

What an option does: a montage, a wait, an ability or a payload asset, after a walk onto a spot.

🤝 Paired Actions

Two or more characters in one synced move, such as a finisher, a counter or a grab.

🎬 Pairing Editor

Line roles up, time montages and events on the timeline, and key a camera shot.

🖥️ HUD and Input Prompts

A HUD that follows the character's ability system, and prompts that show the bound key.


Reference


Credits

The demo's locomotion includes animations and Blueprints adapted from Epic Games' Lyra Starter Game and Game Animation Sample. Its footstep, scenery hit, swing, dodge, gear, guard and interface sounds come from Lyra Starter Game, and its landing, jump and body fall sounds from the Game Animation Sample, all used under the Unreal Engine EULA. The demo UI uses the Inter and Cinzel typefaces under the SIL Open Font License 1.1.

Support


The two standalones

Universal Combat Framework includes everything in Soulslike Enemy Combat and Universal Player Combat, working together as one system, and lets an enemy fight with the player's action graphs. Own both standalones? Verify both purchases on the Rigbak Discord and claim Universal Combat Framework there.