AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Admin Message Colors (https://forums.alliedmods.net/showthread.php?t=62066)

ferret 10-17-2007 20:19

Admin Message Colors
 
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

Xp3r7 10-17-2007 22:48

Re: Admin Message Colors
 
I like the all green. That way the whole message stands out in chat and not just the admins name that said it.

FlyingMongoose 10-17-2007 23:28

Re: Admin Message Colors
 
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

sessus 10-18-2007 01:07

Re: Admin Message Colors
 
what about a cvar to set the colour?

compbry15 10-18-2007 01:09

Re: Admin Message Colors
 
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.

BAILOPAN 10-18-2007 01:44

Re: Admin Message Colors
 
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.

Extreme_One 10-18-2007 07:36

Re: Admin Message Colors
 
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.

Nolongerinthegame 10-18-2007 07:40

Re: Admin Message Colors
 
Red text for the message would be good

csallis 10-18-2007 09:04

Re: Admin Message Colors
 
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 :)

Nolongerinthegame 10-18-2007 10:09

Re: Admin Message Colors
 
I agree with the mani style, but i think people will notice the colour red more than green


All times are GMT -4. The time now is 05:25.

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