How to Import a Text File as an Array | Tutorial - Unreal Engine GameDev

preview_player
Показать описание
Importing a Text File into an Array Format

In this tutorial of Unreal Engine 5, I explain my method for importing words and sentences from a text file into an array which can be manipulated for procedural generation. It has many steps and below is the summary.

First, set things up by saving your text file as an Excel CSV file and create a Struct in UE5. Next, drag the CSV file into UE5 so that it converts into a Data Table. The table is formatted by the struct we made earlier. Finally, access the table in a blueprint to extract the values as a string or text array. The text is now ready for deployment as this array can be utilized for all sorts of intents and purposes using the usual array methods!

My videos are inspired by Youtubers such as Dani, Make Games with Katie, Code Bullet, and Sebastian Lague. If you don't know who they are, I highly recommend checking them out!

UE4 TUTORIALS BY KATIE:
Рекомендации по теме
Комментарии
Автор

Thank you for this! I am currently working on trying to assemble a group of separate text render objects into a page-looking entity and this was helpful to start my thinking about that. Is there a chance for a longer video about the blueprints you showed at the end of the video?

mariaslobodina
Автор

How do you get the datatable in your widget ?

Gtgato-veilo
Автор

Is this able to be updated at runtime in a packaged project?

TheAxebeard
Автор

plss explain how u output the array as text

chengxuyuanderprogrammiere
Автор

you can send me this project please
i need it for my work please answer me

SallaheddineBoudjellal