Speech problem!

Started by hms, Wed 16/03/2005 14:02:25

Previous topic - Next topic

hms

Hi all!

Ive greatet this little dialog :

// dialog script file
@S  // dialog startup entry point
EGO: &1 "Hello Peter!"
PETER: "Hello to you!"
return
@1  // option 1
PETER: "Im I'm Peter your best friend"
PETER: "You havent forgot havent you?"
EGO: "No no of course not"
return
@3  // option 3
EGO: "Im going now."
PETER: "Bye"
stop


but how do i play sounds uset as speech?
-------------------------------------------------------
It takes 42 muscles to look angry, but it only takes 6 to slap the idiot down!

Ishmael

To answer the simple question:



Quote from: The holy Manualyou can add the special character '&' to symbolise that a voice file should also be played. The file name is made up of the first four letters of the character's script name, then an ID number. For example,
ego: &10 "Hi! How are you?"
david: &7 "I'm fine."

This would play EGO10.WAV with the first line, and DAVI7.WAV with the second. When a line of text has a voice linked to it, the text on the screen will not be removed until the voice file has finished playing. If the player interrupts it by clicking the mouse or pressing a key, the text and voice will be stopped.
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.

hms

ohh im very sorry!
:'(


But thanks!
-------------------------------------------------------
It takes 42 muscles to look angry, but it only takes 6 to slap the idiot down!

SMF spam blocked by CleanTalk