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"

Outline text in HUD

I have made a HUD blueprint that loads in and writes strings from a string array using a "draw text" node (target is hud). The blueprint is set as the level HUD in the 3rd person example project. I would like to draw text with an outline. Is this possible in a HUD blueprint or can this only be done in a widget?

Product Version: UE 4.17
Tags:
more ▼

asked Oct 06 '17 at 12:09 PM in Blueprint Scripting

avatar image

MarketingMark
8 2 8

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

2 answers: sort voted first

I agree, you might want to use UMG as your HUD solution going forward as it gets a lot more support and documentation. However, changing the font material you are using to one that uses an outline should allow this for your HUD.

more ▼

answered Oct 06 '17 at 12:36 PM

avatar image

Dune
1.9k 52 40 200

avatar image MarketingMark Oct 06 '17 at 01:05 PM

How exactly does one combine font materials with the draw text node? There only is a font reference input

avatar image MarketingMark Mar 26 '18 at 11:16 AM

a bit late, but I though I should answer all my unanswered questions from the past. Using a UMG text object instead of the draw text node was an easy solution

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

Knowing how little love HUD has received in the last 3 years (none), I'd say it's a no no. To be honest, the outlines were added not so long to the UMG itself.

more ▼

answered Oct 06 '17 at 12:18 PM

avatar image

Everynone
13.7k 74 25 57

avatar image MarketingMark Oct 06 '17 at 12:47 PM

What are my other options then? Are there any workarounds? For example: Can this be done from a widget? Can I make my blueprint draw towards a widget? Note that the text itself is constantly moving on screen and the text is also changing.

avatar image Everynone Oct 06 '17 at 04:14 PM

In a widget, you just punch in a single value and your text has an outline. What you do with it, it's up to you. Moving it around the screen is pretty straightforward.

Can I make my blueprint draw towards a widget?

Widgets have screenposition, so yes. Although, I do not fully understand what you are going to draw.

(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