Can't get colored blood to match custom palette
Can't get colored blood to match custom palette
So I was playing Eviternity, which has its own palette. And I added a custom small mod that colorizes the Cacos and Barons' blood colors. But no matter what I try, the colorized blood doesn't match the Eviternity palette. For example, the caco sprites' blood in Eviternity look kind of like teal-ish, but the spawned blood (and decals) appear to be unaffected by the palette at all.
Is there no way around this?
Is there no way around this?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can't get colored blood to match custom palette
The translation is not palette-matched. You have to specify a translation that uses the actual colors in the palette.
Re: Can't get colored blood to match custom palette
Can't seem to get it to work. What's wrong here?
I got this translation string from SLADE:
Code: Select all
actor aaa : Cacodemon replaces Cacodemon
{
BloodColor "176:191=198:207"
}
Re: Can't get colored blood to match custom palette
That's mapping to palette locations - and it looks like Slade is still loading the default Doom palette. Have you tried mapping to RGB values that appear in the custom palette (not that the values have to be in the palette at all)?
Maybe try
"176:191=[83,83,255]:[0,0,83]"
Maybe try
"176:191=[83,83,255]:[0,0,83]"
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can't get colored blood to match custom palette
Blood color is an RGB value, not a translation string. What it ultimately does is recoloring the complete range of colors to a shade of the given color.
Re: Can't get colored blood to match custom palette
I think what Nash needs is a way to specify a color by its index value instead of by its direct RGB value. Perhaps a syntax such as "BloodColor @204" with the @ character to indicate it's an index value?
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can't get colored blood to match custom palette
Well, this was never designed to adapt to different palettes.
Re: Can't get colored blood to match custom palette
As an aside:
That's neat.
That's neat.
Re: Can't get colored blood to match custom palette
Graf: Ah, that's too bad then. Oh well. I guess the only way is to make patches for WAD-specific blood colors.
Enjay: Thanks! it's a personal HUD mod. It'll be released some time this year (when I feel it's ready). :D
Enjay: Thanks! it's a personal HUD mod. It'll be released some time this year (when I feel it's ready). :D