can't get my sound work in mod but animations work

Discuss modifications and also recruit team members.

can't get my sound work in mod but animations work

Postby hani130 on Thu Nov 18, 2010 12:03 am

Hi,
I am having same issue. My choreo works good in faceposer but whenever I try to run it in mod, it shows every animation but no sound. console says "something.wav not precached" I tried to run it through soundscript too but it shows same error on console. please help. I am using source engine 2006 in my mod as a game
hani130
Member
Member
 
Joined: Wed Nov 10, 2010 3:37 pm

Re: can't get my sound work in mod but animations work

Postby city14 on Thu Nov 18, 2010 12:32 am

I think I have had a similar problem before in my early choreo days.

Try to just play the sound from console. It's just "play"

play folder/something.wav

It auto-adds the "sound" folder path. This way you can just see whether it works at all.

That's the first step, and if I remember the rest I can help you later.
coder0xff wrote:I wonder if Gabe ever lies in bed at night, thinking about all the fat jokes, and just cries himself to sleep, wiping his tears away with one-thousand dollar bills.
User avatar
city14
Pheropod
Pheropod
 
Joined: Tue Jun 16, 2009 8:35 pm
Location: Troutdale, Oregon

Re: can't get my sound work in mod but animations work

Postby hani130 on Thu Nov 18, 2010 12:39 am

When I try to play like sound/something.wav it give me this error

play sound/HealthExpert01.wav
Failed to load sound "sound\healthexpert01.wav", file probably missing from disk/repository


I have put my sound in C:programfiles/steam/steamapps/sourcemods/mymod/sound and same goes for script folder but I don't know why its not precached but animations working:(
hani130
Member
Member
 
Joined: Wed Nov 10, 2010 3:37 pm

Re: can't get my sound work in mod but animations work

Postby hani130 on Thu Nov 18, 2010 4:10 am

I found out that the voice only works with script and not as a raw sound. raw sound might work in faceposer but not in play mod. now I ran into another issue:( my faceposer can see only 2 script files and I made 4 separate scripts for them *showed above in jpegs). I checked rechecked but I don't know why it cant detect other 2 scripts here is a jpeg. Image
I want these 4 sounds or sound scripts to run in one go i thought its better to cut them into 4 small sounds and attach them in faceposer but through sound script it only is reading two files and only those are playable in mod
hani130
Member
Member
 
Joined: Wed Nov 10, 2010 3:37 pm

Return to Mod Talk

Who is online

Users browsing this forum: No registered users