Note: Clone the project using git. A download of the project via ZIP will be missing files necessary for the demo scene.
Welcome to the Otto sample project for the AI Planner. Otto derives happiness from working, but must eat, drink, and sleep to stay alive in order to work.
The AI Planner includes authoring tools and a system for automated decision-making, which includes:
- Directing agent behavior either in a cooperative, neutral, or adversarial capacity
- Auto-generating storylines or as an online story manager
- Validating game design mechanics
- Assisting in creating tutorials
- Automated testing
Start by defining a planning domain, composed of objects with which your agent may interact. Then, create definitions for what actions or decisions an agent may make. Once the planning problem is defined, the planner system will iteratively build a plan that converges to an optimal solution. Execute these plans by creating an agent script and game code to control your characters.
- Clone this repo (downloading a .zip file will not include largefiles -- e.g. fbx, png)
- Open the project in Unity version 2019.2
The Otto project shows how to make use of the AI Planner for a specific use case. Useful references include:
- AI.Planner/Actions/*.asset (open this in Unity)
- AI.Planner/Agents/*.asset (open this in Unity)
- AI.Planner/Enums/*.asset (open this in Unity)
- AI.Planner/Termination/*.asset (open this in Unity)
- AI.Planner/Traits/*.asset (open this in Unity)
- Otto.cs
- UpdateNeeds.cs
- Operational Actions
Documentation for the AI Planner is available through the package documentation. No additional documentation exists currently for the Otto project.
For further discussion, please visit the forum.