AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D2] Team list panel with player status (https://forums.alliedmods.net/showthread.php?t=122427)

alexip121093 03-26-2010 22:10

[L4D2] Team list panel with player status
 
6 Attachment(s)
Author: hihi1210(me)

This Player panel only work in L4D2
Support all L4D2 gamemodes (include realism versus)

now requires Left 4 Downtown 2

Total: bot+players(real players)/max Survivors: all Survivors(real players Survivors)/max Survivors Infected: all Infected(real players Infected)/max Infected

Usage:
This panel can display both player names , their HP , status and items. Can work over 8 Players,
especially good for COOP servers over 4 Players.
For more information, see the photo below

REQUIRE SOURCEMOD 1.3 above
Cvar can config in left4dead2/left4dead2/cfg/sourcemod/l4d2_teamdisplay.cfg
(remember to remove old version l4d2_teamdisplay.cfg)
[
Code:


 
// auto display panel to Spectator
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_teampanel_Spectatorautodisplay "1"
 
// display Spectator in the panel
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_teampanel_Spectatordisplay "1"
 
// auto display panel to dead players
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_teampanel_deadautodisplay "1"
 
// "0 : display all information of both teams ,1 : just display your team name ,hp & status,2: display your team name ,hp & status and only display name for other team
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "2.000000"
l4d2_teampanel_display "2"
 
//0: disable team panel ,1: !showteam command display the panel once ,2: !showteam command auto refresh the panel every 1 second
// -
// Default: "2"
// Minimum: "0.000000"
// Maximum: "2.000000"
l4d2_teampanel_mode "2"
 
//auto disable the panel when player spawn (only work with l4d2_teampanel_mode 2)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_teampanel_AutoDisable "1"
 
 
//auto show the panel when player see the score board
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_teampanel_Autoshowafterscore "1"
 
//how many seconds the panel will disappear(will not stop the panel when it auto refreshs)
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "999.000000"
l4d2_teampanel_timeout "1"
 
//Message display method (3= display both chat and hint text,2=just hint text, 1=just chat text,0=disable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d2_teampanel_ads "1"

l4d2_teampanel_mode cvar can control the function of sm_showteam ,
if it is mode 1 , sm_showteam just display the panel once,
but in mode 2 sm_showteam can display the panel with auto refresh every 1 second
and you can type sm_showteam again to disable the auto refresh of the panel

Command:
The only command in game

sm_showteam

Future updates:
- add cvar to control the display of information between teams
-help me think

Special thanks:
http://forums.alliedmods.net/showthread.php?t=115313
thx for the idea and some code:)

Chage Log:
2.0
now requires Left 4 Downtown 2
added ghost respawn time display
added survivors items display
code optimization
1.75
add 1 cvar(message display method)
and add support for realism versus
1.71
add 1 cvar (timeout)
1.7
added auto diplay after play see the score board
added l4d2_teampanel_display 2
require SM 1.3
1.5a 64 views
fixed the bug of sometimes the panel cannot display all the players
1.5
improve The last line in the panel
1.4
add auto disable panel for displaymode2
1.3
add Spectator support
1.2
added 2 cvar
1.1
added 2 cvar
changed plugin name

1.0 public release


alexip121093 03-27-2010 06:40

Re: [L4D2] Team list panel with player status
 
updated to 1.1 hpoe you guys love it

alexip121093 03-27-2010 08:07

Re: [L4D2] Team list panel with player status
 
updated to 1.2 with 2 cvar

dismomen 03-27-2010 09:10

Re: [L4D2] Team list panel with player status
 
1.2 does not display specs

alexip121093 03-27-2010 09:21

Re: [L4D2] Team list panel with player status
 
Quote:

Originally Posted by dismomen (Post 1130270)
1.2 does not display specs

what do you mean?

dismomen 03-27-2010 09:26

Re: [L4D2] Team list panel with player status
 
Quote:

Originally Posted by alexip121093 (Post 1130274)
what do you mean?

1.2 dosen't display players who are in spectator mode.

alexip121093 03-27-2010 09:29

Re: [L4D2] Team list panel with player status
 
Quote:

Originally Posted by dismomen (Post 1130279)
1.2 dosen't display players who are in spectator mode.

Sorry this plugin not equal to http://forums.alliedmods.net/showthread.php?t=122297

BUT I will add in 1.3 version

dismomen 03-27-2010 09:52

Re: [L4D2] Team list panel with player status
 
Quote:

Originally Posted by alexip121093 (Post 1130282)
Sorry this plugin not equal to http://forums.alliedmods.net/showthread.php?t=122297

BUT I will add in 1.3 version

sorry mistaken :(

awaiting your 1.3 :)

alexip121093 03-27-2010 19:49

Re: [L4D2] Team list panel with player status
 
offical release of 1.3,support Spectator in list

alexip121093 03-28-2010 23:28

Re: [L4D2] Team list panel with player status
 
1.4 released:
added 1 cvar

l4d2_teampanel_AutoDisable


This CVAR work great with
l4d2_teampanel_deadautodisplay
l4d2_teampanel_Spectatorautodisplay


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

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