Hi Tony,
Using twine json to import dialogues in the database.
I haven't seen any documentation for [em#] tags (except for bold, italic, etc.)
Is there a way to add a color / [em#] to twine so it' imports automatically in the dialogue database?
Is it already plan in the future? If not, can you add it?
Thanks!
PS: Can you describe me a bit of the operation from the twine importer, so maybe I could add some macro to your script and send it to you for validation. If everything works your way, just add it to your plugin and i'm good with it
Not sure I can manage to make it work your way, but let see if at least it works on my side
Twine json Import and [em#] tags or color
Re: Twine json Import and [em#] tags or color
Hi,
You can set the emphasis settings ([em#]) in your dialogue database using the Dialogue Editor window. The Twine importer only imports conversations. You can set up the emphasis settings, actors, etc., in the Dialogue Editor and they won't be overwritten when you import.
You can set the emphasis settings ([em#]) in your dialogue database using the Dialogue Editor window. The Twine importer only imports conversations. You can set up the emphasis settings, actors, etc., in the Dialogue Editor and they won't be overwritten when you import.
-
- Posts: 18
- Joined: Fri Jan 01, 2021 2:59 pm
Re: Twine json Import and [em#] tags or color
Hi Tony,
Sorry, I think I was not clear in my question. I know I can set the color and create new emphasis (if needed).
The thing is that I need to add the [em#] tag in the conversation node (like another post was talking about -> setting storyline priorities with colors), right? But what if I want to have them in twine so I don't need to add them in the dialogue editor?
Sorry, I think I was not clear in my question. I know I can set the color and create new emphasis (if needed).
The thing is that I need to add the [em#] tag in the conversation node (like another post was talking about -> setting storyline priorities with colors), right? But what if I want to have them in twine so I don't need to add them in the dialogue editor?
Re: Twine json Import and [em#] tags or color
I don't think I follow.
Do you want to wrap some Twine text in [em#] tags? If so, can't you just include the [em#] tags in the Twine text?
Do you want to wrap some Twine text in [em#] tags? If so, can't you just include the [em#] tags in the Twine text?
-
- Posts: 18
- Joined: Fri Jan 01, 2021 2:59 pm
Re: Twine json Import and [em#] tags or color
I was trying different ways to add the tags but it was removed at the import.
But by placing the tag after Player:[em1] it works.
[[Player:[em1]I am. Where are you from?->X1]]
But by placing the tag after Player:[em1] it works.
[[Player:[em1]I am. Where are you from?->X1]]
Re: Twine json Import and [em#] tags or color
Ah, I hadn't considered that you were using it in the Twine hyperlink (the part inside [[square brackets]]). I'll update the Twine importer to handle that.