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

[L4D2] Limit gamemodes to versus only - how?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
egor1908
Veteran Member
Join Date: Sep 2009
Old 12-19-2011 , 20:27   [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #1

Hi guys. Does anyone know how to limit gamemodes? I want my server to only accept realism versus, team versus and just versus. I am constantly annoyed by people playing campaign on our match servers.

I have had a server two years ago, i somehow managed to stop coop and campaign lobbies from finding my server, but i forgot how.

I have googled a bit, and found that i could set sv_gametypes versus,realismversus,teamversus but it does not work, i checked back few hours later and there are two guys playing coop.

TL;DR: How to make the server to only accept versus lobbies?
egor1908 is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 12-20-2011 , 08:13   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #2

sv_gametypes "versus,realismversus,teamversus"
Like that I belive
checkster is offline
andrew13
AlliedModders Donor
Join Date: Jul 2010
Old 12-23-2011 , 12:09   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #3

Do This

Install : http://forums.alliedmods.net/showthread.php?t=93600

Put in Server.cfg = sm_cvar mp_gamemode versus

Last edited by andrew13; 12-23-2011 at 12:11. Reason: Changed s m to sm
andrew13 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-24-2011 , 05:14   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #4

Why do you need L4DToolZ to change a simple cvar that is not related to L4DToolZ?
__________________
Silvers is offline
andrew13
AlliedModders Donor
Join Date: Jul 2010
Old 12-25-2011 , 01:48   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #5

IDK Thats where i thought the cvar was from?
andrew13 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-25-2011 , 03:18   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #6

No where in the thread does it say that, not sure why you assumed. The cvar is default part of L4D/2, but I think it's broken.
__________________
Silvers is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 12-25-2011 , 15:38   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #7

It is bot a sv and a mp cvar, do you have them both silvers ?
Drop the sm part tho
checkster is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-25-2011 , 18:53   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #8

Drop the sm_cvar ? Do I have both, do you mean L4DToolZ and that cvar? I use L4DToolZ to control the director and trigger a horde, nothing more, nothing less.
__________________
Silvers is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 12-26-2011 , 11:58   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #9

mp_gamemode versus
sv_gametypes versus

Like that
In server.cfg

Last edited by checkster; 12-26-2011 at 12:01.
checkster is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-26-2011 , 12:09   Re: [L4D2] Limit gamemodes to versus only - how?
Reply With Quote #10

mp_gamemode really works like that? I doubt it...
__________________
Silvers is offline
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 18:56.


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