halflife
halflife copied to clipboard
[Suggestion] Print the "SayText" messages instantly in the console
Please print the chat messages instantly in the console, rather than when they disappear.
Useful for when you didn't get the chance to read something and you disconnected and/or map changed.
Thank you.
+1
Yes, this will be a good feature. There is too much delay on showing messages in console.
+1 too
To implement this two changes are needed: Remove this line: https://github.com/ValveSoftware/halflife/blob/c7240b965743a53a29491dd49320c88eecf6257b/cl_dll/saytext.cpp#L83
And modify this: https://github.com/ValveSoftware/halflife/blob/c7240b965743a53a29491dd49320c88eecf6257b/cl_dll/saytext.cpp#L176-L183
To be like this:
void CHudSayText :: SayTextPrint( const char *pszBuf, int iBufSize, int clientIndex )
{
// Print it straight to the console
ConsolePrint( pszBuf );
if ( gViewPort && gViewPort->AllowedToPrintText() == FALSE )
{
return;
}
Now all SayText input is immediately printed to the console, and will not be printed when it has been removed from the SayText buffer.