How to program SMARTER AI enemies Unity Tutorial

How to program SMARTER AI enemies Unity Tutorial

HomeThis is GameDevHow to program SMARTER AI enemies Unity Tutorial
How to program SMARTER AI enemies Unity Tutorial
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
Developing AI for games is hard. Unity tries to help you, but not really. You have to do everything yourself. Luckily, you're not the first to have this problem. In this video, we explore what it takes to make enemies behave a little more intelligently.

Join the Kingdom:
https://discord.gg/M2qfnUGxAz

Download the Sci-Fi Kit:
https://gamedev.lu/downloads
Hero robot used in the video:
https://assetstore.unity.com/packages/3d/characters/robots/robot-hero-pbr-hp-polyart-106154

FSM code from Jason:
https://game.courses/bots-ai-statemachines/
Firewatch animation talk:
https://www.youtube.com/watch?v8VgQ5PpTqjc
Code your own behavior tree:
https://medium.com/geekculture/how-to-create-a-simple-behaviour-tree-in-unity-c-3964c84c060e
Probably the best plugin for behavior trees:
https://assetstore.unity.com/packages/tools/visual-scripting/behavior-designer-behavior-trees-for-everyone-15277#reviews
A little about GOAP:
https://gamedevelopment.tutsplus.com/tutorials/goal-oriented-action-planning-for-a-smarter-ai–cms-20793

·····························································································

Chapter:

00:00 Introduction
01:05 Setup
02:10 Baking NavMesh
03:38 Opponent line-up
06:24 Enemy Animator
07:47 Enemy script
11:59 Shooting
16:09 Make a smarter enemy
16:40 Finite state machine
19:41 Device coverage
20:45 New animator
25:03 Implementing FSM
31:22 Finale and community start

·····························································································

Download Will & The Evil Duck for FREE (iOS and Android):
https://gamedev.lu/games/will-and-the-evil-duck/

The GameDev website: https://gamedev.lu

·····························································································

For the cool ones:

Instagram: https://www.instagram.com/gamedev.lu/
Twitter: https://twitter.com/GameDevLu

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.