Target Points as editable variables = mind blown. Very very cool. Thanks for this :)
@NoSoyElPeluca9 жыл бұрын
Hello! I'm building a horror game and I want to tell a modification I made based on this. I did all that he did in the video, I added a box in a small area around it and added it to the blueprint as if this it a camera. So when it see me and I run around it , it does not lose sight of me so easily. Not like 30:39 xDD I reduced the IA movement speed too, so you can run away from it and make it lose track of you. Good for a zombie-monster game. Thanks for the video man, it helps a lot
@alec34198 жыл бұрын
Much Better than all the other AI Tutorials!
@zainabmurtaza74847 жыл бұрын
Thanku. Best tutorial ever.
@thresholdseven89428 жыл бұрын
very nice, works like a charm
@evanlo96478 жыл бұрын
you just got yourself a new sub
@ryansaper7 жыл бұрын
Around 11:40, when testing the 2 target points....my AI runs to one target point, and then he faces towards the camera (it's a side scroller so that's odd that he would face that direction) also once he reaches the first target, I can no longer jump over him for some reason. He permanently blocks me until I kill him
@austinza558 жыл бұрын
Good tutorial! but I have some issue that is my AI start to pick the same exact Target point and they stop moving by that how to fix that?
@S0raJr8 жыл бұрын
Instead of having the A.I "patrol." How would I have it move freely or walk around?
@jackpeterkettley9 жыл бұрын
Hi there how do you switch between roaming around freely at a walking speed then when he sees you to a sprinting/running speed. I'm new to unreal so could you please explain simply with directions.
@StalkinU9 жыл бұрын
One big problem with this tutorial is they aren't actually patrolling. This setup would be more useful for something like a moving platform in mario. You should've showed us how to delay the acquisition of a targetpoint so they remain at the destination for a while. Another minor problem is they patrol in chase speed. A tip for when you make these tutorials would be, what can i do at a later date? Then add nodes accordingly. This way your followers can see where they can cut and paste your blueprint for stuff like animations. It would also increase the flow of your tutorials. I do very much appreciate the "lets experiment" mentality
@pauldavis29049 жыл бұрын
Hi, +Totally Unreal thanks for making the tutorials. I have one question though. How can I get the line of sight from the Ai character to be blocked by an object. For example I'd like to be able to hide behind a wall and not have him see me. Any help would be great! Cheers!
@kayleeurwin97629 жыл бұрын
+Paul Davis I did this with an AI by not even using the enemy pawn sight, I used a Raycast instead that returned the first object hit, and unless the first object hit was the player, do nothing :)
@pauldavis29049 жыл бұрын
Thanks for the info - is there any chance to share how that looks as a blueprint? Thanks!
@TotallyUnreal9 жыл бұрын
+Paul Davis I have a tutorial on raycasting / single line trace, perhaps that will help. kzbin.info/www/bejne/eZiznXWge8qoars
@pauldavis29049 жыл бұрын
Hi Totally Unreal thanks for letting me know about your tutorial - I follow you and think you do a great job, it seems I missed this one though. Thanks!
@TheMrVerbal8 жыл бұрын
got it all blueprinted, but it doesnt want to link my foreachloop array element output to set point1. says actor reference not compatible with target point reference. any ideas what i missed guys? and i have actor class set to target point in the get all actors class node.
@symonestrella99378 жыл бұрын
your'e a God! teach us more sempai!
@marvinpalomo26428 жыл бұрын
how to make more than 2 patrol points just for 1 ai?
@Markyroson9 жыл бұрын
This says part 2 yet I cannot find a part 1?
@alexw89039 жыл бұрын
Markyroson look deep down in his videos, the old one is about 6 months old.
@TotallyUnreal9 жыл бұрын
Double bow kzbin.info/www/bejne/annCYqahlsigjqM
@Markyroson9 жыл бұрын
Double bow thanks! Totally Unreal thanks for the link! :-)
@morgandunn74558 жыл бұрын
exactly what version where you using it this video
@ryansenger4085 жыл бұрын
You have a lot of likes for this Vid - so I am going to finish watching and I think I'll be pleasantly surprised but I need to mention that you started off this video talking about how much better this tutorial was than previous ones - but then you go on for the first few minutes to try to get your character to chase you properly... so I need to ask Why wouldn't you have done a test run before you started recording? There's definitely times where showing and fixing common mistakes that others will also run into is beneficial - but then there are times like this that just seem more unprepared. But that being said, keep up the great work in helping the community!
@nir31358 жыл бұрын
how can i set the speed value of the AI when it patrolling? to make it walk.
@nir31358 жыл бұрын
never mind i got it. you just need to get the character movment and then set the max walk speed
@fraydizs73028 жыл бұрын
thanks
@OGPatriot039 жыл бұрын
Is there a way to do this without Event tick? Should never use Event Tick for gameplay related tasks.
@timtimtim898 жыл бұрын
+Patriot 03 timers
@ethanwasme43078 жыл бұрын
+Patriot 03 Time line, or events that arn't called every frame, but I'm a noob and wouldn't have a clue on how to do this
@Grimeaper9 жыл бұрын
What if there was a river, with a bridge any good way to avoid walking through the water and instead choosing the bridge? Because I am soaked and my programmer sucks.
@vg44619 жыл бұрын
+Grim reaper maybe by ending the navmesh onto the river banks?
@TotallyUnreal9 жыл бұрын
+Victor Gabriel ^ Selectively place your nav meshs
@Rac00nn79 жыл бұрын
So i have 4.9 and i have seen other people comment about it but it seems they have taken out Get Random Point " Can make another tutorial using a different method please.
@franconova80488 жыл бұрын
+richard defazio Hey Richard, I'm not sure if you already got a solution for this, but I'm currently in 4.11, and the node I ussed for Destination instead of Random Point is "Get Random Reachable Point In Radius", you have to enhance the Radius on that node since that's the radius from where the AI is right now, and on the "Origin" of that node, you just plug in "Get Actor Location". Hopefully this helps, although I suppose you already fixed it
@MrQuackaberry8 жыл бұрын
+Franco Vilanova that comment saved my ass
@BlueReeceo29 жыл бұрын
so deleted the new bit that you added towards the ai (not the patrol part) but the random choice part i deleted all of that part and now they do not move towards the points
@BlueReeceo29 жыл бұрын
I fixed it
@alexw89039 жыл бұрын
Hey nice vid, good to see your following up on the last tutorial which you kind of just left hanging, I have an issue with this though, I have my AI set to the roaming thing and then follow me when it spots me but when it gets close enough it suddenly stops doing anything, the same happens when it hits a wall, do you know what's gone wrong? I have done exactly what's in your tutorial but I don't seem to be able to fix this as I have messed around with variables and added stuff here and there to see if I could fix it but nothing seems to work. Can I get some help.
@TotallyUnreal9 жыл бұрын
Double bow By close enough is it touching you or within a radius of the player? When it hits a wall, does it not return to roaming around? Is the nav mesh built and covering the map properly? It's quite hard to help people fix these things through youtube comments as its not the same as debugging or working through a problem when its right infront of you but i will try my best to help you out. Let me know the answers to those first few questions and i'll try to recreate the issue my end and see where we can go from there :)
@alexw89039 жыл бұрын
Yes its touching me, It doesn't go near the walls but when i get it to follow me and lure it into a wall it will stop and not return to wandering, the same when it touches me, the most common example of this is when I lure it through a door it got set up, It will follow me but slightly touch the door with its mesh and suddenly stop moving. And thanks for trying to help me out with this, I am very new to game development and I am just trying to learn the ropes and some of your videos are very very helpful.
@TotallyUnreal9 жыл бұрын
Double bow Do you think you could make a quick video demonstrating what you mean as i am a little lost at the moment? I'm sorry you're having this issue btw.
@alexw89039 жыл бұрын
I will see what I can do, Once I get one I will post it on my KZbin and I will comment again on this section to let you know its up.
@alexw89039 жыл бұрын
Well I feel a bit stupid, as I was making the video I noticed that I didnt have the line's between AIMoveTo and SetInRange connected to the delay, the delay was just sitting in the middle :) Thanks for trying to help at least, also do you think it would be possible to show us how to make the AI do more advanced things, like open closed doors, attack etc as that would be really interesting to see and to work from.
@randomguy12008 жыл бұрын
Using 4.9 and self won't connect with pawn in Ai Move to
@kaerustation9 жыл бұрын
thanks!
@SuicidePlaysOnPC9 жыл бұрын
Hey bro!! AWESOME tutorial...could you make one about how to make this AI shooting from range like an enemy soldier, and maybe decrease the player HP as a variable ? plz awnser me, and ty for doing this, you help us a lot, well explained! :D
@TotallyUnreal9 жыл бұрын
Suicide Plays That should be possible although I do have real life commitments to attend too, i would like to make something like this. Thank you for your suggestion.
@SuicidePlaysOnPC9 жыл бұрын
Totally Unreal ty for the reply, and i understand that every video you do takes time and effort... just wanted to ask, and say thanks to you since i'm just a new sub...greedings!
@midgetkricket50969 жыл бұрын
ok I hope someone can tell me what I did wrong here but in the bp he set a for loop a branch and a target point then he connect the target point back to array element in the for each loop and I cannot seem to get mine to connectI am currently using UE4.9.2 I'm sure that has something to do with it but any advice would be nice
@sarvman8 жыл бұрын
well that was interesting. in 4.11.2 the whole thing gets twitchy. failed to work in the end. sad.
@lucasmarshallw.9438 жыл бұрын
Didn't work. The ForEachLoop couldn't connect to the Point1 or Point2 variables.
@SakoresDark9 жыл бұрын
Hey, giving us a much wanted sequel that's long overdue :) you're acting like a big name dev already~ Seriously though, this was very helpful, thanks a lot ^^
@vista7778 жыл бұрын
Great tutorials! A problem with your code though: adding a timed delay before setting in range to false MOSTLY fixes the problem, however if he detects you, loses you, and detects you again before the time runs out he will decide to ignore you and find a random point. I'm going to try to figure out a solution and comment on this post.
@kennethhenson95547 жыл бұрын
okay, I figured out the way to make the AI work smarter, in your delay 5 seconds, and before your delay add set in range to true, and loop success back to the original set in range to true.
@illpoet138 жыл бұрын
it actually makes me feel a ton better that ue4 is a jerk to everyone, not just me.
@yghtim9 жыл бұрын
For me they all just runs in to a corner on the map, even other AI's on Another nav mesh runs in to the end of their nav mesh because they want to get to that spot
@marekartist84418 жыл бұрын
You could use the Array Length instead of foreachloop :) Anyway, very good video, thanks :)