
Cognite 4.1 - Godot engine 4.5
A downloadable tool
Cognite 4.1 - Much more cognitive!!!
Cognite 4.1 is an evolution of the FSM (Finite State Machine) concept for game AI, focused on dynamic, context-based decision-making, not just fixed states and rigid transitions.
If the FSM works like this:
"I am in state A → true condition → I go to state B"
Cognite 2 works like this:
"What is happening now? Which action makes the most sense in this context?"
You don't "switch states," you choose the best behavior for each frame or tick.
Quick Example:
FSM
Idle → (see player) → Chase → (close) → Attack
Cognite 2:
Perception:
- sees player, measures distance
Context:
PlayerSpot
- player_visible = true
- distance < 100
Decisions:
- Wander (low score)
- Chase (medium score)
- Attack (high score)
Action chosen: Attack If the distance changes, the decision changes automatically, without needing to define new transitions
Perceptions
Perceptions are the receivers of the world; they indicate what happens, they don't perform calculations or say how things happen, they only report facts.
Contexts
Contexts, as the name suggests, are abstractions derived from perceptions; they are the facts that want to tell us something.
Decisions
The key to the functioning and purpose of this system is the Score. Intuitively, the user can articulate how they want decisions to be made, thus having both a way to control priorities and also to create situations where the decision will be influenced by diverse contexts such as the environment, the NPC's mental state, weather conditions, etc.
Action
Another gem of this system is the Deeds. Each Action has a set of Deeds that can be executed in parallel or sequentially. The purpose of this abstraction is to differentiate it as much as possible from an FSM system.
| Updated | 16 days ago |
| Published | 28 days ago |
| Status | Released |
| Category | Tool |
| Author | Berari |
| Tags | Godot, Open Source, plugin, sourcecode |
Download
Click download now to get access to the following files:
