Raised This Month: $12 Target: $400
 3% 

[L4D2] HUD Display Manager (April 9th, 2024)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Plugin ID:
8677
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    7 
    Plugin Description:
    If there are more than 4 survivors on the team, only show the nearest 3 in the HUD.
    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
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:18.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode