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?
@MathewWadsteinTutorials7 жыл бұрын
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
@MegaMitrandir7 жыл бұрын
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!
@hypersapien7 жыл бұрын
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?
@MathewWadsteinTutorials7 жыл бұрын
At this time you cannot do that without editing the source code to allow it. This is restricted to importing data in the editor.
@hypersapien7 жыл бұрын
Thanks for your response. I'm still excited to think of a use for these data tables...