View Single Post
Author Message
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-07-2024 , 17:59   [L4D2] HUD Display Manager (April 9th, 2024)
Reply With Quote #1

HUD Display Manager
Left 4 Dead 2 has a hard limit of how many players can display in the HUD at the same time, the real hard limit is 4 (Not counting you) but this is rather buggy. It will always show the first actors of the campaign.

This plugin manipulates the data sent to the clients, displaying its nearest 3 teammates instead. You can see it in action in this video.



ConVars
  • sm_l4d2_hud_display_enabled
    • Enables the plugin.
      • Default: 1
  • sm_l4d2_hud_display_query_time
    • Determines the time between position checks. Less is smoother, but may lead to increased overhead. 3.0 is my personal recommended value but you can adjust it as needed.
      • Default: 3

Changelog
  • 1.0.1
    • Better checks to avoid possible errors when unhooking players and map ending
    • Included an alternative compile option to give support to SendProxy includes with an optional per_player parameter
  • 1.0.0
    • Initial Release

Dependencies
  • SendProxy Manager with per_player support.
    • This plugin was mostly made and tested extensively with TheByKotik's version in mind. Other versions may theoretically work but intended behavior is not guaranteed!
    • I provide Binaries for Left 4 Dead 2 Linux here.

Supported Games
  • Left 4 Dead 2

Theoretically can work on Left 4 Dead 1 but it is untested.

Download and Source Code:

Download from AlliedModders:

You need to download the .sp file and compile the plugin yourself as the AlliedModders' forum compiler lacks the necessary includes to provide you with a working binary.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_hud_display_manager.sp - 150 views - 9.6 KB)
__________________

Last edited by gabuch2; 04-09-2024 at 20:30.
gabuch2 is offline