HTF do I? Import a CSV File into a Data Table ( UE4 )

  Рет қаралды 40,159

Mathew Wadstein Tutorials

Mathew Wadstein Tutorials

Күн бұрын

Пікірлер: 6
@MegaMitrandir
@MegaMitrandir 7 жыл бұрын
Thank you, very useful tutorial, and right in time ( for me :) ) . Can you tell me please, If i need to import coordinates of a staticMeshs ( like several stones in the scene) how can i set up csv for this? I've made structure - there i have ID ( int), mesh_name ( string), Location ( array of transform type). So the question is - htf can i correctly describe array of transform type in my csv?
@MathewWadsteinTutorials
@MathewWadsteinTutorials 7 жыл бұрын
Actually you can and it's not that hard but it can look a little weird for arrays of structs like a Location. I actually have a video planned for this on Tuesday that will cover Exporting out and arrays as they go hand in hand. An easy way to do this and to figure out how it works is to take your existing data table and choose to export it out with some test data in it. You can right click the data table and choose export to CSV. open up this file in your spreadsheet program and look at how it handles arrays. Basically arrays are surrounded by a pair of () with the data in between seperated by a , For example an array of integers would be (1,2,3) for 3 integer values in an array. An array of strings would be ("String1","String2"). An array of locations, which is already an array of sorts (struct), would be the same but with more info in it such as ((Rotation=(X=-0.017143,Y=-0.017752,Z=0.017143,W=0.999548),Translation=(X=1.000000,Y=1.000000,Z=1.000000),Scale3D=(X=3.000000,Y=3.000000,Z=3.000000))) See the picture to see if it helps. Also one thing to note is what you see in the Data Table at the top is pretty much what it would look like in the spreadsheet for that array i.imgur.com/uODnyHI.png
@MegaMitrandir
@MegaMitrandir 7 жыл бұрын
wow! great! i'll be looking forward to see it. Your channel is one of the best, very useful content and very good explanation. I was lucky to find you, you are the best man!
@hypersapien
@hypersapien 7 жыл бұрын
Is it possible to edit/modify your csv data and have the game re-import it after you have published your game? Or is this strictly restricted to working in the editor?
@MathewWadsteinTutorials
@MathewWadsteinTutorials 7 жыл бұрын
At this time you cannot do that without editing the source code to allow it. This is restricted to importing data in the editor.
@hypersapien
@hypersapien 7 жыл бұрын
Thanks for your response. I'm still excited to think of a use for these data tables...
HTF do I? Export from a Data Table to Json/CSV ( UE4 )
6:47
Mathew Wadstein Tutorials
Рет қаралды 17 М.
UE4 / Unreal Engine 4 / Data Tables (CSV & JSON)
14:27
Dev Enabled
Рет қаралды 46 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
UE4 / Unreal Engine 4 / Saving to Text File (CSV) C++
16:40
Dev Enabled
Рет қаралды 25 М.
Unreal Engine 5 Tutorial - Data Assets
11:13
Ryan Laley
Рет қаралды 60 М.
Изучаем Unreal Engine с нуля - Урок 21. Таблица данных (Data Table)
15:35
MakeYourGame! — Уроки Unreal Engine
Рет қаралды 5 М.
How to Import CSV Files into Data Tables in Unreal Engine (BEYOND THE BASICS)
5:39
Fortuna Interactive Studios
Рет қаралды 6 М.
Unreal Data Tables EXPLAINED
8:12
The Game Dev Cave
Рет қаралды 9 М.
Basic GET tutorial for VaREST plugin and Unreal Engine 4
7:28
BoB LeSuer
Рет қаралды 25 М.
Intro to the CsvHelper Library for C#
27:12
IAmTimCorey
Рет қаралды 29 М.
HTF do I? Data Table Importing of Arrays and Structs ( UE4 )
11:31
Mathew Wadstein Tutorials
Рет қаралды 27 М.