Skip to content

Pennycook/godot-utility-ai

Repository files navigation

Utility AI for Godot

A collection of scripts and resources for implementing utility-based AI in Godot.

Installation

To install, follow the latest instructions for installing plugins in the Godot documentation.

Getting Started

  • Define abstract behaviors in terms of one or more considerations.
  • Create response curves to determine the utility of your behaviors.
  • Create concrete options combining a behavior, a specific decision context, and an in-game action to perform if the behavior is chosen.
  • Choose between available options based on their utility score.

Behaviors, considerations, response curves and options can be edited directly in the Inspector: Inspector screenshot

Since actions and contexts describe the interaction between the utility AI system and the rest of the game, their implementations are game-specific. Simple examples of using the plugin are available in the examples directory.

Additional documentation is available in Godot's help window after installing the plugin.

License

The plugin is distributed under the MIT license. See LICENSE for more information.

Tests and examples are distributed under the Zero-Clause BSD license. See tests/LICENSE for more information.

The logo is licensed under the Creative Commons Attribution 4.0 International License. See logo/LICENSE for more information.

For More Information

About

Utility AI plugin for Godot

Resources

License

Stars

Watchers

Forks

Packages

No packages published