Frictional Games Forum (read-only)

Full Version: [HELP] Subtitles
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm Working on a Custom Story and After the Beginning/ 1541 Flashback Level after the player enters a level door, He is taken back to present time (1811) but at the beginning of that level the character says something but how do i add the Sound with Subtitles? Huh
You use the function AddEffectVoice. That will play the voice and will let you specify the text category and entry for the lang file for the subtitles.
(02-12-2013, 05:25 PM)NaxEla Wrote: [ -> ]You use the function AddEffectVoice. That will play the voice and will let you specify the text category and entry for the lang file for the subtitles.

^

Just pass "" for the effect.
asVoiceFile? does that mean the .ogg file or the .snt file?
(02-12-2013, 06:18 PM)Paint the man cut the lines Wrote: [ -> ]asVoiceFile? does that mean the .ogg file or the .snt file?

.ogg file. You don't beed an .snt file for the AddEffectVoice function.
(02-12-2013, 06:28 PM)NaxEla Wrote: [ -> ]
(02-12-2013, 06:18 PM)Paint the man cut the lines Wrote: [ -> ]asVoiceFile? does that mean the .ogg file or the .snt file?

.ogg file. You don't beed an .snt file for the AddEffectVoice function.

Thanks, I Have been in a complete spiral