Twine import message delay query - Textline
-
- Posts: 24
- Joined: Tue Jul 28, 2020 1:33 pm
Twine import message delay query - Textline
I have created a test import of a twine JSON file which has successfully imported into my textline project.
The only issue is that line breaks are not being pulled through has separate nodes, nor can I differentiate the waiting time between messages.
I know if yarn it might look like this:
Hello
<< wait (5)>>
This message comes through later
<<wait (2)>>
This one comes in quicker
Can you tell me how I can format this in twine/ the JSON so I do not have to create individual child nodes within the dialogue system after the JSON has been imported?
The only issue is that line breaks are not being pulled through has separate nodes, nor can I differentiate the waiting time between messages.
I know if yarn it might look like this:
Hello
<< wait (5)>>
This message comes through later
<<wait (2)>>
This one comes in quicker
Can you tell me how I can format this in twine/ the JSON so I do not have to create individual child nodes within the dialogue system after the JSON has been imported?
Re: Twine import message delay query - Textline
Hi,
For the most part, the Dialogue System's Twine importer does a one-to-one translation of Twine nodes (passages) into dialogue entry nodes, adding extra connecting nodes for links.
This patch contains an advance copy of a feature coming in version 2.2.9 where you'll be able to split a single passage into multiple dialogue entry nodes using the '|' (pipe) character:
DS_TwinePatch_2020-07-29.unitypackage
It's turned on by default. To turn it off for a specific Twine JSON file, untick the Pipes checkbox next to the file in the Twine import window.
For the most part, the Dialogue System's Twine importer does a one-to-one translation of Twine nodes (passages) into dialogue entry nodes, adding extra connecting nodes for links.
This patch contains an advance copy of a feature coming in version 2.2.9 where you'll be able to split a single passage into multiple dialogue entry nodes using the '|' (pipe) character:
DS_TwinePatch_2020-07-29.unitypackage
It's turned on by default. To turn it off for a specific Twine JSON file, untick the Pipes checkbox next to the file in the Twine import window.
-
- Posts: 24
- Joined: Tue Jul 28, 2020 1:33 pm
Re: Twine import message delay query - Textline
Thank you Tony, is there any way to customise the time between messages being sent? Rather than one consistent timing for all?
Re: Twine import message delay query - Textline
Hi,
Tick the "Based On Text Length" checkboxes on the Textline Dialogue UI component.
Tick the "Based On Text Length" checkboxes on the Textline Dialogue UI component.
-
- Posts: 24
- Joined: Tue Jul 28, 2020 1:33 pm
Re: Twine import message delay query - Textline
Fab thank you.
I have downloaded the patch and reimported with the '|' break between passages however feel I am missing something.
Should I be importing the relevant C# file into a specific section of the dialogue manager?
I have downloaded the patch and reimported with the '|' break between passages however feel I am missing something.
Should I be importing the relevant C# file into a specific section of the dialogue manager?
Re: Twine import message delay query - Textline
After importing the package, does the Twine import window have a new checkbox for each file? If so, tick the checkbox and import.
-
- Posts: 24
- Joined: Tue Jul 28, 2020 1:33 pm
Re: Twine import message delay query - Textline
Sadly no checkbox apart from the debug one that was there before.
Tried to shut it down and try again but doesn't seem to have done it.
Tried to shut it down and try again but doesn't seem to have done it.
Re: Twine import message delay query - Textline
Hi,
Make sure you've downloaded and imported DS_TwinePatch_2020-07-29.unitypackage (linked above) and that there are no compiler errors in your project.
Without the patch, the import window will look like this:
After importing the patch, the import window will look like this:
Make sure you've downloaded and imported DS_TwinePatch_2020-07-29.unitypackage (linked above) and that there are no compiler errors in your project.
Without the patch, the import window will look like this:
After importing the patch, the import window will look like this:
-
- Posts: 24
- Joined: Tue Jul 28, 2020 1:33 pm
Re: Twine import message delay query - Textline
Hi Tony,
Thanks for the quick response.
Not seeing it still unfortunately. I'm importing it as a custom package and not getting any errors in doing so.
Is the importing process correct?
Thanks for the quick response.
Not seeing it still unfortunately. I'm importing it as a custom package and not getting any errors in doing so.
Is the importing process correct?
Re: Twine import message delay query - Textline
Does the window still look like the first image then? Are you sure you're importing the right package? No errors are being hidden by the Console window filters?