YaLTeR / OpenAG

An open-source reimplementation of Adrenaline Gamer's client library.
https://j.mp/OpenAG
Other
131 stars 42 forks source link

Color in console comments #96

Open LeonN534 opened 3 years ago

LeonN534 commented 3 years ago

Sometimes we are far from the pc for a while and we couldn't read a message, so we have to go to the console. Everything has the same color and find the message is a mess. So put chat comments of another color in console would be great.

YaLTeR commented 3 years ago

Unfortunately console is drawn by the engine which means OpenAG can't control the color. I don't remember what prints the chat into the console though, if it's OpenAG then it could at least strip the colors.

tmp64 commented 3 years ago

Actually, you can change console output color with a bit of hackery.

https://github.com/tmp64/BugfixedHL-Rebased/blob/767b14b2085b79749c8b14cb1917e5a49e958a69/src/game/client/console.cpp#L168-L216

YaLTeR commented 3 years ago

Well, yeah, of course you can. But this is OpenAG, I'd rather take zero VAC risks.

LeonN534 commented 3 years ago

So... we can't do anything about it? Edit: I just read the same question onn closed issues section. I understand, sorry.