question about subtitle
question about subtitle
Hi Tony,
Is it possible to showing multiple lines in one subtitle (perhaps from one dialogue entry) in a sequence?
For instance, there's a Dialogoue Entry:
"The little boy picks an axe. He laughs, then he left"
I'd like to break it to 3 lines, but showing within one subtitle box, something like:
"The little boy picks an axe"
"He laughs"
"He left"
Even better, if I can set a delay between each lines to display
My first thought is that seeking possibility with TextMeshPro GUI tags, but no luck (or I missed it)
My second solution is to implement something like custom dialogue sequence and analyze custom tags then reformat the text
What's your advice? tks
Is it possible to showing multiple lines in one subtitle (perhaps from one dialogue entry) in a sequence?
For instance, there's a Dialogoue Entry:
"The little boy picks an axe. He laughs, then he left"
I'd like to break it to 3 lines, but showing within one subtitle box, something like:
"The little boy picks an axe"
"He laughs"
"He left"
Even better, if I can set a delay between each lines to display
My first thought is that seeking possibility with TextMeshPro GUI tags, but no luck (or I missed it)
My second solution is to implement something like custom dialogue sequence and analyze custom tags then reformat the text
What's your advice? tks
Re: question about subtitle
Hi,
If you want to accumulate all lines, you can tick the subtitle panel's Accumulate Text checkbox. This is how games like Disco Elysium work.
If you only want to do it in very specific places, I recommend using RPG Maker-style control codes. Example:
If you want to accumulate all lines, you can tick the subtitle panel's Accumulate Text checkbox. This is how games like Disco Elysium work.
If you only want to do it in very specific places, I recommend using RPG Maker-style control codes. Example:
- Entry 1: "The little boy picks an axe."
- Entry 2: "\>The little boy picks an axe.\< \n He laughs."
- Entry 2: "\>The little boy picks an axe \n He laughs.\< \n He left."
Re: question about subtitle
tks Tony, but what if I need a delay in each line in one subtitle box? for instance,
"The little boy picks an axe" (wait 1 second, then show next line)
"He laughs" (wait 1 second, then show next line)
"He left"
"The little boy picks an axe" (wait 1 second, then show next line)
"He laughs" (wait 1 second, then show next line)
"He left"
Re: question about subtitle
Hi,
Set the Sequence to: Delay(1)
Or, if you normally require the player to click a continue button to advance: Continue()@1
Note: If you use a typewriter effect and want to wait 1 second longer after the typing has finished, use: Delay(1)@Message(Typed)
Set the Sequence to: Delay(1)
Or, if you normally require the player to click a continue button to advance: Continue()@1
Note: If you use a typewriter effect and want to wait 1 second longer after the typing has finished, use: Delay(1)@Message(Typed)
Re: question about subtitle
Sorry I'm confused, Isn't Delay(x) for Sequence command? Do you mean that I can put the sequence command into between the dialogue text?
Or if I didn't explain it clearly, my previous example are in one single entry, with three line breaks, so they can be displayed in one single subtitle panel. And is it possible to add a delay at the end of each line? (not each entry)
tks
Or if I didn't explain it clearly, my previous example are in one single entry, with three line breaks, so they can be displayed in one single subtitle panel. And is it possible to add a delay at the end of each line? (not each entry)
tks
Re: question about subtitle
I was suggesting to use 3 separate dialogue entries with their own Sequences.
Re: question about subtitle
What I'm trying to achieve is that when Texts are played in the same subtitle, Each lines can be showing by order with a sequences of delays. Something like showing
3 (wait for 1 second)
2 (wait for 1 second)
1
to attract player's awareness, it would be much better to show above 3 lines in one subtitle box instead divided by 3 entries, I guess I need to write a custom sequence or LUA script to handle the effects.
But tks for the replies anyway, let me know if you have any different thoughts or approaches.
3 (wait for 1 second)
2 (wait for 1 second)
1
to attract player's awareness, it would be much better to show above 3 lines in one subtitle box instead divided by 3 entries, I guess I need to write a custom sequence or LUA script to handle the effects.
But tks for the replies anyway, let me know if you have any different thoughts or approaches.
Re: question about subtitle
The 3 separate entries would appear to the player as a single entry. But you can do it in a single entry, too, if you're using a typewriter effect:
- Dialogue Text: "The little boy picks an axe.\.\nHe laughs.\.\n He left."
- Sequence: Delay(1)@Message(Typed)
Re: question about subtitle
Ah, yes, you are totally right, I missed the \. part from your first reply
Thank you Tony
Thank you Tony