Recently I've been trying to use HLFaceposer to choreograph some scenes in my mod. I've been able to sync speech to phonemes and lip sync, but when I try to add my sound to a VCD, I always get the same problem. The timeline shows the file, but it doesn't have any length, and no close-caption information.
I've added the sound to to the script files, and the close-captions to the resource file, but after editing them serveral times following the advice of Valve SDK Docs, Katana314 and Kyl, it still doesn't work.
If anyone could help me out with this, I would be extremely grateful
closecaption_english.txt in resource (unicode Little Endian)
- Code: Select all
lang
{
Language "English"
Tokens
{
john.01.antonyourefinallyawake "Anton, you're finally awake..."
}
}
game_sounds_manifest.txt abridged (ANSI encoded) in scripts, points to npc_sounds_custom.txt
- Code: Select all
game_sounds_manifest
{
// custom sounds
"precache_file" "scripts/npc_sounds_custom.txt"
"precache_file" "scripts/game_sounds.txt"
"precache_file" "scripts/game_sounds_ui.txt"
"precache_file" "scripts/game_sounds_player.txt"
}
npc_sounds_custom.txt (ANSI encoded) in scripts, points to vo/antonyourefinallyawake in my mod's soundfolder.
- Code: Select all
"john.01.antonyourefinallyawake"
{
"channel" "CHAN_VOICE"
"volume" "0.6"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_TALKING"
"wave" "vo/antonyourefinallyawake"
}
Here is my WAV file's info:
Bit Rate: 176kbps
Audio Sample Size: 4 bit
Channels: 1 (mono)
Audio Sample Rate: 44Khz (44100Mhz)
Audio Format: MSADPCM
Here is a picture of what happens in the Choreography section of faceposer when I try to import this.

I've been toying with this for the last two days, and I just can't figure out what's wrong. If anyone can point out what's wrong, I'd be so very happy...
Thanks thanks thanks



