Multiple NPCs conversation imported from Twine

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
yeedesign
Posts: 2
Joined: Sun Nov 10, 2024 10:10 pm

Multiple NPCs conversation imported from Twine

Post by yeedesign »

Hello, this might be a very simple question but I'm very new to the dialogue system and am very confused about how I could import the conversation from Twine.

The Twine screenshot is a simple conversation I created for the player, A and B.
Image

I linked each node by using [[link]] formatting in Twine and thought that the content within the node itself would be the dialogue text in Unity. For example, in Entry 01, the player said 'Hello to you too!' and linked to Entry 02. However, what showed up in Unity was a node with both the title and dialogue text written as 'Entry 01' (can be seen in UnitySS01.png and UnitySS02.png below). The player's dialogue content was completely omitted. As for Entry 02, it should have been the title for A's speech, but it showed up as a similar node as Entry 01. In this case though, A's dialogue content showed up in the next node. The same thing happened with the dialogue node for B.

Image
Image

Did I miss something when writing conversation in Twine? For context, I was using Harlowe 3.3.8 format to write and Twine 0.0.1 format to export. I was also saving it as a txt file before changing the extension to .json as I'm using a Mac.
Attachments
UnitySS02.png
UnitySS02.png (312.04 KiB) Viewed 99 times
UnitySS01.png
UnitySS01.png (74.6 KiB) Viewed 99 times
TwineSS01.png
TwineSS01.png (383.04 KiB) Viewed 99 times
User avatar
Tony Li
Posts: 22106
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple NPCs conversation imported from Twine

Post by Tony Li »

Hi,

Use parentheses, such as: [[(Entry 01)]] instead of [[Entry 01]]. This will use the node's text instead of the link name.
yeedesign
Posts: 2
Joined: Sun Nov 10, 2024 10:10 pm

Re: Multiple NPCs conversation imported from Twine

Post by yeedesign »

Tony Li wrote: Mon Nov 11, 2024 10:11 am Hi,

Use parentheses, such as: [[(Entry 01)]] instead of [[Entry 01]]. This will use the node's text instead of the link name.
It works this time!!!

I think I tried the parentheses yesterday but it didn't work. Maybe I missed something when using it or I was trying multiple things at the same time yesterday. Good to know it works now!

Thanks!!!
User avatar
Tony Li
Posts: 22106
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple NPCs conversation imported from Twine

Post by Tony Li »

Glad to help!
Post Reply