Multiple Conversations get mixed

Announcements, support questions, and discussion for the Dialogue System.
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Multiple Conversations get mixed

Post by Yubaba »

Hi Tony,
I'm trying to have conversations that can run in the background uninterrupted and separate to actual dialogue (it's a TV, usually)
The yellow is background, the white is conversation.
The yellow is background, the white is conversation.
2xSubs.jpg (63.38 KiB) Viewed 881 times
There are several unexpected behaviours atm, sometimes as soon as a second one begins, they'll both stop after their current line. If it continues, one will often end up taking over both (usually the one in the yellow - the Override UI) will be on both (with alternating lines?).
Janet and Beryl are meant to be in yellow
Janet and Beryl are meant to be in yellow
2xSubsError.jpeg (44.6 KiB) Viewed 877 times
I downloaded Simultaneous WRPG Example to check it out, and the settings don't seem any different, I don't have any "exclusive" or "replace"s set. I'm not using the Player character, could that be a problem? It's just four characters talking (2x on tv, 2x in person).

It has me wondering if it'd be easier to have a separate Dialogue Manager for those background voices, especially as there's no interaction between the two different types. Would that be possible?


Pete.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple Conversations get mixed

Post by Tony Li »

Hi,

There can only be one Dialogue Manager.

However, each simultaneous conversation should have its own dialogue UI. Are you using separate dialogue UIs for each one?
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Re: Multiple Conversations get mixed

Post by Yubaba »

I am, yes. The yellow one is being spawned on demand by the Override UI component.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple Conversations get mixed

Post by Tony Li »

Hi,

Here's a simpler example:

DS_SimultaneousConversationExample_2024-07-15.unitypackage

Ann and Bob play a conversation using the Dialogue Manager's default dialogue UI.

Maria and Juan play a conversation (in a small black box in the middle) using a different dialogue UI.

For simplicity, both dialogue UIs are based on the Basic Standard Dialogue UI. The default one is just the plain Basic Standard Dialogue UI. The one for Maria and Juan is a copy that I just put in a smaller box and changed the subtitle text color.
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Re: Multiple Conversations get mixed

Post by Yubaba »

Hi Tony,
The example you included worked perfectly.
But then when I added the Ink Integration to your manager and used Ink Triggers with my conversations once again one conversation will take over both Dialogue UIs (alternating lines).
Individually they work on their respective UIs. When I delay the second one starting the first will never show a line again and the second one will take over both.
Here's a screenshot - A should be a monologue of Janet, B should be Jam and Andrew. Instead, both are Jam.



Pete.
Attachments
Please enjoy this incredibly dry investment dialogue.
Please enjoy this incredibly dry investment dialogue.
Screenshot 2024-08-19 at 7.47.31 AM Large.jpeg (91.89 KiB) Viewed 656 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple Conversations get mixed

Post by Tony Li »

Hi,

Use separate actors for each conversation. The same actor shouldn't be in two conversations at the same time.
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Re: Multiple Conversations get mixed

Post by Yubaba »

Hi Tony,
Janet is one conversation, and Jam and Andrew are in the other. There is no overlap of actors.

Pete.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple Conversations get mixed

Post by Tony Li »

Hi Pete,

I'm not sure how to reproduce that. Here's an example scene that can play two conversations simultaneously. If you click the top button, it starts an Ink conversation in the top dialogue UI. If you click the bottom button, it starts a non-Ink conversation in the bottom dialogue UI.

DS_TestInkAndOther_2024-08-18.unitypackage

Also, feel free to send a reproduction project to tony (at) pixelcrushers.com
Yubaba
Posts: 38
Joined: Thu Oct 08, 2020 9:37 pm

Re: Multiple Conversations get mixed

Post by Yubaba »

Hi Tony!
Thanks for that. Looks like the Ink assets didn't come through, but the fact that you had two types of database (ink and DS) made me try it myself.
It's not ideal, but I found that if I have one type of conversation in DS's built-in database, and the other type in Ink they do now stay in their own Dialogue UIs.
So it must be something about two simultaneous Ink convos.

Pete.
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple Conversations get mixed

Post by Tony Li »

Hi Pete,

Yes, that's probably it. The Ink integration is written to play one conversation at a time. Since Ink works so differently from the Dialogue System, the integration lets Ink run the back-end part of the conversation, and then it filters the Ink input and output through a single fake Dialogue System conversation to handle the UI. The issue here is that the integration uses that single Dialogue System conversation for all communication with Ink. I can look into changing the integration so it can support multiple simultaneous Ink stories, but this won't make it into the upcoming v2.2.48 update.
Post Reply