Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

BehaviourToolkit - StateMachine and Behaviour Tree for AI & NPCs

An asset by ThePat02
The page banner background of a mountain and forest
BehaviourToolkit - StateMachine and Behaviour Tree for AI & NPCs hero image

Quick Information

0 ratings
BehaviourToolkit - StateMachine and Behaviour Tree for AI & NPCs icon image
ThePat02
BehaviourToolkit - StateMachine and Behaviour Tree for AI & NPCs

This plugin provides a set of tools to create custom and complex behaviour in the Godot 4.x Game Engine.Features- Behaviour Architectures- Finite State Machine- Behaviour Tree- Nest Behaviour Trees inside State Machines and vice versa!- Blackboard Resource- Editor Interface- Templates for easy extension and integration.- Example Scene- Full documentation

Supported Engine Version
4.3
Version String
2.0.3
License Version
MIT
Support Level
community
Modified Date
2 months ago
Git URL
Issue URL

README Thumbnail

BehaviourToolkit for Godot 4

This plugin provides a set of tools to create custom and complex behaviour in the Godot 4.x Game Engine.

Features

  • README GEAR ICON Behaviour Architectures
    • README FMS ICON Finite State Machine
    • README BT ICON Behaviour Tree with generic utility
    • README Integration Icon Nest Behaviour Trees inside State Machines and vice versa!
  • README BLACKBOARD ICON Blackboard Resource
  • Editor Interface with shortcuts
  • Templates for easy extension and integration
  • Example Scene

When a new version is available on GitHub, the plugin will display a notification in the Toolbox!

Installation

  • Clone the main branch of this repository to your machine
  • Download the latest release from the Godot Asset Lib
  • Add the submodule branch as Git Submodule to your own repo
    • The submodule branch is always up to date with main and will allow you to consistently use the newest version by pulling
    • If you are not confident in your CL skills, you can use a client like GitKraken to set this up

Usage

Make sure the clones the addons and script_templates directories into your project.

  1. Add a FiniteStateMachine or BTRoot node to your scene.
  2. A toolbox will appear in the editor, allowing you to add behaviour nodes to the scene.
  3. Setup and configure your behaviour nodes in the inspector.
  4. Right-click your FSMState/FSMTransition/BTLeaf and extend the script.

Now you can implement your own behaviour logic using the virtual methods provided by the script templates.

Documentation

README Screenshot

Notes

This is the first time I've ever made a bigger plugin for Godot, so I am happy for any suggestions, feedback and contributions. If you need help or have any questions, feel free to contact me on Discord (thepat02) or open an issue on GitHub!

You can also buy me a coffee if you like the plugin and feel like supporting me :D

Have fun creating awesome behaviours!

Star History

README Star History Chart

This plugin provides a set of tools to create custom and complex behaviour in the Godot 4.x Game Engine.

Features
- Behaviour Architectures
- Finite State Machine
- Behaviour Tree
- Nest Behaviour Trees inside State Machines and vice versa!
- Blackboard Resource
- Editor Interface
- Templates for easy extension and integration.
- Example Scene
- Full documentation

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
BehaviourToolkit - StateMachine and Behaviour Tree for AI & NPCs icon image
ThePat02
BehaviourToolkit - StateMachine and Behaviour Tree for AI & NPCs

This plugin provides a set of tools to create custom and complex behaviour in the Godot 4.x Game Engine.Features- Behaviour Architectures- Finite State Machine- Behaviour Tree- Nest Behaviour Trees inside State Machines and vice versa!- Blackboard Resource- Editor Interface- Templates for easy extension and integration.- Example Scene- Full documentation

Supported Engine Version
4.3
Version String
2.0.3
License Version
MIT
Support Level
community
Modified Date
2 months ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers