WAV file won't work in my VCD

Ambient sounds, game effects and music creation.

WAV file won't work in my VCD

Postby antie on Wed Jul 29, 2009 1:26 pm

Hi,

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.

Image

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
User avatar
antie
Regular
Regular
 
Joined: Sun Jun 21, 2009 10:03 pm
Location: Dublin, Ireland

Re: WAV file won't work in my VCD

Postby antie on Wed Jul 29, 2009 7:15 pm

Just discovered the problem, my script files didn't contain the .wav file extension. So, anyone else with the same problem will hopefully know now ;)
User avatar
antie
Regular
Regular
 
Joined: Sun Jun 21, 2009 10:03 pm
Location: Dublin, Ireland

Re: WAV file won't work in my VCD

Postby Corewarp on Wed Jul 29, 2009 7:45 pm

antie wrote:Just discovered the problem, my script files didn't contain the .wav file extension. So, anyone else with the same problem will hopefully know now ;)


If you're writing a lot of soundscript files, i've made a program to make it 10 times as fast.
If you're interested let me know.
User avatar
Corewarp
Been Here A While
Been Here A While
 
Joined: Thu Mar 13, 2008 6:29 pm

Re: WAV file won't work in my VCD

Postby cheesemoo0 on Wed Jul 29, 2009 8:37 pm

Corewarp wrote:
antie wrote:Just discovered the problem, my script files didn't contain the .wav file extension. So, anyone else with the same problem will hopefully know now ;)


If you're writing a lot of soundscript files, i've made a program to make it 10 times as fast.
If you're interested let me know.


I'm sure many people on here would be interested.
User avatar
cheesemoo0
Been Here A While
Been Here A While
 
Joined: Tue Jun 17, 2008 2:38 am
Location: USA

Return to Audio

Who is online

Users browsing this forum: No registered users