Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sphere colors
Author Message
PurpleHaze
Apprentice
*

Posts: 10
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jan 2018
Reputation: 0



Post: #1
Sphere colors
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
(This post was last modified: 08-09-2018 01:29 AM by PurpleHaze.)
08-09-2018 01:16 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #2
RE: Sphere colors
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
08-09-2018 03:06 AM
Find all posts by this user Like Post Quote this message in a reply
PurpleHaze
Apprentice
*

Posts: 10
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jan 2018
Reputation: 0



Post: #3
RE: Sphere colors
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.
08-09-2018 03:22 AM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #4
RE: Sphere colors
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
(This post was last modified: 08-09-2018 07:58 AM by Leonidas.)
08-09-2018 07:58 AM
Find all posts by this user Like Post Quote this message in a reply
PurpleHaze
Apprentice
*

Posts: 10
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jan 2018
Reputation: 0



Post: #5
RE: Sphere colors
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
(This post was last modified: 08-09-2018 08:59 AM by PurpleHaze.)
08-09-2018 08:49 AM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #6
RE: Sphere colors
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
08-09-2018 02:17 PM
Find all posts by this user Like Post Quote this message in a reply
aserehe
Apprentice
*

Posts: 22
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2015
Reputation: 0



Post: #7
RE: Sphere colors
act message <act.rescount> items
Replace
act.message <act.rescount> items

Add dot.
08-09-2018 04:27 PM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #8
RE: Sphere colors
you can find these old values on sphere github page, just select the file and click on "History" button to view all its changes
08-10-2018 03:13 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)