Author Topic: Feature: Info text on hud  (Read 1418 times)

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Feature: Info text on hud
« on: November 03, 2010, 07:45:52 PM »
Add two serversettings like "sv_info1" and "sv_info2".
A serveradmin can write some text there and it will be shown in the low left corner (unused place; red in the picture) on the hud from each client.

The text in the picture, could be made with this for example:
sv_info1 "[OTB] Clan"
sv_info2 "Since 2005"
So there is one setting for each line.



I made the text in the picture with this code in the cl_scrn.c, but its better to have a serversetting, where each admin can make his own message. I don't know, how to do that.
Code: [Select]
re.DrawString(viddef.width/16-1*hudscale, viddef.height-20*hudscale,"[OTB] Clan");
re.DrawString(viddef.width/16-1*hudscale, viddef.height-10*hudscale,"Since 2005");
« Last Edit: November 05, 2010, 09:14:44 AM by T3RR0R15T »

SkaDooSh

  • Autococker
  • Posts: 587
Re: Info text on hud
« Reply #1 on: November 04, 2010, 07:25:35 PM »
Cool idea :)

abnormal

  • Autococker
  • Posts: 649
Re: Feature: Info text on hud
« Reply #2 on: November 05, 2010, 01:03:09 PM »
I find it kind of useless..

idias

  • Autococker
  • Posts: 605
Re: Feature: Info text on hud
« Reply #3 on: November 05, 2010, 01:34:49 PM »
Czechs tend to hide in barrels on that corner, I'll need it.
Not a bad idea but I agree with ab.

pvtjimmy

  • Committee Member
  • Autococker
  • Posts: 2098
Re: Feature: Info text on hud
« Reply #4 on: November 06, 2010, 06:03:51 AM »
Czechs tend to hide in barrels on that corner, I'll need it.

lmfao <3

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Feature: Info text on hud
« Reply #5 on: November 18, 2010, 03:44:29 PM »
On lower resolutions, that would overlap the CO2.  I think it would be a better idea to improve the MOTD screen or add server info to the scoreboard screen.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Feature: Info text on hud
« Reply #6 on: January 20, 2011, 12:48:58 AM »
+1 for jits's idea(s).