SphereCommunity
Sphere colors - Printable Version

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



Sphere colors - PurpleHaze - 08-09-2018 01:16 AM

Hi there,
Please answer to my question. How to change color of npc names and my own name? It has blue color, i need to change on default dark blue like in old spheres.

2. how to change backpack name when clicking on him? 1 items, 2 stones


RE: Sphere colors - azmanomer - 08-09-2018 03:06 AM

You can change colors from sphere.ini or in script folder there is spheremessages.scp and change unicode if you want shaowy font.

for backpack you should add events to players and under itemclick trigger;

on @itemclick
if <act.type> == t_container
act message <act.rescount> items , <strsub 0 4 <floatval <act.weight>/10>> stones
endif

something like this


RE: Sphere colors - PurpleHaze - 08-09-2018 03:22 AM

hi,thanks

Code:
// Default settings for Message when clicking on items
IMSG_DEF_COLOR        946
IMSG_DEF_FONT        3
IMSG_DEF_UNICODE    1

// Default settings for Message when clicking on chars
CMSG_DEF_FONT        3
CMSG_DEF_UNICODE    1

Im interesting when you clicking items, which number of color? Grey (default) like in old spheres.

And which numbe of colorr when you clicking on chars? DEfault bold dark blue like in old spheres.

nono i want to remove message "2 stones" when you clicking on backpack.


RE: Sphere colors - Leonidas - 08-09-2018 07:58 AM

Then just do what he said but remove the "2 stones" part

on @itemclick
if <act.type> == t_container
act message <act.rescount> items
endif


RE: Sphere colors - PurpleHaze - 08-09-2018 08:49 AM

I ve puted it into sphere_Skilss but still i have - 12 items,20 stones
Undefined symbol 'message' ['message 7 items']


second

give me please ne number of blue color, like in old spheres nickname.dark blue. i founded {1301 1354} various color of blue color,but i canot find mos needded


RE: Sphere colors - Leonidas - 08-09-2018 02:17 PM

You need to put that in an event for all your players.

For the blue color, I'm pretty sure what you're wanting is the notoriety color in sphere.ini

// Default color settings for characters names (notoriety)
ColorNotoGood=0063 // blue


0063 might be what you're looking for


RE: Sphere colors - aserehe - 08-09-2018 04:27 PM

act message <act.rescount> items
Replace
act.message <act.rescount> items

Add dot.


RE: Sphere colors - Coruja - 08-10-2018 03:13 AM

you can find these old values on sphere github page, just select the file and click on "History" button to view all its changes