Btw I simplified it a lot as you were using new custom command and that's not a good idea for such stuff. Cvars are completely sufficient. I also enhanced it so you can choose between 4 modes:
1. classic mode, no change
2. classic mode but with transparency applied
3. your proposed mode: just a color with transparency
4. classic mode, but colorized, with transparency
Btw for mode 2 and 4, the console shader must have been fixed to support colorization and transparency.
In next beta release, the fixed console shader and an updated UI will be provided to customize the console.
For interested people, the shader will be fixed with that one:
- Code: Select all
console
{
nopicmip
nomipmaps
{
map gfx/misc/console01.tga
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbGen vertex
}
}
Thanks again Conq