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

CoD-Style Color Codes


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Afronanny
Veteran Member
Join Date: Aug 2009
Plugin ID:
1647
Plugin Version:
1.0.5
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Add CoD-Style color codes to your name in chat
    Unapprover:
    Reason for Unapproving:
    Author's request.
    Old 05-07-2010 , 15:56   CoD-Style Color Codes
    Reply With Quote #1

    CoD-Style Color Codes
    Purpose:
    Make CoD color codes work with TF2
    (and any other mods that support SayText2)!

    Simply place the color codes (^1, ^2, ^3, ^4, ^5, ^6, ^7, ^8, ^9) in your name to have it colored in chat! I cannot color your name in the scoreboard!

    Cvar to enable/disable this plugin is:

    sm_codnamecolor_enabled (Default: 1)

    The colors are as follows (for TF2):
    ^0 - Default
    ^1 - Default
    ^2 - White
    ^3 - Team color
    ^4 - Green
    ^5 - Olive green
    ^6 - Item color (usually yellow, black if the client hasn't seen an item found or crafted yet)
    ^7 - Default
    ^8 - Team
    ^9 - Green

    Have fun.



    Changelog:
    Quote:
    1.0.5 - Fixed an issue with console chat, added support for the ^0 tag
    1.0.4 - Preventing non-admins from having the [ADMIN] tag
    1.0.3 - Fixed Team chat issues + name not being normal color when no color tag is used
    1.0.2 - Fixed coloring of entire message, rather than just the name.
    1.0.1 - Added extra color codes
    1.0 - Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (codcolors.sp - 474 views - 3.5 KB)

    Last edited by Afronanny; 07-08-2010 at 23:53.
    Afronanny is offline
    Anti Christ
    Member
    Join Date: Dec 2009
    Location: Down south
    Old 05-07-2010 , 18:35   Re: COD-Style Color Codes
    Reply With Quote #2

    Oh my god. I wish there was a way to ban these people automatically. I hate those people with ^'s in their name

    Though it's a decent plugin, and I appreciate what you're doing, I just don't like the people that do it. Though it might appease them to install this on my server, so I might try it
    Edit: Okay, I tried it. Nothing happened, lol.
    http://i39.tinypic.com/20avqc9.jpg

    Last edited by Anti Christ; 05-07-2010 at 18:59.
    Anti Christ is offline
    dirka_dirka
    Veteran Member
    Join Date: Nov 2009
    Old 05-07-2010 , 22:02   Re: COD-Style Color Codes
    Reply With Quote #3

    this isnt enough, you need to add the other numbers - and duplicate colors as needed.
    dirka_dirka is offline
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 05-07-2010 , 23:12   Re: COD-Style Color Codes
    Reply With Quote #4

    Quote:
    Originally Posted by dirka_dirka View Post
    this isnt enough, you need to add the other numbers - and duplicate colors as needed.
    Source engine only goes up to 6, so that's how many I put. Updated to use ^1 thru ^9

    Quote:
    Originally Posted by Anti Christ View Post
    Oh my god. I wish there was a way to ban these people automatically. I hate those people with ^'s in their name

    Though it's a decent plugin, and I appreciate what you're doing, I just don't like the people that do it. Though it might appease them to install this on my server, so I might try it
    Edit: Okay, I tried it. Nothing happened, lol.
    http://i39.tinypic.com/20avqc9.jpg
    I cannot color the name in the scoreboard, unfortunately. This only works in chat.

    Last edited by Afronanny; 05-07-2010 at 23:15.
    Afronanny is offline
    Anti Christ
    Member
    Join Date: Dec 2009
    Location: Down south
    Old 05-07-2010 , 23:17   Re: COD-Style Color Codes
    Reply With Quote #5

    Quote:
    Originally Posted by Afronanny View Post
    I cannot color the name in the scoreboard, unfortunately. This only works in chat.
    Ah, might want to put that in your post then :p
    Anti Christ is offline
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 05-07-2010 , 23:20   Re: COD-Style Color Codes
    Reply With Quote #6

    Quote:
    Originally Posted by Afronanny View Post

    Simply place the color codes (^1, ^2, ^3, ^4, ^5, ^6) in your name to have it colored in chat!
    It already was.
    Afronanny is offline
    Anti Christ
    Member
    Join Date: Dec 2009
    Location: Down south
    Old 05-07-2010 , 23:21   Re: COD-Style Color Codes
    Reply With Quote #7

    I see...
    I'm a retard Ignore me

    Got it working though. Works fine
    http://i42.tinypic.com/a3hurs.jpg

    Last edited by Anti Christ; 05-07-2010 at 23:25.
    Anti Christ is offline
    Afronanny
    Veteran Member
    Join Date: Aug 2009
    Old 05-07-2010 , 23:28   Re: COD-Style Color Codes
    Reply With Quote #8

    Quote:
    Originally Posted by Anti Christ View Post
    I see...
    I'm a retard Ignore me

    Got it working though. Works fine
    http://i42.tinypic.com/a3hurs.jpg
    Ouch.
    Instead of coloring just your name it colors the whole message lol. Fixing now
    Afronanny is offline
    Anti Christ
    Member
    Join Date: Dec 2009
    Location: Down south
    Old 05-07-2010 , 23:30   Re: COD-Style Color Codes
    Reply With Quote #9

    Yay, I am being helpful
    Anti Christ is offline
    Laser32
    AlliedModders Donor
    Join Date: Sep 2006
    Location: Germany (Schwerin)
    Old 05-14-2010 , 03:48   Re: CoD-Style Color Codes
    Reply With Quote #10

    yellow dont work ?

    ^6 is Black

    pls help
    Laser32 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 11:32.


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