SierraWithBackground not showing background! - solved!

Started by Dave Gilbert, Thu 31/01/2013 16:54:31

Previous topic - Next topic

Dave Gilbert

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.





Help?

Thanks!

-Dave

Edit: Don't know if this a factor or not, but this is a 640 x 400 game

Volcan

#1
Check the use GUI for dialog Option. You might use the wrong GUI for dialog.

Dave Gilbert

Hi Voltan. I tried that, and it worked, but only for dialog options. The background still does not appear when the characters speak.

Volcan

Wierd...

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



Unless you use different technique.

MurrayL

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.

Crimson Wizard

Maybe also double-check that you dont call SetSpeechStyle function anywhere in the scripts to set different speech type.

Dave Gilbert

#6
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.


SMF spam blocked by CleanTalk