SphereCommunity
Is it possible to change item name ingame writing to different colours? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Is it possible to change item name ingame writing to different colours? (/Thread-Is-it-possible-to-change-item-name-ingame-writing-to-different-colours)



Is it possible to change item name ingame writing to different colours? - oONautilusOo - 01-29-2013 07:25 AM

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?


RE: Is it possible to change item name ingame writing to different colours? - darksun84 - 01-29-2013 07:38 AM

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


RE: Is it possible to change item name ingame writing to different colours? - Crusader - 01-29-2013 09:03 AM

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


RE: Is it possible to change item name ingame writing to different colours? - Mordaunt - 01-29-2013 01:11 PM

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