Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Imitating a Name Tag?

Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
03-26-2008 18:10
I remember that I read somewhere that the background of the name tag over avatars heads is a particle. Am I right?

If yes, does somebody knows how to reproduce it with llParticleSystem()? I already know how to do a single steady particle but the effect works only at a fixed distance.

If no, is there another way to do it?

I tried to search the forum but "name" and "tag" are too short.
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
03-26-2008 18:16
One cannot overwrite name or group tags with LSL, if that is what you are trying to get at here... one can have an attachment above the head of the avatar concerned which has float text on it, certainly, but it will not look the same.
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!

http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal

http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
Precisions
03-26-2008 19:59
No, I'm not trying to hide my name tag or to replace it. What I would like to achieve --if possible-- is to imitate a name tag in order to make an object look like an avatar.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
03-26-2008 20:22
in essence you'd just creat a name tag particle, and fire it over the object. I don't know if the actual nametages are REALLY particles, or if that texture background is available by uuid, but it'd be easy enough to create your own in a paint program, along with your custome name....


could be alot of fun for a wax museum type setup... or virtual employees...
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
03-27-2008 12:23
My two cents: a) the build in name tags are "intelligently drawn", meaning they are not always drawn about the head, but sometimes to the side with a line leading to the av, or moved down to make it visible. That is hard to do using a particle as far as I can see.
b) One can indeed sometimes hide your tag using an invisiprim, but it has a tendency to fail because of a), as one cannot predict where the SL viewer will render the tag.

Both of the above are based on personal observations, which might have been under influence of bad eyesight ;-)
Dragger Lok
(loading ...)
Join date: 10 Sep 2006
Posts: 228
03-27-2008 12:32
Should be easy enough to replicate in photoshop, just a bit beyond me without doing it in two prims, one for the transparent background one for the text ... but try the texture and graphic exchange group and ask for a texture that is like the name tags
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
03-27-2008 21:29
Exactly how Boreal's getting at it.. it's not a particle, but, like paritcles, it's generated client side, and how it appears can differ from client to client, for example it always faces the client viewing it, so if two people are viewing an avatar from different angles, they're seeing the title differently. Also, sometimes, depending on the situation, the tag is drawn away from the avatar with a line being drawn from the avie to the tag. In a basic setup with a clear view to the avatar, the tag is above the head, and I've seen people hide the tag entirely with invisiprims... and you could create a 'replacement' tag that sat above the head, but it wouldnt react like a real tag. You could 'fool' someone for a minute, but before long they'd be able to tell that it's not the real tag.

Since you're trying to make a tag for a prim avatar, what I'd do is this

1. create and stand in front of a white, full bright prim wall.
2. zoom in on your tag
3. take a snapshot and upload to your hard drive.
4. in photoshop, or whatever you use, choose the color picker, and select the color of the tag
5. use the image of the tag as a selection too
6. take that selection and fill it in with that color
7. adjust the transparency to about 50 precent, or whatever looks like a tag
8. add the text using the color picker to get the color of the text
9 save and upload it using alpha channels

If you can create the tag in world.. you can skip all that, take the pic, go into photoshop, and use the color replacer to delete the white and just use that.
Seifert Surface
Mathematician
Join date: 14 Jun 2005
Posts: 912
03-28-2008 00:19
The big problem with imitating the name tag is not the facing (particles will do that for you) but rather the size. Name tags are always the same size on screen. The size of particles (and everything else in world other than HUD elements) depends on how far they are from the camera.
_____________________
-Seifert Surface
2G!tGLf 2nLt9cG