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

[L4D2] Player Switch Menu and Team Panel v1.2.1


Post New Thread Reply   
 
Thread Tools Display Modes
PpZ | Iconoclast
Senior Member
Join Date: Feb 2008
Old 03-09-2011 , 12:18   Re: L4D2 Player Switch Menu and Team Panel
Reply With Quote #31

Can't thank you enough mate. I'll install this on my server and give it a test drive later tonight. Cheers!
__________________
PpZ | Iconoclast is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 03-10-2011 , 10:24   Re: L4D2 Player Switch Menu and Team Panel
Reply With Quote #32

Now all I am asking for is a response please regarding my post #23
Skorpion1976 is offline
seattle_ice
Member
Join Date: Dec 2010
Old 03-10-2011 , 13:02   Re: L4D2 Player Switch Menu and Team Panel
Reply With Quote #33

Quote:
Originally Posted by Skorpion1976 View Post
Now all I am asking for is a response please regarding my post #23
Skorpion: Part of the reason I show the clientID is to help differentiate between players and bots also. I will add a convar to allow you to turn them off if you wish, though.

New version posted. 1.2.0

l4d2_BwA_Show_ClientID - "Show the clientid next to the player name in the panel [0 = No|1 = Yes], Default = 1.
seattle_ice is offline
PpZ | Iconoclast
Senior Member
Join Date: Feb 2008
Old 03-11-2011 , 22:27   Re: [L4D2] Player Switch Menu and Team Panel v1.2.0
Reply With Quote #34

I added this line to my server.cfg:

Quote:
l4d2_BwA_Print_Chat_MsgType 0
But it still uses the verbose/coloured text when I swap players :/
__________________
PpZ | Iconoclast is offline
seattle_ice
Member
Join Date: Dec 2010
Old 03-11-2011 , 23:02   Re: [L4D2] Player Switch Menu and Team Panel v1.2.0
Reply With Quote #35

Quote:
Originally Posted by PpZ | Iconoclast View Post
I added this line to my server.cfg:



But it still uses the verbose/coloured text when I swap players :/
I will check it out tomorrow.
seattle_ice is offline
seattle_ice
Member
Join Date: Dec 2010
Old 03-12-2011 , 01:29   Re: [L4D2] Player Switch Menu and Team Panel v1.2.0
Reply With Quote #36

Iconoclast:

I just left one line out when I edited the last version. It should be good now if you just re-download the plugin.
seattle_ice is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 03-12-2011 , 08:43   Re: [L4D2] Player Switch Menu and Team Panel v1.2.0
Reply With Quote #37

Works fine! There is only one last thing that this plugin "should" check before allowing someone to switch to the other team: player count of destination team.

Before the switch takes place, it would be cool if there was a check, that counts the players on the destination team. If player count (dest. team) > player count (current team) --> no switch. A simple PrintToChat(client,...), which informs the player that the switch cannot be performed due to balance. The check only needs to be performed for regconsolecmds, not for admin cmds, and for the panel where you can press 2 or 3.

When the servers are full, this is not necessary, but when 50-75% full, players tend to fill one team, so itīs like 10vs4, instead 7vs7.
Skorpion1976 is offline
seattle_ice
Member
Join Date: Dec 2010
Old 03-12-2011 , 12:07   Re: [L4D2] Player Switch Menu and Team Panel v1.2.0
Reply With Quote #38

Quote:
Originally Posted by Skorpion1976 View Post
Works fine! There is only one last thing that this plugin "should" check before allowing someone to switch to the other team: player count of destination team.

Before the switch takes place, it would be cool if there was a check, that counts the players on the destination team. If player count (dest. team) > player count (current team) --> no switch. A simple PrintToChat(client,...), which informs the player that the switch cannot be performed due to balance. The check only needs to be performed for regconsolecmds, not for admin cmds, and for the panel where you can press 2 or 3.

When the servers are full, this is not necessary, but when 50-75% full, players tend to fill one team, so itīs like 10vs4, instead 7vs7.

It already checks if the teams are full before switching. And as much as I like to accommodate as many peeps as possible, I am not going to change this to a team balancing thing, that is not its intended use. Although if you really wanted it, I might be talked into making the change in a version just for you.

Last edited by seattle_ice; 03-12-2011 at 18:40.
seattle_ice is offline
PpZ | Iconoclast
Senior Member
Join Date: Feb 2008
Old 03-12-2011 , 12:20   Re: [L4D2] Player Switch Menu and Team Panel v1.2.0
Reply With Quote #39

Quote:
Originally Posted by seattle_ice View Post
Iconoclast:

I just left one line out when I edited the last version. It should be good now if you just re-download the plugin.
Great! I'll upload the new version and give it a try! Cheers!
__________________
PpZ | Iconoclast is offline
seattle_ice
Member
Join Date: Dec 2010
Old 03-14-2011 , 18:08   Re: [L4D2] Player Switch Menu and Team Panel v1.2.0
Reply With Quote #40

I added one small console command as a favor, but I am not going to update the version for it.

It is "jointeam". It will automatically choose the team with less players, or if equal, a random selection for you to join.

It is not affected by the allow pubs convar so you can turn off the other join commands and leave this one operational if you wish.
seattle_ice is offline
Reply


Thread Tools
Display Modes

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 07:03.


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