Speech doesn't work in 2.72 (SOLVED)

Started by auriond, Mon 08/03/2010 10:27:06

Previous topic - Next topic

auriond

I keep thinking I must be missing something out here, but I just can't get speech files to work on AGS 2.72. Searching the forums got me this and this but neither had a conclusive solution.

To lay out my problem: I'm testing speech with one file, which I've named GIUS001.ogg (I always have file extensions on, so I know it's most definitely an .ogg). The dialog goes like this:

Code: ags
GIUSEPPE: &001 Hello, Martin.


I put the GIUS001.ogg file in the Speech folder in the game folder, and rebuild VOX files. A speech.vox file is generated in the Compiled folder. At 149KB it's a little over three times the size of the original 38KB .ogg. I figure everything looks right, so I run the test. Nothing. Acts just like it did without the speech file.

I tried it with a Say command too, and it didn't work either.

Any help or insight would be greatly appreciated! My actors have worked really hard and I really don't want to give up on this.

barefoot

#1
Check out this link as well as the Manual you have:

http://www.adventuregamestudio.co.uk/manual/Voice%20speech.htm

Seriously recommend you upgrade to 3.1 at somepoint!

All speech files must start with the first 4 characters of the player's scriptname who is saying it.. then put a number.

IE    cSim1.ogg     cTom2.ogg    cBen1.ogg   etc

In Room put your script like this example:

cSimon.Say("&1 Hi! How are you?");    THIS WILL PLAY cSim1.ogg
cTom.Say("&2 I'm fine.");                      THIS WILL PLAY cTom2.ogg

make sure the ogg files go into your Game (Not complied) folder (2.6/2.72 versions), then rebuild VOX file.  Put in Speech Folder if using 3.1

Hope this helps.

Barefoot


I May Not Be Perfect but I Have A Big Heart ..

monkey0506

I think the problem is that AGS doesn't (I believe) support leading zeroes in the name of your speech files. So just remove the leading zeroes (from the speech file and the speech line) and see if that makes a difference.

auriond

That worked! Thanks Monkey. Odd because I could have sworn I did try removing the leading zeroes before (I even have a file named GIUS2.ogg in the speech folder). But hooray! It works now! :D

SMF spam blocked by CleanTalk