Raised This Month: $ Target: $400
 0% 

Module: Orpheu (v2.6.3)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
PartialCloning
Senior Member
Join Date: Dec 2015
Old 12-15-2015 , 01:24   Re: Module: Orpheu (v2.6.3)
Reply With Quote #11

Quote:
Originally Posted by addicted2sex View Post
You can catch hud messages by catching game messages:

MESSAGE_BEGIN with msgtype SVC_TEMPENTITY (23)
WRITE_BYTE(TE_TEXTMESSAGE); // TE_TEXTMESSAGE - 29
...
WRITE_STRING(message)

Using register_message? I tried that but it didn't work. It seems the only way to hook it is through orpheu as you can read here:

Quote:
Originally Posted by ot_207 View Post
Yes, connor is right.

You need to do the function format file for EngFunc_MessageBegin, EngFunc_MessageEnd, and EngFunc_WriteString. After that you basically hook the 3 functions with orpheu and do all the dirty work.
However I figured I'd try hooking UTIL_HudMessage first to see if that works. I'm trying to create a permanent hud by blocking any hud messages that attempt to replace or use that channel. I feel like that's a better approach than re-sending the hud message every 0.1 seconds to ensure it remains on the player's screen.

Last edited by PartialCloning; 12-15-2015 at 01:24.
PartialCloning is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode