Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Duckbutcher on Thu 27/03/2008 18:47:47

Title: Changing colour of status bar text
Post by: Duckbutcher on Thu 27/03/2008 18:47:47
Hi guys, quick question and apologies if the answer's right under my nose. I'm using the Proskritos MI2 2.71 template and would like to know how to permanently change the colour of the text on the status bar, "Walk to" etc from its familiar Monkey Island purple to a more 'me' colour. Any ideas? I've looked through the GUI script and can't find anything obvious.
Title: Re: Changing colour of status bar text
Post by: Khris on Thu 27/03/2008 20:30:48
Go to the GUI editor, select the GUI, then the label (that's used to display the status bar text), then change the text color in the properties pane. (Select a color using the palette pane.)
Title: Re: Changing colour of status bar text
Post by: Duckbutcher on Fri 28/03/2008 02:16:41
Tried that! Sorry, should've mentioned.

The colour change is only temporary, and the status line returns to its original colour after you perform your first action. I guess it's something to do with the way the status line highlights when you complete an action.

Any ideas?
Title: Re: Changing colour of status bar text
Post by: on Fri 28/03/2008 05:06:50
If I remember correctly, this template changes colours by using some values defined in the general script- that explains why your changes in the GUI settings are only temporary.

You should check the top section of the general script for a define or an int with an obvious name like "Textcolour", "Highlightcolour" or similar, and then chance *this* number to the one you want.
Title: Re: Changing colour of status bar text
Post by: Khris on Fri 28/03/2008 09:09:25
Yeah, Ghost is right. I was already half asleep when I posted :)

In the MMM-template which is based on Proskrito's, it's at line 16 & 17 of the global script:
int ...
...
ActionLabelColorNormal          = 530,    // Used in action bar
ActionLabelColorHighlighted     = 1180,   // Used in action bar