Smart Enemy AI | (Part 1: Behavior Trees) | Tutorial in Unreal Engine 5 (UE5)

Ali Elzoheiry May 30, 2023
Video Thumbnail
Ali Elzoheiry Logo

Ali Elzoheiry

View Channel

About

Software Engineer, educator, game developer, gamer, and content creator I love teaching and making educational content, so the chance to combine both my love of games and teaching is the perfect outlet for me, and also keeps me motivated to work on my own games. I'm hoping to build an online community of like minded people, where we can support each other grow together and maybe collaborate on something fun. If that sounds like something you would like to be apart of, then feel free to join the Discord community If you found my content useful, I would love your support on Patreon. You will get access to a lot of exclusieve content and learning tools and downloadable projects and systems. https://www.patreon.com/Alizoh Join the Discord community https://discord.gg/AEnM4wvYzN - Ali @ Alizoh Studio

Video Description

Chapters: 00:00 Info on the Full Series 01:29 Info on Part 1 01:52 Enemy and Player Setup 04:43 Basic Enemy Behavior 08:30 Fix Leg IK issue with Ue5 Mannequin 11:33 Creating the Behavior Tree and Blackboard 12:43 Quick Explanation on Behavior Trees 15:02 Building the Behavior Tree 17:20 AI controller Setup 21:27 Testing the Behavior Tree 23:05 Creating Our First Custom Task (Attack) 25:39 Testing the Custom Task 26:52 Fixing our Custom Task 29:09 Adding Focus Target Custom Task 32:23 Adding Clear Focus Custom Task 34:04 Giving the Enemy a Sword 38:10 Adding a Wield Sword Custom Task 38:56 Creating our First Decorator 42:25 Using Selector Node in Behavior Tree 43:58 Final Test In this Unreal Engine Game development Tutorial you will learn the following: - How to use Behavior Trees & Black Boards in Unreal engine - How to create basic AI tasks - How to setup a basic AI controller - How to create custom tasks & decorators for Behavior Trees Link to the "Damage System" tutorial: https://www.youtube.com/watch?v=o3uFXnNxwKE Link to the "Projectile System" tutorial: https://youtu.be/hkQ9bEwpfV8 Link to my "AOE Damage & Healing" tutorial: https://youtu.be/ConO4G0j9wI Link to my Patreon (Thank you for your support) https://www.patreon.com/Alizoh About me: I've been learning game development for over a year now, I do have a background in software engineering, but I've always wanted to create my own game. I am currently working on this 3rd person action adventure game as a hobby, but I am also trying to build a community, thus I am creating YouTube tutorials to find others who are interested in game development and design. If you are interested in learning more or if you are interested in working together, please let me know in the comments. Join my Discord server to chat and mingle with the community https://discord.gg/AEnM4wvYzN If you would like to support me on Patreon, you will get access to all the source code from every video I post as well as any custom assets that I create. Also I would be forever thankful to my early adopters https://www.patreon.com/Alizoh Checkout my other tutorials on my channel: https://www.youtube.com/channel/UCrrZx9bh7RMYhXvaN8BrbNg #unrealengine #unrealengine5 #ue5 #gamedev #smart #enemy #combat #AI #blueprint #tutorial #behavior #tree

You May Also Like