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
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!
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.