Different dialogue box style in a unique Dialogue !??

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
duss
Posts: 13
Joined: Wed Aug 26, 2020 5:55 am

Different dialogue box style in a unique Dialogue !??

Post by duss »

Hello,
I have a very simple 2D game with lot of dialogues.
i use the JRPG template

Image

My dialogues are exported from Chat mapper.

The scenario guy add some "narrative informations"
for exemple : "Our hero slept very well this night"

The "narrative informations" texte are in the dialogue database with "narration" actor.
The "narrative informations" can be in the middle of "standard" dialogues.

I want to add those "narrative informations" but not in the dialogue like when people talk but on the center of the screen on a different dialogue box.

Like that :
Image

Can you see a simple way to do that without code ?

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

Re: Different dialogue box style in a unique Dialogue !??

Post by Tony Li »

Hi,

Add another subtitle panel:

narratorPanel.png
narratorPanel.png (111.81 KiB) Viewed 466 times

Assign it to the Subtitle Panels list. Note its element number (element 1 in the screenshot above). This is its panel number.

Create a GameObject for the Narrator if it doesn't already have one. Add a Dialogue Actor component. Set Dialogue UI Settings > Subtitle Panel Number to the panel number.
duss
Posts: 13
Joined: Wed Aug 26, 2020 5:55 am

Re: Different dialogue box style in a unique Dialogue !??

Post by duss »

Perfect thanks ! <3
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Different dialogue box style in a unique Dialogue !??

Post by Tony Li »

Glad to help!
duss
Posts: 13
Joined: Wed Aug 26, 2020 5:55 am

Re: Different dialogue box style in a unique Dialogue !??

Post by duss »

It worked almost first try :D
even for simple dialogue stuff, this plugin is perfect !
Post Reply