Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Version 1.2.0 - A halo around your Selection

Compare
Choose a tag to compare
@Xaymar Xaymar released this 25 Nov 12:50
· 70 commits to master since this release

Hiders can now identify which prop they will turn into thanks to the new Selection Halo feature! It comes in two variants, a version relying on Client guesses and a version relying on Server knowledge. As with everything else, the feature can be entirely configured and even disabled using the ph_selectionhalo_* cvars.

The default for this feature is to be enabled and running in 'Approximate' mode, which makes the Client responsible for any and all guesses on what to draw a halo around. This has the advantage that Hiders can immediately tell what they will most likely turn into. But if more accuracy is necessary, then it's time for the 'Accurate' mode which will actually affect server performance.

In the 'Accurate' mode the Server is telling the Clients which prop they might turn into every few Seconds, by default every 0.05 Seconds. This allows for a much higher accuracy, but is affected by ping, packet loss and other lag introducing factors and additionally increases server load by a small margin. This load increases with each player, so it is really only meant for LAN or testing.

Changelog:

  • Added 'Selection Halo' feature, entirely configurable through cvars (see 'cvarlist ph_selectionhalo_*').
  • Added several meta functions to the Player object.
  • Added support for the FindUseEntity hook.