x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Scrolling text in dialogue box?

So, I've searched just about everywhere at this point and come back with nothing each time, so I've taken to the community here.

My question is, how can I create a dialogue box containing a character portrait, text that scrolls (in the terms of the text being unveiled.) and a "voice" sound that plays with every letter, my examples would be the text boxes in Undertale, Rebound, Legend of Mana, etc.

Any help available? This is, unfortunately, one of the key features of my game, and it is hard to start without knowing how to pull this off, so thank you in advance.

Product Version: UE 4.20
Tags:
more ▼

asked Aug 07 '18 at 09:52 AM in Blueprint Scripting

avatar image

Astro_dex
12 2 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

and a "voice" sound that plays with every letter

Could you elaborate about this one a bit?

When it comes to scrolling text, you should be able to achieve it easily with a Scrollbox + Getting & Setting its offset. - this approach will be better if you want the user to interact with the scroll (speed it up)

An alternative method is a widget animation shifting the text box (or the panel of choice) vertically. This will be easier to set up but probably less practical when it comes to interactivity.

more ▼

answered Aug 07 '18 at 11:11 AM

avatar image

Everynone
14.8k 77 25 62

avatar image Astro_dex Aug 07 '18 at 09:57 PM

So, as it is with games like Rebound when a character speaks, the letters are unveiled one by one at a very fast rate, but a sound plays with every letter, a sound that's unique to every character. I'd say this is a good example.

https://www.youtube.com/watch?v=qkjtuXHFs8I

So, with each letter that shows up, a sound will play with it. All the text box should do is display the portrait of a character, which I can easily do with an image, display scrolling text, as in each letter showing up in order from left to right, and a single "voice" sample should play with every letter.

I don't assume UE4 stores each letter as a value that's accessible, which is why I doubt this is possible, but it never hurts to ask. Any practical method available that only allows the player to press Enter or something similar to move on to the next text or clear it from the screen? There should really be no interactives within the text.

avatar image Nebula Games Inc Aug 07 '18 at 09:58 PM

Maybe the OP means "voicing" each word as it scrolls, as a "voice" sound per letter would be quite weird. As for the "scrolling text" I actually have a tutorial showing how you can create that.

This prints out one letter at a time like a type-writer:

https://youtu.be/IoElP38g7k0

This one scrolls a sentence across the screen like news tickers on TV:

https://youtu.be/yVursWpOsoI

avatar image Everynone Aug 08 '18 at 08:01 AM

I think I get it now, thanks @Nebula and @Astro_dex for the clarification. The tutorial says it all.

Here's my take on it:

alt text

alt text

The text block has Auto Wrap Text ticked in its Wrapping panel.

Vid (warning, loud, annoying sounds):

https://drive.google.com/open?id=1z-inxc-D_3i3I9UUS6m2XawJOPD3EsaL

scrollprinttext.png (299.8 kB)
whierarchy.png (31.1 kB)
avatar image Astro_dex Aug 09 '18 at 02:24 PM

I believe that may be it. Forgive me if I'm wrong, but I do not believe the custom event you have here is already within the engine? I haven't finished the tutorial yet, so if I create "PrintNextLetter" in the tutorial, let me know. If not, what's in the custom event?

avatar image Everynone Aug 09 '18 at 02:28 PM

I am no sure who you're talking to. I can't speak for the tutorial but the entire logic is contained in that one pic.

Right click in the graph and search for Custom Event - you can then create and name it the way you want. This event will be called 10 / second by the Timer.

avatar image Nebula Games Inc Aug 09 '18 at 03:08 PM

Haha me either but I used a loop with delay not a timer in my tutorial so I don't think the question is for me. My tutorials were my own version of doing it similar but not identical to the screenshots above.

avatar image Astro_dex Aug 09 '18 at 03:22 PM

I see, understood. Thanks so much, guys.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question