AI Brain Extensions Docs
  • Introduction
  • Features
  • Install Instructions
  • AIBrain Graph
    • The AIBrain Graph System
    • Node Reference
    • Creating Custom Nodes
    • Corgi Engine - Getting Started Tutorial
    • TopDown Engine - Getting Started Tutorial
  • AIBrain Debugger
    • The AIBrain Debugger
  • Master/Slave Brains
    • Using Master/Slave AIBrains
  • Additional Utilities
    • Editor Resources
    • Tips&Tricks
Powered by GitBook
On this page
  • Working with the Graph
  • Creating a Graph
  • Creating a SubGraph
  • Adding Nodes
  • Using a Graph on a Character

Was this helpful?

Export as PDF
  1. AIBrain Graph

The AIBrain Graph System

PreviousInstall InstructionsNextNode Reference

Last updated 5 years ago

Was this helpful?

The AI Brain Graph editor is a tool used to create Corgi/TopDown Engines AI logic through a visual node editor.

The tool is built on top of by Thor Brigsted.

Working with the Graph

Creating a Graph

A graph is an asset stored in your project Assets folder. To create one:

  1. Right click anywhere in the Assets folder

  2. Select Create > The Bit Cave > AI Brain Graph

  3. Rename the brain asset

  4. Double click on it to show the editor window

Creating a SubGraph

Like the graph, a subgraph is an asset stored in your project Assets folder. To create one:

  1. Right click anywhere in the Assets folder

  2. Select Create > The Bit Cave > AI Brain Graph

  3. Rename the brain asset

  4. Double click on it to show the editor window

Adding Nodes

To add nodes to the graph (or subgraph) simply right click on any free space and select the desired node.

Using a Graph on a Character

When you add a graph to a Corgi/TopDown character, the system will parse your nodes and will translate them to AIBrain/AIAction/AIDecision components.

To achieve this, all you have to do is to add one of these components:

  • AI Brain Generator: this component will generate all needed elements to the character

  • AI Brain Pluggable: similar to the previous component, but the generation will be at runtime

Please check the page for a list of available nodes.

Please check the and getting stated tutorials for an example on how to use these components.

xNode
Node Reference
Corgi
TopDown