Hi,
I've been using [pic=#] to set the actor portraits for my characters. I would only set [pic=#] for my NPCs, but not the main player. In the past, I was using an older version of Dialogue System and when my main character's dialogue came up, the portrait of the previous actor would remain on the screen. But since I've upgraded to the latest version of Dialogue System, something has been changed.
Now, whenever my main player dialogues show up, the actor portrait is no longer the portrait of the previous actor. Now nothing shows up at all during my main player dialogues. I didn't assign any portraits for my main player. I just want to show portraits of the NPCs. Is there any way to revert back to the previous configuration?
Actor Portraits in Dialogues
Actor Portraits in Dialogues
- Attachments
-
- Capture.PNG (141.32 KiB) Viewed 3080 times
Re: Actor Portraits in Dialogues
Hi,
Assuming you're using the Standard Dialogue UI system, inspect your dialogue UI's Standard UI Subtitle Panel component and tick Show Only NPC Portraits.
Assuming you're using the Standard Dialogue UI system, inspect your dialogue UI's Standard UI Subtitle Panel component and tick Show Only NPC Portraits.
Re: Actor Portraits in Dialogues
Hi Tony,
Thank you for the fast reply. It seems I'm using one of the deprecated Legacy Unity GUI Prefabs, so I'm not seeing this option to only show NPC portraits. So I'll need to update my dialogue UI to the standard Unity UI for this to work right?
Thank you for the fast reply. It seems I'm using one of the deprecated Legacy Unity GUI Prefabs, so I'm not seeing this option to only show NPC portraits. So I'll need to update my dialogue UI to the standard Unity UI for this to work right?
Re: Actor Portraits in Dialogues
Updating to the Standard Dialogue UI is one way. It has a lot of nice, new features, and in general it's easier to customize.
However, if you just want to stick with the legacy Unity GUI Dialogue UI, configure it like this:
1. Create a copy of your subtitle line GameObject. Name it Subtitle Reminder Line. Remove the typewriter effect, and untick Visible.
2. Inspect the Unity Dialogue UI component. Unassign these fields:
Those are general instructions. They may need some adjusting depending on your specific dialogue UI. They work as-is if you're using, for example, the "JRPG" Legacy Unity GUI prefab.
However, if you just want to stick with the legacy Unity GUI Dialogue UI, configure it like this:
1. Create a copy of your subtitle line GameObject. Name it Subtitle Reminder Line. Remove the typewriter effect, and untick Visible.
2. Inspect the Unity Dialogue UI component. Unassign these fields:
- PC Subtitle > Portrait Image
- PC Subtitle > Portrait Name
- Response Menu > PC Image
- Response Menu > PC Name
Those are general instructions. They may need some adjusting depending on your specific dialogue UI. They work as-is if you're using, for example, the "JRPG" Legacy Unity GUI prefab.
Re: Actor Portraits in Dialogues
Thank you for the detailed response. I appreciate it Tony. I've spent the last few hours updating to the new unity UI. It's working great so far. Just one more question, how can I hide the NPC subtitles panel when dialogue options pop up for the player? Right now, the response options panel overlays the subtitles panel. I've been trying to solve this for the past hour, but I just can't figure it out. I'm using the VN template standard dialogue.
Re: Actor Portraits in Dialogues
Hi,
That one's designed so the response panel "hides" the subtitle panels by overlaying them, as you described. You can stretch its borders to the edge of the Dialogue Panel if you see a bit of subtitle text around the edges.
Alternatively, you can inspect the Standard UI Subtitle Panel components on Subtitle Panel 0, 1, and 2, and change Visibility to Only During Content. However, this hides all of the subtitle elements, including the portrait image and name, which you may not want to do.
That one's designed so the response panel "hides" the subtitle panels by overlaying them, as you described. You can stretch its borders to the edge of the Dialogue Panel if you see a bit of subtitle text around the edges.
Alternatively, you can inspect the Standard UI Subtitle Panel components on Subtitle Panel 0, 1, and 2, and change Visibility to Only During Content. However, this hides all of the subtitle elements, including the portrait image and name, which you may not want to do.