SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Releases > Lua

Reply
 
Thread Tools
Colored Names Details »»
Colored Names
Version: 1.0, by Wolfy (wolfs) Wolfy is offline
Developer Last Online: Oct 2018

Category: Version: SRB2 Rating: (1 votes - 3.40 average)
Released: 07-16-2015 Last Update: Never Installs: 0
Scripts Re-Useable Content

This simple script (which turned out a lot more complicated than it needed to be) allows the player to change the color of their name. Name coloring rules are changeable via console commands.

Commands/cvars are:
namecolor <color> - Change the color of your name. Possible colors are white, purple, yellow, green, blue, red, grey, and orange. This command is technically a fake cvar and doesn't support integer inputs. Defaults to white.

nameoptions <option> - Allows you to change the name coloring rules. Defaults to auto. Possible values are:
  • auto - Set the name colors of all players based on their skin colors.
  • force - Make each player appear to use the same namecolor as you.
  • perplayer - Have each player use their own namecolor i.e. if a player changes their namecolor, you'll be able to see that change.
The first screenshot displays auto, the second displays force, and the last displays perplayer.

forceteamcolor <yes/no> - If set to yes, forces players to use their team colors as colored names. Defaults to yes.

NOTE: Incompatible with most things that use the PlayerMsg hook. This includes the colored text script by HellHawkX, and the GitHub version of Terminal.

LightDash.org Mirror

Download Now

File Type: zip ColoredNames.zip (1.9 KB, 389 views)

Screenshots

Click image for larger version

Name:	srb20023.jpg
Views:	788
Size:	135.6 KB
ID:	6676   Click image for larger version

Name:	srb20024.jpg
Views:	522
Size:	130.3 KB
ID:	6677   Click image for larger version

Name:	srb20025.jpg
Views:	513
Size:	141.2 KB
ID:	6678  

Show Your Support

  • The author of this addon has given explicit permission for its content to be re-used and/or reproduced.

Comments
Old 07-16-2015   #2
HellHawkX
Judge
 
HellHawkX's Avatar
Default

Welcome to releases
__________________
Quote:
<RedEnchilada> splatoon cut off my dick
Quote:
<RoyKirbs> I'm currently causing child abuse.
HellHawkX is offline   Reply With Quote
Old 07-16-2015   #3
gregory_house
ʇxǝʇ pǝddᴉlɟ ɹɐoɯ ɥʇᴉʍ ʍoN
 
gregory_house's Avatar
Default

May I suggest that nameoptions force actually let the host set the other players' name to one color, so that it can be different from the one he is using if he wants?

Ex: Host is red, everyone else forced to white.
__________________
Intel i7-4770K - ASUS GTX970 4GB OC - 2x8GB Dominator Platinum @1866 CL10 - Samsung 840PRO 256GB
gregory_house is offline   Reply With Quote
Reply

Thread Tools

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. The time now is 04:16 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.