skipping voice before finished [SOLVED]

Started by He-Man, Tue 31/05/2005 17:39:11

Previous topic - Next topic

He-Man

Hi
I am just playing around with some voice in my game.
The characters speak and the sound files are played when they should, but the text skips and the next line starts playing before the first sound is finished.
Is there anyway to make AGS wait to skip to the next text line until the first voice sound is through?
I've searched the forums and manual but i can't seem to find the answer anywhere!

strazer

That should be the default behaviour.
What format are the voice sound files in? I've read several posts of people whose OGG files were cut short so they had to extend them with a second of silence.

He-Man

Thanks but...
The fomat mp3 so that should not be a problem.
AGS just begins the next the sound and speech before the sound playing is finished playing...
What commands do I use to switch the settings?
I thought about making the speech text skip later with the wait function but then the player would have to wait for no reason if he/she clicked the mouse the skip the speech...

Ishmael

See the WaitMouseKey() function. It was atleast called that in the old scripting... Might be of some use.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

He-Man

You were right Strazer though the files weren't OGG...
I tried extending the sound that were cut and it worked!
So thanks a lot.
The only problem now is that it's going to take a while to make the silence in the end of the sound the right length. But i can live with that...
WORD!

Rui 'Trovatore' Pires

Ok, so I'm kinda hijacking, but it's relevant, methinks. CJ, about these strange issues, do you have any idea what causes them? I'm not asking for a solution, just whether you've figured out what's happening.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Pumaman

Is it just MP3 that causes the problem? I'm pretty sure OGG was fixed.

Rui 'Trovatore' Pires

It was? I thought it was common to both digital outputs, since it also happened with MP3 apparently... but if OGG was fixed, so much the better.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

SMF spam blocked by CleanTalk