Skip to content

Chat & ColorVariables config

KissLick edited this page Sep 28, 2015 · 3 revisions

TeamGames uses ColorVariables to manage colors in chat, so you can easily change colors and prefix!

Variable Description
tg-noneteam None team color
tg-redteam Red team color
tg-blueteam Blue team color
tg-settings Module settings (mostly game settings) color
tg-module Module name color

| @tg-player PLAYER_INDEX | Player's TG team color @tg-team TEAM | TG team color | &prefix | TeamGames chat prefix (not color)

Example:

"colorvariables"
{
	"&prefix"			"TG"
	"tg-noneteam"		"{default}"
	"tg-redteam"		"{lightred}"
	"tg-blueteam"		"{blue}"
	"tg-settings"		"{green}"
	"tg-module"			"{green}"
}

ConVar Description
tg_chat_teamprefix Use TG team chat prefix?
tg_chat_doubleimportant Double printing important messages?

TeamGames also blocks these engine messages: #SFUI_Notice_Killed_Teammate, #Cstrike_TitlesTXT_Game_teammate_attack, #Hint_try_not_to_injure_teammates, #Player_Cash_Award_Kill_Teammate.