Jump to content
FoxtrotF

How to Play Voice in Conversation?

Recommended Posts

Hello!

Please, Need some help, how to play just voice in conversations?

I mean, I have oggs, lip sync, stringtable, cfgSentences, bkib's and using BIS_fnc_kbTell to play all this stuff, and it's working, BUT, how to mute text in chat? so only voice is played (I want to implement custom subtitles script). Any efficient way to disable chat, and then may be re-enable it?

Share this post


Link to post
Share on other sites
3 hours ago, FoxtrotF said:

how to mute text in chat?

Just supply a blank text attribute in your sentences classes. That is what it is there for, to display a radio subtitle.

class Sentences
{
	class hello1
	{
		text = "Hello!";                    // sentence subtitle - can be "text" or $STR_ stringtable reference
		speech[] = { "\Sound\hello1.ogg" }; // sound file path relative to mission or campaign directory
		class Arguments {};                 // unused here
	};
	class hello2
	{
		text = "";                          // no radio subtitle
		speech[] = { "\Sound\hello1.ogg" };
		class Arguments {};
	};
};

 

  • Like 3

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×