Hi,
I've been trying to create new Dialog UI by cloning Focus Template Standard Dialogue UI.
My goal is to have both player and NPC portraits always visible during conversation.
I managed to get NPC portrait always visible by following suggestion on another thread:
The easiest is probably to duplicate the NPC subtitle panel's animator controller asset. In the duplicate, remove the Unfocus state. Assign the duplicate to the subtitle panel's Animator component. Clear the Standard UI Subtitle Panel component's Unfocus Animation Trigger field.
and NPC portrait is now always shown, but Player is on 0.5 opacity all the time.
Why do I need 2 player portraits and name (1 is in Subtitle Panel 1 (PC) and another in Response Menu Panel)?
I tried disabling those form Response Menu Panel and use only Subtitle Panel 1 (PC) - then player portrait opacity is always 0.5
If I use those form Response Menu Panel they show up on full opacity only when player is speaking.
Is there a simple way to have player portrait always in full opacity?
Thanks
Player Portrait image always visible
Re: Player Portrait image always visible
Hi,
You can unassign the menu panel's PC Name and PC Image fields, and set the player's subtitle panel > Visibility to Always From Start. Clear the OnOpen/OnClose/OnFocus/OnUnfocus() UnityEvents on the menu panel and subtitle panels, and clear the Unfocus Animation Trigger fields.
You can unassign the menu panel's PC Name and PC Image fields, and set the player's subtitle panel > Visibility to Always From Start. Clear the OnOpen/OnClose/OnFocus/OnUnfocus() UnityEvents on the menu panel and subtitle panels, and clear the Unfocus Animation Trigger fields.
Re: Player Portrait image always visible
Thanks Tony for quick reply!
I tried your suggestions but still same result.
Player panel has same animation as NPC (without unfocus)
I tried your suggestions but still same result.
Player panel has same animation as NPC (without unfocus)
- Attachments
-
- animation.PNG (30.9 KiB) Viewed 297 times
-
- response menu.PNG (68.76 KiB) Viewed 297 times
-
- Player subtitle.PNG (64.5 KiB) Viewed 297 times
Re: Player Portrait image always visible
Check the animator controller, or remove the Animator components from the subtitle panels if that's easier.
Re: Player Portrait image always visible
Hi Tony,
Removing Animator solved the issue. Thanks!
Just to note for anyone else having this issue is that other than removing Animator, I had to set opacity for panels and images to 1 and remove some events like show and hide to have portrait images showing from start till end of conversation.
Removing Animator solved the issue. Thanks!
Just to note for anyone else having this issue is that other than removing Animator, I had to set opacity for panels and images to 1 and remove some events like show and hide to have portrait images showing from start till end of conversation.
Re: Player Portrait image always visible
Glad you got it set the way you want!