Page 1 of 1

Typewriter Speed

Posted: Sat Dec 08, 2018 6:25 pm
by nitrox32
I'm looking for the Typewriter UI component to change the type speed but I can seem to find it. Where is it?

Re: Typewriter Speed

Posted: Sun Dec 09, 2018 12:03 am
by Tony Li
It's on the same GameObject as the UI Text element (or TextMeshProUGUI element if you're using TextMesh Pro).

If you've assigned a prefab to your Dialogue Manager's Dialogue UI field, then it's on the prefab. You may find it easiest to add an instance of the prefab to your Dialogue Manager's Canvas, and assign that instance to the Dialogue UI field. This way you can edit the dialogue UI in the Hierarchy. Expand the dialogue UI -> dialogue panel > subtitle panel, and look for the subtitle text GameObject. It should have the typewriter effect, too. Change its Characters Per Second value.

Re: Typewriter Speed

Posted: Sun Dec 09, 2018 9:34 am
by nitrox32
OK, I added the typewriter effect to Dialogue->Main Panel->Scroll Rect->Scroll Content->Subtitle Text. I've actually added a Typewriter effect to ever place I can find a Text script. The Alert text, Conversant name and Actors name are all moving slower. I can't seem to get the Converant's message to go slower. Where is that located? BTW I am using the Rune Standard Dialogue UI.

Re: Typewriter Speed

Posted: Sun Dec 09, 2018 10:12 am
by Tony Li
Hi,

That's the one. The Runic Standard Dialogue UI uses only one subtitle panel, which it shares for the NPC and PC to allow it to accumulate everyone's lines. You can set its typewriter speed here, as you already did:
runicSubtitle.png
runicSubtitle.png (50.41 KiB) Viewed 1775 times
Can you describe what you mean that it's not typing slower? Is the actual animated typing of characters not changing? Or is it the overall timed delay of the NPC's lines?

Re: Typewriter Speed

Posted: Sun Dec 09, 2018 11:01 am
by nitrox32
I found the Subtitle Text and reduced the Characters Per Second to 2. The conversant's name prints slower (the typing of the individual characters) but everything after that, the conversants message, the Actor's name and the Actor's response text just appear all at once.

Re: Typewriter Speed

Posted: Sun Dec 09, 2018 11:17 am
by Tony Li
Inspect the Dialogue Manager GameObject. Set Display Settings > Subtitle Settings > Subtitle Chars Per Second to 2 (or whatever number matches the typewriter effect's Characters Per Second).

What's probably happening is that the line's Sequence is finishing after 2 seconds, which causes the conversation to progress to the next stage. If the conversation progresses to the next stage while the typewriter is still typing, it jumps the typewriter to the end.

If the line's Sequence field is blank, it will use the Dialogue Manager's Camera Settings > Default Sequence. The default value of this field is:

Code: Select all

Delay({{end}})
which delays for a duration based on Subtitle Chars Per Second.

Re: Typewriter Speed

Posted: Sun Dec 09, 2018 11:35 am
by nitrox32
That did it! Thanks!

Re: Typewriter Speed

Posted: Sun Dec 09, 2018 11:37 am
by Tony Li
You're welcome! :)