Double hudmessages - in colour

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Double hudmessages - in colour

Post by The Ultimate DooMer »

Ok, I've worked out how to print a string and a variable on the same hudmessage, but how do I make them different colours?

I've currently got my permanent messages set up for 800x600 (with the 2 colours), but of course many people will be awkward and use other settings or choose not to scale text in hi res...
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

you can still use \c# to change the color of hudmessages, just like with print and printbold
User avatar
Kappes Buur
 
 
Posts: 4197
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Post by Kappes Buur »

User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Post by The Ultimate DooMer »

I'm sure I tried that and found it not working. Oh well:

/me tries it again
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Code: Select all

hudmessage(s:"in green color \cA something else"; id, CR_GREEN, ...)
User avatar
Enjay
 
 
Posts: 27206
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Don't know if it will help, but on my tripod/lycos site, about 3/4 of the way down the page is a hudmessage example file that features colours, message types and use of fonts (IIRC).

http://members.lycos.co.uk/Enjay001/
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Post by The Ultimate DooMer »

It's ok, I got it working now.
Locked

Return to “Editing (Archive)”