Hierarchical Task Network Planning AI

WEBSITE

DISCORD

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.

Technical Details

Code Modules:

  • HTN [Runtime]
  • HTNEditor [Editor]

Number of Blueprints: 0

Number of C++ Classes: 70

Network Replicated: No (not needed for AI)

Supported Development Platforms: Windows, macOS, Linux

Supported Target Build Platforms: Windows 64-bit, macOS, Linux, Android, iOS

Documentation: HTN Documentation

Example Project: HTN Example Project


VIP Downloads Today: 0 of 0

BECOME A VIP


PRODUCT LICENSE

You can contact us at any time and request that the asset you want be added to the site from the Request Asset section.

Check Also

Cinematic Aircraft Rig

Description 📡 YouTube Playlist 📚 Documentation Feature update V1.2 released, check the change log User …