This is the example project for my HTN planning plugin for Unreal Engine 4/5.
To download the latest version, grab a release from here. Requires the HTN plugin.
Also check out the documentation website.
There are two maps in the project: SimpleTest
and TacticsTest
showing different use cases for the plugin.
Where to find: Content/HTNExampleProject/Maps/SimpleTest
In this map a single character needs to shoot at target, but doesn't have a gun or ammo. There are multiple guns and ammo crates in the map, and the character invents the optimal plan to get what they need and shoot the target.
A more thorough explanation is available at the documentation website
Where to find: Content/HTNExampleProject/Maps/TacticsTest
In this map two groups of characters fight in a simplistic FPS arena using guns and grenades. They use EQS queries during planning to consider tactical paths through the map and stay in cover while they get into shooting range. They update their plans continuously as battlefield conditions change using Services.
This example project uses the Advanced Locomotion System by LongmireLocomotion.