Assets updates
Hierarchical Task Network Planning AI

Hierarchical Task Network Planning AI

Publish date
2025-12-10
Category
VIP
Supported Engine Versions
5.5-5.7
Distribution Method
Engine Plugin
Registration required
Only VIP Users

Asset Description

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

General Information

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:

  • Node-based HTN graph editor
  • Seamlessly use Blackboard data as worldstate
  • Make custom Tasks, Decorators, and Services in both C++ and Blueprints
  • Create composable behaviors using subnetworks
  • Make subplans within plans to freely mix planning and on-the-fly decision-making
  • Cost-based or priority-based planning
  • Parallel planning
  • Any-order planning
  • Integration with the Visual Logger, including visualizing the current plan
  • Integration with the Environment Query System for complex movement planning and decision-making
  • Realtime debugging features
  • Extend the HTN Component with HTN Extensions
  • Full source code access

 

Technical details

Code Modules:

  • HTN [Runtime]

  • HTNEditor [Editor]

 

Number of Blueprints: 0

Number of C++ Classes: 117

Network Replicated: No (not needed for AI)

Documentation: https://maksmaisak.github.io/htn/front.html

Example Project: https://github.com/maksmaisak/htn-example-project

You can buy this asset in original store

https://www.fab.com/listings/1423ad9b-9c53-43be-b4c8-af1b655377bf
Comments
Comments is not yet
Add Comment
Please register
You may like
Fluid Flux
Fluid Flux
Game Systems
5.5
VIP
Adventure Game Animset
Adventure Game Animset
Animations
4.27
Free
Advanced Sight
Advanced Sight
Tools & Plugins
5.6
VIP
Dwarven Dungeons Environment ( Throne Room Dungeon Dwarf Dungeon Dungeon 3D )
Dwarven Dungeons Environm...
Environments
5.0
VIP
Optimization Tools plugin
Optimization Tools plugin
Tools & Plugins
5.5-5.6
VIP
Advanced Fuel System: Multiplayer Vehicle Addon
Advanced Fuel System: Mul...
Game Systems
5.5
VIP
Bandit Abbey Environment ( Bandit Abbey Castle Medieval Medieval Medieval 3D )
Bandit Abbey Environment ...
Environments
5.2
VIP
Advance Interactive Story
Advance Interactive Story
Tools & Plugins
5.5-5.6
VIP
Modular Skeleton
Modular Skeleton
Characters
5.0
VIP
Advanced ARPG Combat System
Advanced ARPG Combat System
Game Templates
5.5
VIP
rdMeshTools
rdMeshTools
Tools & Plugins
5.5-5.6
VIP
Adventures with Comfort - Stylized Medieval Fantasy Environment
Adventures with Comfort -...
Environments
4.27
VIP