Skip to content

llamacademy/ai-series-part-50

Repository files navigation

Enemy GOAP AI

In this tutorial repository and accompanying video you can see a full, end to end implementation of an enemy AI with 2 types of attacks using CrashKonijn's GOAP system. The llama has "hunger" and "saliva" that decrease over time and are only increased when eating, and one attack requires "saliva" in order to perform it.

Youtube Tutorial

Quickstart

This repo uses Crash Konijn's GOAP system as the GOAP system we're building on. This is included via the package manager. It also uses a Quirky Llama model which is less important, but the animation names that are played will need to be updated to whatever animations you choose to use.

  1. Import Quirky Llama (or replace llama with your 3d model)
  2. Import Unity Particle Pack (free)
  3. Click play!

The package manifest includes Navigation Components already.

Sponsors

This tutorial is Sponsored by Southern New Hampshire University. If you're interested in leveling up your gamedev skillset, consider getting an affordable, accredited degree in Computer Science or Game Design & Development from SNHU. You can go to 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!

Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to the LlamAcademy Patreon Page, join as a YouTube Member, or even become a GitHub Sponsor to show your support.

Phenomenal Supporter Tier

  • Andrew Bowen
  • YOUR NAME HERE!

Tremendous Supporter Tier

  • YOUR NAME HERE!

Awesome Supporter Tier

  • Ivan
  • Reulan
  • Iffy Obelus
  • Perry
  • Mustafa
  • YOUR NAME HERE!

Supporters

  • Trey Briggs
  • Matt Sponholz
  • Dr Bash
  • Tarik
  • Sean
  • Elijah Singer
  • Bruno Bozic
  • Josh Meyer
  • Ewald Schulte
  • Andrew Allbright
  • AudemKay x2
  • Claduiu Barsan-Pipu
  • Ben
  • Christian Van Sttenwijk
  • Joseph Janosko
  • Chimera Dev
  • Wendy Whitner
  • Lukas Wolfe
  • YOUR NAME HERE!

Other Projects

Interested in other Topics in Unity?

Requirements

  • Requires Unity 2022.3 LTS or higher.
  • Universal Render Pipeline
  • GOAP

Disclaimers

Some links in this readme may contain affiliate links which, at the time of purchase, at no additional cost to you, gives me a small portion of the purchase.