Smart Enemy AI | (Part 11: Group Enemy Combat) | Tutorial in Unreal Engine 5 (UE5)

Ali Elzoheiry
Ali Elzoheiry
18.9 هزار بار بازدید - 10 ماه پیش - Learning Goals:1 - Create a
Learning Goals:
1 - Create a token system that allows you to coordinate a fight between multiple enemies at once
2 - Increase or decrease the difficulty of a fight based on the number of tokens
3 - Achieve a more predictable fight by ensuring that enemies communicate with each other before attacking (through tokens)

Note:
This token system is a simplified version of what "Doom" does to control the flow of battle and increase/decrease difficulty. You can mix this approach with a "priority score" that assign an attack priority to each enemy depending on the factors of your game (Like how close they are, or if they have a powerful attack ready) then you can mix this priority score with the token system for a more advanced approach

Link to my Patreon (Thank you for your support)
Patreon: Alizoh

Join my Discord server to chat and mingle with the community
Discord: discord

Link to part 1 of the "Smart Enemy AI" tutorial:
Smart Enemy AI | (Part 1: Behavior Tr...

Link to the "Damage System" tutorial:
How to Build a Combat Damage System |...

Link to the "Projectile System" tutorial:
How to Shoot Projectiles | Unreal Eng...

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
Patreon: Alizoh

Checkout my other tutorials on my channel:
@alielzoheiry

Chapters:
00:00 Outcome of This Part
02:03 Add Increase/Decrease Tokens to Damagable Actor
09:40 Set Tokens Count for Player
10:18 Enemy Checks Tokens Before Attack
14:42 Explaining What Needs to Change
16:03 Refactoring Enemy Attack Functions
29:20 Refactoring Melee Behavior Tree
38:43 Updating AI Controller to Prevent Enemies Colliding
39:46 Refactoring Ranged Behavior Tree
45:37 Final Test
47:02 Return Tokens on Death
49:15 Next Up In Part 12

About me:
I've been learning game development for a few years now, I do have a background in software engineering, and I also have a background in education, so being able to combine my love of gaming and love of education is the best way to spend my time.

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.


#unrealengine #unrealengine5 #ue5  #gamedev #smart #enemy #combat #AI #blueprint #tutorial #behavior #tree #behaviortree #tokens #doom #group #combat #multiple #enemies #coordination
10 ماه پیش در تاریخ 1402/05/31 منتشر شده است.
18,974 بـار بازدید شده
... بیشتر