Puzzleitem.Failmessage change color of text? [Solved]

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Doominer441
Posts: 212
Joined: Thu Oct 24, 2013 9:04 pm
Preferred Pronouns: They/Them

Puzzleitem.Failmessage change color of text? [Solved]

Post by Doominer441 »

When I'm creating a puzzle item, I'm using the failmessage to give the player a hint as to what the item does, but I noticed the text seems to default to this nasty brown color. In Hexen the color is gold, so I presume this is a palette issue, but regardless is there a way to change the color of the text so it fits with other in-game text better?
Last edited by Doominer441 on Tue Mar 21, 2023 8:34 pm, edited 1 time in total.
Blue Shadow
Posts: 5043
Joined: Sun Nov 14, 2010 12:59 am

Re: Puzzleitem.Failmessage change color of text?

Post by Blue Shadow »

To change the color of the centered messages, modify the values of the msgmidcolor and msgmidcolor2 CVARS. Here are the colors which you can choose from.

Doominer441 wrote: Tue Mar 21, 2023 8:47 am I noticed the text seems to default to this nasty brown color. In Hexen the color is gold, so I presume this is a palette issue
Not really. It's just a matter of different defaults for each game.
User avatar
Doominer441
Posts: 212
Joined: Thu Oct 24, 2013 9:04 pm
Preferred Pronouns: They/Them

Re: Puzzleitem.Failmessage change color of text?

Post by Doominer441 »

Oh okay! Thank you!
Post Reply

Return to “Scripting”