Using Data Tables to import spreadsheet data
In Unreal, Data Tables are a method of importing and using custom game data exported from a spreadsheet application. To do this, you first ensure that your spreadsheet follows some guidelines for format; additionally, you write a C++ struct that contains the data for one row of the spreadsheet. Then, you export a CSV file and select your C++ struct as the data type for that file.
The spreadsheet format
Your spreadsheet must follow some simple rules in order to correctly export to Unreal.
The very first cell must remain blank. After this, the first row will contain the names of the fields. These will be the same as the variable names in your C++ struct later, so do not use spaces or other special characters. ...
Get Building an RPG with Unreal 4.x now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.