Subtitles questions: How to stop subtitles from hiding after x secs

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hellwalker
Posts: 112
Joined: Tue Jan 19, 2016 11:37 pm

Subtitles questions: How to stop subtitles from hiding after x secs

Post by hellwalker »

Hey!

I have two issues with subtitles.

First I don't want the subtitles to automatically hide after X seconds, but I do want to keep the Show/Hide animations on subtitle panel for PC/NPC panel. I could not find how to do that.

Second issue is the subtitle text changes to next conversation text before Subtitle hide/show animations plays completely.
So for example I have Subtitle Show/Hide animations that move the text to the right and fade the group (JRPG 2 template animation).
So in my game:
1) Dialogue Subtitle panel slides in with show animation and text is displayed.
2) I click continue
3) Text changes to next dialogue node text and I can see this for split second
4) Dialogue Subtitle panel slides out with hide animation

Any way to stop Subtitle Line/Portrait/Portrait Name-s to stop updating until Hide animation is finished?

Thanks

P.S. I'm using TextMeshPro versions of DS interface scripts if that is relevant.
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitles questions: How to stop subtitles from hiding after x secs

Post by Tony Li »

Hi,

You're using Text Mesh Pro Dialogue UI, correct?

Do you want the subtitles to stay onscreen along with the response menu? Like below?

Image

Or do you mean that the player will dismiss the subtitle by clicking the mouse or a continue button?

For the typewriter effect, would you please try the updated TextMesh Pro Support package on the Dialogue System Extras page? The typewriter timing has been improved.
hellwalker
Posts: 112
Joined: Tue Jan 19, 2016 11:37 pm

Re: Subtitles questions: How to stop subtitles from hiding after x secs

Post by hellwalker »

Hey thanks!
No, what happens is dialogue disappears before I click continue button to advance to next node.
So let's say I just have two simple text nodes, When text node 1 is displayed on screen, If I don't click continue after X seconds the text will automatically disappear. (I don't actually have physical continue button active on scene, I'm using custom code to call continue with a mouse click). So it's like there is a limit to how long subtitle stays on screen when no action is taken on player's part.
Also weirdly this seems to happen on some nodes, and not others.

I tried this new updated package but same issue happens. I'll send you a video showing the problem in Private Message.
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitles questions: How to stop subtitles from hiding after x secs

Post by Tony Li »

Hi,

Thanks for sending the videos. I'll investigate it today and reply.

In the meantime, have you tried setting the Dialogue Manager's Display Settings > Subtitle Settings > Continue Button mode to Always?
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitles questions: How to stop subtitles from hiding after x secs

Post by Tony Li »

Thanks again for the videos. I understand the issue now. I'll try to have a fix ready for you tomorrow.
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: Subtitles questions: How to stop subtitles from hiding after x secs

Post by Tony Li »

Sorry for the delay in the fix. The fix is being incorporated into the TextMesh Pro and Unity UI code, and it's taking a little longer than I hoped.
hellwalker
Posts: 112
Joined: Tue Jan 19, 2016 11:37 pm

Re: Subtitles questions: How to stop subtitles from hiding after x secs

Post by hellwalker »

Sure no problem, no need to rush. Thank you for awesome support! I really appreciate it.
Post Reply