Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Kennedy on Fri 05/09/2003 01:27:34

Title: Sierra Style Speech with background.
Post by: Kennedy on Fri 05/09/2003 01:27:34
Maybe you should have an option to display a specific GUI for charcter speech backgrounds the way you can have one for thoughts when speech dispaly is set to "Sierra Style with Background".
Also if you do not use a special GUI for text boxes and use an outlined font for speech then the color inside the outline is transparent allowing you to see through the background box.
Title: Re:Sierra Style Speech with background.
Post by: Timosity on Fri 05/09/2003 05:53:29
For your first question: You can change the the gui's, and backgrounds for Sierra Style Speech with background.

before you DisplaySpeech you can change with these:

SetGUIBackgroundPic (int gui, int sprite slot no.) // will change the background of the particular gui

game.speech_text_gui=10; // will change the speech gui to 10 for example

so you can change to as many different speech gui's as you like during a game, even in the same sequence if you wish.

As for the second question??? is it a question or just a statement??? if it's a question, I'm not sure what you mean, cause yes, I guess an outlined font would be transparent showing the box behind, ??? as an outlined font is transparent in the middle

hope that is some help

~Tim
Title: Re:Sierra Style Speech with background.
Post by: Kennedy on Fri 05/09/2003 08:47:37
Quote from: Tìmosíty on Fri 05/09/2003 05:53:29
For your first question: You can change the the gui's, and backgrounds for Sierra Style Speech with background.

before you DisplaySpeech you can change with these:

SetGUIBackgroundPic (int gui, int sprite slot no.) // will change the background of the particular gui

game.speech_text_gui=10; // will change the speech gui to 10 for example

so you can change to as many different speech gui's as you like during a game, even in the same sequence if you wish.

As for the second question??? is it a question or just a statement??? if it's a question, I'm not sure what you mean, cause yes, I guess an outlined font would be transparent showing the box behind, ??? as an outlined font is transparent in the middle

hope that is some help

~Tim

Thanks for the info, It still would be nice to set the Speech Backround GUI from the general settings though.
Also it seams that using a text GUI for speach background sets the text color to that of the text gui rather then that specific character.

The second sentance was a statement rather than a question.
When I displayed an outlined font in a standard textbox, not only was the font transparent, but the textbox behind the font was transparent to,
Thus I could see through the text box to the screen below inside the font outline.

Title: Re:Sierra Style Speech with background.
Post by: Kennedy on Fri 26/09/2003 05:20:44
Also, is there anyway I could choose the position where the dialogue and the talking veiw are displayed when using Sierra style speach?

(sorry about the double post, I would have just edited it, but then the topic wouldn't show up as updated in the forum and still be on the 4th page)
Title: Re:Sierra Style Speech with background.
Post by: Timosity on Fri 26/09/2003 05:40:05
Yes, you can use this:

DisplaySpeechAt (int x, int y, int width, CHARID, string message);

Eg. DisplaySpeechAt(100,30,85,EGO,"No worries, it's ok to bump up a thread with a new question, especially for the reason that no one would notice if you just edited your post a few pages back.");

~Tim
Title: Re:Sierra Style Speech with background.
Post by: Kennedy on Sat 27/09/2003 00:04:37
Thanks!

For some reason I thought that DisplaySpeechAt would only work with Lucas Style speech.