Mô tả

Goal-Oriented Action Planning (GOAP) is an AI architecture that provides game characters with the ability to select goals and make plans to achieve those goals based on the state of the environment and available resources.  It can be used across a wide range of game genres from first-person shooters to real-time strategies, to develop intelligent characters capable of making smart decisions without the need for large finite state machines.   The codebase is deceptively simple and yet logical, reusable and extremely powerful.  The library is written in C# and implemented in Unity V.2019, however will easily port to other applications.

In this course, Penny demystifies the advanced AI technique of GOAP used for creating believable and intelligent game characters in games using her internationally acclaimed teaching style and knowledge from over 25 years working with games, graphics and having written two award-winning books on games AI. Throughout, you will follow along with hands-on workshops designed to take you through every step of putting together your own GOAP API.  You will build the entire GOAP library from the ground up while building a hospital simulation scenario in parallel, to test the API as you go.

Learn how to program and work with:

  • A GOAP Library and API that's reusable across a wide range of game projects.

  • Goals, Actions, States and Beliefs that define the state of the game environment, what individual characters want to do and how they understand their world.

  • Navigation Meshes and Agents that provide advanced path planning and navigation capabilities for characters.

  • Dynamic Building of NavMeshes to allow for the repositioning of resources in the environment.

  • Inventories for each character for use in completing tasks that satisfy character goals.

  • The Unity UI system to move draggable resources into a game environment.

Contents and Overview

Throughout the course, you will follow along while a GOAP library and API are constructed from the ground up, to allow you intimate knowledge of the codebase.  Alongside this, a simple hospital simulation will be constructed to test out the functionality of the library as it is put together.  The simulation will also rely on Unity's NavMesh System for navigation and path planning.

The course begins with an overview of Unity's NavMesh System and covers the basic functionality needed for the hospital simulation.  It then goes on to cover the concept of GOAP, where students will discover how goals, actions and plans interact.  A planner will be constructed that dynamically builds each character's sequence of actions, based on what they believe their goals are while in the simulation.

Following this, inventories will be introduced and developed to hold resources for individual characters.  The resources in the inventories will be required for plan completion and also assist in directing a character's navigation around the environment.  This will then build to the design of more complex behaviours in which two characters must collaborate to complete a plan. 

As the course continues, more characters with differing roles will be added and dynamically created and resources will be added and removed to develop a complex simulation.  By the end of the course, students will have a hospital simulation with patients, nurses, doctors and janitors each with their own roles, goals, actions and required resources. 

Although this course is not about building a completed game, a final section will provide some further knowledge on Unity development and examine methods for interacting with the environment such as: dragging and dropping items, dynamic NavMesh baking, user interface creation and camera movement to provide students with some direction on how such a simulation could be turned into a game.

At the completion of this course, students will have a fully-fledged GOAP library and API that they can reuse in their own game projects to provide game characters with complex intelligent behaviours.

What students are saying about Penny's courses:

  • Turns out, the hardest part of this course for me is finding the words to describe how glad I am to have enrolled in it.

  • I honestly love Hollistic's teaching approach and I've never learned so much within a few hours about coding effectively with such detailed explanations!

  • Penny is an excellent instructor and she does a great job of breaking down complex concepts into smaller, easy-to-understand topics.


Bạn sẽ học được gì

How to design and program more intelligent behaving Non-Player Characters with C#.

How goals, states, actions, believes and path-planning can be applied in computer games.

The finer workings of a Goal-Oriented Action Planning (GOAP) library and building one from scratch.

How to develop and debug your own simulations.

Yêu cầu

  • You should be familiar with C# and the Unity Game Development Engine.

Nội dung khoá học

10 sections

Introduction

4 lectures
Introduction
04:08
Join the H3D Student Community
01:26
Contacting H3D
00:01
FAQs
00:14

A Crash Course in Navigation Meshes

3 lectures
An Introduction to Navigation Meshes
05:24
Setting up your own NavMesh
10:04
Moving an Agent Around the Mesh
13:35

Introduction to GOAP

6 lectures
GOAP Introduction
05:22
Setting up a GOAP Environment
09:17
Preplanning the Agent Actions
08:16
The World States
12:59
Actions
11:58
Agents
08:13

Planning

5 lectures
The GOAP Planner Part 1
14:27
The GOAP Planner Part 2
12:44
Executing a Simple Plan
19:59
Creating a Multistep Plan
18:17
Plans that Require Multiple Agents
19:12

Inventories

2 lectures
Adding More Resources to the World
18:08
Implementing an Inventory System
14:37

Complex Behaviours

3 lectures
Moving the Nurse
07:25
Adding Goal Challenge
17:58
Taking a Break
09:19

Building Functionality and Debugging

5 lectures
Adding a Doctor Challenge
06:06
New Resource Models and Troubleshooting Part 1
16:47
New Resource Models and Troubleshooting Part 2
07:52
New Resource Challenge
13:28
Reusing Actions on Other Agents
19:38

Producing and Removing Resources

3 lectures
A Little World Refactoring
16:55
Monitoring Agent States
14:47
Responding to a New Resource
09:17

Interacting with the Environment

8 lectures
Dragging and Dropping New Resources
13:03
Dynamic Navmesh Baking
11:59
Repositioning and Rotating Resources
17:09
Deleting a Resource
18:23
Refactoring for a Multi-resource UI
14:05
A UI to Work with Multiple Resources
19:59
Improved Repositioning
11:43
Moving the Camera
19:31

Final Words

2 lectures
Some Final Words from Penny
02:09
Where to now?
11:16

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.