Hi there!
I'm currently in the process of deprecating some 3rd party plugins from my game so i can move over to the new C3 runtime. One of which is rex's CSV addon, which served me greatly in the past to call DialogueLines for Cutscenes in my game.
Why not just use an array?
Now, people often suggest i should just use an array and the array editor but here's the problem:
I tried that but i can only call upon data based on an Index value whereas with the CSV Addon i can call upon date based on their column- and row-names. So let's say i have Dialogue_Line_1 through 8. I just call upon a variable that determines the dialogue name and add a "_1" to it. So it always starts the right one. Each dialogue line then calls a function when the user presses space. That can either be advancing to the next line or ending the dialogue or whatever function you might want (i.e. the character moving around the screen after a dialogue has ended etc.).
Now let's assume i've written 300 lines of dialogue (which is what i about have by now) and want to add a line to the Dialogue_1 row. I just insert a row, renumber the cells in the csv and everything still works, because it calls upon the Cell Name and not an index. If i would do this in an array, it would obviously screw up the index numbers of all following lines of dialogues and i would have to go through the entire game and renumber the index which is being called upon. This, of course, is very unfeasable. So CSV worked really great for me thus far.
Now to the actual Question:
I've seen some CSV to JSON converters online. Is there a way, with which i could use the new JSON addon to call upon individual "cells" of the csv (now in JSON) form? In that case, i wouldn't need the CSV addon anymore. Unfortunately, i have zero experience with any JSON addon from Construct and the documentation for it doesn't seem to be available by now.
Hope this makes sense and i'd be glad to elaborate if something's unclear. Kind of a difficult problem to explain but maybe someone can just give me a crash rundown on how to use the JSON addon (calling upon data (i think i would need the Get Path or something?)etc.) and i might be able to figure it out myself :)
Thank you in advance!