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

[Source 2009 Games] TOGs CONSOLE Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Plugin ID:
4207
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Colors all chat messages from CONSOLE
    Old 05-17-2014 , 18:44   [Source 2009 Games] TOGs CONSOLE Chat Colors
    Reply With Quote #1

    Description
    This plugin colors all chat messages from "CONSOLE". I remember looking for this once, and finding it nowhere, so I made it, and since I'm releasing some of my plugins today, threw this in. Per request, I have made it able to set a tag for console, the console name itself, and set separate colors for the tag, name, and chat.

    Cvars:
    • togcc_consoletag - Tag to use for console. Set blank by default.
      togcc_consolename - Name to use for console. Set to "CONSOLE" by default.
      togcc_tagcolor - Hexadecimal value to use for console tag color (do not include #).
      togcc_namecolor - Hexadecimal value to use for console name color (do not include #).
      togcc_chatcolor - Hexadecimal value to use for console chat color (do not include #).

    Changelog


    Installation
    Place the .smx file in your cstrike/addons/sourcemod/plugins folder.

    Note: To compile it yourself, you will need the More Colors and AutoExecConfig includes.

    This is not for CS:GO. Read the comments and description. "Source 2009 Games". CS:GO does not support hex code. The plugin can be easily modded for CS:GO, but hasn't been, though such a version is available in the comments.

    Servers using this plugin
    >>> Click here to check out my other plugins <<<
    Attached Files
    File Type: smx togconsolecolors.smx (14.2 KB, 936 views)
    File Type: sp Get Plugin or Get Source (togconsolecolors.sp - 1007 views - 3.7 KB)
    __________________

    Last edited by ThatOneGuy; 07-21-2017 at 16:45. Reason: .
    ThatOneGuy is offline
    Azik
    Member
    Join Date: Aug 2011
    Location: France
    Old 05-18-2014 , 06:57   Re: TOGs Console Colors
    Reply With Quote #2

    screenshoot guys ?
    Azik is offline
    Send a message via Skype™ to Azik
    ThatOneGuy
    Veteran Member
    Join Date: Jul 2012
    Location: Oregon, USA
    Old 05-18-2014 , 07:11   Re: TOGs Console Colors
    Reply With Quote #3

    Quote:
    Originally Posted by Azik View Post
    screenshoot guys ?
    I'm not at a computer where I can do this at the moment, but I will try to upload one later. There isnt much to see though. The text from anything by console will be colored the specified color, instead of the default color (yellow in CS:S, e.g.). Regardless, I will upload one for you when I get the chance. Else, you can put it on a server for half a second, send on rcon command: "say TEST SENTENCE IN COLOR" or something like that, and it will print to chat "TEST SENTENCE IN COLOR" in the color specified in the cfg (red by default).
    ThatOneGuy is offline
    Ellie
    Senior Member
    Join Date: Apr 2013
    Old 05-19-2014 , 00:39   Re: TOGs Console Colors
    Reply With Quote #4

    If you're using \x07 you should label this plugin as only for Source 2009 games. Reason being is that \x07 doesn't work in the L4D games, and in CS: GO \x07 is a specific color, not a hex-code color.

    Also, that thread title made me think it was a plugin to change the color of messages in the console window (which I've been told is impossible, but I think there is a way). How about "TOGs Chat Colors for the server name Console" or something like that?

    Last edited by Ellie; 05-19-2014 at 00:43.
    Ellie is offline
    ThatOneGuy
    Veteran Member
    Join Date: Jul 2012
    Location: Oregon, USA
    Old 05-19-2014 , 01:02   Re: TOGs Console Colors
    Reply With Quote #5

    Quote:
    Originally Posted by Ellie View Post
    If you're using \x07 you should label this plugin as only for Source 2009 games. Reason being is that \x07 doesn't work in the L4D games, and in CS: GO \x07 is a specific color, not a hex-code color.

    Also, that thread title made me think it was a plugin to change the color of messages in the console window (which I've been told is impossible, but I think there is a way). How about "TOGs Chat Colors for the server name Console" or something like that?
    Changed the title to better reflect those two things.
    ThatOneGuy is offline
    DJ Data
    SourceMod Donor
    Join Date: Dec 2012
    Location: Switzerland
    Old 05-27-2014 , 17:48   Re: [Source 2009 Games] TOGs CONSOLE Chat Colors
    Reply With Quote #6

    Oh my god, finally someone made this, thank you!
    __________________
    SourcePawn Coding Level: Novice
    DJ Data is offline
    ThatOneGuy
    Veteran Member
    Join Date: Jul 2012
    Location: Oregon, USA
    Old 05-27-2014 , 18:42   Re: [Source 2009 Games] TOGs CONSOLE Chat Colors
    Reply With Quote #7

    Quote:
    Originally Posted by DJ Data View Post
    Oh my god, finally someone made this, thank you!
    I'm sure it's been made several times before, but for some reason no one has posted it as a plugin...so I figured I might as well. and you're quite welcome!
    ThatOneGuy is offline
    Tank Missile
    Member
    Join Date: Aug 2013
    Old 05-27-2014 , 20:17   Re: [Source 2009 Games] TOGs CONSOLE Chat Colors
    Reply With Quote #8

    I edited the code to see if I could change the name of the console, and it worked! Maybe you could add a convar to change the console's name? Maybe tag support, along with tag, name, and chat colors to mix it up a bit?

    Last edited by Tank Missile; 05-27-2014 at 20:19.
    Tank Missile is offline
    ThatOneGuy
    Veteran Member
    Join Date: Jul 2012
    Location: Oregon, USA
    Old 05-27-2014 , 22:04   Re: [Source 2009 Games] TOGs CONSOLE Chat Colors
    Reply With Quote #9

    Quote:
    Originally Posted by Tank Missile View Post
    I edited the code to see if I could change the name of the console, and it worked! Maybe you could add a convar to change the console's name? Maybe tag support, along with tag, name, and chat colors to mix it up a bit?
    lol, this is beginning to sound like SCC or CCC. But since you asked...

    Screenshots
    Attached Files
    File Type: sp Get Plugin or Get Source (togconsolecolors.sp - 537 views - 3.7 KB)
    File Type: smx togconsolecolors.smx (14.2 KB, 364 views)

    Last edited by ThatOneGuy; 05-27-2014 at 22:08.
    ThatOneGuy is offline
    Tank Missile
    Member
    Join Date: Aug 2013
    Old 05-28-2014 , 18:55   Re: [Source 2009 Games] TOGs CONSOLE Chat Colors
    Reply With Quote #10

    Quote:
    Originally Posted by ThatOneGuy View Post
    lol, this is beginning to sound like SCC or CCC. But since you asked...

    Screenshots
    This is fantastic, dude! I was sick of "Who's this console thing talking in gray?" type of messages when I used console. The only suggestion I have left is a very minor one. I only see CONSOLE: in the server console, and I rather see the tag and name I had put into the config file.

    Last edited by Tank Missile; 05-28-2014 at 19:18.
    Tank Missile is offline
    Reply


    Thread Tools
    Display Modes

    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 07:39.


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