Monthly Target: $400 Donations: $221
 55% 

[Source 2013] Custom Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Plugin ID:
2985
Plugin Version:
3.1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
Approver:
Plugin Description:
Custom chat colors for Source 2013 games!
Servers with this Plugin:
2469 
Old 06-02-2012 , 15:20   [Source 2013] Custom Chat Colors
Reply With Quote #1

[Source 2013] Custom Chat Colors

v3.1.0

Description:
Give particular Steam IDs and admin flags custom chat colors and name tags. Supports any color you can imagine, or team color, green, and olive. This is a rewrite of Simple Chat Colors (Redux). Requires Simple Chat Processor (Redux). Complete documentation is in the config file.

Only works in Source 2013 games, which include:
  • Team Fortress 2
  • Counter-Strike: Source
  • Half-Life 2: Deathmatch
  • Day of Defeat: Source

This also works on CS:GO, but only "T", "G", and "O" codes can be used.

Update: I'm getting reports that colors don't work on CS:GO when alive. This is a shame, but this plugin doesn't officially support CS:GO. Don't expect it to be fixed.


This plugin will never support any CS:GO colors beyond those mentioned above, so stop asking.

Commands:
sm_reloadccc - reloads the config file

Cvars:
custom_chat_colors_version - plugin version
custom_chat_colors_auto_update (default 1) - enables automatic updating (has no effect if Updater is not installed)

Requirements:
Requires the Simple Chat Processor (Redux) plugin.

Developers:
This plugin provides several forwards and natives. See the include file for documentation.

Installation:
Install Simple Chat Processor (Redux), extract chatcolors.zip, upload its contents to your /addons/sourcemod directory, and reboot your server or type "sm plugins load custom-chatcolors" into your console or rcon.

Auto Update:
Install Updater. The plugin will be auto-updated according to your Updater settings. It'll work without Updater.

Changelog:
  • v3.1.0 (8/30/14)
    • Added support for Steam3 IDs
  • v3.0.0 (7/8/13)
    • Removed deprecated natives
    • Added CCC_OnColor and CCC_OnChatMessage forwards
    • Deprecated CCC_OnTagApplied, CCC_OnNameColor, and CCC_OnChatColor forwards
    • Improved Updater integration
  • v2.4.0 (2/11/13)
    • Added CCC_OnConfigReloaded forward
  • v2.3.0 (1/27/13)
    • Added support for CS:GO
  • v2.2.0 (1/16/13)
    • Added CCC_OnUserConfigPreLoaded forward so other plugins can block the config file from being loaded
  • v2.1.0 (12/8/12)
    • Added library registration so that other plugins can verify that Custom Chat Colors is running
  • v2.0.0 (11/25/12)
    • Improved and revised natives
  • v1.8.0 (9/27/12)
    • Changed update URL to SVN repository
    • Plugin now properly fails to load when Simple Chat Processor is not installed
  • v1.7.0 (9/16/12)
    • Fixed a bug that caused people to improperly receive colors and tags
  • v1.6.0 (9/16/12)
    • Renamed forwards to add CCC_ prefix
    • Added CCC_OnUserConfigLoaded forward
    • Added CCC_SetNameColor, CCC_SetChatColor, CCC_SetTagColor, and CCC_SetTag natives
  • v1.5.0 (8/25/12)
    • Plugin now warns on load if simple-chatprocessor.smx is not loaded
  • v1.4.0 (7/12/12)
    • Added ability to disable automatic updating
  • v1.3.0 (7/3/12)
    • Fixed a problem with the OnNameColor forward
  • v1.2.0 (6/14/12)
    • Made the natives actually work
  • v1.1.0 (6/14/12)
    • Added OnTagApplied forward
    • Added CCC_GetNameColor, CCC_GetChatColor, CCC_GetTagColor, and CCC_GetTag natives
  • v1.0.0 (6/2/12)
    • Initial release

Download Plugin (chatcolors.zip)

.zip file includes compiled binary, config file, source, and .inc file

Official Modules


.
__________________

