Jump to content

Show the color of the character name


MHertz
 Share

Recommended Posts

When the "individual name colors" setting is on, each name is converted to a fixed color — some hash process, I suppose. 

 

Is there any way to show which color the name is while we are building and naming the toon? It would be helpful to match the color of costume pieces to the name, or to tweak the name to produce a specific color effect. Maybe if you have a cold-based hero you want your name to be blue, instead of neon pink. Or whatever.

 

Is that possible?

  • Like 1

The original @Hertz, creator of the Stan and Lou audio series on YouTube. Player of City of Heroes for yonks.1

 

1A yonk is a very long time.

Link to comment
Share on other sites

1 hour ago, Yaliw said:

If I'm not mistaken, it's based on the first letter of the name.

I don’t think so. I have a SG of what are essentially clones, all named Wild Willow (using capital i and lower-case L to create the illusion of the same name). Four are green, one is red, one is brown, and one is blue.

The original @Hertz, creator of the Stan and Lou audio series on YouTube. Player of City of Heroes for yonks.1

 

1A yonk is a very long time.

Link to comment
Share on other sites

I've only recently started doing that with the names, because why not, and the first toon I put it on was PINK BAMPFER and guess what color his name came out as?  Yup, pink.  I wondered if maybe the system takes any color in your name as a suggested color, maybe make a BLUE VJHFCGHFH just to see if it comes out blue.

_____________________________

Hi, I'm Clave Dark 5!  You may remember me from such characters as King Pumpkin Spice, Stupid Like A Fox, Capt Sam's Space Zoo, The Pink Bamfer, Trash Ghost, Maid Of Metal... as well as a few really stupid AE arcs!

Link to comment
Share on other sites

  • Developer

Unfortunately there isn't!

 

I did take a look at the code involved out of curiosity and the bulk of the generation is done by a hashing process that's also used by other systems. As mentioned by someone else, the result is then brought up to a minimum brightness if the luminosity is too low.

 

I went ahead and ported the relevant portions to an html/javascript page you can run locally to test names out, if it helps.

 

The zip file contains the .htm file (which you can read and edit in a text editor).

 

It's possible some anti-virus might freak out at that, or it might not work at all since locally run pages might have their javascript turned off as a security feature from your browser, anti-virus or something else.

coh-name-colors.zip

  • Thanks 1
  • Thumbs Up 2
Link to comment
Share on other sites

Oh, that's nifty to play with. :)

Primarily on Everlasting. Squid afficionado. Former creator of Copypastas. General smartalec.

 

I tried to combine Circle and DE, but all I got were garden variety evil mages.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...