Book Image

Building an RPG with Unreal 4.x

By : Steve Santello
Book Image

Building an RPG with Unreal 4.x

By: Steve Santello

Overview of this book

Now that Unreal Engine 4 has become one of the most cutting edge game engines in the world, developers are looking for the best ways of creating games of any genre in the engine. This book will lay out the foundation of creating a turn-based RPG in Unreal Engine 4.12. The book starts by walking you through creating a turn-based battle system that can hold commands for party members and enemies. You’ll get your hands dirty by creating NPCs such as shop owners, and important mechanics, that make up every RPG such as a currency system, inventory, dialogue, and character statistics. Although this book specifically focuses on the creation of a turn-based RPG, there are a variety of topics that can be utilized when creating many other types of genres. By the end of the book, you will be able to build upon core RPG framework elements to create your own game experience.
Table of Contents (17 chapters)
Building an RPG with Unreal 4.x
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

The weapons Data Table


Now that we have a decent framework for item creation, it will be very easy to create equipment. Since the Items Data Table reads all of the stats of the party members so that the stats can be modified if an item is used, we can expect equipment to modify all of the same stats; therefore, we can use the same structure for the Equipment Data Table, as we did for the Items Data Table.

So, at this point, we will create a Data Table for weapons by clicking on Content Browser and navigating to +Add New | Miscellaneous | Data Table:

Next, we can pick the Items Data structure since we will be calling the same data in the Equipment Data Table as we did in Item Data Table:

Then, name the Data Table Weapons:

We will use this Weapons Data Table to populate every weapon that we plan to equip on a character in the game. For now, we will only make a Data Table for one character's weapons, but you can use all of the following steps to create more weapon Data Tables for additional characters...