The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to change item name ingame writing to different colours?
Author Message
oONautilusOo
Apprentice
*

Posts: 29
Likes Given: 0
Likes Received: 2 in 1 posts
Joined: Jan 2013
Reputation: 3



Post: #1
Is it possible to change item name ingame writing to different colours?
I want to identify items more clearly when they are clicked on to help people see which are rarer etc. is there a way to make the items name display ingame in different colours?
01-29-2013 07:25 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Is it possible to change item name ingame writing to different colours?
if you aren't using the tooltip menu you can try to attach this trigger to rare/magic items.

It's not a good way because every special item will need that.

ON=@click
message @colornumber <name>
return 1
(This post was last modified: 01-29-2013 07:39 AM by darksun84.)
01-29-2013 07:38 AM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #3
RE: Is it possible to change item name ingame writing to different colours?
well..it depends...u can always modify a TYPEDEF
so u could have:
[TYPEDEF t_weapon_mace] // means all the mace weapon
ON=@Click
message @colornumber <name>
return 1
01-29-2013 09:03 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #4
RE: Is it possible to change item name ingame writing to different colours?
If you ARE using tooltips you can still override it with

ON=@ClientToolTip
src.addcliloc 1070722, <BFONT_blah> <name>
return 1

bfont colors are in sphere_defs.scp

[Image: 2nis46r.jpg]
01-29-2013 01:11 PM
Visit this user's website 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)