Goals and Hierarchical Planning

Hey guys, I’ve been working on a planning system for the enemies and npcs in my RPG and was hoping for some thoughts, especially if someone has tried something like this before and how well it worked. Objective: I wanted the non-playable characters in the game to be able to map out and execute a plan given some actions they could perform and the opportunities/obstacles around them.  Jump off: I started with a STRIPS-like system where the agent picked a target (some other entity, ie: the player, an apple, a coin) and created a state of the world consisting of true/false values. Then, given some goal state similar in structure to the world state, using predefined ‘actions’ or ‘moves’ that had conditions and effects they operated on the world state until it…


Link to Full Article: Goals and Hierarchical Planning