Universal Combat Framework: Player Combat and Enemy AI for Unreal Engine 5
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.
How it fits together
Start here
Getting Started
Turn the plugin on, fight the demo's enemies and its boss, and pick the layer to read first.
Switching to UCF
Move a project built on the standalones across, with its assets, settings and names.
One Core, Two Layers
What every character shares, enemy or player, and what each layer adds on top.
The seam
🗡️ Enemy Weapons
An enemy holding the player's items: what it starts with, its moves for each item and role, and what it drops.
🕸️ Action Graphs in Action Sets
An enemy action that plays a combo from an action graph, with weighted variants for the enemy to pick from.
🎲 Sequences and Random Options
Abilities, Behavior Trees and graph combos run in order as one action, or one of them picked at random.
🧩 Seam Patterns
An enemy using the player's moves, one hit path both ways, and a reaction cutting a combo.
Core
❤️ Vitals
Health, stamina and any pool you name: spent by moves, drained over time and read by a HUD.
🛡️ Defense
Parries, blocks, invulnerability and armor, for an enemy and a player alike.
⚔️ Melee Trace and Damage
Hit volumes swept across an attack window, what a hit is worth, and what it sets off.
📣 Telegraphs
One window on a wind-up warns the enemies in front of it and the players watching it.
🎞️ Animation Integration
Tags held for a montage window, approach and warp windows, footsteps and other effects from animation.
🦴 Physical Reactions
Bones that move under physics when a blow lands, a ragdoll on death, and a limit for the whole level.
Enemy layer
🪜 Step-by-Step Enemy
A complete enemy from scratch, one asset at a time.
🧱 Minimal Enemy
The components that make an enemy fight, on a pawn and controller of your own.
🎯 Movement System
Tactical positioning, strafing, distance keeping and avoidance.
⚔️ Action System
Actions picked by score, with cooldowns, combos and the way each one runs.
🗺️ Action Set Editor
Lay a moveset out as cards, wire combos, and watch the AI decide while the game runs.
🛡️ Reaction System
Parries, dodges and counters an enemy answers a hit or a warning with.
🗺️ Reaction Set Editor
Lay an enemy's answers out as cards, draw an arrow from each rule to the reactions it may pick, and watch a live enemy answer.
🎖️ Combat Roles
A group of enemies split into attackers, flankers and waiters.
🎟️ Combat Tokens
Cap how many enemies may attack one target at once, so a crowd takes turns.
🎯 Targeting System
Which target an enemy picks, and who takes over when one dies in co-op.
🧠 Awareness System
What an enemy has seen and heard, and when it starts to fight.
👁️ Threat Detection
An enemy that notices the player's camera on it and reacts.
🗺️ Territory and Patrols
Patrol posts, wander areas and the leash that walks an enemy home.
🌳 StateTree
The tasks and conditions the enemy brain runs on.
🎲 Determinism
Seed every roll an enemy makes, so the same fight plays out the same way twice.
⚙️ Configuration Reference
Every enemy data asset and project setting in one place.
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
🔤 Names in Universal Combat Framework
How the standalones' names read here, and every old name beside its new one.
🌐 Enemy Multiplayer
What the server decides for an enemy, and what reaches each player.
🌐 Player Multiplayer
What each player's machine does at once, what the server checks, and how to test with lag.
🧩 Enemy Patterns
Seven enemy archetypes as recipes: the numbers to type, and the field each one goes in.
🧩 Player Patterns
Recipes built on the player demo: combat styles, a parry, a counter, a dodge, an execution, a door and a chest.
🔧 Troubleshooting
The symptom you are looking at, its cause, and the fix, plus every debug switch.
🏛️ Enemy Architecture
Which piece of the enemy layer lives where, what decides, what replicates, and the switch that shows each part running.
📊 Performance
What each enemy system costs per enemy, and which settings bring it down.
📚 API Reference
Classes, components and Blueprint nodes the enemy layer exposes.
Credits
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.