AI that plans ahead

Create flexible character AI that can make and remake complex plans on the fly

A character executing a tactical plan

Planning

Actions are planned out ahead of time, taking into account the effects of each task. This way the AI will never start a sequence of tasks that it won't be able to finish

Blackboard As Worldstate

A lightweight data structure with Blackboard keys is used to represent possible futures. HTN Tasks change the worldstate during planning to indicate their effects

Replanning

A new plan is made automatically when the current plan finishes or is aborted due to changing conditions

Plans Within Plans

Dynamically make and remake parts of a larger plan using SubPlan nodes. React to changing conditions without aborting the high-level plan

Visual HTN Graph Editor

Define the decision-making of your AI by connecting HTN nodes in an intuitive graph editor

A simple Hierarchical Task Network

Intuitive Graph Editor

Connect tasks in series to make them follow one another. Connect them in parallel to make the AI choose between multiple options during planning

Control Flow

Use a variety of structural nodes like Prefer, If, AnyOrder, Parallel to define the control flow of your HTN

Priority Planning

Use a Prefer Node to make the planner try different branches and pick the first one that can be fully planned out

Cost-based Planning

Or make the planner try all branches and efficiently pick the one with the lowest total cost. Both types of planning can be combined within the same HTN

HTN Nodes

Freely combine built-in nodes and easily create custom ones

Built-in HTN nodes

Tasks

Tasks represent the actions your AI can do. They indicate their effects during planning and perform actions during execution

Decorators

Decorators can be attached to nodes to add conditions and/or extra behavior to them during both planning and execution

Services

Services can be attached to nodes to periodically run custom code during the execution of a specific part of the plan

Structural Nodes

Structural Nodes like Prefer, If, AnyOrder, Sequence, Parallel define the control flow of your AI

Node Library

Use an extensive library of built-in HTN nodes to quickly get started with your AI

Custom Nodes

Easily create new nodes in Blueprints or C++ with custom plan-time and execution-time behavior

Parallel Node

Execute indepentent sequences of tasks in parallel. Each parallel branch can be arbitrarily complex and can be looped or replanned independently

Prefer Node

Try to plan a sequence of tasks. If that can't be done, fall back to another sequence. Nest any number of Prefer nodes to implement priority planning

SubNetwork Node

Use a sub-HTN as if it were a task to make your AI behaviors composable and reusable. Dynamically swap subnetworks for even greater flexibility

EQS Task

Use the Environment Query System to determine movement destinations and more during planning, taking into account previously planned movement

SubPlan Node

Dynamically make and remake parts of a larger plan using SubPlan nodes. React to changing conditions without aborting the high-level plan

HTN Extensions

Extend the HTNComponent with extra functionality for your nodes by creating HTN Extensions in Blueprints or C++

Debugging

Debug planning and execution using the Visual Logger and the HTN editor itself

Visual Logger integration

Visual Logger

The Visual Logger records the state of the AI and its events for each frame. You can easily scroll through the recorded timeline to see every decision the AI has made

Debug the Planning Process

The planning process is recorded in the Visual Logger in detail, showing which possible plans were accepted or rejected and why

Plan Visualization

The Visual Logger shows a visualization of the current plan in the viewport, so you can see where the AI was going and what it was going to do at every point in time

HTN Editor Debugging

See the current plan of any active AI highlighted directly in the HTN editor. Place breakpoints and inspect current and planned Blackboard/Worldstate values

Reviews

Here's what users say about the plugin

Amazing

Great plugin and great support! Highly recommended!

killswitch

Simple and powerful

The experience is just like a behaviour tree, however the ability to forward-plan brings the AI to another level.

scurvy_doggo

AI are very smart and dynamic. Very impressed.

Everything is well documented. I'm completely new to Blackboard, AI, BTs, but this has been an eye opener for me. Great educational tool, as well as AI building tool if used correctly.

Humans.x

Worth every penny

Everything about it has been better for me and the support has been phenomenal.

xLucky13z_ttv

Support

Discord

Get support or ask questions before you buy

Visit Discord

Documentation

View tutorials and documentation

Read documentation
Checkmark

Buy

SALE 50% OFF

Fab

  • Free Lifetime Updates
  • Free Support
  • Complete C++ source code access
Get started