actionquake / aq2-tng

Action Quake 2: The Next Generation (including CVS history from SF.net)
http://aq2-tng.sourceforge.net/
5 stars 6 forks source link

New protocol 38 support, Teammate Indicators, Gamestate Extrapolation, new IR vision, CvarSync, new Spectator overlay #99

Closed Iceman12k closed 1 year ago

Iceman12k commented 1 year ago

Protocol 38 had the following changes: Made Ghud per client instead of global, and raised the element limit to 200 Added CvarSync to poll cvar values from the client as the gamedll needs

Teammate Indicators: controlled with use_indicators on the server, and cl_indicators on the client (1 for spec, 2 for teammates) arrows are drawn above players, but their head must be visible for the arrows to appear

Gamestate Extrapolation: controlled with use_xerp on the server, and cl_xerp on the client (1 for auto xerp based on ping/antilag, 2 for FRAMETIME/2 xerp) xerp will be automatically disabled if sv_antilag_interp is enabled xerp will automatically add ping time to value if sv_antilag is disabled this is a purely visual effect, hitboxes are unchanged depending on the amount of extrapolation, this may look strange

IR Vision: controlled with new_irvision on the server teammates nolonger highlight, only enemies

CvarSync: the game dll can now specify cvars the client should send to the server, this replaces the old and buggy setu system that abused userinfo

Spectator Overlay: using protocol 38 and an updated client allows for a new spechud using the Ghud system also fixed cl_spectatorhud not working properly

Iceman12k commented 1 year ago

looks like the merge conflicts are due to that USE_AQTION thing I was talking about, not sure why my pulled version was different from upstream (this) but oh well...? probably just stomp over my stuff with those changes