Handling large amounts of text in Unity (for dialogues and story)

Hi, I’m making a shooter game for which we’re creating 4 characters. Since we’re not using voice acting, a chunk of the story is told through text and dialogues. I believe that the best way to make this is to have a file that contains all of the text where I can pull specific lines to display them in the character´s windows (think Star Fox). Of course I’d also like to avoid having a plain text file so that players won’t access the dialogues beforehand. What’s the best way to do this? Thanks in advance!

This is a simple question that requires a number of complex discussions to answer correctly.

Let’s try this one step at a time.

What would you like to start with first? How to store the data?

If you want to use a different storage method, you can try other ways of serializing and saving data.

One suggestion, if the data doesn’t change at runtime, is storing all of the dialogue data in a scriptable object. (See the live training archive for an introduction to these…)

If you simply want to move forward with the project, rather than have a desire to do the coding, there are several dialogue frameworks available on the assetstore.

Thanks! I looked into it and seems a bit too much firepower for what I need, but then again, I got no other option so, scriptable object it is!
Cheers!