AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Simple Chat Colors (Redux) (https://forums.alliedmods.net/showthread.php?t=167814)

Antithasys 09-23-2011 00:33

Re: Simple Chat Colors (Redux)
 
There are two issues going on here.

1. You were on the red team and no one was on the blue team. This made it so blue was an invalid color and therefore replaced with green.

2. Orange and Black are really the same color in TF2, and the color shown depends on if the item found event was fired. Black before an item found event, and yellow/orange afterwards.

Changing to the SMLIB doesn't add colors, well did add these two, but overall the colors available are the same. SMLIB just exposed the orange/black color as well as grey (spectator) color. It also gives you fallback colors. Both SMLIB and the colors.inc by Exvel can only use what the game engine provides, and what they provide has not changed. I switched to SMLIB for coding reasons really, but the side benefit is that it exposed these variations.

EDIT:

I updated the SVN for this plugin with some minor changes to the PrintColors command. It now shows how all the colors are presented and gives a little more information. Check out the beta links if you want to use it. This is the only change and not suggested unless for general use.

Jstn7477 09-23-2011 10:53

Re: Simple Chat Colors (Redux)
 
Thanks for the explanation. I got excited when I saw the color listing for SMLIB but forgot about the past problems with orange/black.

I'll be testing and letting you know if I encounter any other problems. I use a lot of your Simple Plugins and they bring some great functionality to my servers. :3

deathcurse 09-23-2011 11:06

Re: Simple Chat Colors (Redux)
 
Using the new version of this plugin on our servers and seems to be working great so far. Thanks!

poppin-fresh 09-23-2011 12:43

Re: Simple Chat Colors (Redux)
 
Can you please add a cvar so your chat colors are only applied when you type # ??

Antithasys 09-23-2011 20:15

Re: Simple Chat Colors (Redux)
 
Quote:

Originally Posted by poppin-fresh (Post 1561515)
Can you please add a cvar so your chat colors are only applied when you type # ??

No. That doesn't seem to be something that would be useful past yourself. Feel free to edit the plugin for just your servers thou.

poppin-fresh 09-23-2011 23:35

Re: Simple Chat Colors (Redux)
 
It wasn't even my idea. It was auggested to me because some people want to choose when the type with the chat Not all the time. say if its for an admin and their trying to be undercover and their text is [admin] cover blown

wawazy 09-27-2011 22:42

Re: Simple Chat Colors (Redux)
 
just replaced with this new version on server and nothing wrong for now


Thank for this plugin

wa

BaconCat 09-29-2011 21:27

Re: Simple Chat Colors (Redux)
 
Installed and working perfectly. Now my Donators/Admins all have Team Coloured chat text in TF2. :D

psychonic 09-30-2011 09:05

Re: Simple Chat Colors (Redux)
 
@ Antithasys

Code:
public OnLibraryRemoved(const String:name[]) {     if (StrEqual(name, "scp"))     {         SetFailState("Simple Chat Processor Unloaded.  Plugin Disabled.");     } }

You don't need to do that manually. Since REQUIRE_PLUGIN is defined by default and your scp.inc is correct, it will already fail when that is unloaded.

Antithasys 09-30-2011 13:17

Re: Simple Chat Colors (Redux)
 
Nice. I was wondering why that never seemed to run... lol.


All times are GMT -4. The time now is 03:35.

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