ID:156745
 
How To Get The Name Under Player Like Many Games how now?
Like if i play some game then i have the name under my character icon!
I think ive seen a few demos for this.

a simple search for name under character returns this.

http://www.byond.com/developer/Polaris8920/TextNames

Albeit that is a dodgy demo and there is better out there im sure. but thats upto you. so run a couple of searches and see what you can find :)
In response to Midgetbuster
Thank you that worked for players! But is there the same way for NPC's aswell?
Polaris8920's demo is out of date and won't be as well suited to newer versions of BYOND.

What you should use instead is the DmiFontsPlus library. That's what most games that display character names use, although some use the older (obsolete) DmiFonts library that preceded it. It has a proc for quickly adding a name overlay to any atom. All you need to do is create the font files for it using the included utility.

Lummox JR
In response to Lummox JR
Lummox JR wrote:
Polaris8920's demo is out of date and won't be as well suited to newer versions of BYOND.

What you should use instead is the DmiFontsPlus library. That's what most games that display character names use, although some use the older (obsolete) DmiFonts library that preceded it. It has a proc for quickly adding a name overlay to any atom. All you need to do is create the font files for it using the included utility.

Lummox JR


Ok I Got That To Work, But After Some Changes To Some Other Stuff And It Doesn't Show The Name Anymore? o.o
In response to Tamm171
mob/Merchant
name = "(NPC) Merchant"
icon = 'Merchant.dmi'
New
src.AddName()
return


In response to Tamm171
Ok I Got That To Work, But After Some Changes To Some Other Stuff And It Doesn't Show The Name Anymore? o.o
In response to Tamm171
Ok I Got That To Work, But After Some Changes To Some Other Stuff And It Doesn't Show The Name Anymore?
I Saw Names Under Characters, But Now After I Made Some Changes To Other Files It Doesn't Work Anymore, I Don't See Names Anymore
In response to Tamm171
Well it would probably help to list what changes you made. If it won't bother you you can go back to what you changed and hit ctrl+z to undo it.