Raised This Month: $51 Target: $400
 12% 

View Poll Results: Which coloring scheme for say/chat messages?
Use what we already have 17 26.15%
Change to all green mani-style 42 64.62%
I'll post my own suggestion 6 9.23%
Voters: 65. You may not vote on this poll

Admin Message Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 10-17-2007 , 20:19   Admin Message Colors
Reply With Quote #1

We've received multiple requests to change the colors used by sm_chat, sm_say, etc.

Currently, we prefix the message with green, so that (Admin) and the name of the Admin are colored. We then have the text of the message in normal chat color.

Mani colors the entire line in green, prefix and message.

We've decided to let the community decide.

Current: (Admin) Name: Message message message
Mani: (Admin) Name: Message message message
__________________
I'm a blast from the past!
ferret is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 10-17-2007 , 22:48   Re: Admin Message Colors
Reply With Quote #2

I like the all green. That way the whole message stands out in chat and not just the admins name that said it.
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 10-17-2007 , 23:28   Re: Admin Message Colors
Reply With Quote #3

The #1 issue is not all games support colors or the same colors. Light green does not exist in dods, the dark green in css is red in dods, yellow (default) in css is white in dods
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose is offline
sessus
Senior Member
Join Date: May 2006
Old 10-18-2007 , 01:07   Re: Admin Message Colors
Reply With Quote #4

what about a cvar to set the colour?
sessus is offline
compbry15
Junior Member
Join Date: Oct 2007
Old 10-18-2007 , 01:09   Re: Admin Message Colors
Reply With Quote #5

The best case scenario, imo, would be to allow admins to change the colors on the fly, depending on what colors are available to the certain mod.

I could see a situation with a embedded switch statement, or a normal switch statement with simple if's inside.

So the admin could do sm_csay yellow "stop camping" and it would come out:

ADMIN Orius: stop camping


where the admin prefix is in a standard color always, and the user can decide what colors to use from a limited palette.

Example pseudo-pseudo-code:

Code:
switch(color) {
    case yellow:
          print yellowtext(text to be outputted) if (CS:S) // code for outputting yellow in CSS
          print yellowtext(text to be outputted) if (TF2) // code for outputting yellow in TF2

   case blue:
          print bluetext(text to be outputted) if (CS:S) // code for outputting blue text in CSS
          // you get the idea
   // more cases with more colors

   default:
                  print whitetext(text to be outputted) // default of white text
}
I am not sure if the above is even possible in Source, but I remember using AMX to make all different colored csay text in HL1.
compbry15 is offline
BAILOPAN
Join Date: Jan 2004
Old 10-18-2007 , 01:44   Re: Admin Message Colors
Reply With Quote #6

Making it configurable is a little excessive when you can open up the script, change the colors, and recompile. There's only so far you can take configuration.
__________________
egg
BAILOPAN is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 10-18-2007 , 07:36   Re: Admin Message Colors
Reply With Quote #7

I really don't mind what we currently have. The fact that it appears in 2 colours: (Admin) Name: Message message message actually seems more eyecatching to me than when it was one colour like MANI does it.

I also think it's good that their are some differences (however subtle) between the MANI admin system and the SourceMOD system.
__________________
Extreme_One is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 10-18-2007 , 07:40   Re: Admin Message Colors
Reply With Quote #8

Red text for the message would be good
Nolongerinthegame is offline
csallis
Senior Member
Join Date: Sep 2007
Old 10-18-2007 , 09:04   Re: Admin Message Colors
Reply With Quote #9

I find as it is now people don't see it or don't take notice of it.

There is no way of knowing that just because the name is green that the person is an admin.. Even if it said Admin PlayerName: message at least they would know.

I think the mani style will stand out more and at least show that the player is an admin
csallis is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 10-18-2007 , 10:09   Re: Admin Message Colors
Reply With Quote #10

I agree with the mani style, but i think people will notice the colour red more than green
Nolongerinthegame 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 04:45.


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