# Universal Combat Framework > Enemy AI and player combat for Unreal Engine 5.6 to 5.8 in one plugin: everything in Soulslike Enemy Combat and Universal Player Combat working together, with enemies that fight with the player's action graphs, set up in Blueprint with no C++, in single player and multiplayer. Store page: https://www.fab.com/listings/ecc5de6d-b0d1-49ea-8a79-17dd634de60f Every link below opens the markdown version of a docs page; the same address without `.md` is the page itself, the one to give a reader. All pages in one file: https://rigbak.com/docs/universal-combat-framework/llms-full.txt ## Overview - [Universal Combat Framework: Player Combat and Enemy AI for Unreal Engine 5](https://rigbak.com/docs/UniversalCombatFrameworkDocs.md): 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. ## Start here - [Getting Started with Universal Combat Framework](https://rigbak.com/docs/universal-combat-framework/getting-started.md): Turn the plugin on, walk the demo's hallway, fight enemies on the enemy AI in three arenas, execute the dual-sword boss, and choose the layer to read first. - [Switching to Universal Combat Framework](https://rigbak.com/docs/universal-combat-framework/switching-to-ucf.md): Move a project built on Soulslike Enemy Combat 3.x, Universal Player Combat 1.0 or both onto Universal Combat Framework: turn the standalones off, turn this plugin on, run Finish Switching once, and check the few things it leaves to you. - [Names in Universal Combat Framework](https://rigbak.com/docs/universal-combat-framework/names-in-ucf.md): How the names of Soulslike Enemy Combat and Universal Player Combat read in Universal Combat Framework: the one rule, the names that keep theirs, the names both shared, the ones that take Enemy, and every old name beside its new one. - [Upgrade and Access](https://rigbak.com/docs/universal-combat-framework/upgrade-and-access.md): Own both Soulslike Enemy Combat and Universal Player Combat? Verify both purchases on the Rigbak Discord, press Claim UCF, and once your claim is approved, download Universal Combat Framework from a private GitHub repository. - [One Core, Two Layers](https://rigbak.com/docs/universal-combat-framework/one-core.md): What every character shares in Universal Combat Framework, enemy or player: health, hits, defense, telegraphs, steering, animation windows and teams. And what the enemy layer and the player layer each add on top. - [AI Agent Guide](https://rigbak.com/docs/universal-combat-framework/agents.md): Guide for AI agents: build a player and enemies from your own meshes and animations, including enemies that fight with action graph combos. How to hand the guide to your agent, the two ways it reaches the editor, and what to ask it, with the full guide below. ## The seam - [Enemy Weapons](https://rigbak.com/docs/universal-combat-framework/enemy-weapons.md): Arm an enemy with the same items the player draws: list them in its Loadout, give its AI moves for each item and role, let it start on a random weapon, fight on with its fists once disarmed, and drop what it holds when it dies. - [Action Graphs in Action Sets](https://rigbak.com/docs/universal-combat-framework/action-graphs-in-action-sets.md): Let an enemy fight with the player's moves: one action in an Action Set plays a combo from an action graph, fed input by input the way a player's presses would. - [Sequences and Random Options](https://rigbak.com/docs/universal-combat-framework/sequences-and-random-options.md): Run several actions as one move: an ability, a Behavior Tree and an action graph combo in order, or one of them picked at random, repeatable from a seed. - [Seam Patterns](https://rigbak.com/docs/universal-combat-framework/seam-patterns.md): What the enemy layer and the player layer do together: an enemy fighting with the player's weapon, one damage path both ways, enemies reading the player's guard, telegraphs both ways, targeting both ways, a reaction cutting a combo, and an enemy the player executes. ## Core - [Vitals](https://rigbak.com/docs/universal-combat-framework/vitals.md): Give enemies and the player resource pools: health that hits take, stamina that refills on its own, and any other pool you name, spent by moves, drained over time and read by the AI and the HUD. - [Defense](https://rigbak.com/docs/universal-combat-framework/defense.md): Give enemies and the player a guard: author parries, blocks, invulnerability and armor as responses, lend them from a drawn item, tell the attacker what happened, and stagger an enemy or break a boss's posture with a parry. - [Melee Trace and Damage](https://rigbak.com/docs/universal-combat-framework/melee-trace-and-damage.md): Make a swing connect and decide what it does: trace sockets on the item an enemy or the player holds, a window on the attack montage, the damage config, hit effects, hit stop, and how enemies and the player take a hit. - [Telegraphs](https://rigbak.com/docs/universal-combat-framework/telegraphs.md): Make a montage announce an attack: one window on the windup warns the enemies in its reach in time to parry or dodge, and shows each player in its reach a marker their own style set picks. - [Animation Integration](https://rigbak.com/docs/universal-combat-framework/animation-integration.md): Author combat timing on the animation for enemies and the player alike: one Animation Blueprint family, state tag windows mirrored into bools, frame events, effects each character answers, attacks that steer to their target and stop short of it, and a pose that holds on a hit. - [Physical Reactions](https://rigbak.com/docs/universal-combat-framework/physical-reactions.md): Move a character's bones under physics when a blow lands, and drop the body limp when it dies, on enemies and the player alike: reactions named in a set, played from a hit or a Blueprint, under a limit for the whole level. ## Enemy layer - [Step-by-Step Enemy Creation](https://rigbak.com/docs/universal-combat-framework/enemy/step-by-step-enemy.md): Build one enemy end to end: pawn, controller, a moveset with a combo, a weapon that lands its hits, and something to fight. - [Minimal Enemy](https://rigbak.com/docs/universal-combat-framework/enemy/minimal-enemy.md): The smallest enemy the plugin can drive: a plain Character, a plain AI Controller, six components, one action, no StateTree. - [Movement System](https://rigbak.com/docs/universal-combat-framework/enemy/movement-system.md): Give an enemy tactical positioning: create a movement profile, set the range it holds, point the AI Config at it. - [Action System](https://rigbak.com/docs/universal-combat-framework/enemy/action-system.md): Give an enemy a moveset: create an Action Set, point an action at a montage, and let scoring pick the right move. - [Action Set Editor](https://rigbak.com/docs/universal-combat-framework/enemy/action-set-editor.md): Lay a moveset out as cards, wire the combos between them, and watch a live enemy score every card while the fight runs. - [Reaction System](https://rigbak.com/docs/universal-combat-framework/enemy/reaction-system.md): Give an enemy an answer to what happens to it: author a reaction, point a trigger rule at the event, and it parries, dodges or flinches on its own. - [Reaction Set Editor](https://rigbak.com/docs/universal-combat-framework/enemy/reaction-set-editor.md): 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](https://rigbak.com/docs/universal-combat-framework/enemy/combat-roles.md): Coordinate a pack: cap how many enemies attack at once, and swap each enemy's moveset, reactions and movement to match the role it holds. - [Combat Tokens](https://rigbak.com/docs/universal-combat-framework/enemy/combat-tokens.md): Cap how many enemies swing at once: add one gate to the attack, set the pool size, and the rest keep circling. - [Targeting System](https://rigbak.com/docs/universal-combat-framework/enemy/targeting-system.md): Give every enemy something to fight: register the player once, pick how each AI chooses, and the pack engages. - [Threat Detection](https://rigbak.com/docs/universal-combat-framework/enemy/threat-detection.md): Turn the player's camera attention into a 0 to 1 reading, and make an enemy swap sides or give ground under a stare. - [Awareness System](https://rigbak.com/docs/universal-combat-framework/enemy/awareness-system.md): Give an enemy senses: it spots you on sight, hears what it cannot see, remembers where you went, and gives up when the trail goes cold. - [Territory & Patrols](https://rigbak.com/docs/universal-combat-framework/enemy/territory.md): Give an enemy ground of its own: place posts, list them on the enemy, and set a leash so a chase ends where you say. - [Configuration Reference](https://rigbak.com/docs/universal-combat-framework/enemy/configuration.md): Every enemy layer setting and the one place you set it: project settings, the Enemy AI Config, the data assets, the components. - [Multiplayer Enemy AI](https://rigbak.com/docs/universal-combat-framework/enemy/multiplayer.md): Enemy AI for co-op and multiplayer games in Unreal Engine 5: the server decides every attack, reaction and move, on a listen server or a dedicated server, and every client receives the health, action, role and weapon state a HUD draws from. - [StateTree Integration](https://rigbak.com/docs/universal-combat-framework/enemy/statetree.md): Author the enemy's shape as a graph: point the AI Config at a StateTree and patrol, investigate, fight and walk home become states you can see. - [Core Architecture](https://rigbak.com/docs/universal-combat-framework/enemy/architecture.md): The map of the plugin: which piece lives where, what decides, what replicates, and the console switch that shows each part running. - [Determinism](https://rigbak.com/docs/universal-combat-framework/enemy/determinism.md): Tick one box and an enemy fights the same fight every time: the same actions in the same order, from a seed you choose. - [Common Patterns & Examples](https://rigbak.com/docs/universal-combat-framework/enemy/patterns.md): Seven enemy archetypes as recipes: the numbers to type, and the field each one goes in. - [Debugging & Troubleshooting](https://rigbak.com/docs/universal-combat-framework/enemy/troubleshooting.md): The symptom you are looking at, the one thing that causes it, and the fix. - [Performance](https://rigbak.com/docs/universal-combat-framework/enemy/performance.md): What the enemy layer costs, the three knobs that cut it, and how to read stat UCF on your own hardware. - [API Reference](https://rigbak.com/docs/universal-combat-framework/enemy/api-reference.md): The C++ and Blueprint surface: the controller components, the combat token subsystem, the melee trace pipeline, territory lookups, and the scorer and gate bases. ## Player layer - [Build Your First Combo](https://rigbak.com/docs/universal-combat-framework/player/first-combo.md): Build a sword with a three-hit combo from two assets of your own, an action graph and an item, and the demo's animation, mesh and keys. The demo's Item_UCF_Sword is the finished version. - [Character Setup](https://rigbak.com/docs/universal-combat-framework/player/character-setup.md): Make a character of your own fight without changing its parent class: the components to add, the settings they need, the ready signal and the interface that answers hits. - [Action Graph](https://rigbak.com/docs/universal-combat-framework/player/action-graph.md): An Action Graph is a character's moveset: each node plays a move, a transition names the input that leads to the next, and a window on the animation says when that input counts. - [Action Graph Editor](https://rigbak.com/docs/universal-combat-framework/player/action-graph-editor.md): The Action Graph editor shows a character's moves as cards: wire them, fold in another graph, copy a transition onto many moves, and watch the graph run in play. - [Gates, Costs and Cooldowns](https://rigbak.com/docs/universal-combat-framework/player/gates-costs-cooldowns.md): Gates, costs and cooldowns on Action Graph moves: a gate decides whether a move may start, a cost is what it spends, and a cooldown makes it wait before it runs again, banking uses as charges. - [Input](https://rigbak.com/docs/universal-combat-framework/player/input.md): Input turns a key into an input tag that the action graph or an ability answers. An item brings its keys while drawn and takes them back when put away; two buttons together can send a chord. - [Items](https://rigbak.com/docs/universal-combat-framework/player/items.md): An item is one asset: its name and icon, how many stack together, and a list of fragments, each adding one thing the item can do, such as be drawn into the hand, hang on the back or lie on the ground. - [Equipment](https://rigbak.com/docs/universal-combat-framework/player/equipment.md): Equipment holds a drawn item in a place on the body, such as the right hand, and hangs it in another, such as a back sheath, when put away. The drawn item driving combat gives the character its moves. - [Quick Bar](https://rigbak.com/docs/universal-combat-framework/player/quick-bar.md): The quick bar is a belt of slots on the player controller, each holding one owned item. A key per slot draws its item or puts it away; an item that cannot be held, such as a potion, is used instead. - [Pickups, Drops and Holders](https://rigbak.com/docs/universal-combat-framework/player/pickups-drops-holders.md): An item lying in the world is a world item, picked up with Interact. Dropping turns what is in hand back into one, and a rack, an item holder, holds items in named places to take and put back. - [Inventory](https://rigbak.com/docs/universal-combat-framework/player/inventory.md): Everything a character owns sits in its UCF Inventory as stacks: three potions are one stack of three. With no config it is one list with no limits; a config adds slots, a grid, weight limits or bags. - [Use Only Part of the Inventory](https://rigbak.com/docs/universal-combat-framework/player/inventory-pick-what-you-need.md): Each part of the UCF inventory is something you add, so a game takes only the parts it plays with: a belt alone needs no config and no screen, and bags, combines, chests and saving are each optional. - [Survival Grid Inventory](https://rigbak.com/docs/universal-combat-framework/player/inventory-survival-grid.md): The Survival Grid inventory style: a small case where each item takes room by its size and can lie turned to fit, key items in their own list, a hip pouch and a stash. - [Party RPG Inventory](https://rigbak.com/docs/universal-combat-framework/player/inventory-party-rpg.md): The Party RPG inventory style: a backpack with no size that slows the character as it fills, pouches with slots of their own, worn gear on a paper doll, a belt of four slots in a row and a stash. - [Open World List Inventory](https://rigbak.com/docs/universal-combat-framework/player/inventory-open-world-list.md): The Open World List inventory style, as in Skyrim: one sorted list with room for everything, a category column by item kind, weight that stops the character past a limit, and no belt. - [Containers and Rules](https://rigbak.com/docs/universal-combat-framework/player/inventory-containers.md): An inventory config gives a character its containers, such as a backpack of slots, a grid case or a bank, and limits on what it carries, such as a weight limit that tags the character Overburdened. - [Bags and Banks](https://rigbak.com/docs/universal-combat-framework/player/inventory-bags.md): A bag is an item that opens a container of its own, in a backpack or on a bag bar. A bank or a stash keeps items off the character until the player stands at it. - [Combines](https://rigbak.com/docs/universal-combat-framework/player/inventory-combines.md): Combines turn one item dropped onto another into new items: two herbs make a mixed herb, poison and arrows make poison arrows. Write them as recipe rows in a Combine Set, or as a Blueprint class. - [Loot Chests](https://rigbak.com/docs/universal-combat-framework/player/loot-chests.md): Chests, stashes and enemy loot keep their items in a UCF World Inventory that every nearby player sees. One press takes everything that fits, or opens the inventory screen with the chest beside it. - [Inventory Screens](https://rigbak.com/docs/universal-combat-framework/player/inventory-screens.md): Each ready inventory style ships its own inventory screen, opened with I or a tap of View. Copy one and restyle it, or build your own on the checks and requests the shipped screens use. - [Saving the Inventory](https://rigbak.com/docs/universal-combat-framework/player/inventory-saving.md): Save the inventory in your game's own Save Game. The plugin saves nothing itself: Export Snapshot hands over each stack with its place, state and belt slot, and Import Snapshot puts it all back. - [Inventory Rules and Combines in Blueprint](https://rigbak.com/docs/universal-combat-framework/player/inventory-blueprint.md): Write your own inventory rules, combines and item fragments in Blueprint with no C++, copying from the seven the demo ships. - [Combat Styles](https://rigbak.com/docs/universal-combat-framework/player/combat-styles.md): A Combat Style is one asset that sets a character's combat feel: how the body turns, which enemies it picks, how far attacks travel, how the camera follows. - [Targeting](https://rigbak.com/docs/universal-combat-framework/player/targeting.md): Targeting picks the enemy the character fights, locks onto one on a button, switches the lock with a flick, and knows when enemies are near. UCF Targetable makes any actor a candidate. - [Attack Steering](https://rigbak.com/docs/universal-combat-framework/player/attack-steering.md): Attack Steering makes an attack turn to its target, close the gap and stop short of it instead of running into it, through windows you mark on the montage and the UCF Attack Approach component. - [Camera](https://rigbak.com/docs/universal-combat-framework/player/camera.md): UCF Camera Rig gives the player a third-person camera: the combat style or weapon in hand sets its distance and view, a tag such as sprinting blends in a change, and it follows a locked target. - [Sprint and Speed](https://rigbak.com/docs/universal-combat-framework/player/sprint-and-speed.md): UCF Sprint makes the character walk by default and sprint on a button, held or tapped, for a stamina cost. Gameplay tags slow it, and a sprint, a slow and a speed upgrade combine. - [Hit Reactions](https://rigbak.com/docs/universal-combat-framework/player/hit-reactions.md): Hit reactions make a struck character answer the blow: an event sent as the hit lands and an ability that answers it, with poise deciding which hit breaks through and hyper armor carrying a heavy swing on. - [Interaction](https://rigbak.com/docs/universal-combat-framework/player/interaction.md): Add UCF Interactable to any actor and a character can use it: pull a lever, open a door. The character's UCF Interactor picks the best one nearby, a prompt shows the key, and a press runs the option. - [Interaction Payloads](https://rigbak.com/docs/universal-combat-framework/player/interaction-payloads.md): An interaction option's Payload is what the character does when it runs: walk up to the chest, play the opening, and tell the chest the frame the lid lifts. A dodge can break out of it. - [Paired Actions](https://rigbak.com/docs/universal-combat-framework/player/paired-actions.md): A paired action is one move two or more characters play together, such as an execution, a counter or a grab: each fills a role with its own montage, and all line up around one spot on the ground. - [Pairing Editor](https://rigbak.com/docs/universal-combat-framework/player/pairing-editor.md): A Paired Action opens in the pairing editor: stand-ins on their rings in a viewport, a timeline of each role's part, montage and events, camera shots, and a list of what still needs fixing. - [HUD and Input Prompts](https://rigbak.com/docs/universal-combat-framework/player/hud-and-input-prompts.md): Build a HUD that follows the character: bars and markers that show with the combat style, cooldowns and held states from the ability system, and button prompts that show the key the player has bound. - [Multiplayer](https://rigbak.com/docs/universal-combat-framework/player/multiplayer.md): Play online on a listen or dedicated server: a player's moves answer the button at once, the server has the final word on what they cost and hit, and the editor can add lag to test it. - [Patterns](https://rigbak.com/docs/universal-combat-framework/player/patterns.md): Recipes built on the demo: the three combat styles, a parry and a block, a counter, a shield bash, a dodge with two charges, an execution, a door and a chest, and a heavy that shrugs off hits.