Last edited by Dr. McKay; 02-22-2015 at 21:51.
Dr. McKay is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 06-02-2012 , 15:35   Re: [TF2] Simple Chat Colors (Redux) (Redux)
Reply With Quote #2

I think I prefer the term "Dual Redux" or something

Thanks for rewriting this. Given that I often get entity errors with Anti's one, I think I'll check this this as soon as I can.
__________________
11530 is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Old 06-02-2012 , 16:03   Re: [TF2] Simple Chat Colors (Redux) (Redux)
Reply With Quote #3

Sweet, thanks for the release, but like 11530, change the name ;)
__________________

Last edited by ReFlexPoison; 06-02-2012 at 16:03.
ReFlexPoison is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 06-02-2012 , 16:34   Re: [TF2] Custom Chat Colors
Reply With Quote #4

Fine...
__________________
Dr. McKay is offline
Horsedick
SourceMod Donor
Join Date: Sep 2011
Old 06-02-2012 , 16:49   Re: [TF2] Custom Chat Colors
Reply With Quote #5

I liked the name as it was

Thanks for the re-write - lookin at it now.
Horsedick is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Old 06-02-2012 , 18:04   Re: [TF2] Custom Chat Colors
Reply With Quote #6

Maybe someone can answer this for me, any particular reason this feature is only for TF2? I know this has question has been raised before, but I've never actually arrived at the correct answer.
__________________

Last edited by ReFlexPoison; 06-02-2012 at 18:04.
ReFlexPoison is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 06-02-2012 , 18:26   Re: [TF2] Custom Chat Colors
Reply With Quote #7

Quote:
Originally Posted by ReFlexPoison View Post
Maybe someone can answer this for me, any particular reason this feature is only for TF2? I know this has question has been raised before, but I've never actually arrived at the correct answer.
A recent update in TF2 allowed developers to create chat messages with any custom color. This feature doesn't exist in any other game (From what I know), but if we could get it into CSS (Also with the HUD capabilities), it'd be great!

Last edited by minimoney1; 06-02-2012 at 18:26.
minimoney1 is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Old 06-02-2012 , 18:39   Re: [TF2] Custom Chat Colors
Reply With Quote #8

Quote:
Originally Posted by minimoney1 View Post
A recent update in TF2 allowed developers to create chat messages with any custom color. This feature doesn't exist in any other game (From what I know), but if we could get it into CSS (Also with the HUD capabilities), it'd be great!
I understand the update, but my point is, is valve debating on adding the feature in any other game? I've heard they don't "like" the CS:S community.
__________________
ReFlexPoison is offline
AeroAcrobat
SourceMod Donor
Join Date: Apr 2011
Location: lives in a circus
Old 06-02-2012 , 20:11   Re: [TF2] Custom Chat Colors
Reply With Quote #9

holy shmoly!
this is what I've been waiting for, you are the best!
will try it out. Thank you very much!

edit:
would be a gradient color possible ?
not now but maybe in future.
__________________

Last edited by AeroAcrobat; 06-02-2012 at 20:26.
AeroAcrobat is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 06-02-2012 , 21:25   Re: [TF2] Custom Chat Colors
Reply With Quote #10

Encountering this issue:

Code:
L 06/03/2012 - 05:17:28: [SM] Plugin encountered error 25: Call was aborted
L 06/03/2012 - 05:17:28: [SM] Native "SetFailState" reported: Config file missing
L 06/03/2012 - 05:17:28: [SM] Displaying call stack trace for plugin "TF2_customchatcolors.smx":
L 06/03/2012 - 05:17:28: [SM]   [0]  Line 51, D:\Libraries\Documents\Dropbox\SourceMod Plugins\Released\custom-chatcolors.sp::LoadConfig()
L 06/03/2012 - 05:17:28: [SM]   [1]  Line 39, D:\Libraries\Documents\Dropbox\SourceMod Plugins\Released\custom-chatcolors.sp::OnPluginStart()
I have the config file in the correct folder. Not sure what's causing the issue.

Last edited by Mr. Man; 06-02-2012 at 21:30.
Mr. Man 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 12:40.


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