- Unreal Engine 4 AI Programming Essentials
- Peter L. Newton Jie Feng
- 344字
- 2021-07-16 12:48:39
Setting up the project
Let's open up Unreal Engine 4! We will begin with the first process of creating a new project.
Note
We will use Unreal Engine 4.6.0 throughout this book. The instructions may vary per version. We will present the idea behind our actions as we demonstrate them using Unreal Engine 4; so, hopefully, you will be able to translate the instructions as you see fit.
Here, we will use the Third Person Shooter template, which allows us to easily observe how the character moves in the environment. Perform the following steps:
- Go to the New Project window if you aren't there already:
- Select the Third Person blueprint project:
- Name your project as you see fit; I've named mine
ImprovedAI
. Then, hit Create Project in the lower-right corner of the window.
Environment
Even though we are using the Third Person blueprint template, these techniques can be used on other templates as well. You must adapt what you learn here. That being said, what you start to understand is that these techniques are tools. Understanding how to create a state, sensory component, navigation component, and so on is generally perceived to be the same thing, but what is used, and how it is used, is dictated by the AI environment.
Prerequisites
Note that my windows and function names are different. I will run you through my settings so that you can have the same setup as I do. Here are the steps to perform:
- Let's go to General | Appearance within Editor Preferences and under User Interface, select the User Small Tool Bar Icons option and unselect the Show Friendly Variable Names option. Your settings should look like the following screenshot:
- Navigate to the Blueprints folder within the project:
- Now we will possess our pawn. Right-click and hit the Blueprint option to create a blueprint:
- Next, we will create our AIController class. Go to Custom Classes and type
AIController
. Select it and then click on Select, as shown in the following screenshot:
This will create the blueprint, and I named it MyController
here.
- 顯卡維修知識(shí)精解
- 硬件產(chǎn)品經(jīng)理成長(zhǎng)手記(全彩)
- 平衡掌控者:游戲數(shù)值經(jīng)濟(jì)設(shè)計(jì)
- AMD FPGA設(shè)計(jì)優(yōu)化寶典:面向Vivado/SystemVerilog
- Artificial Intelligence Business:How you can profit from AI
- Hands-On Artificial Intelligence for Banking
- 深入理解序列化與反序列化
- Istio服務(wù)網(wǎng)格技術(shù)解析與實(shí)踐
- Building Machine Learning Systems with Python
- 現(xiàn)代多媒體技術(shù)及應(yīng)用
- 快·易·通:2天學(xué)會(huì)電腦組裝·系統(tǒng)安裝·日常維護(hù)與故障排除
- 計(jì)算機(jī)組裝與維護(hù)立體化教程(微課版)
- Exceptional C++:47個(gè)C++工程難題、編程問(wèn)題和解決方案(中文版)
- 3D打印:Geomagic Design X5.1 逆向建模設(shè)計(jì)實(shí)用教程
- Applied Deep Learning with Keras