AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   CoD-Style Color Codes (https://forums.alliedmods.net/showthread.php?t=126263)

Afronanny 05-07-2010 15:56

CoD-Style Color Codes
 
7 Attachment(s)
CoD-Style Color Codes
Purpose:
Make CoD color codes work with TF2
(and any other mods that support SayText2)!

Simply place the color codes (^1, ^2, ^3, ^4, ^5, ^6, ^7, ^8, ^9) in your name to have it colored in chat! I cannot color your name in the scoreboard!

Cvar to enable/disable this plugin is:

sm_codnamecolor_enabled (Default: 1)

The colors are as follows (for TF2):
^0 - Default
^1 - Default
^2 - White
^3 - Team color
^4 - Green
^5 - Olive green
^6 - Item color (usually yellow, black if the client hasn't seen an item found or crafted yet)
^7 - Default
^8 - Team
^9 - Green

Have fun.

http://imgur.com/jZmpz.png

Changelog:
Quote:

1.0.5 - Fixed an issue with console chat, added support for the ^0 tag
1.0.4 - Preventing non-admins from having the [ADMIN] tag
1.0.3 - Fixed Team chat issues + name not being normal color when no color tag is used
1.0.2 - Fixed coloring of entire message, rather than just the name.
1.0.1 - Added extra color codes
1.0 - Initial Release

Anti Christ 05-07-2010 18:35

Re: COD-Style Color Codes
 
Oh my god. I wish there was a way to ban these people automatically. I hate those people with ^'s in their name

Though it's a decent plugin, and I appreciate what you're doing, I just don't like the people that do it. Though it might appease them to install this on my server, so I might try it :)
Edit: Okay, I tried it. Nothing happened, lol.
http://i39.tinypic.com/20avqc9.jpg

dirka_dirka 05-07-2010 22:02

Re: COD-Style Color Codes
 
this isnt enough, you need to add the other numbers - and duplicate colors as needed.

Afronanny 05-07-2010 23:12

Re: COD-Style Color Codes
 
Quote:

Originally Posted by dirka_dirka (Post 1173959)
this isnt enough, you need to add the other numbers - and duplicate colors as needed.

Source engine only goes up to 6, so that's how many I put. Updated to use ^1 thru ^9

Quote:

Originally Posted by Anti Christ (Post 1173779)
Oh my god. I wish there was a way to ban these people automatically. I hate those people with ^'s in their name

Though it's a decent plugin, and I appreciate what you're doing, I just don't like the people that do it. Though it might appease them to install this on my server, so I might try it :)
Edit: Okay, I tried it. Nothing happened, lol.
http://i39.tinypic.com/20avqc9.jpg

I cannot color the name in the scoreboard, unfortunately. This only works in chat.

Anti Christ 05-07-2010 23:17

Re: COD-Style Color Codes
 
Quote:

Originally Posted by Afronanny (Post 1174015)
I cannot color the name in the scoreboard, unfortunately. This only works in chat.

Ah, might want to put that in your post then :p

Afronanny 05-07-2010 23:20

Re: COD-Style Color Codes
 
Quote:

Originally Posted by Afronanny (Post 1173643)

Simply place the color codes (^1, ^2, ^3, ^4, ^5, ^6) in your name to have it colored in chat!

It already was.

Anti Christ 05-07-2010 23:21

Re: COD-Style Color Codes
 
I see...
I'm a retard :) Ignore me

Got it working though. Works fine :D
http://i42.tinypic.com/a3hurs.jpg

Afronanny 05-07-2010 23:28

Re: COD-Style Color Codes
 
Quote:

Originally Posted by Anti Christ (Post 1174020)
I see...
I'm a retard :) Ignore me

Got it working though. Works fine :D
http://i42.tinypic.com/a3hurs.jpg

Ouch.
Instead of coloring just your name it colors the whole message lol. Fixing now

Anti Christ 05-07-2010 23:30

Re: COD-Style Color Codes
 
Yay, I am being helpful :D

Laser32 05-14-2010 03:48

Re: CoD-Style Color Codes
 
yellow dont work ?

^6 is Black

pls help


All times are GMT -4. The time now is 16:07.

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