How to make interesting Enemy AI for your Indie Game ( UE4 )

  Рет қаралды 24,736

Logic Leo

Logic Leo

Күн бұрын

Join our discord server! / discord
Sparkmutts Wiki : sparkmutts.fandom.com/wiki/Sp...
Outro Music by: Gabe Miller
_ Chapters
0:00 - Intro
0:59 - Revamped Boar ?
1:40 - What I've Learned
3:07 - How Behavior Trees Work
5:28 - Why use Blackboards ?
6:36 - Enemy AI Component
7:48 - Going over the Boar's Full Behavior Tree
11:30 - Better Spline Movement
12:42 - Polishing Aspects
13:40 - Navigation issue
14:50 - Conclusion

Пікірлер: 46
@diegoaladdin86
@diegoaladdin86 Жыл бұрын
Bro so much improvement in the boars, honestly comparing it to when i tried out the game in the second devlog when they were added and wow this feels much smoother already!
@And_l_Wonder
@And_l_Wonder Жыл бұрын
These devlogs just brighten up my day!
@LogicLeoyt
@LogicLeoyt Жыл бұрын
Glad to hear that , thanks 😄
@ad0itachi
@ad0itachi 10 ай бұрын
This is the most detailed explanation I have seen, Great video! I've been working with AI in behavior trees for some time and the points you mention are always the more struggling. Is a great starting point to sketch and master the logic using those basic nodes before adding services, simple parallels or perception. The AI component is something I have to try.
@fatfingersman
@fatfingersman Жыл бұрын
Nice channel bro, got recommeded for me only now
@luaragetineli7949
@luaragetineli7949 Жыл бұрын
looking forward to playing
@joaobatistadesenaneto5335
@joaobatistadesenaneto5335 Жыл бұрын
Amazing my friend, keep going on!
@LogicLeoyt
@LogicLeoyt Жыл бұрын
Thank you! Cheers!
@Ready_Fire_Aim
@Ready_Fire_Aim 6 күн бұрын
i think there is a new option to "fill under for nav mesh" in details panel now (for almost everything)
@Mrbrum011
@Mrbrum011 Жыл бұрын
Amazing content!! But I would like to know, what plugin do you use to organize your nodes? I need those angles
@NorwinLabs
@NorwinLabs Жыл бұрын
Electronic Nodes
@olololololishe
@olololololishe 8 ай бұрын
Cool video, got here from recomendation and didn't regret a bit ! Tho it's kinda late but I have a question: I see you set your AI movement speed with task at start of the behaviour branch, and I've seen this methond in bunch other videos with, let's say, advanced AI scripting. Why don't just change mov.speed with sevice which will hang on respetive composite bode ? To me it kinda frees BT from having visual noise with such trivial set-up tasks. Am I missing something here ?
@diegoaladdin86
@diegoaladdin86 Жыл бұрын
BRO THE BOAR KICK IS GOLDEN!!!
@Restart-Gaming
@Restart-Gaming 2 ай бұрын
Will there be or this there a video on how you set this up ? Looks GREAT
@ShalowRecord
@ShalowRecord Жыл бұрын
would be cool to get a tutorial on that spline system you have. How would you send that new spline location back to BT?
@LogicLeoyt
@LogicLeoyt Жыл бұрын
Yo. With the task on the behavior tree I use a timeline and then do a “get location along spline “ to move the AI along the given location
@cosmotect
@cosmotect 2 ай бұрын
We now have state trees in unreal, should I use those for AI? Or are BT's still superior?
@Aliasah
@Aliasah Жыл бұрын
What is your plugin for the stylised link ?
@vitaliipylypenchuk
@vitaliipylypenchuk Жыл бұрын
how did you make your BT wiring look this way?
@sc2sc286
@sc2sc286 Жыл бұрын
6:54 can't you do this with an AIController class?
@josharnold4203
@josharnold4203 Жыл бұрын
Do behavior trees wait for a task to call "Finish executing" before moving onto the next task to the right in a sequence? Thanks!
@LogicLeoyt
@LogicLeoyt Жыл бұрын
Yes , tasks can be latent so you can do pretty much anything and it will wait
@danielgrabarczyk4
@danielgrabarczyk4 8 ай бұрын
Try this solution to nav mesh problem. Change nav mesh to dynamic on AI. Use sphere(on player) to detect instance foilage actor with tag (example: Tree,Rock. You have to add this tags to foilage actors). On collsion i collect static mesh and transform info. Delete instance foilage actor and spawn mesh acording to info collected. Nav mesh works with this method for me. Reverse process when move away from area to save performance.
@kingdemolition6681
@kingdemolition6681 Жыл бұрын
Another banger!
@LogicLeoyt
@LogicLeoyt Жыл бұрын
thanks :D
@El_Bellota
@El_Bellota Жыл бұрын
Riot taking notes right now.
@LogicLeoyt
@LogicLeoyt Жыл бұрын
lmao
@jasonruff1270
@jasonruff1270 Жыл бұрын
what's your opinion on machine learning AI for something like this?
@Stridenx
@Stridenx 11 ай бұрын
What logic do you keep in your AI controller and how do you use it differently than your AI Component?
@lorenzogarbin8990
@lorenzogarbin8990 7 ай бұрын
You made me feel so stupid..this is what I was looking for... Thanks for sharing knowledge. ❤❤❤❤
@mgames7856
@mgames7856 Жыл бұрын
also how can i help make your game ?
@SimonSlav-GameMakingJourney
@SimonSlav-GameMakingJourney Жыл бұрын
Have you ever tried the Logic driver state machine for unreal? Nice vids btw keep going :)
@LogicLeoyt
@LogicLeoyt Жыл бұрын
Its a plugin, right? I was really interested in it but it seems a bit pricy.
@SimonSlav-GameMakingJourney
@SimonSlav-GameMakingJourney Жыл бұрын
​@@LogicLeoyt Yes, it's a state machine so enemies, player states like combos, etc. (there's a free version too, that's why I'm curiouse) It came to my mind when I saw alerted hog :D. Btw the spline movement is genius small things like that make all the difference I think, it's like squash and stretch of AI 😄
@DailyPaily
@DailyPaily Жыл бұрын
Interesting.
@mgames7856
@mgames7856 Жыл бұрын
end also i have an idea for a misions end bosses that i think would be good end interesing
@joaolucassantosviegas3334
@joaolucassantosviegas3334 Жыл бұрын
Cara, se tu traduzisse esse video e postasse seria de muita ajuda pra glr. (Em geral nao tem tanto conteudo bom em br e se tivesse teu video la sobre BT iria ser daora; Nem que duble em cima desse video ja seria uma ajuda pra glr)
@yash-bb9lh
@yash-bb9lh Жыл бұрын
isnt the enemy ai component basically the stuff that needs to be in an enemy ai controller?
@Luca-yq5ux
@Luca-yq5ux Күн бұрын
Ai perception gets added to the ai Controller - aicontroller runs bt
@joedabruh2406
@joedabruh2406 Жыл бұрын
Yo. I have never watched you before and I probably still won’t unless you make something really interesting, but I wanted to let you know that I found this channel from your Reddit account, which is pretty funny if you think about it.
@LogicLeoyt
@LogicLeoyt Жыл бұрын
thanks for letting me know. I hope I make something interesting someday, but I'll keep trying
@jenpaulinesanpedro
@jenpaulinesanpedro Жыл бұрын
How's it going?
@wellingtoncarneiro-ht4nd
@wellingtoncarneiro-ht4nd Жыл бұрын
👍😲👍😲👍😲👍😲👍
@StarryNap
@StarryNap Жыл бұрын
Digga was?. this feels like a speedrun lmao. But nice voice
@megalordgamer1974
@megalordgamer1974 Жыл бұрын
Like your game can you please make game for mobile
@trimtab9675
@trimtab9675 Жыл бұрын
5th comment
I SUCK At Developing Enemy AI. Let's Fix That.
11:43
Intra
Рет қаралды 10 М.
Behaviour Trees: The Cornerstone of Modern Game AI | AI 101
9:50
AI and Games
Рет қаралды 159 М.
Indian sharing by Secret Vlog #shorts
00:13
Secret Vlog
Рет қаралды 52 МЛН
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 4,3 МЛН
Pokémon Yellow - analysis of glitch sprite decompression effects
17:09
How to Make A Behavior Tree in Unreal Engine 5 Tutorial ( Complete Guide )
25:35
Creating SMART enemies from scratch! | Devlog
5:40
Challacade
Рет қаралды 254 М.
What 100 Days of Game Development Looks Like
22:24
TJ
Рет қаралды 60 М.
How much MONEY my Game made (and how much it cost!)
14:00
Code Monkey
Рет қаралды 152 М.
AI Sight Detection And Chase With Music - Unreal Engine 4 Tutorial
10:51
Easily Make Ai Animals That Chase And Flee In Unreal Engine
16:20
Elusive Panda
Рет қаралды 13 М.
Simple Enemies are MORE Fun! Tips For Creating Enemies | Devlog
8:10
This one mistake is killing my game
14:02
AIA
Рет қаралды 180 М.
The Trick I Used to Make Combat Fun! | Devlog
8:12
Game Endeavor
Рет қаралды 1,5 МЛН
Do You Want The Baby Frog To Get The Food? #shorts
0:46
ZolphiusFun
Рет қаралды 24 МЛН