Ok, here's the story.
I'm making a single player mod based on Portal. I'm somewhere near the end of the development and I'm now trying to implement voices in it. I already managed to make the voices, the game sound manifest file, with all the Game Sounds entries, I did some VCDs with FacePoser, and everything works perfectly in-game. I even managed to do some internationalization, with french and english voices depending on your Steam account's language.
But there's a problem : there's absolutely no subtitles when the VCDs are playing. I have a closecaption_english.txt in the resource directory of the mod that looks like this :
"lang"
{
"Language" "english"
"Tokens"
{
"mymod.level_01_welcome-1" "Here are my damn subtitles"
}
}
But it does nothing.
All I know is that the captions are found by the game, because if I delete it, I get an error in the console saying that the caption was not found for "mymod.level_01_welcome-1". I also checked that subtitles were working, and it's the case. Portal voices are dubbed, but not mines.
So... well...
If someone have an idea, feel free to share.
PS: Here is the GameSound entry :
"mymod.level_01_welcome-1"
{
"channel" "CHAN_VOICE"
"volume" "1.0"
"soundlevel" "SNDLVL_NONE"
"wave" "vo/speaker/level_01_welcome-1.wav"
}
And the VCD file :
actor "Aperture_AI"
{
channel "audio"
{
event speak "mymod.level_01_welcome-1"
{
time 0.283333 4.171020
param "mymod.level_01_welcome-1"
fixedlength
cctype "cc_master"
cctoken ""
}
}
}



