pyGOAP

Implementation of GOAP AI
Download

pyGOAP Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Publisher Name:
  • Leif Theden

pyGOAP Tags


pyGOAP Description

Implementation of GOAP AI The main concept of GOAP is that AI is not a static table or set of states. Rather, GOAP uses a A* like search to find solutions to goals at runtime. This frees the designer of setting up complex behavior trees. pyGOAP is a Python implementation that uses a simple text file and a Python script to define actions for a GOAP agent. You can have a look in the npc folder and pirate.py.There is a test called pirate.py. It more-or-less test/demos the GOAP library.Developer commentsYou should be able to run the pirate demo and watch how he satisfies his two goals: getting drunk and laid. You'll notice that he dances a lot. Thats because the dance action gives him 25 money, and he needs 100 to woo a lady.The source has a ton of comments, but most of them are just notes that I take so I don't forget stuff, since I don't always have time to work on this, and forget some of the details and ideas that I have for the future. That said, some of the comments are not truen, and you shouldn't trust them.pygoap is under a rather large rewrite as I prepare it for usage in large environments. This includes an environment modeler and pathfinding, among other things.py - because its python. goap - becuase its goap. pygoap - because I can't be bothered. Requirements: · Python · pygame


pyGOAP Related Software