Blockland Forums > Modification Help
New way to hide player names?
Pages: (1/1)
Daenth:
So I was thinking after seeing that raycasting blocks hide player names...
Is it possible to create a "raycasting" zone around the player to hide the name? And if a projectile hits/enters the zone, it just passes by? I asked Mr. Wallet and he said it'd be messy but may be possible.
Awdax:
I think it would just be easier to do whatever SpaceGuy did with TDM in the MinigameGUI.cs.
But if you mean out of minigames you might as well try creating a "Raycasting Zone" around the player. But there is probably a way to edit SpaceGuy's code with his permission to use it out of a minigame.
Chrono:
--- Quote from: Awdax on July 18, 2011, 03:24:53 AM ---I think it would just be easier to do whatever SpaceGuy did with TDM in the MinigameGUI.cs.
--- End quote ---
Doesn't work. Names are visible at a close range.
--- Quote from: Awdax on July 18, 2011, 03:24:53 AM ---But if you mean out of minigames you might as well try creating a "Raycasting Zone" around the player.
--- End quote ---
"Raycasting zones" don't exist. If they did, they would also stop projectiles.
--- Quote from: Awdax on July 18, 2011, 03:24:53 AM ---But there is probably a way to edit SpaceGuy's code with his permission to use it out of a minigame.
--- End quote ---
You don't need permission to takes bits of code out of other add-ons, nor the whole thing either. Me, being a scripter myself, allow others to use my code as much as they please.
As to hiding the players' names, you would have to delete the player when it spawns, create a new one and don't set a name on it, and apply everything to it that should normally happen. Which can and will cause conflicts with many add-ons. This would have to be a private thing for use in your own server.
Pages: (1/1)