Reimporting Yarn 2 files into dialogue system
Posted: Thu Aug 03, 2023 6:20 pm
I've been working on a narrative-driven Unity project for some time, and been using yarn 2 for writing dialogue. However, now, as we started to integrate dialogues with quest system, it became clear that re-importing yarn files into project resets changes made to the dialogues within the Dialogue System, in the Dialogue Editor nodes.
For me, as a writer, this is bad news. I'd love to continue writing in yarn files, so I'm trying to figure out if it's possible to re-import yarn files, mainly the dialogue strings from them, so that nodes in the Dialogue Editor don't get messed up.
So, the simplest thing: I change the order of characters, Actor and Conversant, in the Editor. If I reimport the dialogue from yarn, the order changes back to what it was by default. Is there a way to re-import dialogue texts without messing with character order?
There are other examples, like a node that activates a certain function etc.
For me, as a writer, this is bad news. I'd love to continue writing in yarn files, so I'm trying to figure out if it's possible to re-import yarn files, mainly the dialogue strings from them, so that nodes in the Dialogue Editor don't get messed up.
So, the simplest thing: I change the order of characters, Actor and Conversant, in the Editor. If I reimport the dialogue from yarn, the order changes back to what it was by default. Is there a way to re-import dialogue texts without messing with character order?
There are other examples, like a node that activates a certain function etc.