Hi,
I'm looking into the code for nametags and I'm looking for a way to make the nametag invisible when sneaking. The nametag shadow is proving to be a problem and I'm wondering if anyone can offer advice for working with the nametag shadow. I need to know how to address it in code, for example, nametag_shadow_attributes.
Thank you!
Kpenguin
Nametags
- kaadmy
- Member
- Posts: 706
- Joined: Thu Aug 27, 2015 23:07
- GitHub: kaadmy
- IRC: KaadmY
- In-game: KaadmY kaadmy NeD
Re: Nametags
The shadow is part of Irrlicht AFAIK, so it's global throughout the whole UI.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: Nametags
Also looking for this. Hiding the name tag seems to have been made possible in the invisible mod. Do you still have your code?
- taikedz
- Member
- Posts: 698
- Joined: Sun May 15, 2016 11:11
- GitHub: taikedz
- IRC: DuCake
- In-game: DuCake
- Location: Scotland, UK
- Contact:
Re: Nametags
Question is, what have you already tried, and what were your results?
Invisible mod is short in code, this might be what you are looking for
Invisible mod is short in code, this might be what you are looking for
Code: Select all
user:set_nametag_attributes({color = {a = 0, r = 255, g = 255, b = 255}})
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: Nametags
That looks easy, thanks. I can't even program but perhaps i can slap something together. ¯\_(ツ)_/¯
Who is online
Users browsing this forum: No registered users and 27 guests