Unreal Engine Marketplace is moving over to Fab in mid-October. Learn more.

Native Subtitles into UMG

Zenith Digital - Code Plugins - Mar 29, 2021
7
4.57 out of 5 stars(7 ratings)
  • 86%
  • 0%
  • 0%
  • 14%
  • 0%

Hooks into the existing subtitle system that reroutes result into UMG TextBlock or RichTextBlock

  • Supported Platforms
  • Supported Engine Versions
    4.26 - 4.27, 5.0 - 5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

The UMG Subtitle Hook plugin utilizes the native subtitle system, but instead of it being rendered via slate with very little control over font, size and colour, this reroutes the final subtitle into 2 UMG components - a SubtitleTextBlock, and a SubtitleRichTextBlock. This lets you better customize the subtitles to provide better control and readability.


The system is drag and drop, just add a SubtitleTextBlock into your hud, and use subtitles as normal.


Note that as we are leveraging the native subtitle system, if your not already familiar, you should read up on how they work with dialogue waves etc. A working example widget is provided using RichText in the plugins content folder. (Content Browser > View Options > Enable Plugins & Engine Content, then navigate to SubtitleHookUMG folder)


Since this system lets you route into UMG, it should also be usable in VR titles with the correct widget setup.

Technical Details

Features:

  •  Reroutes subtitles into the UMG widget, when this widget is running, the native render will not occur.
  •  Also has a delegate for when subtitles are received, if you want to handle them differently.

Code Modules:

  •  SubtitleHookUMG - Runtime

Number of Blueprints: 1 (Example)

Number of C++ Classes: 2 (SubtitleTextBlock & SubtitleRichTextBlock)

Network Replicated: N/A

Supported Development Platforms: Windows

Supported Target Build Platforms: Win64, Win32, Android, IOS. Should work on all platforms.

Documentation: Link

Example Project: Examples included in Plugins content folder

Important/Additional Notes: Using the RichText option may require additional learning on how the RichText system works. Native subtitle system also requires some additional learning if you have not used before.