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: 13
- 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
do i have to change the status bar face too?
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
No, that should be OK.
There is an element of the status bar that can change with player colour in multiplayer games, but it's the background to the face, not the face itself.
There is an element of the status bar that can change with player colour in multiplayer games, but it's the background to the face, not the face itself.
-
- Posts: 248
- Joined: Mon Jan 09, 2023 2:02 am
- Graphics Processor: nVidia (Modern GZDoom)
Re: i dont know how to change player colors
It's much simpler:
DoomPlayer has "Player.ColorRange 112, 127;"
ChexPlayer has "player.colorrange 192, 207;" with this comment added: //Not perfect, but its better than everyone being blue.
The game doesn't need to know, you can just define the desired range on your player class.
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
Yup:
I'm a little bit rusty with some of the inner workings of GZDoom, having been semi-away for some time, but it's coming back to me.
I'm a little bit rusty with some of the inner workings of GZDoom, having been semi-away for some time, but it's coming back to me.
-
- Posts: 13
- 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
how?Professor Hastig wrote: ↑Thu Mar 28, 2024 3:07 amIt's much simpler:
DoomPlayer has "Player.ColorRange 112, 127;"
ChexPlayer has "player.colorrange 192, 207;" with this comment added: //Not perfect, but its better than everyone being blue.
The game doesn't need to know, you can just define the desired range on your player class.
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: i dont know how to change player colors
By creating your own custom player class and adding the appropriate code:
https://zdoom.org/wiki/Creating_new_player_classes
https://zdoom.org/wiki/Classes:PlayerPawn
https://zdoom.org/wiki/Creating_new_player_classes
https://zdoom.org/wiki/Classes:PlayerPawn