The Whole Half-Life
TWHL
Forums
Wiki
Vault
Competitions
Discord
More...
Journals
News
Polls
Members
Go
Go
Login
Email or Username
Password
Remember Me
Login
Forgot Your Password?
Register
The Whole Half-Life
Level design resources for GoldSource, Source, and beyond
Featured mod:
TWHL Tower
by
TWHL members
Forums
Wiki
Vault
Competitions
Discord
Community
Journals
News
Polls
Members
Login/Register
Remember Me
Login
Forgot Your Password?
New user?
Create an account
Chat messages question
Created
7 years ago
2016-12-24 18:29:58 UTC
by
EsprimoP
Forums
HL Engine Discussion
View Thread
Created
7 years ago
2016-12-24 18:29:58 UTC
by
EsprimoP
EsprimoP
Posted
7 years ago
2016-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
wEight
seedee
Posted
7 years ago
2016-12-24 19:23:50 UTC
Post #332845
Which chat messages?
seedee
Solokiller
Posted
7 years ago
2016-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.
Solokiller
EsprimoP
Posted
7 years ago
2016-12-24 19:56:13 UTC
Post #332848
Yes, SayText, thanks, I'll check it out.
EsprimoP
wEight
You must be logged in to post a response.