XaiJu
CodeLikeMe
CodeLikeMe

patreon


Advanced Locomotion System #14 - AI Behavior Tree - Attack and Free-Roaming

In this episode of the unreal engine advanced locomotion series, I am going to continue with the AI system of the enemy NPC characters. Here, we will improve the AI behavior tree to enable the AI character to identify the player or any other opponent characters and start shooting at them. The shooting sequence will happen this way. Once the enemy sees the player, he will not start shooting right away. He will wait about a couple of seconds and then aim the gun towards the player. After waiting another couple of seconds only he will open fire. So that the player will have time to get away or take cover. If the player breaks the line of sight, the enemy will return to normal free-roaming behavior.

Advanced locomotion system: https://www.unrealengine.com/marketplace/en-US/product/advanced-locomotion-system-v1

CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4

.

project files

https://www.patreon.com/posts/63654325

Advanced Locomotion System #14 - AI Behavior Tree - Attack and Free-Roaming

More Creators