The Agent Manager adds the Deathmatch AI Kit components and either the Solo or Team behavior tree to an existing Opsive character. Create the base AI character first with the Character Manager.

Create the base character

  1. Open the Ultimate Character Controller Character Manager.
  2. Create an AI Agent character using the Character Creation workflow.
  3. Add the weapons and items the agent may use.

The Character Manager configured to create an AI Agent.

Build the deathmatch agent

  1. Open the Deathmatch AI Kit Agent Manager and select the character.
  2. Clear Add To Team for the Solo tree, or enable it for the Team tree and its backup/formation behavior.
  3. Click Build.

The Deathmatch AI Kit Agent Manager with a character selected.

The builder assigns the Solo tree or Team tree and adds the required components. Existing character items are added to the Deathmatch Agent weapon list.

Configure the weapons

The builder cannot infer how each weapon should be used. For every entry under Available Weapons, set its class, use-likelihood curve, minimum and maximum range, and group-damage behavior. Add entries manually for items placed on the character after the agent was built.

An assault rifle configured in the Deathmatch Agent Available Weapons list.

Add search waypoints

Without waypoints, a new agent can attack a visible enemy but has nowhere to patrol or search. Open the Variables tab for its Behavior Tree and add scene positions to the Waypoints variable.

The Waypoints variable in the Deathmatch behavior tree.

Verify in Play Mode

Place the agent and an enemy on the navigation mesh. Confirm that the agent selects a weapon, attacks when the enemy is visible, and searches between waypoints when no target is available. Then continue with the Behavior Tree Overview before changing branch priority or shared variables.