SphereCommunity
NPC name color - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: NPC name color (/Thread-NPC-name-color)



NPC name color - Van Glan Bloom - 11-15-2015 06:45 AM

Hi guys.
I have some problem in my sphere. The mobs and the animals have the wrong color in the name.
For exemple if the mob is agressive the name is Blue and the if the mobs have a blue karma the name is black.

Can you understand where is the problem?


RE: NPC name color - wuffel - 11-15-2015 07:58 AM

Hello my dear friend,
have a look into the sphere.ini.
// Default color settings for characters (name, speech)
ColorNotoGood=063 // blue
ColorNotoGuildSame=044 // green (ally)
ColorNotoCriminal=03b2 // grey (criminal)
ColorNotoNeutral=03b2 // grey (can be attacked)
ColorNotoEvil=026 // red
ColorNotoGuildWar=02b // orange (enemy guild)
ColorNotoDefault=03b2 // grey (if not any other)


RE: NPC name color - Van Glan Bloom - 01-23-2016 11:20 AM

I have working in the script that is in Sphere.Ini but i have the same error.
I go send a image in order to see what happens.

Someone can help me?


RE: NPC name color - karma - 01-23-2016 11:21 PM

The colour of the names shown, if you don't overwrite the default behaviour doing somewhere @Click -> RETURN 1, is in the sphere.ini, as suggested by wuffel.
Have you changed the default values of the ColorNoto* fields? Because the colours are stored there.


RE: NPC name color - rastrero - 02-03-2016 12:04 AM

http://wiki.sphere.torfo.org/index.php/@AfterClick


RE: NPC name color - zottolo - 02-03-2016 02:31 AM

custom hues.mul? are only names affected by this problem? try to take note of the color's ids in sphere.ini and apply them to objects to see if everything is alright in order to locate the problem:

-if the color is not correct neither on names nor on objects there's something wrong in your hues.mul

-if it's correct on objects but not in names it's a script matter


RE: NPC name color - Abuelox - 02-13-2016 07:28 PM

A quick alternative is to find a color code is "Red" for PK's, another for neutral gray and blue and place it in sphere.ini if the problem is the hues.mul

You may also be some custom script you have downloaded and not find the event / function