Page 1 of 1

Dialog UI Settings help needed

Posted: Fri Jun 18, 2021 5:20 am
by Afello
Hi!

I got my UI for the dialog system mostly working but am looking for a fix for 2 issues I have right now. I haven been trying various settings within different components but can not seem to get it to work. What I would love to achieve is:

- The subtitle panel only animates out and back in when the dialog switches of actor
- The subtitle panel swaps text after it has animated out

You can find a capture of how the UI works by going here:
https://www.dropbox.com/s/rdg9zmjajkd0d ... n.mov?dl=0

Hope this is something that can work out of the box but I am just overlooking!

Re: Dialog UI Settings help needed

Posted: Fri Jun 18, 2021 11:40 am
by Tony Li
Hi,

Try setting the subtitle panels' Visibility to Until Superceded, and tick Wait For Close. You may want to use separate subtitle panels (but positioned and styled the same) to switch actors. Alternatively, I can send you a patch for an addition that's in the upcoming version 2.2.18. It adds a new Visibility type "Until Superceded Or Actor Change".

Re: Dialog UI Settings help needed

Posted: Wed Jul 07, 2021 4:43 am
by Afello
Hi Tony, thanks for the reply! And sorry for the late response, life decided to introduce an interruption.

Good thing is that version 2.2.18 rolled out when I had the time of picking this back up and now I have the behaviour I was looking for! Super great :)

Only problem I run into now is that the subtitle stays on screen even though I told de dialog manager that it does not need to show the NPC/PC subtitle as a reminder. Is this something a new update will address or am I doing something wrong?

Cheers!

Re: Dialog UI Settings help needed

Posted: Wed Jul 07, 2021 8:25 am
by Tony Li
Hi,

If you change Visibility to Only During Content, the subtitle panel will hide itself as soon as the subtitle is done.

Alternatively, if you only want to hide it when the response menu comes up, leave it at Until Superceded, and configure the response menu's OnOpen() event to call the subtitle panel's StandardUISubtitlePanel.Close method.

Re: Dialog UI Settings help needed

Posted: Sat Jul 10, 2021 12:30 pm
by Afello
Hi Tony!

That last option is perfect for this specific case. Thank you once again :)

Re: Dialog UI Settings help needed

Posted: Sat Jul 10, 2021 2:11 pm
by Tony Li
Glad to help! :-)