1 of 22

Goal Oriented Action Planning

A framework in Unity3D

2 of 22

Index

  • About me
  • Demo
  • What is Goal Oriented Action Planning?
  • The works
  • Process
  • What’s next?

3 of 22

About me

Interaction Game/user�Tools�Artificial Intelligence

Different kinds of Artificial Intelligence�GOAP perfect balance between AI and tools

4 of 22

Demo

5 of 22

6 of 22

7 of 22

8 of 22

Traditional statemachines

9 of 22

10 of 22

What is Goal Oriented Action Planning?

11 of 22

12 of 22

Statemachine

Goal Oriented Action Planning

Static

Dynamic

Quickly put together

Needs a framework

Industry standard

Not used a lot

Scales badly

Scales well

Requires code changes when behaviour is changed

Doesn’t require code changes when behaviour is changed

13 of 22

The works

14 of 22

Actions

  • Preconditions
  • Effects
  • Cost�

The action AttackRanged�Precondition: “hasMeleeWeapon”, true�Effect: “killEnemy”, true

15 of 22

Goals

  • Successen
  • Prioriteit �

The goal KillEnemy�Succes: “KillEnemy”, true

16 of 22

Planner

A* algorithm

Actions chosen based on cost�Goals chosen based on priority

Designers can easily create behaviour

17 of 22

Process

18 of 22

Preparation for GOAP

Games which use GOAP�Papers�Tutorial(s)

19 of 22

Results Goap

Framework�Knowledge�Specialisation

Extra tools

20 of 22

Challenges GOAP

One practical tutorial�Movement seemed trivial�Algoritm changed�Set out to create a full game instead of a tech demo�High expectations from myself

21 of 22

What’s next?

Job/Master�Write-Up about GOAP�Asset store

22 of 22

Thank you

Any questions?