Book Image

Unreal Engine 4 Game Development Quick Start Guide

By : Rachel Cordone
Book Image

Unreal Engine 4 Game Development Quick Start Guide

By: Rachel Cordone

Overview of this book

Unreal Engine is a popular game engine used by developers for building high-end 2D and 3D games. This book is a practical guide designed to help you get started with Unreal Engine 4 and confidently develop interactive games. You’ll begin with a quick introduction to the Unreal Engine 4 (UE4) ecosystem. Next, you’ll learn how to create Blueprints and C++ code to define your game's functionality. As you progress, you’ll cover the core systems of UE4 such as Unreal Motion Graphics (UMG), Animation Blueprints, and behaviour trees to further build on your game development knowledge. The concluding chapters will then help you learn how to use replication to create multiplayer games. By the end of this book, you will be well-versed with UE4 and have developed the skills you need to use the framework for developing and deploying robust and intuitive games.
Table of Contents (10 chapters)

Creating the attachment

Before we start creating the weapon Blueprint, we'll need a suitable mesh for it. By default, the Third Person template does not include one, but, if you'll remember from Chapter 1, Introduction to Unreal Engine 4, we can import assets from other templates if we find that we need them. In this case we do, so let's grab what we need:

  1. In the Content Browser, click the Add New button and select Add Feature or Content Pack at the top
  2. In the menu that comes up, we should already be in the Blueprint Feature tab, so select First Person and then click the green Add to Project button at the bottom-right

Once that's done, we'll have what we need. If we go into the Content Browser and head into the FirstPerson\FPWeapon\Mesh folder, we'll see an asset called SK_FPGun, which is the Skeletal Mesh we will use to create our weapon: