Chat messages question Created 7 years ago2016-12-24 18:29:58 UTC by EsprimoP EsprimoP

Created 7 years ago2016-12-24 18:29:58 UTC by EsprimoP EsprimoP

Posted 7 years ago2016-12-24 18:29:58 UTC Post #332842
Where is/are the code/s for displaying chat messages located in? In which dll does the compiled code end up as well?
EsprimoP EsprimoPwEight
Posted 7 years ago2016-12-24 19:23:50 UTC Post #332845
Which chat messages?
Posted 7 years ago2016-12-24 19:28:19 UTC Post #332846
The SayText network message is used to send chat to all players. On the client side, the CHudSayText::MsgFunc_SayText method receives that message.
See https://github.com/ValveSoftware/halflife/blob/5d761709a31ce1e71488f2668321de05f791b405/cl_dll/saytext.cpp#L166 for more information, the CHudSayText class takes care of chat history and drawing.
Posted 7 years ago2016-12-24 19:56:13 UTC Post #332848
Yes, SayText, thanks, I'll check it out.
EsprimoP EsprimoPwEight
You must be logged in to post a response.