> Three states and no fear.
# Three States
## Goto
## Animate
## Use Smart Object
# Process
## Reevaluate
## Replan
# Problems
- Needs a way to wake and sleep
- In [[FEAR]], the ambient rats use this system even if they're nowhere near the player and are thus just wasting performance
- Planning systems traditionally have no way to account for other actors operating in the same environment other than constantly rerunning the planner
- The planner typically only keeps track of 1-2 and always 4 or less actions at a time
- The Mordor games supposedly use an extended form of this system which can plan up to 30 actions from a list of 500
# Ideas
Goto / Animate / Interact
Delegation and other NPC awareness
Simple diff of current state, desired state, and expected plan state
- If a state element (such as a door being open or closed) changes to the desired value (such as opened) without having taken that action yet (such as another NPC opening the door while the current NPC is still walking towards it) then instead of a full replan, it could just remove the "completed" actions and continue on
> For example; If the AI plans to jump over a table, go through a door and jump through a window on the other side, it would read the state only as far as the next objective. If "true" proceed directly to the next one after. If false, change the state to true, then proceed.
\- Youtube [comment](https://www.youtube.com/watch?v=PaOLBOuyswI&lc=UgwSYKEQ0yOO5lYAhch4AaABAg) by phillippi2
# References
```cardlink
url: https://youtu.be/PaOLBOuyswI
title: "Building the AI of F.E.A.R. with Goal Oriented Action Planning | AI 101"
description: "In this episode of AI 101 we celebrate AI and Games reaching 100,000 subscribers as I return to the technique - and the game - where this channel began. A p..."
host: youtu.be
favicon: https://www.youtube.com/s/desktop/f45068c8/img/favicon_32x32.png
image: https://i.ytimg.com/vi/PaOLBOuyswI/maxresdefault.jpg
```
```cardlink
url: https://youtu.be/BmOOrh5lq7o
title: "The AI of F.E.A.R. - Goal Oriented Action Planning | AI and Games #01"
description: "A short video to accompany my article that de-constructs the AI of the video game F.E.A.R.The full article is available at: https://medium.com/@t2thompson/th..."
host: youtu.be
favicon: https://www.youtube.com/s/desktop/f45068c8/img/favicon_32x32.png
image: https://i.ytimg.com/vi/BmOOrh5lq7o/maxresdefault.jpg
```
- [[Building the AI of F.E.A.R. with Goal Oriented Action Planning]]
- https://en.wikipedia.org/wiki/Stanford_Research_Institute_Problem_Solver
- https://web.archive.org/web/20230929230856/http://alumni.media.mit.edu/~jorkin/gdc2006_orkin_jeff_fear.pdf
- https://aaai.org/papers/00119-12728-game-ai-planning-analytics-the-case-of-three-first-person-shooters/