Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

UE4 integration Subtitles

0 votes
Are there any plans for implementing subtitle support for the UE4 integration? AFAICT that's the main thing we're losing when we finish the transition away from the stock UE4 sound cues. We implemented something custom for our last title (which was UE3) but I'd like to avoid that if possible. The main issue was resolving which subtitle should play since a given call to PostEvent could potentially map to a set of audio files.

Thanks!
asked Mar 16, 2015 in General Discussion by Erik I. (170 points)
Can we get a response on this? Thanks!

1 Answer

0 votes

The usual way to do this is to use makers in your source files, and using the AK_Marker callback with your PostEvent call. You can then access a data structure containing a mapping of marker cue to subtitle text.

For more information on this, you can refer to the Wwise SDK documentation, under section Sound Engine Integration Walkthrough » Integrate Wwise Elements into Your Game » Integrating Markers 

answered Mar 31, 2015 by Benoit S. (Audiokinetic) (16,020 points)
Yes, that's how we did it on our last project. You aren't planning on building support into the integration then I take it?
It would basically be the same implementation as exposing delegates for callbacks (from your other question). People like to handle their subtitles in different ways, so exposing a delegate for AK_Marker would be the way this is implemented.

We might consider doing a more comprehensive subtitle system, but the scope of this would be quite large, and would take a while to implement.
...