Dialog UI Settings help needed

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Afello
Posts: 13
Joined: Sat Mar 02, 2019 12:34 pm

Dialog UI Settings help needed

Post 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!
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog UI Settings help needed

Post 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".
Afello
Posts: 13
Joined: Sat Mar 02, 2019 12:34 pm

Re: Dialog UI Settings help needed

Post 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!
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog UI Settings help needed

Post 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.
Afello
Posts: 13
Joined: Sat Mar 02, 2019 12:34 pm

Re: Dialog UI Settings help needed

Post by Afello »

Hi Tony!

That last option is perfect for this specific case. Thank you once again :)
User avatar
Tony Li
Posts: 22158
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialog UI Settings help needed

Post by Tony Li »

Glad to help! :-)
Post Reply