Raised This Month: $ Target: $400
 0% 

Simple Chat Colors (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 02-11-2014 , 16:02   Re: Simple Chat Colors (Redux)
Reply With Quote #331

Quote:
Originally Posted by dwreck View Post
still popping up randomly now. SIGH.
Considering the author hasn't been active in almost a year, don't expect this plugin to ever be updated.
__________________
Dr. McKay is offline
shot5fir3d
Member
Join Date: May 2009
Old 02-12-2014 , 18:16   Re: Simple Chat Colors (Redux)
Reply With Quote #332

Quote:
Originally Posted by Ownkruid View Post
I finally managed to get it working on Insurgency but i have one issue.

When I'm alive everything is working fine but when I'm dead or spectating the *DEAD* and (Spectator) prefixes are not using the team colors they should have and the regular SM color. Anyway to solve this?
Would really love to know exactly how you got it working for Insurgency.
Tried literally everything i could to get it working but neither colors or tags would show up at all in-game.
shot5fir3d is offline
shot5fir3d
Member
Join Date: May 2009
Old 02-17-2014 , 10:23   Re: Simple Chat Colors (Redux)
Reply With Quote #333

Anything yet on this to get it working for insurgency?
Thought i'd give this a quick bump
shot5fir3d is offline
shot5fir3d
Member
Join Date: May 2009
Old 02-17-2014 , 15:43   Re: Simple Chat Colors (Redux)
Reply With Quote #334

It says in the SMLIB "Then add #include <smlib> at the top of your sm plugin file and you are done."

What sm plugin do i add that too? I'm trying to get this working with simple chat colors and just can't seem to get it.

This is to install it for Insurgency standalone.
shot5fir3d is offline
NeoCortex726
New Member
Join Date: Jan 2014
Old 03-29-2014 , 23:31   Re: Simple Chat Colors (Redux)
Reply With Quote #335

Alright, for some reason, messages are duplicated 3 or 4 times.
This just started happening, and for seemingly no reaosn. :C

Last edited by NeoCortex726; 03-30-2014 at 00:05.
NeoCortex726 is offline
Send a message via Skype™ to NeoCortex726
Litolmic
New Member
Join Date: Apr 2014
Old 04-16-2014 , 09:05   Re: Simple Chat Colors (Redux)
Reply With Quote #336

Hi , i've got problem with this plugin....

************************************
My problem is this:

When i install this plugin to my server nowhere not problem... I go to config BELOW

********************************************* ***************************
// ********************************************* ****************************
// Simple Chat Colors Config File
// Description:
// Changes the colors of players chat based on config file
// ********************************************* ****************************
// ********************************************* ****************************
// This file is part of Simple Plugins project.
//
// This plugin is free software: you can redistribute
// it and/or modify it under the terms of the GNU General Public License as
// published by the Free Software Foundation, either version 3 of the License, or
// later version.
//
// This plugin is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this plugin. If not, see <http://www.gnu.org/licenses/>.
// ********************************************* ****************************
// ********************************************* ****************************
// How to edit this file:
// "admin_colors" <-- Leave this alone
// { <-- Add all groups/steamids after first bracket (Leave this alone)
//
// "STEAM_0:1:1234567" <-- Here is a steamid example with a tag (don't duplicate steamids)
// {
// "namecolor" "{T}" <-- This is the color for the name
// "textcolor" "{N}" <-- This is the color of the text
// }
//
// "groupname" <-- This can either be a steamid for a specific player, or a group name
// { <-- Open the group
// "flag" "z" <-- This is the flag(s) assoicated with the group. This field doesn't matter if the group name is a steamid
// "tag" "[admin]" <-- This is the text for the tag
// "tagcolor" "{G}" <-- This is the color for the tag
// "namecolor" "{G}" <-- This is the color for the name
// "textcolor" "{N}" <-- This is the color of the text
// } <-- Close the group
// } <-- Add all groups/steamids before last bracket (Leave this alone)
//
// NOTE:
// If you don't enter a steamid then the group name does not matter, it's just for your reference.
//
// For a better understanding of what these colors mean, how they work, and on what games, see this link:
// http://forums.alliedmods.net/showpos...02&postcount=2
// Thanks to everyone working on the smlib for the great .inc files!
//
// --------ORDER OF OPERATIONS--------
//
// The order in which you place items in the config file matters. Here is what determins what color they get:
// 1. SteamID
// If there is a steamid present, it will always override everything. If you put a steamid in twice
// then the first entry (top to bottom) will be used. (I think, just don't do it!)
// 2. Groups
// The plugin will search (top to bottom) for a postitive match for the flag string. The player' flags
// will be compared with the group flag string, and if the player has all the flags, it will stop there.
// For example. Admins with the "ad" flags and donators with the "a" flag. If you place the "a" flag group
// above the "d" group then the admin will get the "a" colors. Order matters.
// You can use more than 1 flag for the group. You could have made the admin group with the "ad" flag,
// but it will always take the first match.
//
// ---------DO NOT EDIT ABOVE THIS LINE---------
"admin_colors"
{


"STEAM_0:0:78312813"
{
"tag" "[OWNER]"
"tagcolor" "{R}"
"namecolor" "{G}"
}

"STEAM_0:0:78312813"
{
"flag" "z"
"tag" "[ADMIN]"
"tagcolor" "{R}"
"namecolor" "{G}"
}

"VIP"
{
"flag" "a"
"tag" "[VIP]"
"tagcolor" "{B}"
"namecolor" "{T}"
"textcolor" "{OG}"
}
}





And i save it and go to my server... And i haven't got Tag before my name! Where is problem? Plz help me.. Sry for my english but i come from Czech Republic. Thx
Litolmic is offline
LambdaLambda
AlliedModders Donor
Join Date: Oct 2010
Location: London
Old 04-19-2014 , 00:51   Re: Simple Chat Colors (Redux)
Reply With Quote #337

@Litolmic
have you installed Simple Chat Processor? Cos it's required to run this plugin.
LambdaLambda is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 06-13-2014 , 07:16   Re: Simple Chat Colors (Redux)
Reply With Quote #338

For anyone still wanting to use this plugin, but want colours for TF2... I found a solution:

1. Modify the gamedata\smlib_colors.games.txt so that has the following
Code:
	/* Team Fortress 2 */
	"tf"
	{
		"Keys"
		{
			"lightgreen_supported"	"true"
			"gray_supported"		"true"
			"black_supported"		"true"

			"gray_code"			"1"
			"gray_subjecttype"		"-3"
			"black_code"			"7"
			"black_subjecttype"		"-3"
		}
	}
Or similar. The black_ lines are what matter.

2. Use SCC and set the colour tag in your configs\simple-chatcolors.cfg file like this:
Code:
"admin_colors"
{
	"GROUPA"
	{
		"flag"		"z"
		"tag"		"[TEST]"
		"tagcolor"	"{BLA}FF69B4"
	}
}
The important part is the {BLA}FF69B4 part. That hex string will force the colour of your choice in RGB format.

I hope someone out there find this useful. Now you can have all the colour you want (more than 16 million).

Last edited by CoolJosh3k; 06-13-2014 at 07:19.
CoolJosh3k is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 06-13-2014 , 17:06   Re: Simple Chat Colors (Redux)
Reply With Quote #339

Quote:
Originally Posted by CoolJosh3k View Post
For anyone still wanting to use this plugin, but want colours for TF2... I found a solution:

1. Modify the gamedata\smlib_colors.games.txt so that has the following
Code:
	/* Team Fortress 2 */
	"tf"
	{
		"Keys"
		{
			"lightgreen_supported"	"true"
			"gray_supported"		"true"
			"black_supported"		"true"

			"gray_code"			"1"
			"gray_subjecttype"		"-3"
			"black_code"			"7"
			"black_subjecttype"		"-3"
		}
	}
Or similar. The black_ lines are what matter.

2. Use SCC and set the colour tag in your configs\simple-chatcolors.cfg file like this:
Code:
"admin_colors"
{
	"GROUPA"
	{
		"flag"		"z"
		"tag"		"[TEST]"
		"tagcolor"	"{BLA}FF69B4"
	}
}
The important part is the {BLA}FF69B4 part. That hex string will force the colour of your choice in RGB format.

I hope someone out there find this useful. Now you can have all the colour you want (more than 16 million).
https://forums.alliedmods.net/showthread.php?t=186695

??
__________________
Dr. McKay is offline
CoolJosh3k
AlliedModders Donor
Join Date: Mar 2010
Old 06-13-2014 , 18:17   Re: Simple Chat Colors (Redux)
Reply With Quote #340

CCC is probably the better way to go. Was just posting what I figured out, for those who want to use SCC for whatever reason.
CoolJosh3k 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:27.


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