Page 1 of 1

Help: Panel Layered over portrait and subtitle

Posted: Sun May 05, 2019 11:03 pm
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

Re: Help: Panel Layered over portrait and subtitle

Posted: Mon May 06, 2019 9:21 am
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

Re: Help: Panel Layered over portrait and subtitle

Posted: Mon May 06, 2019 12:29 pm
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)

Re: Help: Panel Layered over portrait and subtitle

Posted: Mon May 06, 2019 12:45 pm
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.

Re: Help: Panel Layered over portrait and subtitle

Posted: Mon May 06, 2019 1:41 pm
by jnhasty7
Thanks Toni, with this new information, I'll play around with it and see if I can get it to work.