Home   Help Search Login Register  

Author Topic: Mr. Troska's thoughts  (Read 603 times)

0 Members and 1 Guest are viewing this topic.

seanver

  • Guest
Mr. Troska's thoughts
« on: 28 Aug 2002, 18:59:36 »
How can I put the word style that you can see when Viktor Troska thinks in the cutscenes in Resistance?

seanver

  • Guest
Re:Mr. Troska's thoughts
« Reply #1 on: 31 Oct 2002, 20:43:30 »
Hmm I asked this three months ago, and I found the solution yesterday. You have to define the font of the text in description.ext:

class CfgSounds  
{  
     sounds[] = {};  
 
class Voice1
{  
name = "Voice 1";  
sound[] = {"\sounds\01.ogg", db-40, 1.0};  
titlesfont = "tahomaB24";
titlessize = 0.025;
titles[] =  { 0, $STRM_Text1 };
};  
};

Now you have to put the text you want in stringtable.csv:

Language,English,Comment

STRM_Text1,"My grandfather's name was Adam Cobacho. Born in Texas, in 1921, he joined the US Army in 1942",,

So now when you want the text to be shown up, make a unit say it:

aP say "Voice1" (Voice1 was defined in description.ext)