IN THIS ARTICLE
Introduction the Kythera AI Inspector
The Inspector is the primary tool for configuring and debugging Kythera AI. It allows you to configure aspects of Kythera and monitor the state of your AI agents as the game is running.
To use the Inspector:
- Start the editor, launcher or server.
- Open your browser (we recommend Chrome) to http://localhost:8081/ .
The Live tab allows you to look at the state of currently running AI. It has two subtabs, one for examining the contents of the AI blackboards and the other for viewing individual AI behavior trees as they are executing.
In the Blackboards subtab, you can examine the entity state tree for any active AI. If you open up the tree for a particular AI, (KytheraTest1, for example), the Entity State Tree for that AI, which is the blackboard tree representing its current state, is displayed. Some specific sub-blackboards of interest:
- Debugging blackboard allows for various debugging options to be turned on specifically for this entity
- Go into BehaviorState to see any values that have been written to the behavior blackboard for this behavior since it started running
In the Behavior Trees subtab, you can view the active behavior tree of any AI and see its current state updated live. Choose the desired AI from the dropdown list. If you press the Live button, you will see the tree updated in real time. Press again to stop.
The other major tool that is part of the Inspector is the Behavior Tree editor. Using this tool you can create new BTs and quickly and easily edit existing ones.