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

Do we have any idea what about the 4.7 upgrade breaks ?

I suspected it was the “Condition Check” in BTD_UpdateRoute - so I enabled the ‘override’ function: PerformConditionCheck.

It seems like there needs to be additional functionality added between the “Perform Condition Check” node and the “ReturnNode”. - No idea what though.

Edit 1: I got it to work. For anyone else wondering how to get working for 4.7, it is because of the new condition check function. To incorporate the new “PerformConditionCheckAi” (and its “non-ai” counterpart) - I just set it up exactly like the old Event Graph for UpdateRoute and got rid of everything in the event graph. Just make sure to to check “Return Value” on the return node. Set it up like so:

Edit 2: Researching further, I discovered that it isn’t really necessary to move everything from the event graph to the “PerformConditionCheckAi” function. It works just fine if all functionality stays in the event graph (just make sure to delete the depreciated nodes). As long as you enable the “PerformConditionCheckAi” function and switch the “Return Value” to true within that function, no other nodes are needed. seemed to be the the more intuitive solution as it keeps the condition check separate from the ‘doing stuff’ portion of the blueprint.

Hope helps.

Thanks. Please it is very necessary.

Thanks, bot is moving now on targetpoint system.

Alternative: Download the newer version of General AI Project (4.7).

General AI Project (4.7): How can you change the player character? I tried changing the actor class in BTW_botDetectEnemy, but won’t work.

I cannot download the Ai template from mediafire. When ever I fill in the capcha and hit enter to download nothing happens other than some spam window. Am I supposed to have an account with them? could you host the file somewhere else?

Which file exactly? Link?

Thanks for the great gift…:slight_smile:
But the PDF Breakdown link on the first page >>> Server not found

I found it here

Thanks for your time :slight_smile:

I truly apperciate the support ZioYuri!


New update guys! is an example of using EQS & BT together to create super simple Enemy Wander & Chase setup. Last thing you need to do is make the enemy attack the actor when they chase them! Enjoy!

EQS & Behavior Tree Example:

http://.com/wp-content/uploads/2014/12/EQS_BT.gif

Firstly, your tutorials have been a life saver! Thanks!!!

I’m working on an assignment (first person shooter) and I am wondering how I can modify the Detect Enemy service so the bots attack the player character? The bots move between the waypoints without any issues but they ignore the player as the player character isn’t recognised as an enemy. I’m still pretty new to so any help would be really appreciated!

If you’re bot isn’t seeing the player, the first thing I would check is that it’s finding a player. You can do by opening the Detect Enemy service, and breaking on line traces. Follow them and see if anything is found.

update

Also try making your Line Trace Draw Debug type to For Duration, so you can see if the traces hit your hero character.

Help

Hello, can you help with installation your Attack/Search/Patrol TPP A.I. version 4.7.0. After migrate to my project he no work. Can you record video with instruction of installation to others project.

Hey Karpik,

The EQS & Behavior Tree example above is similar to my Attack/Search/Patrol. It’s also made in a later version of UE4!

the thread that was looking for.
Could have a section just for thread type in forum. For sharing AI models, tutorials, projects and ideas.

I have no idea if will help me. But if it does u are highly thxed :3

:PUSH:

I totally agree! Its such a huge topic.

Let me know if you need any specific help!

Hey! Loving your car AI project but I have one question, is it possible to make it so that the car doesn’t slowdown when it gets near a waypoint and continue speeding while turning to the next waypoint? Like the when the car gets closer to the waypoint it slows down then it turns to the next point, I want it to turn without having to slowdown. Thanks ^^

Wow, very impressive blueprintwork.
I try to understand/learn blueprinting but its hard stuff.