Unreal Concepts - Updating Data From a Text File at Runtime ( UE4 )

preview_player
Показать описание
A concept of reading a text file at runtime and updating values inside of the engine. Due to the engine not supporting file operations of reading and writing using just Blueprints we will expose the built in File Helper function for Reading a text file to string from C++ to Blueprints.
Рекомендации по теме
Комментарии
Автор

Thank you for the clear explanation Mathew. For those who are on UE version 4.27.2, the function on line 10 in the .cpp file called "FPaths::GameContentDir()" is deprecated and replaced with

mFurb
Автор

If you use this method (or the 3rd party plugins) you can write strings to an HTML file, and if you follow correct formatting, or append to the file correctly, it will dynamically build a web page from your data in Unreal. (Used in conjuction with the Unreal Web server, it makes a neat, handy little interface that you can control Unreal from your smart phone or anything that can access a web page)

Thanks for this Mat, sure a lot of people will find this handy!

blakemccorkle
Автор

Liking the UE Concepts you're doing, and welcome back!

GoatOfTheWoods
Автор

Man, you have such great videos! Explaining very important things, thank you so much for all your hard work.

getrekt
Автор

Thank you for sharing, your stuff is the truly the best...

migzleon
Автор

Thank you for your wonderful and easy to follow tutorials!

michaelvollrath
Автор

thank you so much your tutorials are awesome

TheoPernel
Автор

Quite a usefull thing to know! And at the apropiate time too o.o I am right now freelancing a visual novel kinda thing, so probably I can make use of this in a proper way. Thankyou very much!

frankybleep
Автор

Amazing !Thank you for your sharing Mathew! But is there any possibility that I could use C++ to syncronize the data between an Excel table and Unreal Engine in real time? (Both input and output data from UE to Excel table)

theoshen
Автор

And how we can apply the FFileHelper::SaveArrayToFile in C++? To write and load binary files on disk direct from Blueprint?

RodrigoEstape
Автор

Been over two decades since I last had to code anything so please forgive me if this seems a redundant question. Could this be adapted to allow a BP to get just about any type of file from a specific folder? I'm thinking along the lines of being able to have a dedicated folder for different objects/items etc that can be dynamically added without needing to specifically add each one sort of thing.

MarkOfArgyll
Автор

Is there an equivalent image import function, for, say, profile images, decals/paint sprays?

osoiman
Автор

This is great, thanks. Is there a way to execute the packaged game with CMD with a parameter to specify the data.txt file?

emin
Автор

hi bro i already started unreal 2month ago i watched alot of tutorial building game but i'am missing base of concepts and i have found alots of useful playlist within your channel which playlist should i start?

Motionz.g
Автор

Great tutorial, as always! Is there is a way to make this work for a UE4.23 project that has been packaged for HTML5? I could not find a place to put the text file where the packaged project could read it. Perhaps the data have to be in an HTML file instead of a text file, in which case this is the same question as the one asked by George Roboz Recursive Digital.

richardkirkden
Автор

So this keeps re-reading the file to detect changes? No way to make it event driven?

johnk
Автор

Hello, where could i suggest a topic for a video? I would like some videos on the Blend nodes from Material editor (Blend_ColorBurn, Blend_Darken, Blend_Screen, etc)

angrybonobro
Автор

Do you recommend this method for a simple database handled by server in a multiplayer online game?

burrito
Автор

Hello, I'm a student from taiwan. I have a question about how to update the cloudpoint data in UE4 at run time. There's a Lidar in my lab, and I'll import the cloud point stored as .txt file with the xyz data into my project in UE. Because when I import the txt file into UE, it will be tranfered to uasset file, If i want to update the cloud point when the txt was updated, I have to right click and reimport the uasset file., I hope the cloudpoint in UE can update with the change of the .txt automatically when I start Lidar rescan the enviorment and change the data in the txt file. thank you for your helping.

EricYi-kmdh
Автор

Hi! i'm having some troubles with the code, it does not recognises my class as valid.

I have the exact same code, only changing the name "UBPFL_FileIo" to "ReadromText"

Anyone know why this may be happening?

CultivationPath