GOAP Enemy AI FULL IMPLEMENTATION | AI Series 50 | Unity Tutorial

Опубликовано: 12 Декабрь 2023
на канале: LlamAcademy
12,593
361

Go to this video's Sponsor: https://snhu.edu/llamacademy to see what the current average annual salary for a game developer programmer is and learn how you can get started!

See a full implementation of an enemy AI with GOAP (Goal Oriented Action Planning). This enemy AI will have 3 goals: Wander, Kill Player, and Eat. You'll learn how to set up Actions, Goals, Behaviors and have them work together with a GOAP system to formulate plans to achieve their goals.

Special shout out to CrashKonijn for his awesome work on the GOAP system used in this video: https://github.com/crashkonijn/GOAP

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/ai-ser...

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect...

📚 Resources:
⚫ FREE Unity GOAP System used here: https://github.com/crashkonijn/GOAP
⚫ GOAP System Documentation: https://goap.crashkonijn.com/
⚫ Introduction to GOAP:    • Introduction to GOAP | AI Series 49 |...  
⚫ Factory Pattern: https://en.wikipedia.org/wiki/Factory...)
⚫ Builder Pattern: https://en.wikipedia.org/wiki/Builder...
⚫ AI Series 4 Runtime Agent Spawning:    • Spawn and Place NavMeshAgents on a Na...  
⚫ Dependency Injection: https://en.wikipedia.org/wiki/Depende...
⚫ Which AI Behavior Framework Should You Use?    • Which AI Behavior Framework Should Yo...  

🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
🌟 Patreon:   / llamacademy  
🌟 YouTube Member:    / @llamacademy   or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader...
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate)

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

Chapters:
00:00:00 Topic Introduction
00:02:25 Installing Unity GOAP & Project Structure
00:03:20 Wander Goal
00:15:35 Sponsor: Southern New Hampshire University
00:17:13 Wander Goal continued
00:22:40 Kill Player Goal (Melee Action)
00:39:02 Eat Goal
00:52:22 Kill Player Goal (Spit Action)
01:06:44 Final Demo & Support LlamAcademy