Jump to content
  • Advertisement
Sign in to follow this  
moeen k

about GOAP

Recommended Posts

simple question about goap.

is goap just fsm without any hard-coded change-state conditions? in every condition just a planner code chooses serial of state changes instead of conditions?

 

 

 

Share this post


Link to post
Share on other sites
Advertisement

A series of nested state machines is a very direct way to implement it, but it isn't required. If you're feeling creative you could come up with other ways to do it.

As nested state machines, If you have a goal, your character looks at the tasks it needs to do to accomplish the goal as a series of states and steps. Those can be applied recursively, looking at the steps to achieve a sub-goal, then the steps to achieve that sub-goal. Eventually all the sub-steps will be done and it will have accomplished the goal. 

Share this post


Link to post
Share on other sites
On 11/10/2018 at 1:30 AM, moeen k said:

is goap just fsm without any hard-coded change-state conditions? in every condition just a planner code chooses serial of state changes instead of conditions?

Bit late to the party, but I find goap quite similar to path finding, except the path is not in a terrain, but across available actions to a desired end state.

Of course once you found a "path" (a sequence of actions to perform, also known as "plan"), you need something like a state machine to execute it, to convert it to behavior.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!