Raised This Month: $32 Target: $400
 8% 

[L4D2] Team list panel with player status


Post New Thread Reply   
 
Thread Tools Display Modes
Author
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Plugin ID:
1559
Plugin Version:
2.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Player panel display both survivors and infected team players status
    Unapprover:
    Reason for Unapproving:
    Author not responding, and eye cancer.
    Old 03-26-2010 , 22:10   [L4D2] Team list panel with player status
    Reply With Quote #1

    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

    Attached Thumbnails
    Click image for larger version

Name:	c1m1_hotel0011.jpg
Views:	27186
Size:	80.8 KB
ID:	62536   Click image for larger version

Name:	c2m1_highway0010.jpg
Views:	27494
Size:	95.8 KB
ID:	62538  
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_teamdisplay.sp - 3621 views - 22.1 KB)
    File Type: smx l4d2_teamdisplay2.0-1.smx (10.7 KB, 1470 views)
    File Type: sp Get Plugin or Get Source (l4d2_teamdisplay2.0-1.sp - 1309 views - 21.1 KB)

    Last edited by alexip121093; 04-04-2011 at 23:50.
    alexip121093 is offline
    Send a message via MSN to alexip121093
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-27-2010 , 06:40   Re: [L4D2] Team list panel with player status
    Reply With Quote #2

    updated to 1.1 hpoe you guys love it
    alexip121093 is offline
    Send a message via MSN to alexip121093
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-27-2010 , 08:07   Re: [L4D2] Team list panel with player status
    Reply With Quote #3

    updated to 1.2 with 2 cvar
    alexip121093 is offline
    Send a message via MSN to alexip121093
    dismomen
    Member
    Join Date: Mar 2010
    Old 03-27-2010 , 09:10   Re: [L4D2] Team list panel with player status
    Reply With Quote #4

    1.2 does not display specs
    dismomen is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-27-2010 , 09:21   Re: [L4D2] Team list panel with player status
    Reply With Quote #5

    Quote:
    Originally Posted by dismomen View Post
    1.2 does not display specs
    what do you mean?
    alexip121093 is offline
    Send a message via MSN to alexip121093
    dismomen
    Member
    Join Date: Mar 2010
    Old 03-27-2010 , 09:26   Re: [L4D2] Team list panel with player status
    Reply With Quote #6

    Quote:
    Originally Posted by alexip121093 View Post
    what do you mean?
    1.2 dosen't display players who are in spectator mode.
    dismomen is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-27-2010 , 09:29   Re: [L4D2] Team list panel with player status
    Reply With Quote #7

    Quote:
    Originally Posted by dismomen View Post
    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
    alexip121093 is offline
    Send a message via MSN to alexip121093
    dismomen
    Member
    Join Date: Mar 2010
    Old 03-27-2010 , 09:52   Re: [L4D2] Team list panel with player status
    Reply With Quote #8

    Quote:
    Originally Posted by alexip121093 View Post
    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
    dismomen is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-27-2010 , 19:49   Re: [L4D2] Team list panel with player status
    Reply With Quote #9

    offical release of 1.3,support Spectator in list
    alexip121093 is offline
    Send a message via MSN to alexip121093
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 03-28-2010 , 23:28   Re: [L4D2] Team list panel with player status
    Reply With Quote #10

    1.4 released:
    added 1 cvar

    l4d2_teampanel_AutoDisable


    This CVAR work great with
    l4d2_teampanel_deadautodisplay
    l4d2_teampanel_Spectatorautodisplay
    alexip121093 is offline
    Send a message via MSN to alexip121093
    Reply



    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 00:47.


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