Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Dave Gilbert on Thu 31/01/2013 16:54:31

Title: SierraWithBackground not showing background! - solved!
Post by: Dave Gilbert on Thu 31/01/2013 16:54:31
So, on all accounts I did everything right. I have a game with Sierra style character portraits, and I have a textwindow GUI (22) that I want to display behind the text to make it easier to read. I made sure to set the SpeechStyle setting to "SierraWithBackground", and I used the command SetTextWindowGUI(22) to activate it. But for some reason, it doesn't display. Am I missing a step, here? The GUI displays just fine when displaying text using the "Display" command.

(http://i.imgur.com/6hlk9mt.png)

(http://i.imgur.com/iBcaOLx.png)

Help?

Thanks!

-Dave

Edit: Don't know if this a factor or not, but this is a 640 x 400 game
Title: Re: SierraWithBackground not showing background!
Post by: Volcan on Thu 31/01/2013 22:45:52
Check the use GUI for dialog Option. You might use the wrong GUI for dialog.
Title: Re: SierraWithBackground not showing background!
Post by: Dave Gilbert on Thu 31/01/2013 23:43:20
Hi Voltan. I tried that, and it worked, but only for dialog options. The background still does not appear when the characters speak.
Title: Re: SierraWithBackground not showing background!
Post by: Volcan on Fri 01/02/2013 00:07:09
Wierd...

Because I have no problem with background when the player speaks.

(http://www.atariage.com/forums/gallery_ips/gallery/album_185/gallery_1196_185_8325.png)

Unless you use different technique.
Title: Re: SierraWithBackground not showing background!
Post by: MurrayL on Fri 01/02/2013 00:12:39
First, if you've got VO enabled (which I doubt at this stage in development, but you never know!), make sure game.no_textbg_when_voice is set to 0.
If that doesn't fix anything (and it probably won't), try setting game.speech_text_gui to 22.
Title: Re: SierraWithBackground not showing background!
Post by: Crimson Wizard on Fri 01/02/2013 00:21:23
Maybe also double-check that you dont call SetSpeechStyle function anywhere in the scripts to set different speech type.
Title: Re: SierraWithBackground not showing background!
Post by: Dave Gilbert on Fri 01/02/2013 13:30:49
Quote from: Crimson Wizard on Fri 01/02/2013 00:21:23
Maybe also double-check that you dont call SetSpeechStyle function anywhere in the scripts to set different speech type.

THIS WAS IT!

Buried in the game init code was a SetSpeechStyle command that reverted the sierra style to nonbackground mode. Yeeshus can't believe I missed that.

(http://i.imgur.com/nWWCbnW.png)