Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

AFAIK no they didn't, Valves engines are from the Quake lineage and still use PVS but they only added serverside fog-of-war to Counter Strike relatively recently in ~2015. As the Valorant article goes into, it's a harder problem than it appears because you need to allow the client some wiggle room to know an enemy in coming around a corner before the player sees them so that lag compensation and shadows work correctly (Valorant sidesteps the shadow issue by simply not having players cast shadows). Plus PVS is quite coarse so if you want precise culling you need a more computationally expensive solution.

This video compares Valves own fog-of-war implementation to the implementation used by FACEIT, a third party competitive matchmaking service, which shows there's a pretty wide range of trade-offs to be made. Valve went for conservative and fast, while FACEIT went for aggressive and (presumably) slow:

https://www.youtube.com/watch?v=8w1ICIBO3D4

Valves implementation is better than nothing, it at least stops cheaters from knowing which direction the other team is going at the start of a round, but beyond that it doesn't stop them from knowing exactly where most enemies are standing around corners because the serverside visibility checks are so coarse.



I remember installing a metamod plugin to my cs 1.5 Server that added server side fog of war iirc. But i could be mixing things up.


SMAC certainly predates Valve’s official implementation, wouldn’t be surprising if something else also did it.


Probably CSGuard/HLGuard. It had a popular wallhack-block feature that was using a lot of CPU.


Oh great video. Thanks for sharing. Surely the tick rate has to be lower on FACEIT as a consequence? Maybe this is why everyone in matchmaking would talk about it.


at this time valve official servers were 64 tick and FACEIT 128 tick.

This has been replaced by 'subtick' which I don't know enough about to comment.


2015 was 9 years ago


9 years ago is relatively recent when talking about the design of the Quake engine and its descendents, which was established 28 years ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: