Text Colors

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
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Text Colors

Post by Xtyfe »

I noticed while changing the names of skills in mapinfo, that the text does not match the color of the original doom image versions. After looking around for a solution, I found the TEXTCOLO lump which seems to control this.

However, the lump in ZDoom.pk3 does not have a color defined that matches the doom one. I was wondering if anyone knew how to define one that did :?:
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Text Colors

Post by NeuralStunner »

Trial and error.
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: Text Colors

Post by Xtyfe »

NeuralStunner wrote:Trial and error.
Not exactly helpful :|
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Text Colors

Post by NeuralStunner »

I don't have the code you want already written. If I had, it would have been found by trial and error.

If what you want is help with the TextColors format in general, that wasn't really clear. :?
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: Text Colors

Post by Xtyfe »

NeuralStunner wrote:I don't have the code you want already written. If I had, it would have been found by trial and error.

If what you want is help with the TextColors format in general, that wasn't really clear. :?
Indeed, That's why i was hoping someone had already done it :P The use of hexadecimal for the color ranges scares me.

It seems the text headings for many of the options menus that don't have images also suffer from this issue, Its irritating to say the least
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Text Colors

Post by Gez »

Use color "untranslated".
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: Text Colors

Post by Xtyfe »

Gez wrote:Use color "untranslated".
In menudef or mapinfo?

Edit: Tried this out, it makes the text white now

Edit2: Further testing has shown that just skill names and the player setup menu title text is white, all other options menu titles are red as before.
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: Text Colors

Post by amv2k9 »

Xtyfe wrote:Indeed, That's why i was hoping someone had already done it :P The use of hexadecimal for the color ranges scares me.
There ought to be a tool somewhere that gives you hex numbers for colors; that feature happens to be built in to the image editor I use.
User avatar
Xtyfe
Posts: 1490
Joined: Fri Dec 14, 2007 6:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support

Re: Text Colors

Post by Xtyfe »

I think the real issue is that the included big font is different from dooms, the numbers are certainly different.

You should see the status bar when it uses the big font numbers, looks like ass with a side of shit

Edit: I think I found the issue, the color ranges in TEXTCOLO recolor the black parts of the font red as well, thats why it looks different. However I'm not sure how to fix this myself, or if this should be considered a bug?
Locked

Return to “Editing (Archive)”