JKGDevs / JediKnightGalaxies

Jedi Knight Galaxies (JKG) is a multiplayer shooter with role playing elements, played out in the Star Wars universe. The project is a full conversion game modification for Jedi Knight: Jedi Academy.
https://www.jkgalaxies.net/
GNU General Public License v2.0
34 stars 12 forks source link

Smoke Grenades preventing name displays #211

Open Silverfang22 opened 7 years ago

Silverfang22 commented 7 years ago

I was thinking that the smoke grenade effects should actually prevent you from seeing other player's names when you put your crosshair over them if they are either in the smoke or behind it.

Possibly make the smoke efx entity actually trace the same way that crosshairs already trace players? I'm not sure how this works.

If you're inside of the smoke it should also prevent you from seeing players outside of it.

ensiform commented 7 years ago

With the fact that the smoke is handled in FX code I don't think you'll have much chance at doing this with relative ease like in Wolfenstein ET etc since they have control over the smoke sprites to check for in the crosshair code.