Page 1 of 1

Giving information to a player

Posted: Thu Mar 12, 2015 6:15 am
by arawra
So with the addon I'm developing, I've got quite a bit of information to display. Is it still possible to embed websites into a dynamic MOTD-style message? What other ways are there to do this besides flooding a user's chat box or sending them popup menus?

Posted: Sat Mar 14, 2015 10:58 pm
by satoon101
It is definitely possible to do this on orangebox games. I have read that getting MOTD messages to work on csgo is a bit more complicated, but not sure how.

Posted: Sun Mar 15, 2015 12:25 am
by necavi
There's also the I believe it is KeyHudHint usermessage or something to that effect, in CS:S it shows up on the right hand side of the screen close to the middle and can show quite a few lines of text.

Posted: Sun Mar 15, 2015 4:02 pm
by stonedegg
necavi wrote:There's also the I believe it is KeyHudHint usermessage or something to that effect, in CS:S it shows up on the right hand side of the screen close to the middle and can show quite a few lines of text.


That's not available in cs:go afaik.

@arawra: you could use hudhint as well, but in cs:go it allows only 3 lines to be displayed.

Posted: Sun Mar 15, 2015 4:05 pm
by satoon101
Well, that usermessage (which is actually KeyHintText) is available in csgo, but it uses the same location as HintText. For orangebox games, you can also use HudMsg. I don't have time to provide an example, unfortunately. We really need to get the messages documented on the wiki very soon.

The cool thing with HintText in csgo is that you can use html to modify the font:
http://forums.sourcepython.com/showthread.php?683&p=3775&viewfull=1#post3775