Create An AI Bot in Blueprint

From Epic Wiki
Jump to: navigation, search

Intro

Hey Everyone Whats Up,

I'm Peter L. Newton and I will be your Blueprint Genie today!

In this new series on creating an AI Bot we utilize Unreal Engine 4's Blueprint Scripting.

We go over each step, creating the navmesh, bot, data-asset, waypoints, behavior tree task/service/decorators, attacking and checking of line of sight.

Setup

I will list the follow assets used in Tutorial.

  1. Pawn or Character Blueprint Class
  2. Attack Sequence for Character (Optional)

Series

Part 1

Youtube Link
<youtube> https://www.youtube.com/watch?v=VAAHKNoIg0w&index=2&list=PLV0qBSMhzPz4-x3bYt2q01c2PjXmUl1eX </youtube>
Description
In Part 1 of the series we create a NavMesh, setup functions within our AI Bot, touch on the direction of our AI, and create our first Behavior Tree Task.

Part 2

Youtube Link
<youtube> https://www.youtube.com/watch?v=UrSxEtOOHy8&list=PLV0qBSMhzPz4-x3bYt2q01c2PjXmUl1eX </youtube>
Description
In Part 2 of the series we dive further into Behavior Tree and create Task required to navigate the bot through the waypoints we created earlier.

Part 3

Youtube Link
<youtube> https://www.youtube.com/watch?v=_Oll-Cl_JQw&list=PLV0qBSMhzPz4-x3bYt2q01c2PjXmUl1eX </youtube>
Description
In Part 3 of the series we create the task that tells the Bot to attack the enemy Pawn.

Part 4

Youtube Link
<youtube> https://www.youtube.com/watch?v=1TWNMkj4FP0&list=PLV0qBSMhzPz4-x3bYt2q01c2PjXmUl1eX </youtube>
Description
In Part 4 of the series we create a Service Task which controls the state of the bot by Detecting for Nearby Enemies.

Part 5

Youtube Link
<youtube> https://www.youtube.com/watch?v=sr9-w5jiUow&list=PLV0qBSMhzPz4-x3bYt2q01c2PjXmUl1eX </youtube>
Description
In Part 5 of the series we go back over some modifications. Lastly, we talk further about how the system works.

Outro

This has been your Blueprint Genie Peter L. Newton! Now that you've finished your own AI Bot. Show me something EPIC!

Peace