i dont know how to change player colors
Moderator: GZDoom Developers
Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
i dont know how to change player colors
Recently i downloaded a chex quest mod and i went to player setup and the hair color for my character (blue) changed (kind of like megaman 8 bit deathmatch) and for normal gzdoom that didnt happen just showed the default blue in the vanila color palette how can i make the hair change color correctly
-
- Posts: 12
- Joined: Mon Mar 25, 2024 6:40 pm
- Graphics Processor: Not Listed
Re: i dont know how to change player colors
Which Chex Quest mod was it?
-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
-
-
- Posts: 26938
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
I suspect the problem here is because the player sprite is not green:

The Doom player sprite is green:

and the game engine uses the green range of colours as the ones that can be remapped to other colours while leaving the rest of the colours in the sprite unaltered.
Because the Chex sprite does not use the green range, when you try to alter the player colours, there is nothing in the sprite to be changed - so it remains blue.
I think that there have been a few Chex replacement player sprites released by people that can be used as a skin or over-ride for the blue sprites and, with one of them loaded, you can change the player colour.
[edit]Oops, sorry, I think I misread the OP.
Is the problem that the player sprite that you want to use has blue hair, but it is now changing with the Chex mod loaded?
If so, then it is a related problem. My guess is that, with Chex loaded, the game "knows" that the colour range that should be subject to remapping for the player sprites is not green but blue (I just checked - the game does indeed "know" that). If you have a sprite/skin loaded that has blue hair, with Chex loaded, that's the colour that will be getting changed.[/edit]

The Doom player sprite is green:

and the game engine uses the green range of colours as the ones that can be remapped to other colours while leaving the rest of the colours in the sprite unaltered.
Because the Chex sprite does not use the green range, when you try to alter the player colours, there is nothing in the sprite to be changed - so it remains blue.
I think that there have been a few Chex replacement player sprites released by people that can be used as a skin or over-ride for the blue sprites and, with one of them loaded, you can change the player colour.
[edit]Oops, sorry, I think I misread the OP.
Is the problem that the player sprite that you want to use has blue hair, but it is now changing with the Chex mod loaded?
If so, then it is a related problem. My guess is that, with Chex loaded, the game "knows" that the colour range that should be subject to remapping for the player sprites is not green but blue (I just checked - the game does indeed "know" that). If you have a sprite/skin loaded that has blue hair, with Chex loaded, that's the colour that will be getting changed.[/edit]
-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
Re: i dont know how to change player colors
i can change the light blue hair part to the correct colors unlike in normal gzdoom it changes into a soulsphere blue
-
-
- Posts: 26938
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
See my edit to my previous post. It might explain things. If not, can you post your sprite, or a screenshot or something so that I know we are talking about the same thing?
-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
Re: i dont know how to change player colors
yes thats the problem i have posted an old version of my sprite replacement mod in here take a look at my profile
-
-
- Posts: 26938
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
CanMan player sprite right?
Yup, with Chex loaded, the hair on your sprite becomes changable:

(Pic taken with Chex Quest loaded)
If you want the same thing to happen in Doom, then colour your sprite hair green and then change it in the player preferences.
If you are interested in defining a totally new player class, then you can set which colours are the ones subject to alteration in the preferences menu by including Player.ColorRange in your player definition.
Yup, with Chex loaded, the hair on your sprite becomes changable:

(Pic taken with Chex Quest loaded)
If you want the same thing to happen in Doom, then colour your sprite hair green and then change it in the player preferences.
If you are interested in defining a totally new player class, then you can set which colours are the ones subject to alteration in the preferences menu by including Player.ColorRange in your player definition.
-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
Re: i dont know how to change player colors
makes sense i guess thanks though
-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
Re: i dont know how to change player colors
so something like this?
You do not have the required permissions to view the files attached to this post.
-
-
- Posts: 26938
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
BTW, I think what you might see in Doom (when you mentioned "soul sphere blue") is an artefact of how GZDoom does the sprite colour changing. If you are trying to translate the colours of a sprite, GZDoom first maps the colours in the sprite to the best matches it can find in the Doom palette. So, with your player sprite loaded, when you try to change colours, GZDoom maps the colours in your sprite to the Doom palette. The light blue in your sprite does not exist in Doom, so the "soul sphere blue" that you mentioned is probably the nearest match. You don't really notice this happening with the rest of the sprite because it's all grey and Doom has a lot of greys in its palette.

If you just leave the player preference at "Green" Doom doesn't try to remap the colours so you can see your normal light blue.


If you just leave the player preference at "Green" Doom doesn't try to remap the colours so you can see your normal light blue.

-
-
- Posts: 26938
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
Re: i dont know how to change player colors
YES FINALLY I KNOW WHAT HAPPENED THANK YOU MAN REALLY I SEARCHED SO HARD FOR THIS THANK. YOU.
-
-
- Posts: 26938
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
No problem, glad you got it worked out.
Of course, your revised sprite will probably have unchangeable green hair if you use it in Chex Quest.
Of course, your revised sprite will probably have unchangeable green hair if you use it in Chex Quest.

-
- Posts: 15
- Joined: Sun Jan 14, 2024 7:17 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): windows 11
Re: i dont know how to change player colors
no the light blue looks the same pretty much so doesnt matter 
