Can't Play speech!

Started by j-Hed, Sun 18/01/2004 22:55:51

Previous topic - Next topic

j-Hed

Hello again!

the room has a region (player stands on region - PlayAmbientSound) where you start on. That works fine but when you look at a hotspot on the wall the player should say "It's a hole."

DisplaySpeech (EGO, "&1 It's a hole");


The text is showing but there is no sound (the file is named EGO1.ogg).
I have tried to put StopChannel (1); <---(1 is the AmbientSound channel)
and displayspeech after but it's still no sound.

Please help!



Gilbert

Hmmm did other speech files play?

If not, then it's probably you didn't set the voice mode properly, try look at the SetVoiceMode() function.

j-Hed

Well I put - SetVoiceMode(1);  then DisplaySpeech etc. in - Look at hotspot window.
I tried putting - SetVoiceMode(1); in the global script at Game_start  also but it won't play the damn .ogg-file.
All other .ogg-files work but this is my first speech test ever so I probably missed something important.






Ben

Did you rebuild your VOX files before testing the game? You can do that from the "Game" menu, or by pressing ctrl+B.

j-Hed

Yes I did try to rebuild vox files before testing Game.

I have looked in the game map and the compiled map but there is no "speech.vox"-file.
Shouldn't it be one after I Rebuilded Vox files?

j-Hed

Hehe!
Solved it, the .ogg file was located in the compiled folder but when I put it in the Game folder it worked  :P :-[ :)

Thanks!

SMF spam blocked by CleanTalk