CODEX

Let’s talk about datatables in videogames

Creating a simple quest system using data assets in Unreal Engine 4 (C++ and Blueprints)

BlueBubbleBee
CodeX
Published in
10 min readMar 22, 2021

--

Unreal Engine 4 gives you various options to work with data when you want to include in your game things like dialogue or quests.

The 2 types I like to use are Data Tables or Data Assets:

Data Tables: Like spreadsheets, they hold rows of data, and they are perfect for only text data, for example, dialogue. They can contain other types, and you can export the file to CSV and import it to google docs for example.

Data Assets: Are an extension of DataTables, but they allow you to have references to assets, such as textures, static meshes, blueprints… I prefer this second type when I know I will have different types of objects in each row.

You can follow along with the video tutorial:
https://youtu.be/UbiIE8Nescs

You can find the project files here:
https://drive.google.com/file/d/1V2NSk1jAOfIcKCuSM0Tugl27d4-49-ll/view?usp=sharing

--

--

BlueBubbleBee
CodeX
Writer for

I am Bee, an indie developer making Kitori Academy a cosy life sim where you take the role of a wizard apprentice and have a cat as a companion!