Unreal Engine 4 - AI Basics & Patrolling (Easy Method)

  Рет қаралды 40,274

Beardgames

Beardgames

Күн бұрын

Пікірлер
@Beardgames
@Beardgames 3 жыл бұрын
Just thought I'd mention that I go a bit slower this video in terms of descriptions and information I give you. I try to go as quick as possible in my tutorials but part of the reason I went a bit deeper into the information side this video was so you guys could really get an understanding of AI. Take the clip at 6:30 where I breakdown the tasks as an example, I did it like this so when you guys want to create your own AI tasks you understand how to do it and can follow the same procedure. Break down what you want the AI to do in a list (pseudocode), then tackle each task 1 by 1 logically following on from your list. So apologies if I went a bit slow, I'm here to give you that EPIC fast ULTRA cut information so you can get straight to the good stuff but I'm also here to make sure you can adapt what I teach in my tutorials into your own projects... Thanks guys and see you in the next episode :D - Jon / BeardGames
@nicholasbroggi9944
@nicholasbroggi9944 2 жыл бұрын
This video is great. It's short enough to learn something quickly while including enough information to understand what you're talking about.
@TheGhos1Face
@TheGhos1Face 3 жыл бұрын
Missed your vids my dude! Awsome as always
@Beardgames
@Beardgames 3 жыл бұрын
Haha thanks amigo, been pretty busy! thanks for being patient :D
@neyverh123
@neyverh123 3 жыл бұрын
You The Real MVP I was looking for this I just need an advanced version of this to understand more.
@DemonicDevilDiran
@DemonicDevilDiran 2 жыл бұрын
Should be made clear this is for "Character" class BPs exclusively, since Pawns don't have the option to select Splines as shown at 11:08.
@Preirin
@Preirin 2 жыл бұрын
Thank you for some excellent tutorials! You mention starting with Tutorial 18-18.4 but I can't seem to find anything titles in that manner in your playlist. Can you direct me to them, please? Also, do these tutorials work with 4.27? Ta!
@seango584
@seango584 3 жыл бұрын
Hi Beard, it's me again! I followed your video, and the only problem I've had is that my NPC is not actually moving (the mesh is moving on the other hand). Does it have to do with me changing the character reference variable to NPC? Thanks again :)
@cardcadiastore
@cardcadiastore 3 жыл бұрын
Have you found the solution?
@seango584
@seango584 3 жыл бұрын
@@cardcadiastore, yeah I did. I realised that the box encompassing the NPC was actually too high, so I moved it lower and the NPC began moving. Just a silly mistake I made.
@pnkdrmmr
@pnkdrmmr 3 жыл бұрын
@@seango584 Thank you.
@SpencerHoude
@SpencerHoude 2 жыл бұрын
love your videos, and your name... as I am indeed a bearded man. Although I have an issue with adding the "get location" at 11:41. I can add it into the GetSplineLocation BP but it doesn't have an area to attach it to the Target-Spline Path. Am I doing something wrong? any insight would be greatly appreciated.
@reinspieler
@reinspieler 3 жыл бұрын
Dont finished the 30 day’s series but nice Video like every video
@Beardgames
@Beardgames 3 жыл бұрын
Thank you my dude!! :)
@mauriciosilva1631
@mauriciosilva1631 3 жыл бұрын
you are the best! thank you so much for sharing your knowledge each teaching is very precious. thank you so much!
@Beardgames
@Beardgames 3 жыл бұрын
No worries dude ;)
@Pontos420
@Pontos420 3 жыл бұрын
I am still working my self through your videos here :) Great job! Thank you! I wonder how to controll the NPC speed on the path so that he is not in the running state but in the walking state for example. Tomorrow I have more time to watch all your videos :D
@MythicCosmos_Uno
@MythicCosmos_Uno 3 жыл бұрын
Also curious about this
@pure4821
@pure4821 Жыл бұрын
Hi beard, from what I understand the spline actor made should have the cube made travel along it, when I simulate nothing occurs, I made sure it had no collision but it still did not move, I don't know what to do, please help
@GoldBerry510
@GoldBerry510 3 жыл бұрын
Thank you very much, it really worked. Your explanations are very good and although BT is complicated I could understand a little more.
@mr.raider744
@mr.raider744 2 жыл бұрын
you know that it works when you see the beardgames intro
@reinspieler
@reinspieler 3 жыл бұрын
Worked very Well and good tutorial (Beardgames: I have decided to do only the episodes that i want my game to be)
@nierautomata9654
@nierautomata9654 3 жыл бұрын
I got a question 🙋‍♂️ why did you add a static mesh cube in the spline? What is it for? Will the AI still move through the spline without that cube? Thanks
@Beardgames
@Beardgames 3 жыл бұрын
Purely so we could see the current location in the spline😁 feel free to remove it haha
@nierautomata9654
@nierautomata9654 3 жыл бұрын
@@Beardgames gotcha 👍😁 thanks!
@unrealdevop
@unrealdevop 3 жыл бұрын
At 11:53 you have us make a 'Blackboard Key Selector' but you didn't bother explaining why you did that. I'm a bit confused because I was thinking you grabbed the blackboard from the 'Owner Controller' and then passed in the Key Name from there. Never mind you answered my question at 13:21
@darkcaper3dmodels951
@darkcaper3dmodels951 3 жыл бұрын
Hi :) I have been following the tutorial, the box moves around the spline when I press play but the character does not follow, any suggestions? found problem, in my version of UE4 the blackboard makes a self ref by default, once deleted it all worked fine. :) nice tutorial
@ivangeorgiev2684
@ivangeorgiev2684 2 жыл бұрын
Unfortunately, I have the same problem and it seems as though the box mesh is following the spline only halfway, which is a bummer and the character is standing still. Any suggestions? I have tried lots of different solutions, but there is still a problem. If all goes to hell, I will try and use the files provided in the video and retarget the character I want for a NPC. Thank you for everything, your videos really do make a difference!
@DreaMeRHoLic
@DreaMeRHoLic 3 жыл бұрын
Have to say that it's not helpfull if you say at 1:22 "we need what we made over the last episodes" if your videos dont have episode numbers. Dude, you made about 40 videos before this one....i mean i can guess but.... At 1:52 you talk about 18 to 18.4 , but there is no 18.... or 18.4
@redking8585
@redking8585 3 жыл бұрын
Yeah....lol what was that about. I'm looking for the videos.
@strickerarts
@strickerarts 2 жыл бұрын
So I manage to get the spline ref but its not letting me connect it to the Cast NPC. How do I fix this? Please help. This is in the Get Spline Event graph.
@BooneyianLogic
@BooneyianLogic Жыл бұрын
I had the npc following the cube, I loaded it up on another day. And I cant seem to figure out why the npc wont move, its doing the walking animation, and the spline ref is set to the bp_AI_Spline. I fixed this by making sure I have a NavMesh Bounds Volume
@SylarAtomic
@SylarAtomic 2 жыл бұрын
Thank you for this!
@SoloGameDeveloper
@SoloGameDeveloper 3 жыл бұрын
Can I get the same results with normal blueprint? I feel like there's no advantages to go with behavior tree
@xXESproductionsXx
@xXESproductionsXx 2 жыл бұрын
I'm trying to find tutorial 18 - 18.4, but it's not laid out that way on your channel. where do I start?
@v1zzle
@v1zzle 3 жыл бұрын
Very greate tutorials body! you are best!! thanks from Russia!
@Beardgames
@Beardgames 3 жыл бұрын
Anytime my friend :)
@mauriciosilva1631
@mauriciosilva1631 3 жыл бұрын
Beard I have a doubt nothing to do with this tutorial I noticed that you use it a lot (For each loop whith Break) so... if I'm going to do a project myself under what circumstances can I use it?
@JoseManuelRodenes
@JoseManuelRodenes 3 жыл бұрын
I don't know why but it gives me an error in the variable is Accelerating? In the animation BP of my main character not from the npc that I copied, I tried to change the name to the variable so that it was not the same as the variable of my main character, but it does not work it keeps giving me that error, I guess in the animbp from npc will there be something that still refers to the animbp of the main character having made a copy, please did someone else pass this on? Thank you very much; On the other hand, your tutorials are very good, thank you very much for your help and srry for the language, I don't know English srry ..
@realdlps
@realdlps 3 жыл бұрын
Awesome video as always :) Sadly got my ai made before this video came out.
@Beardgames
@Beardgames 3 жыл бұрын
No problem at all my man :D
@ApocalypsFroid
@ApocalypsFroid 2 жыл бұрын
how i can create a new point in spline ?
@thedrumlover251
@thedrumlover251 3 жыл бұрын
could you make the ai stuff a playlist?
@dawidsniegon203
@dawidsniegon203 3 жыл бұрын
Hi, I'm following everything you do in this vid, but whenever I hit play, the NPC doesn't act the way it's supposed to. I'm getting an error saying "Accessed None trying to read property SplinePathRef" from the Get Spline Location function. I assume the location is not storing somehow at spline path ref (public variable inside NPC). The box is moving ok. In Spline Pathway BP the Location is SET and is saving there (tried Printing to check). But when I Print from NPC BP, accessing the SplinePathRef --> Location - it's always 0. What could be the problem?
@Beardgames
@Beardgames 3 жыл бұрын
Hey Dawid! So your issue is that you've not set the spine inside your variable. Check out this video and it will explain everything and really give you an understanding of how to fix these issues in the future 😊 kzbin.info/www/bejne/pIGlmGmMot18o7s
@dawidsniegon203
@dawidsniegon203 3 жыл бұрын
@@Beardgames Hey, wow, thanks for such a quick response! You were right about the issue and the vid you suggested solved the problem. Great tutorials by the way ;)
@varungandhi8796
@varungandhi8796 3 жыл бұрын
Hey love your videos and how you simplify unreal and explain it so well, so I wanted to ask how would one go about trying to remake a dbz game in unreal engine? Like what are the basic steps and where do I start and all that. The specific game I'm talking about is Dragon Ball Z Budokai Tenkaichi 3. You could look up a short gameplay of the game if you want if don't know the game but it's basically a fighting game with special powers
@Beardgames
@Beardgames 3 жыл бұрын
Thanks Varun. You'd probably just make the character as third perskn characters and basically copy them over to NPCs when youve got the functionality working. All I can really explain without doing an entire video on it :)
@varungandhi8796
@varungandhi8796 3 жыл бұрын
@@Beardgames Alright thanks and yeah I thought I was asking for a little too much for a simple comment, sorry about that
@rizchaud
@rizchaud 3 жыл бұрын
Hi, please how to loop the spline ? my IA stop walking when he do once. :/
@Beardgames
@Beardgames 3 жыл бұрын
If you select the spline I think there is a closed loop option, either that or you can close it with a BP node :)
@rizchaud
@rizchaud 3 жыл бұрын
@@Beardgames thanks for the answer
@varungandhi8796
@varungandhi8796 3 жыл бұрын
I was wondering why this video got reuploaded because I saw it before in your playlist. I think what happened was, you uploaded it, made it link only for patreons, then accidentally added it to your playlist so anyone going through it could see the video
@Beardgames
@Beardgames 3 жыл бұрын
Hahah I made the mistake adding it to the playlist yeah. It's fixed now😅 well spotted😉
@A.J.Interactive
@A.J.Interactive 2 жыл бұрын
Hello this tutorial was really helpfull! although, i am using it with als v4, and for some reason the character just keeps moving forward, but the cube goes along the spline, any help would be appreciated : )
@A.J.Interactive
@A.J.Interactive 2 жыл бұрын
edit: i fixed it, it was the space on the get location, now i just need to find out why my ai stops moving before the cube
@chanceharlon2173
@chanceharlon2173 2 жыл бұрын
I cannot get the npc to follow the mesh, any help would be appreciated
@SathishKoththolla
@SathishKoththolla 3 жыл бұрын
Hi bro. Great job. Are you gonna make a full game tutorial with all the RPG logics and systems and package it bro? You're doing massively awesome job.
@Beardgames
@Beardgames 3 жыл бұрын
Thanks a lot Sathish really glad you're enjoying the content! I've finished with this 30 topic tutorial series which is basically a RPG starter kit, check my playlists for it. But i will be doing more RPG stuff in the future for sure :)
@SathishKoththolla
@SathishKoththolla 3 жыл бұрын
@@Beardgames that's awesome bro, I'll check the playlist now. 😍 I wanna learn Mele combat system and Objectives quest system 😀🙏
@KDmadness18
@KDmadness18 3 жыл бұрын
How do I download your project correctly? I downloaded it and opened it but the project is basically just a new project and is missing everything you added.
@Beardgames
@Beardgames 3 жыл бұрын
Hmm this could be the UE4 version. The download in the description should be a direct download for the project. The only reason I can think of that the files aren't there is if it's opened with an earlier version of UE4. I'm using 4.25, which version are you using?
@KDmadness18
@KDmadness18 3 жыл бұрын
@@Beardgames yeah I’m also using 4.25. I can see the files but when I open the project it’s as if the files aren’t connected. I was thinking maybe I have to reconnect the repository? I’v never downloaded someone else’s project before so I’m new to this
@Beardgames
@Beardgames 3 жыл бұрын
@@KDmadness18 When downloading a project it should work exactly the same as how you can see your own project. Make sure you unzip the project and open it up just like you would your own :)
@KDmadness18
@KDmadness18 3 жыл бұрын
@@Beardgames ah okay forsure I’ll unzip the files and try it again when I get the chance, thanks
@KDmadness18
@KDmadness18 3 жыл бұрын
@@Beardgames Yeah it worked, where can I find your BT and the other AI components? I don't see your NPC file as shown in the video
@thrices4372
@thrices4372 2 жыл бұрын
can't find the tutorials videos
@overlandgames
@overlandgames 2 жыл бұрын
hey, thanks for great tutorial. Got me closer then i've come in a minute. When i set the timeline to 4 seconds, and the second timeline point to 4 seconds, my guy runs along the path for a few seconds, stops, turns around, runs two or thre steps, turns back around then runs again. I had the cube hidden in game, because i didn't realize it's function. so I turned visibility back on and i notice the guy starts running down the spline, then the cube comes from the opposite direction, blazes past the guy, causing him to turn around towards the cube for a second, then he runs back down the path a ways, then the cube passes him again, and he stops turns takes a few steps back, turns, repeat. been through the tutorial 3 times, not sure what i've missed. :(
@overlandgames
@overlandgames 2 жыл бұрын
now it does nothing.
@NephariusAMG
@NephariusAMG 3 жыл бұрын
My AI is just gliding across the floor. It’s not implementing the anim that i made.
@SilverArrowFilms
@SilverArrowFilms 3 жыл бұрын
You forgot to cast the npc from your animation blueprint =)
@simonmcnutt1705
@simonmcnutt1705 2 жыл бұрын
Hey, thanks for the video. I think you go a little to fast on things, do fast manipulations without explaining why you do it, which makes hard to follow. I wasn't able to understand a lot of things. But thanks for your job!
@Beardgames
@Beardgames 2 жыл бұрын
Sorry if I go a bit quick for ya McNutt! I try to keep a fast pace for viewers who want to speed through it, I thought it was better to go quick and for viewers who want it slow to pause or slow down the video slightly. I'm still trying to get the balance right heh :) Thanks for watching and supporting the channel though!
@simonmcnutt1705
@simonmcnutt1705 2 жыл бұрын
@@Beardgames no problèmes! You still helped me a lot! Thanks
@costa3951
@costa3951 2 жыл бұрын
If this is the easy way, then I've got a lot more research to do before all this.
@faris_diz
@faris_diz 3 жыл бұрын
Thanks for this and i want to tell you that you should talk a bit slower in your tutorials, no need to hurry
@HavokBWR
@HavokBWR 2 жыл бұрын
Ugh why cant ANY tutorial start out with a blank character?? Everyone starts out with the 3rd person template and then if you try to follow any of these tutorials without it youre completely FKED...
@AeonSaturnal
@AeonSaturnal 3 жыл бұрын
Man, this isnt working for me.
@Beardgames
@Beardgames 3 жыл бұрын
Sorry to hear Aeon! Give me some ideas of what's not working, maybe I can help :)
@AeonSaturnal
@AeonSaturnal 3 жыл бұрын
@@Beardgames I appreciate your attentiveness! Well I restarted my project and all my nodes just simple started working, like magic 😤
@Beardgames
@Beardgames 3 жыл бұрын
@@AeonSaturnal Love to see it. Good job :D
@visioncorp5228
@visioncorp5228 3 жыл бұрын
You are going way to fast.
@AT77Real
@AT77Real 2 жыл бұрын
667 like
@sakulmore1844
@sakulmore1844 Жыл бұрын
The video is completely about nothing. You just do, but you don't explain what you do and why it works the way you do. You only explained in this video what BT, BB and how to create a new AIController. But you explain e.g. what the different nodes mean, not anymore. This video is literally just that "Copy this and use it. I won't explain it."
Unreal Engine 4 - AI Chasing The Player & Drawing Weapons
13:42
Beardgames
Рет қаралды 10 М.
Unreal Engine 4 - The Easiest NPC Dialogue Tutorial EVER
9:04
Beardgames
Рет қаралды 79 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Phil Fish: Gaming's Most Hated Developer
19:44
Nello
Рет қаралды 371 М.
how water works in Sea of Thieves
3:25
Stylized Station
Рет қаралды 920 М.
Unreal Engine 4 - Enemy Targeting System & Switch Attack Stance
12:13
Unreal Engine 4 - Dealing & Taking Damage
12:33
Beardgames
Рет қаралды 20 М.
Unreal Engine Simple NPC Tutorial
14:03
Seredias
Рет қаралды 63 М.
Enemy Horde Wave System - Unreal Engine Tutorial
16:56
Matt Aspland
Рет қаралды 44 М.
Unreal Engine 4 - Blending Animations
5:26
Beardgames
Рет қаралды 69 М.
Unreal Engine 4 - Character & AI Strafe Movement
6:01
Beardgames
Рет қаралды 19 М.
UNREAL ENGINE Attack Animations (Easy Tutorial)
17:03
ProductionCrate
Рет қаралды 101 М.