Help: Panel Layered over portrait and subtitle

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
jnhasty7
Posts: 16
Joined: Sun Apr 28, 2019 8:21 pm

Help: Panel Layered over portrait and subtitle

Post by jnhasty7 »

Big thanks for the help last time, I'll try not to be a bother, but I've hit a wall. I can't seem to find where to change this.

I have a custom Subtitle panel that gets swapped per actor's turn in speaking and it works well, but the Panel image is getting painted over the portrait and text like so here:

Image

The main Dialog UI is JRPG Unity UI Dialogue UI
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Help: Panel Layered over portrait and subtitle

Post by Tony Li »

Hi,

The way that UI works, the blue boxes with gold frames are part of the main Dialogue Panel, so they're always visible. The NPC and PC Subtitle Panels don't control them.

Can you switch to the "Standard UI Prefabs / Templates / JRPG" version? It has an almost identical layout. The standard UIs are a lot easier to customize. It uses gray box images, but you can just assign the same blue-and-gold images that the Unity UI Dialogue UI version uses.

If you can't, then try copying the Dialogue Panel GameObject twice so you have 3 copies. Rename the first "NPC Subtitle Panel", the second "PC Subtitle Panel", and the third "Response Panel". In the Unity UI Dialogue UI component, reassign the UI elements for each section (NPC, PC, and response menu). Delete the unused elements, such as the leftover response menu stuff in the NPC Subtitle Panel and PC Subtitle Panel. Here's an example exported from Unity 2018.3:

CustomizedJRPGUnityUI_2019-05-06.unitypackage
jnhasty7
Posts: 16
Joined: Sun Apr 28, 2019 8:21 pm

Re: Help: Panel Layered over portrait and subtitle

Post by jnhasty7 »

Can you switch to the "Standard UI Prefabs / Templates / JRPG" version?
I was using the Unity UI Dialogue UI for the "Find Actor Override" feature.
Does this feature exist for the Standard UI Prefabs? I would prefer to use the Stand UI Prefabs over the one I have now, but I can't seem to find actor override feature.
(I was following this guide here: viewtopic.php?f=3&t=1359&p=7205&hilit=f ... ides#p7205)
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Help: Panel Layered over portrait and subtitle

Post by Tony Li »

Hi,

That's because the override feature is no longer necessary with the Standard Dialogue UI. It was a klunky hack because at the time the Dialogue System had no seamless way to specify which subtitle panel an actor should use.

With the Standard Dialogue UI, you can now just add a Dialogue Actor component to the character and specify the subtitle panel number. The panel doesn't even have to be part of the dialogue UI. If you select Custom, you can point the actor to any subtitle panel anywhere.

You can also change it on the fly for a single line by using the new [panel=#] markup tag, or for the duration of the conversation using the SetPanel() sequencer command.
jnhasty7
Posts: 16
Joined: Sun Apr 28, 2019 8:21 pm

Re: Help: Panel Layered over portrait and subtitle

Post by jnhasty7 »

Thanks Toni, with this new information, I'll play around with it and see if I can get it to work.
Post Reply