[Open Assets] Colored Names

This content may be freely modified and/or maintained by anyone.
Status
Not open for further replies.

wolfs

Watch Symphogear
Administrator
Moderator
Sonic Team Junior
Kart Krew™️
Judge
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
 

Attachments

  • srb20023.jpg
    srb20023.jpg
    135.6 KB · Views: 1,331
  • srb20024.jpg
    srb20024.jpg
    130.3 KB · Views: 1,015
  • srb20025.jpg
    srb20025.jpg
    141.2 KB · Views: 882
  • ColoredNames.zip
    1.9 KB · Views: 796
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.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top