ui_char_color_(red/green/blue) is read only. Please allow setting model RGB colors via console.

Posts
28
Likes
18
1755306791690.png

1755306842761.png


I'm talking about these ^.

We are forced to drag the sliders around to alter those values but cant set them directly since they are read only:

1755306929757.png


"playertint R G B" and "char_color_red 0-255" etc. don't do anything either
The reason I ask is because I got a lot of .cfg files for adjusting keybinds across various classes and it would be cool to set my RGB values in there too.
 

MaceMadunusus

Level Designer
Donator
Movie Battles II Team Retired
Posts
1,989
Likes
2,826
This is done as part of the process to prevent join bugs and Kyle bugs, ensuring things execute in a specific order. They won't be unlocked and users should not be modifying them directly.
 
Posts
28
Likes
18
Changing the sliders updates those values (ui_char_color_red, ui_char_color_blue, etc.) in REAL time. They can be modified at literally any point in the match.. intermission, round starting, during the round, etc. You can even play as a multi-life class, change the slider, then die and you will respawn with the new color on your second life. The slider is directly tied to the value. You can adjust the slider, type ui_char_color_red in the console, and immediately see that the new value is in there.

So I guess I don't really understand how a console command would be a problem considering the sliders already set these values instantly and unconditionally. It would just be a quality of life change. Unless what you're saying is that adjusting these values in the main menu (while not connected to a server) is where the issue lies. But I'm pretty sure those get reset/defaulted when you join a server anyways.
 

MaceMadunusus

Level Designer
Donator
Movie Battles II Team Retired
Posts
1,989
Likes
2,826
Changing the sliders updates those values (ui_char_color_red, ui_char_color_blue, etc.) in REAL time. They can be modified at literally any point in the match.

It is not the point in the match, or the fact that they update in real time from the sliders. Thats how it is supposed to work.
It is the order of getting to the menu -> changing values -> hitting apply. ui_char_color (and other ui_ character settings) are temporary value holders, not the ones your character actually uses in the back-end.
 
Posts
28
Likes
18
Ah ok that makes sense.

Any chance we could get a console command for setting our characters color in the back-end, then? :3
 

MaceMadunusus

Level Designer
Donator
Movie Battles II Team Retired
Posts
1,989
Likes
2,826
Ah ok that makes sense.

Any chance we could get a console command for setting our characters color in the back-end, then? :3

I don't think so no, part of the point of the whole system is that we can rate-limit anything that goes through it. Which is part of what stops a lot of those bugs.
 
Top