OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: seanver 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?
-
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)