- Dec 16, 2023
- 2
- 0
Hello.
I want to add 2D sprites to my map that are similar to the sprites shown on players behind walls in the Passtime gamemode (sprites that show through walls and scale with distance from player to the entity).
Like these
![20231216153929_1.jpg 20231216153929_1.jpg](https://sjc1.vultrobjects.com/tf2maps-forum-attachments/data/attachments/251/251921-36bfffac4990aae03d22fbdd0417d216.jpg)
With these sprites, I want to create player markers that would show the location of two randomly chosen players.
I've tried using the
Up Close
![20231216164131_1.jpg 20231216164131_1.jpg](https://sjc1.vultrobjects.com/tf2maps-forum-attachments/data/attachments/251/251924-528b9b36e1351682d3621d65495abdae.jpg)
At Distance
![20231216164203_1.jpg 20231216164203_1.jpg](https://sjc1.vultrobjects.com/tf2maps-forum-attachments/data/attachments/251/251925-a8cefe632537e300f8afd9ddac06f6d3.jpg)
Is there any way to achieve this effect without using Passtime gamemode logic ?
I want to add 2D sprites to my map that are similar to the sprites shown on players behind walls in the Passtime gamemode (sprites that show through walls and scale with distance from player to the entity).
Like these
![20231216153929_1.jpg 20231216153929_1.jpg](https://sjc1.vultrobjects.com/tf2maps-forum-attachments/data/attachments/251/251921-36bfffac4990aae03d22fbdd0417d216.jpg)
With these sprites, I want to create player markers that would show the location of two randomly chosen players.
I've tried using the
env_sprite
entity with the Render Mode property set to Glow
. In this render mode, the sprite does scale with distance, but it doesn't show through walls and the sprite turns darker the further away the player is from it.Up Close
![20231216164131_1.jpg 20231216164131_1.jpg](https://sjc1.vultrobjects.com/tf2maps-forum-attachments/data/attachments/251/251924-528b9b36e1351682d3621d65495abdae.jpg)
At Distance
![20231216164203_1.jpg 20231216164203_1.jpg](https://sjc1.vultrobjects.com/tf2maps-forum-attachments/data/attachments/251/251925-a8cefe632537e300f8afd9ddac06f6d3.jpg)
Is there any way to achieve this effect without using Passtime gamemode logic ?