So I'm kind of stumped to what might be the best approach here. I'm working on a dialog system a like to Alpha Protocol. Essentially multiple choices with varying effects. For simplicity's sake let's say the actual dialog is hidden until the player makes a choice based on a single word in the dialog box representing the tone of the response.
Now, since the game is going to include a lot of dialog I wan't to avoid making the 20+ actions for each dialog prompt required and I rather just use a cookie cutter system.
The cleanest method would be to use .txt file and simply parse out the dialog and various variables for each option. Unfortunately as far as I can Construct doesn't have that function and I doubt I'd be able to programmer a parser as I know next to nothing about them (I'm probably even using the the wrong term.)
Looking at some of the plugins I came across the associative list plugin, while it's certainly better then the first option that's still up to 6 keys/values per dialog option and once again very messy.
Right now the best looking approach to me is to store all the data in a 2D array. This would however concern me with loading times, since as far as I can tell there is no way change the "defualt" values of an array in Scirra outside runtime, and loading several thousand lines values at once could make for some mean loading times especially in a browser. The other option would be to make a separate array for each instance of player dialog and simply store the responses and their associated variables in those. While slightly more difficult to edit then the previous option, this would yield better loading times and make easier to access the actual data.
Anything I overlooked or suggestions for a better implementation? I'd like some feedback before I start cracking out a system that turns out to be bust and ineffective.