Counter-Strike 2

Counter-Strike 2

View Stats:
Angzi3ty Aug 25, 2016 @ 2:05am
Rainbow HUD for CSGO
Helllo everyone, I am currently trying to put together a rainbow hud for csgo.
The idea is that when you hit movement keys the HUD colors will change in somewhat of a rainbow pattern.

This is what I have so far:

bind "w" "+forward; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10"
bind "s" "+back; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10"
bind "a" "+moveleft; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10"
bind "d" "+moveright; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10"
bind "mouse4" "+duck; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10"
bind "SPACE" "+jump; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10"
bind "MOUSE1" "+attack; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10"

I have run into one issue with this which I would love to get help in resolving.
Currently the bind toggle does work, but the HUD color only changes once you hit escape, is there a way to bypass this? and if not is there any possible way to make the Rainbow HUD a reality, if you have any suggestions or see something I could improve, or even something I did wrong, please feel free to comment so together we can do this! :)

Thanks everyone!
< >
Showing 1-15 of 90 comments
rated m for memes Aug 25, 2016 @ 2:08am 
no way to bypass that, need a game restart or press esc or something
Sithis Aug 25, 2016 @ 2:18am 
Hmmm, I don't remember for sure, but check through in-game console if there is a method that sounds vaguely like "ui_redraw" or something similar. If there is, you might want your binds to do that after changing the color. If not - well, yeah, guess re-drawing the hud is just hardcoded for [Esc] only.
Angzi3ty Aug 25, 2016 @ 2:20am 
Originally posted by Sithis:
Hmmm, I don't remember for sure, but check through in-game console if there is a method that sounds vaguely like "ui_redraw" or something similar. If there is, you might want your binds to do that after changing the color. If not - well, yeah, guess re-drawing the hud is just hardcoded for [Esc] only.

the only thing I see is ui_reloadscheme, as well as hud_reloadscheme
Last edited by Angzi3ty; Aug 25, 2016 @ 2:26am
Sithis Aug 25, 2016 @ 2:35am 
Originally posted by Angzi3ty:
Originally posted by Sithis:
Hmmm, I don't remember for sure, but check through in-game console if there is a method that sounds vaguely like "ui_redraw" or something similar. If there is, you might want your binds to do that after changing the color. If not - well, yeah, guess re-drawing the hud is just hardcoded for [Esc] only.

the only thing I see is ui_reloadscheme, as well as hud_reloadscheme
You can try binding that last one, see if that helps.
Angzi3ty Aug 25, 2016 @ 2:38am 
Originally posted by Sithis:
Originally posted by Angzi3ty:

the only thing I see is ui_reloadscheme, as well as hud_reloadscheme
You can try binding that last one, see if that helps.

Nothing seems to change when I execute those commands.
Last edited by Angzi3ty; Aug 25, 2016 @ 2:39am
Sithis Aug 25, 2016 @ 2:39am 
Originally posted by Angzi3ty:
Originally posted by Sithis:
You can try binding that last one, see if that helps.

they dont seem to change anything when I execute those commands
Well, then I guess that didn't work. Sorry, don't think I've got anything else on my mind atm.
Angzi3ty Aug 25, 2016 @ 2:41am 
Originally posted by Sithis:
Originally posted by Angzi3ty:

they dont seem to change anything when I execute those commands
Well, then I guess that didn't work. Sorry, don't think I've got anything else on my mind atm.

Thats alright, thank you for your help, ive posted this on reddit as well.
Sithis Aug 25, 2016 @ 2:51am 
Originally posted by Angzi3ty:
Originally posted by Sithis:
You can try binding that last one, see if that helps.

they dont seem to change anything when I execute those commands
Ok, the last thing I can suggest you to try is to turn r_drawvgui off and then on. Apparently, CS:GO uses a different interface setup with these things (think flash-like windows instead of "native" interface), that's why reloadscheme works in TF2/CS:S but not CS:GO. Again, I cannot guarantee that this'd work, but that's literally the only related workaround I can think of after reading through the developer.valvesoftware[developer.valvesoftware] updated command spreadsheet...
Angzi3ty Aug 25, 2016 @ 2:54am 
Originally posted by Sithis:
Originally posted by Angzi3ty:

they dont seem to change anything when I execute those commands
Ok, the last thing I can suggest you to try is to turn r_drawvgui off and then on. Apparently, CS:GO uses a different interface setup with these things (think flash-like windows instead of "native" interface), that's why reloadscheme works in TF2/CS:S but not CS:GO. Again, I cannot guarantee that this'd work, but that's literally the only related workaround I can think of after reading through the developer.valvesoftware[developer.valvesoftware] updated command spreadsheet...

Ill look into it, thank you!
Xvalli Aug 25, 2016 @ 2:56am 
keep us posted plz
Sithis Aug 25, 2016 @ 2:57am 
Originally posted by Angzi3ty:
Originally posted by Sithis:
Ok, the last thing I can suggest you to try is to turn r_drawvgui off and then on. Apparently, CS:GO uses a different interface setup with these things (think flash-like windows instead of "native" interface), that's why reloadscheme works in TF2/CS:S but not CS:GO. Again, I cannot guarantee that this'd work, but that's literally the only related workaround I can think of after reading through the developer.valvesoftware[developer.valvesoftware] updated command spreadsheet...

Ill look into it, thank you!
Also, there's a reddit post that implies that reloadscheme is sv_cheats 1 locked in CS:GO, bizarrely enough. Try binding r_drawvgui off/on for one button, reloadscheme on other, and turn on the sv_cheats before actually checking if those do work.
Angzi3ty Aug 25, 2016 @ 2:57am 
Originally posted by Fluffy >>DS<<:
keep us posted plz

Will do, thank you for being so interested!
Clarity.am Dec 20, 2016 @ 10:44am 
There is a interesting command in here, its says mouse4 where CTRL would be.
76561198946247561 Apr 15, 2019 @ 8:58am 
bind "w" "+forward; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10; r_drawvgui 0; r_drawvgui 1"
bind "s" "+back; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10; r_drawvgui 0; r_drawvgui 1"
bind "a" "+moveleft; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10; r_drawvgui 0; r_drawvgui 1"
bind "d" "+moveright; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10; r_drawvgui 0; r_drawvgui 1"
bind "mouse4" "+duck; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10; r_drawvgui 0; r_drawvgui 1"
bind "SPACE" "+jump; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10; r_drawvgui 0; r_drawvgui 1"
bind "MOUSE1" "+attack; toggle cl_hud_color 5 6 4 3 2 1 9 8 7 10; r_drawvgui 0; r_drawvgui 1"
Angzi3ty Apr 15, 2019 @ 9:28am 
Originally posted by λτレλ5:
There is a interesting command in here, its says mouse4 where CTRL would be.

I know this is years late but the reason for that is I personally use mouse4 instead of ctrl for crouching.
< >
Showing 1-15 of 90 comments
Per page: 1530 50

Date Posted: Aug 25, 2016 @ 2:05am
Posts: 90