Raised This Month: $89 Target: $400
 22% 

[Any] Arbitrary Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2987
Plugin Version:
1.1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    66 
    Plugin Description:
    Colours! Everywhere!
    Old 06-03-2012 , 16:37   [Any] Arbitrary Chat Colors
    Reply With Quote #1

    [Any] Arbitrary Chat Colors
    Version 1.1.0


    Description:
    Allows players with access to use any html colour code in chat.

    Examples:
    • Input: this is some #ff00ffpink#ffffff text!
    • Output:
    • Input: #ff0000this text is red, #00ff00this text is green, #0000ffthis text is blue!
    • Output:
    Cvars:
    • chatcolours_version
      • Plugin Version

    Install Instructions:

    1. Install Simple Chat Processor (Redux).
    2. Place ColourChat.smx into your addons/sourcemod/plugins/ folder.


    Access Control:
    Use chat_colour_override with your admin_overrides.cfg to change who can use chat colours.
    Default access level is ~everyone~
    Notes:
    This uses custom includes and will NOT compile on the forums. Compile it yourself, or use the pre-compiled .smx file.

    This currently works in all Source 2009 games.

    Version History:
    • V1.0.0
      • Initial Release
    • V1.1.0
      • Code optimizations
      • Fixed a handle leak
      • Removed the test command
    Total downloads as prior to last edit: 97
    Attached Files
    File Type: sp Get Plugin or Get Source (ColourChat.sp - 496 views - 1.2 KB)
    File Type: smx ColourChat.smx (2.8 KB, 841 views)
    __________________

    Last edited by DarthNinja; 03-29-2016 at 21:12.
    DarthNinja is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 06-03-2012 , 18:14   Re: [TF2] Arbitrary Chat Colours
    Reply With Quote #2

    I think you got beat. http://forums.alliedmods.net/showthread.php?t=186695
    __________________

    DontWannaName is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 06-03-2012 , 18:31   Re: [TF2] Arbitrary Chat Colours
    Reply With Quote #3

    I'm pretty sure I didn't.
    __________________

    Last edited by DarthNinja; 06-03-2012 at 18:34.
    DarthNinja is offline
    Horsedick
    AlliedModders Donor
    Join Date: Sep 2011
    Old 06-03-2012 , 18:59   Re: [TF2] Arbitrary Chat Colours
    Reply With Quote #4

    Yeah Darth's version allows players to shift colors on the fly vs Kay's is for groups or specific placed users in a config like the old simple chat colors - very different plugins.
    Horsedick is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 06-03-2012 , 19:52   Re: [TF2] Arbitrary Chat Colours
    Reply With Quote #5

    It helps to look at code before jumping to conclusions.
    __________________
    DarthNinja is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 06-03-2012 , 20:35   Re: [TF2] Arbitrary Chat Colours
    Reply With Quote #6

    For some reason this doesn't stay loaded on map change for CS:S.
    __________________
    Fearts is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 06-03-2012 , 20:57   Re: [TF2] Arbitrary Chat Colours
    Reply With Quote #7

    Made a little HTML page for people to use on their servers if they want this public.

    http://disc-ff.com/cstrike/color.html
    Attached Files
    File Type: zip color.zip (514 Bytes, 132 views)
    __________________
    Fearts is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 06-03-2012 , 21:41   Re: [TF2] Arbitrary Chat Colours
    Reply With Quote #8

    I forgot chat colors aren't TF2 only anymore.
    I'll update the name to reflect that shortly.
    __________________
    DarthNinja is offline
    ReFlexPoison
    ☠☠☠
    Join Date: Jul 2011
    Location: United States
    Old 06-04-2012 , 05:21   Re: [Any] Arbitrary Chat Colours
    Reply With Quote #9

    Ask this about a lot of the new color plugins, does the hex value show before the message in player's console?
    __________________
    ReFlexPoison is offline
    Fearts
    ferts of daeth
    Join Date: Oct 2008
    Old 06-04-2012 , 18:39   Re: [Any] Arbitrary Chat Colours
    Reply With Quote #10

    Is there a reason this keeps getting unloaded? Every few map changes it just stops working and when I check the plugins list it doesn't show as loaded.
    __________________
    Fearts 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 15:48.


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