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

[Source 2013] Custom Chat Colors


Post New Thread Reply   
 
Thread Tools Display Modes
Mitchell
~lick~
Join Date: Mar 2010
Old 03-12-2015 , 15:47   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1061

Quote:
Originally Posted by Mayor Gamer View Post
I'll tell you when i'm home. I'm playing tennis also, for some reason, my FTP server is down and i contacted support. Will tell you later.

Also, what encoding should it be, so if i check i try it.
UTF-8 without BOM, you should be able to see this in Notepad++ if you goto Encoding->UTF-8 without BOM
Mitchell is offline
Mayor Gamer
Senior Member
Join Date: Nov 2012
Location: GetLocationOfUser(me);
Old 03-12-2015 , 17:34   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1062

Encoded with UTF-8 Without BOM

Yup. Everything seems fine, yet they still don't work
__________________
Mayor Gamer is offline
CodenameHaswell
Junior Member
Join Date: Jan 2014
Old 03-13-2015 , 14:39   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1063

I have an issue that puzzles me. I am pretty sure I have everything set up correctly, But whenever I first start my server and type in chat, my tag and name colors come out fine, but my textcolor comes out with the hex code behind it. But when I reload the plugin it comes out just fine.

Screenshots:





My tag and textcolors are the same exact hex code.

My config:

Code:
"admin_colors"
{
	"STEAM_0:0:105241753"
	{
		"tag"				"[Owner] "
		"tagcolor"			"#FFD700"
		"namecolor"			"#000000"
		"textcolor"			"#FFD700"
	}
	
	"STEAM_0:0:34959316"
	{
		"tag"				"[Co-Owner] "
		"tagcolor"			"#FFD700"
		"namecolor"			"#000000"
		"textcolor"			"#FFD700"
	}
	
	"Root"
	{
		"flag"				"o"
		"tag"				"[Root] "
		"tagcolor"			"#FF00FF"
		"namecolor"			"#000000"
		"textcolor"			"#FF00FF"
	}
	
	"Operator"
	{
		"flag"				"p"
		"tag"				"[Operator] "
		"tagcolor"			"#FF00FF"
		"namecolor"			"#000000"
		"textcolor"			"#FF00FF"
	}
	
	"Admin"
	{
		"flag"				"q"
		"tag"				"[Admin] "
		"tagcolor"			"#FF00FF"
		"namecolor"			"#000000"
		"textcolor"			"#FF00FF"
	}
	
	"Moderator"
	{
		"flag"				"r"
		"tag"				"[Moderator] "
		"tagcolor"			"#FF00FF"
		"namecolor"			"#000000"
		"textcolor"			"#FF00FF"
	}
	
	"Donator+"
	{
		"flag"				"s"
		"tag"				"[Donator+] "
		"tagcolor"			"#FF00FF"
		"namecolor"			"#000000"
		"textcolor"			"#FF00FF"
	}
	
	"Donator"
	{
		"flag"				"t"
		"tag"				"[Donator] "
		"tagcolor"			"#FF00FF"
		"namecolor"			"#000000"
		"textcolor"			"#FF00FF"
	}
}
What am I doing wrong? I have everything installed and set up correctly to my knowledge.

Last edited by CodenameHaswell; 03-13-2015 at 14:43.
CodenameHaswell is offline
DramaLlama
Member
Join Date: Jan 2015
Location: Vancouver
Old 03-19-2015 , 12:51   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1064

Anyone know what I did wrong? The owner tag plus chat colour works but the second group I made for admins does not.

Code:
"admin_colors"
{
    "STEAM_0:1:16"
    {
        "tag"                "[BAILOPAN] "
        "tagcolor"            "O"
    }
    "OWNER"
    {
        "flag"                "z"
        "tag"                "[OWNER] "
        "tagcolor"            "G"
        "namecolor"            "G"
        "textcolor"            "G"
    }
    "VIP"
    {
        "flag"                "b"
        "tag"                "[ADMIN] "
        "tagcolor"            "O"
        "namecolor"            "T"
        "textcolor"            "T"
    }
}

Last edited by DramaLlama; 03-19-2015 at 12:52.
DramaLlama is offline
Azerja12
Senior Member
Join Date: Feb 2013
Location: EU
Old 03-23-2015 , 15:38   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1065

I want a tag on all "new" players. Is there a flag for this or something?

How do i go about giving all new players the same tag?
__________________
Azerja12 is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 03-24-2015 , 17:01   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1066

Ive managed to get this partially working with csgo.

using the simple chat processor redux and

Quote:
{

{
"flag" "z"
"tag" "[Admin] "
"tagcolor" "O"
"namecolor" "G"
}

}
I can get the name to change to green but the tag remains blue if using "G"

Any tips for getting the green tag color working?

note: the tag and name color works when alive too

note: using "T" for the tag color does work just not "G"


edit: another problem i have is on every map change the plugin must be reloaded in console for it to work again.

Last edited by secondtimesold; 03-25-2015 at 00:52.
secondtimesold is offline
Azerja12
Senior Member
Join Date: Feb 2013
Location: EU
Old 03-25-2015 , 11:22   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1067

Quote:
Originally Posted by secondtimesold View Post
Ive managed to get this partially working with csgo.

using the simple chat processor redux and



I can get the name to change to green but the tag remains blue if using "G"

Any tips for getting the green tag color working?

note: the tag and name color works when alive too

note: using "T" for the tag color does work just not "G"


edit: another problem i have is on every map change the plugin must be reloaded in console for it to work again.
I take it by blue you mean the default ct color. I've been able to get purple and white to work. I have a plugin where people can buy titles. When they do the tag will then turn white.
__________________
Azerja12 is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 03-25-2015 , 17:39   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1068

how did you get purple and white to work?

and yea by blue i meant it stays default ct or even t color
secondtimesold is offline
Azerja12
Senior Member
Join Date: Feb 2013
Location: EU
Old 03-26-2015 , 03:09   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1069

Quote:
Originally Posted by secondtimesold View Post
how did you get purple and white to work?

and yea by blue i meant it stays default ct or even t color
It might be a combination of plugins. Many of my plugins are ment to have colors in them. For instance, my advertisement plugin which send out chat messages also suppert these colors. But it's kind of weird. When i use lightgreen i get purple and when i use default i get white. I've rewritten my files so many times i dno which is from what.

After the last sourcemod update the tag now works as white and gives me the player name in t or ct color.

CCC file:
Code:
"admin_colors"
{
	"Admins"
	{
		"flag"						"z"
		"tag"						"[Admin] "
		"tagcolor"				"{G}"
		"namecolor"			"{T}"
	}
^makes tag white and namecolor standard team color.

Advertisement example:
Code:
	"3"
	{
		"type"		"S"
		"text"		" {LIGHTGREEN}To see the server forum and rules type: {DEFAULT}motd"
	}
^makes lightgreen purple and default white.


*I might be derping*
__________________

Last edited by Azerja12; 03-26-2015 at 03:11.
Azerja12 is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 03-26-2015 , 23:35   Re: [Source 2013] Custom Chat Colors
Reply With Quote #1070

i use the advertisements plugins too.. let me try the purple.. if it works thanks for the tip.

edit: yup lightgreen = purple..

Last edited by secondtimesold; 03-26-2015 at 23:38.
secondtimesold 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:51.


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