Need help with game.speech_text_gui

Started by Ferret, Wed 11/06/2003 20:02:08

Previous topic - Next topic

Ferret

Noob question ahoy!

Pretty much as the subject suggests, I'm having problems with setting the gui for the Sierra style w/background dialog option. The talking view and text show up fine, but no background. I poked around the help file for a bit, created a separate gui and checked the "Text Window" option, and I'm still none the wiser.

So... where do I put / how do I setup the "game.speech_text_gui" so that I get my lovely generic-gray text background?

Scorpiorus

Once you made a text window GUI open global script, find game_start() function and add the following line inside:

function game_start() {

game.speech_text_gui = <write GUI here>;

// Example: game.speech_text_gui = GUISIERRA;

}

Also make sure you chose Sierra-style w/background and not just Sierra-style.

-Cheers

Ferret

#2
Okay, I done put in the code, made sure the name of the gui and the name in the script matched, double checked to make sure that it's set to Sierra-style w/background. But, upon conversation with a character in game...

QuoteAn exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x0041D62E ; program pointer is +155, ACI version 2.55.560, gtags (8,120)

AGS cannot continue, this exception was fatal. Please note down the numbers above, remember what you were doing at the time and notify CJ on the Tech forum.

The game and dialog works fine without the game.speech_text_gui present, but with it in there it's keeps on crashing as soon as I talk to a character (in this case, a single hotspot defined to run dialog topic 0 upon mode_talk interaction).

EDIT --
Okay, I done up a small trial game using the bare basics of what AGS gives you (good ol' Roger), and the crash error is gone. Thus, concluding that I have really buggered something up along the way. I shall report my findings soon...

Ferret

Hmm... Okay, new problem (fixed the old one). When I choose Sierra Style w/background and rund a dialog, the gui that holds the text is surrounded by images of that little blue cup. Any idea's as to how I can get rid of it?

Scorpiorus

On converting a GUI to the Text Window AGS places eight buttons along the edges of that GUI. They are borders images. If you do not specify them sprite slots then blue cups appear instead. See Customized Text Windows section in the manual for more info.

-Cheers

SMF spam blocked by CleanTalk