Kryat Docs Image
GOAP

GOAP System Overview

Introduction to GOAP

Goal-Oriented Action Planning (GOAP) is an AI architecture used in Project Alien Utopia to create dynamic and realistic agent behaviors. GOAP allows AI agents to formulate plans to achieve goals based on the current world state, available actions, and their costs.

Project Implementation

Key Components

The GOAP system in Project Alien Utopia consists of several key components:

  1. Base GOAP Library - Located in ProjectAlienUtopia/Packages/com/crashkonjin.goap
  2. Core GOAP Extensions - Located in /Code/Core/Goap
  3. In-Game AI - Located in /Code/AI

Getting Started

To begin working with the GOAP system, we recommend first understanding the basic concepts of GOAP, then exploring our architecture, and finally looking at specific examples in our codebase.

Scene Setup

  1. Add EntityController, ItemController (GameObject/System) to the scene
  2. Add GoapController (GameObject/System) to the scene
  3. Add an Alien (GameObject) to the scene
  4. Navigate to the game object: Alien/Code -> Inspector -> Alien Job script
  5. Set JobType to Test

On this page