Raised This Month: $ Target: $400
 0% 

Can someone explain Hud Channels to me please.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EvolDay
Senior Member
Join Date: Apr 2008
Location: Canada
Old 08-13-2008 , 15:13   Can someone explain Hud Channels to me please.
Reply With Quote #1

Hi i was wondering if someone could explain hud channels to me, I was wondering how many are supported is it unlimited? can u like have a 100 different hud channels and would it do anything to the server. Thank you for anyone whom helps.
EvolDay is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-13-2008 , 15:20   Re: Can someone explain Hud Channels to me please.
Reply With Quote #2

AFAIK, 4 channels.
__________________
Arkshine is offline
EvolDay
Senior Member
Join Date: Apr 2008
Location: Canada
Old 08-13-2008 , 15:40   Re: Can someone explain Hud Channels to me please.
Reply With Quote #3

Thankyou arkshine
EvolDay is offline
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 08-13-2008 , 15:42   Re: Can someone explain Hud Channels to me please.
Reply With Quote #4

I don't know if this will help, but think of the channels as Television channels, you broadcast on separate channels. You can have 4 different messages being displayed, but if you put two different messages on one channel, the first message is over-written by the second.
__________________
Don't ever place an order with Vee Servers. This is why.
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
EvolDay
Senior Member
Join Date: Apr 2008
Location: Canada
Old 08-13-2008 , 18:52   Re: Can someone explain Hud Channels to me please.
Reply With Quote #5

So, the cs hud can display 4 channels at once, but the channel can be any number you want? one more thing what would happen if you tried to display 5 channels at once?
EvolDay is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-13-2008 , 21:15   Re: Can someone explain Hud Channels to me please.
Reply With Quote #6

There are only 4 channels, 1-4. If you put in a different number (-1 does next free channel) you won't get anything. If you send something to a channel that is already displaying something, the old thing disappears and the new one displays.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 08-14-2008 , 18:01   Re: Can someone explain Hud Channels to me please.
Reply With Quote #7

Quote:
Originally Posted by YamiKaitou View Post
If you put in a different number (-1 does next free channel) you won't get anything.
Not true.

Code:
	bool aut = (g_hudset.channel == -1) ? true : false;
	int channel = -1;
	if (!aut)
	{
		/**
		 * guarantee this to be between 0-4
		 * if it's not auto, we don't care
		 */
		channel = abs(g_hudset.channel % 5);
	}
This code also suggests that there are five channels (contradicting the FuncWiki).
__________________
No support via PM.

Last edited by Lee; 08-14-2008 at 22:07.
Lee is offline
allenwr
Veteran Member
Join Date: Jan 2006
Location: The place where the karm
Old 08-17-2008 , 15:23   Re: Can someone explain Hud Channels to me please.
Reply With Quote #8

Um, 5 = 4 channels (plus) the "-1" channel.

Just my opinion, 5 different channel options might be the best way to describe it?
__________________
Don't ever place an order with Vee Servers. This is why.
allenwr is offline
Send a message via ICQ to allenwr Send a message via Yahoo to allenwr
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 08-17-2008 , 16:48   Re: Can someone explain Hud Channels to me please.
Reply With Quote #9

*sigh* -1 is not a channel.

Code:
                if (aut)                 {                     channel = pPlayer->NextHUDChannel();                     pPlayer->channels[channel] = gpGlobals->time;                     g_hudset.channel = channel;                 }
0-4 is five numbers.
__________________
No support via PM.
Lee is offline
BAILOPAN
Join Date: Jan 2004
Old 08-17-2008 , 18:02   Re: Can someone explain Hud Channels to me please.
Reply With Quote #10

There are four. Looks like that cut-off is a bug.
BAILOPAN is offline
Reply



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 05:27.


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