[UPDATED 5/16] A.I. Templates - Bot, Car, & +Flying AI

I updated the project to 4.9.1. I plan to make a course on creating some interesting driving AI.

https://goo.gl/L55E03

Have fun with for now!

Yeah all I had to do was override one function cause one was depreciated in the decorater. Will take a look at your setup. Thanks!

That would be awesome !! Reaaally looking forward to it.

I built/copied the AI blueprints into my own project but the AI just doesn’t move. It seems it’s not getting anything from the blackboard. The BT is firing and I’ve got no errors, only 1 warning for the Cast To CarWaypoint in the CarWaypoint BP, which doesn’t appear in your project for some reason even though it’s the same construction.

Any ideas of what could I have missed?

:smiley: One thing I worked on was Car AI that would follow spline and race against each other. They would have unique personality which translated to how they performed on the track. Another component of the Car AI allow them avoid each other, staying relatively grouped to create more activity while they raced. The resulted in over 8 cars being able to race against each other, take lead, cause wipe outs, and finish multiple laps with exciting racing opponent behavior. I plan to re-approach the project, but I’m liking going to start over and learn from previous project.

I would be very interested to talk about it, but I’m focusing on another project at time. Soon!

We are talking about the Car AI? – Did you just download the latest version of the project?

Wow , i´m already drooling in anticipation :stuck_out_tongue: I´ve managed spline based and AI driven vehicles in UDK, and can get away with murder pretty much. In Blueprints, however, I´ve got no idea as to how to approach stuff like, stoping a car for a given amount of time (say on a red light), give way etc… I´ve yet to pick up the language for AI Vehicles, that´s why your tutorials are invaluable!! Thanks again for sharing your knowledge. :slight_smile:

Sorry forget which project, yeah it’s the latest one. Your Car AI project was works fine :slight_smile: but when I try to implement it in mine it doesn’t seem to work. Even if I change the default state to Moving it still doesn’t move. Can’t figure out where I’ve gone wrong.

EDIT: Seems I missed out the level bp edit. Added the details and it works. What a muppet I am. Thanks again for these projects though, really bloody helpful :smiley:

thread has a list of learning resource projects which includes an incomplete traffic system with lights. You might find something of use in it: https://forums.unrealengine.com/showthread.php?82723-FREE-Learning-Resources-by-

Hey StevenK, so many thanks for the link! :smiley: thanks indeed. I´d already come across ´s traffic system in the forum, but at the time he hadn´t made it available for download, so I thought it was a pitty he´d given up on the WIP and thefore I never kept track of it.

Wow THREAD is insane! I’m purchasing your MARKETPLACE CONTENT as we speak!

I really can’t think of a use for it at the moment, other than to support you and all awesome giving your providing, I’m also subscribed to your YouTube.

Are you gonna update the AI with UE4.9.2 or is that something that following the tutorials will allow me to do. It’s often not that difficult to figure out the changes from the updates anyway.

I’m looking forward to having allot of progress weekend!

I’ve been following up on the car AI template since 4.6, got it to work on 4.8, and now 4.9! But one thing I should mention is that I still see the same requiring me to override the function in the decorator even with the 4.9.1 version…and yeah as tafkatfos mentioned above the compiler error in the waypoint BP which doesn’t appear in your template but it still works nicely in the end. I really hope to see more updates in the future and hopefully someday a complete AI system will be built directly into UE. Great great great work here !

Hope someone can help me out but after my 23rd waypoint, my AI vehicle won’t go further. It just circles around the 23rd. I tried reducing it down to 6, and it only circles at the 4th waypoint then so I think it must have bugged out or something. Anything I should know about? Like the path between waypoints shouldn’t cross, or something like that? I did it in my own project not in the template by the way.

Quickly tested in my project, didn’t run into it. Have you tried deleting them all and redoing it?

Also for vehicle avoidance, like overtaking, I saw short clip which is done in blueprints, so is possible with the PerceptionAI or is another way better? Any tips or pointers are welcome. Thanks.

is something that should sell very well on marketspace =)
Hope you are still planning to do .

I just hope Lord doesn´t loose enthusiasm and forgets about us, less fortunate ones on Car AI dealings :slight_smile:

I hope also that. I am making now first person shooter game, but next target is minicar game and i hope that lord get some ai packet to unreal marketplace

I Hope that Newton or some other guy get good Car AI to Unreal marketplace next year. I have get my first person minishooter game almost ready so early 2016 publishing and then i have some 2d project and after that maybe car project

I´d like to take the time to whish * Jedi* L Newton and who has contributed to Thread + all others that have taken an interest in thread, a merry/happy xmas along with a great new year full of positive energy which includes both personal and professional success!! :cool:

I am allready making tracks and it is very “difficult”, but I have time. I also tried to learn Car AI basics

Thanks for the support guys! It really means a lot, so much that I have started working on something.