Hierarchical Task Network Planning AI


Create AI that can plan ahead using this flexible, fully-featured alternative to Behavior Trees

The HTN Planning plugin lets you create AI that can plan multiple steps ahead by predicting the consequences of its actions. Here are some examples:

  • Video: an HTN-based character inventing the optimal plan to attack a target
  • Video: two groups of HTN-based characters tactically fighting in a simple FPS arena

Just like with Behavior Trees, you can easily create Tasks, Decorators, and Services from either C++ or Blueprints, and arrange them in a visual graph editor. The HTN planner uses Blackboard data to store knowledge about possible future worldstates. Nodes check and modify values in the worldstate during planning, which makes it possible to make decisions based on possible future states. The planner efficiently finds the plan with the lowest cost, or the one with the highest priority.

Compared to other planning techniques like Goal-Oriented Action Planning, HTN planning is more efficient and gives designers much more control over the AI. It can be as rigid as Behavior Trees, or as flexible as GOAP. You can create AI with just as much autonomy and flexibility as you need: an AI that selects between predefined sequences of tasks, or an AI that is free to arrange its tasks in any order to achieve a goal, or anything in between.

Features:

For more info, check out the documentation website, the tutorials, and the official Discord community.

Click here to view the full details of the resource.:URL



Click the button below to download.

Included Versions: 5.1 – 5.3

The download link is available to members only.
Join Now to purchase a membership and register an account.

Leave a Comment

Scroll to Top