Now that I can edit Data Table contents directly within UE4, I can use Array types for certain cells and manually fill them out. My specific case involves a large data table which specifies all of the various parameters associated with player attacks; I have converted my “Damage” column from a single float to a float array, which lets me specify multiple damage values for each attack, which I can then pull with a “Get” node at the appropriate instance (for example, I can specify 5 values for a chargeable attack with 5 charge “tiers”, and use a get node to pull the appropriate one, rather than making a special set of BP logic specifically for that attack).
The problem is, even though this works behind-the-scenes of the engine, it isn’t very user-friendly. When viewing the data table, my “Damage” column is blank, and I can only see the appropriate values by clicking on that specific row. And, of course, I have to manually manage the data table myself, since importing it no longer works as expected and causes the engine to freak out at me.
So, my suggestions:
(1) Add a (hacky) way to specify multiple values in a CSV which are “in the same cell”, which will cause them to be interpreted as an array. By way of example, suppose that you use a “” or “~” or some other character which flags the distinctions. So if the engine is looking for an array of floats, and it reaches the comma which designates that column, and it sees “1\15\25”, it knows to interpret that as three array entries. Failing that,
(1b) At least make the CSV, on import, identify the value in the column in question as a single-item array. So for a cell which wants an array of names, interpret a value of “HammerArm” as a one-entry array with the single entry (at Index 0) being the value “HammerArm”. At least this way you can get CSVs working in a rudimentary way with arrays, even if it means that after-the-fact the user must go and change certain values to expand the “default” specified in the CSV.
(2) PLEASE display the values from arrays in the column when viewing the Data Table asset in UE4. As I said, I have an array of floats, and it looks like this:
It would be an absolute delight to see the values in that column, either (preferably) as comma or slash-separated values (i.e. Damage: 24, 48, 57), or at least just displaying the first entry of the array.
Thanks for your consideration!