Page 1 of 1

3-person talk balloon conversation

Posted: Sat May 18, 2019 6:33 am
by minomod
1. Check attached image
2. One to three (or more) NPCs
3. Can I print out the speech bubble conversation?

Screen example)
After NPC # 1 outputs speech bubble 1
After NPC 2 outputs speech bubble 2
After NPC 3 outputs speech ball 3
After NPC 1 outputs speech bubble 4

This is how we talk about the speech.

Re: 3-person talk balloon conversation

Posted: Sat May 18, 2019 8:08 am
by Tony Li
Hello,

If I understand correctly, do this:

1. Add a Dialogue Actor component to each NPC.

2. Inspect the Dialogue Actor component.
  • Select the correct actor from the dropdown.
  • Set Dialogue UI Settings > Subtitle Panel Number to Custom.
  • Assign this prefab to the Custom Subtitle Panel field: Plugins / Pixel Crushers / Dialogue System / Prefabs / Standard UI Prefabs / Bubble / Bubble Template Standard UI Subtitle Panel.
If you want to adjust the position or appearance of the bubble, add an instance of Bubble Template Standard UI Subtitle Panel as a child of the NPC and customize it. (For example, to change its height, adjust the Main Panel's Pos Y.) Then assign this instance to the Custom Subtitle Panel field.

Re: 3-person talk balloon conversation

Posted: Sun May 19, 2019 6:37 pm
by minomod
1. Added Actors.
2. Do you have to modify Dialogue Manager?
3. Do you have to modify Dialogue System Trigger?

When you run the game with the attached image, the chat is exposed at the top of the screen. (Not on the character's head)

Here is the error log.
Dialogue System: No Dialogue UI component found on Bubble Template Standard UI Subtitle Panel (UnityEngine.GameObject).
UnityEngine.Debug: LogError (Object)

Dialogue System: No Dialogue UI found on 'Bubble Template Standard UI Subtitle Panel (UnityEngine.GameObject)'. Is the GameObject active and the dialogue UI script enabled? (Will load default UI for now.)

Re: 3-person talk balloon conversation

Posted: Sun May 19, 2019 8:02 pm
by Tony Li
Hi,

It's almost perfect. You did one extra step that you did not need to do. Reassign the 'Basic Standard Dialogue UI' to the Dialogue Manager's Dialogue UI field. Then everything should work correctly.

Re: 3-person talk balloon conversation

Posted: Mon May 20, 2019 5:55 am
by minomod
I confirmed that the speech bubble was floating.

1. Do NPC 1 times.
2. No 2 NPC metabolism is output
3. Continue Button not exposed
6.png
6.png (68.13 KiB) Viewed 808 times

Re: 3-person talk balloon conversation

Posted: Mon May 20, 2019 8:56 am
by Tony Li
Sorry, I don't understand.

The Dialogue System Extras page has an example scene. Maybe it will help. Here is a direct link: (download)

General information:

- To enable the continue button, set the Dialogue Manager's Subtitle Settings > Continue Button dropdown to Always.

- Your button UI must have a continue button. See the example scene.

Re: 3-person talk balloon conversation

Posted: Mon May 20, 2019 6:19 pm
by minomod
My Bubble Template Standard UI Subtitle Panel did not have a continue button.

I checked it with the example you gave and solved the problem.

Thank you very much.

Re: 3-person talk balloon conversation

Posted: Mon May 20, 2019 7:55 pm
by Tony Li
Glad to help.