What's new

L4D2 Sourcemod & Metamod Plugins for Players (Last Stand Compatible)

dtatank99

Friend of DG
Thank you very much bro!
It's very detailed, even I didn't expect that I also could change SI health :D

I also would like to ask and make sure for a few things
1. Does these plugins also worked for more than 8 players?
If it does, how to set it up? if it doesn't, do you know any alternatives?
2. Sometimes my friends' map loading progress just stuck at 0%, any solution for this?
3. -insecure launch options only used by the host right?
4. is there any possibilities for these plugins to be incompatible with custom maps?
 

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
yupp you can mess with pretty much everything its just split between those 2 cfg files (or most the important stuff like ammo, survivor health etc.), only if you want to change the total player count up to 16 you have to change it in both the files, so the minimum_survivor, and static_minimum_survivor i think its called, in the Superversus.cfg and the sv_maxplayers line in the Listenserver.cfg

1 - yes these 2 packs are set up with certain Sourcemod plugins like Superversus, that allow ppl to play 8 players in L4D2, and it is all enabled already so just by doing the copy paste step and -insecure option, its all set to run when you play in Single Player mode, or Local Host in the Lobby settings of L4D2 under Server Type, only the Default Superversus pack is set to only spawn more survivors when more than 4 players join the match, so you would need 4 other friends joining to see the other survivors, in the 2nd DG Superversus pack it makes 8 survivors spawn all the time and zeds adjusted for it

when you copy and paste the Steam folder over into your PC's C:\ drives folder named Program Files(x86), it then merges all those folders holding the plugins with your Steam and games folders so they all go in the correct place, then it should just work from there when you add that -insecure option in the Steam libraries Properties page for L4D2

2 - im not sure exactly, using the Local Host option is often a little unreliable, so it might just be dropping his connection if its only once in a while it happens randomly

if you cant get anyone to join and they always get stuck in loading then i would say its probably an issue with your router / ISP, where its not set to allow inbound connections so the game cant properly open the port for use, in which case you have to google search up "forwarding a port / port forwarding", and check that out, but i would actually suggest to not mess with it and see if you can find a Steam Group server to use if you like the settings lol, cuz thats a bunch of more router technical stuff

just make sure you plug into your router too with an Ethernet cord, using wi-fi doesnt work with Local Host options cuz it only allows 1mb upload sometimes, depending on your routers speed, so you cant send out info fast enough to keep other players responding, or sometimes youll find players having too high ping cuz residential internets cant handle a game servers internet use, and also doesnt get priority like the business class internet server hosting companies get

3 - yes just the hosting player for the stuff to run

4 - nope not that im aware of, although you want to make sure that you friend has the exact same version of the map you have, sometimes theres a map with an old and newer versions from gamemaps or even the workshop if theres more than 1 entry for that map, so you want to make sure otherwise theres some strange issues that can happen with the sv_consistency turned off
 

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
o you should be able to use either lobby mods you want to use along with this method / plugins, although this version of the Superversus plugin we have is limited for 16 max players i want to say, i chose that one cuz some custom maps have a glitch that happens if you run it with the plugin when it allows past 16 players, so you can do 8 vs 8 versus or 16 survivors, if you do want more player slots than that you can always download the other version of the Superversus plugin that allows 32, and then just copy and paste it into your L4D2 game folders where the Sourcemod plugins go, and it will still use all your settings in the cfg file

but using a lobby mod over 16 slots will still allow you to get all 16 players at once into the Local Host / non-dedicated server, or if you find a server allowing more slots than that you can use it for those as well, so doesnt really matter which you use as long as the server / your game is set to allow as many players that are actually in the lobby at the current time

if you use a lobby mod with less slots it will still allow all those players into the match when started, then other players after that will need a invite to join the match after that, or your IP address it says the Local server has when you start the match, then they can type the command into the Dev Console connect 00.000.00.00:27015 which allows them to connect right to that IP address

yes if the maximum_survivor and sv_maxplayers is set in the 2 cfg files mentioned, starting the match with Local should allow that many players from a lobby to your match
 
Last edited:

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
yupp no prob, this stuff is a pain but also where the fun is at, and its pretty much as far as things go for modding a game that uses Source, other games with other engines have different things to mod and change the game, although its pretty much all the same for most games just different folder locations you need to know where to put the mods stuff, but you will get more comfortable with it as you do more stuff

other than workshop mods you can use right from a .vpk file which is easy, and some games have systems like that as well so mods come in a pack that gets put into 1 place, which is like having all the files and folders for a mod to a game set up but packed into a file type so the game can run it from that 1 file, that way you dont have to worry about making sure all the stuff goes in the right place if the mod has multiple parts or just a lot of files

which is kinda what i did just put them in proper folders so its an easy copy and paste to get everything in, but unfortunately Sourcemod and Metamod etc. cant run from a .vpk file so theres not much reason to upload it as a pack to the steam workshop, otherwise i would have done it like that
 

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
and just remember a Google search is always your best friend lol (or whatever your prefered search engine site like yahoo, duckduckgo), although you have to look through a page or 2 of search results to find one talking about what your looking for, although when i 1st went to do the L4D2 stuff it was definitely frustrating and complicated mainly cuz a lot of the guides were old, or they just didnt explain the plugins needed for everything to be done very clearly, or for me at least

theres also another plugin that lets more slots in L4D2 called ABM Multislots, although we chose Superversus before that was around when Left4Downtown 2 was the other main option, which Superversus had all the controls we needed for Coop and Versus being the main gamemodes, as well as had a easy attachment plugin option for stuff like making all L4D1 and 2 survivors spawn, let dead players pick open bots to play as etc.
 

dtatank99

Friend of DG
Yup, the only problem I had before was not knowing which files that I should modify, and some of the guides on google had different files mentioned, which unfortunately doesn't exist on my L4D2 folder, and it adds more confusion.

I think I saw a workshop mod that includes the plugin, but I'm not so sure about it.

Seeing your explanation, it feels like there's so many alternatives for applying mods, interesting

Anyway let me thank you once again for your help, It's nice to be able to run 8 lobby game again after awhile.
 

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
oh yeah i saw someone made a SM and MM upload for the workshop, although in the description it says you cant just subscribe to use it, you have to unpack the .vpk with a tool by dragging and dropping the file onto it, then when its done decompiling it you are left with a regular folder with whatever inside, then you can just take out his pack and copy and paste it to merge it with your game files like i made mine to do

yupp when it comes to most of the Source Games they have the .vpk file type system, and some other games have a similar thing where theres a certain file type that mods can come in, otherwise the old school / direct way is stuff like Source Mod where you put the files into your game and use parts of it to control it, or you just take something like a character model made for 1 of the survivors, and copy it into your games files where the default character model is your replacing, and since its the same file type with the same name the game loads that one instead of its original one, although that way is a bit of a pain cuz if you mess somethin up or the mod is messed up then you can be stuck with an unfunctional game till you redownload / reinstall the game to correct the issue / get the original file back

but once you get stuff down for replacing your game files with the modded ones your good to go, really a lot of it is just getting used to file directories and path location organization, no matter what game it is unless your using its special modding file type system like the vpks for Source

To anyone hoping to change their Settings or intends to play with the values of some settings for fun, make sure to bookmark this link as it goes to where all the different Cvar's are listed for the game L4D2s version of Source, so you can enter these Cvars into your Listenserver.cfg with sm_cvar in front of it to be able to change the values of that functions variable. - https://developer.valvesoftware.com/wiki/List_of_L4D2_Cvars
 

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
Yup, the only problem I had before was not knowing which files that I should modify, and some of the guides on google had different files mentioned, which unfortunately doesn't exist on my L4D2 folder, and it adds more confusion.
very nice you got it lol, yeah that was it really, some guides were fine and well made, but it was hard to tell if it was an older guide from a plugin that doesnt work anymore, or whats changed and needed now in 2020 compared to 2015, and some talked about using some of the same parts but then other stuff that other guides didnt, and it was just complicated o_O but after a couple days i got through the stuff needed for SuperVersus so ive been sticking with it
 

geekultra

Friend of DG
Which part of these lines should I change to get to host a lobby for 16 human players? This is from the "l4d_superversus" CFG File. I have no problem with listenserver.cfg since there's only one line to change which is "sv_maxplayers".

// Static minimum amount of team survivor
// -
// Default: "4"
// Minimum: "4.000000"
// Maximum: "24.000000"
l4d_static_minimum_survivor "4"

// Maximum amount of survivors
// -
// Default: "4"
// Minimum: "1.000000"
// Maximum: "24.000000"
l4d_survivor_limit "8"
 
Last edited:

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
ah ok so the 2nd one survivor_limit is the amount of total survivors that can eventually join, and the 1st static_minimum one is the base or lowest number of survivors in the match at any time, and then there is a 3rd Infected_limit which is how many infected players if you run Versus mode

so leave the Static as 4 and change the limit to 16, and as long as the sv_maxplayers is set in the other cfg is set to the same as survivor_limit its good to go
 

geekultra

Friend of DG
ah ok so the 2nd one survivor_limit is the amount of total survivors that can eventually join, and the 1st static_minimum one is the base or lowest number of survivors in the match at any time, and then there is a 3rd Infected_limit which is how many infected players if you run Versus mode

so leave the Static as 4 and change the limit to 16, and as long as the sv_maxplayers is set in the other cfg is set to the same as survivor_limit its good to go
thanks! i did everything that you asked me to do. but while playing with 7 of my friends (we were 8 in total), i invited another friend (9th player) to see if she could enter. She wasn't able to enter and got a message that there weren't enough "slots". She confirmed that she did not get a message stating "the game is full". is this an issue with what i changed with the CFG files or should i simply get an add-on that enables 16 slots for the local server lobby? i'll post the CFG changes below just for you to double check if there's an error.

listenserver.cfg:
sv_maxplayers 16
sv_visiblemaxplayers "-1"
sv_force_unreserved "1"

superversus.cfg:
// Static minimum amount of team survivor
// -
// Default: "4"
// Minimum: "4.000000"
// Maximum: "24.000000"
l4d_static_minimum_survivor "4"

// Maximum amount of survivors
// -
// Default: "4"
// Minimum: "1.000000"
// Maximum: "24.000000"
l4d_survivor_limit "16"

EDIT: i downloaded a 32-slot lobby add-on which didn't work as well (https://steamcommunity.com/sharedfiles/filedetails/?id=2002349222). my friends say the 32-slot add-on only shows "1/8" lobby capacity, and i still can't invite more than 8 players :(
 
Last edited:

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
o hmm that is strange, sry took some time while i was doing something, but i did get to check it out and seems like lobby mod here - https://steamcommunity.com/sharedfiles/filedetails/?id=546656726

actually has its own Listenserver.cfg file within the mods vpk pack, which has a few settings that are meant to work when the L4Dtoolz etc. mods are installed, so i would have guessed that was messing it up, but if the larger lobby mods dont work either thats strange, unless its not loading your cfg file cuz of the mods but it should load 1 than the other

gotcha the match still says #/8 players when they check the server info im guessing?


k my next guess would be to:

1 - remove all lobby mod attaches and see if it happens just setting the # values in the cfg files, then we can see if its the plugins / superversus

2 - also how are you inviting the friends to the match? by friends list invite to game? or by giving them the IP address when your match is started and they use the connect 00.000.00.00:27015 command in the dev console?

-
or try both ways and see if they can connect with another method, like opening the server browser with the openserverbrowser console command and connect to friends matchs and see if that works

but with just the pack you should be able to get more players in, although inviting them using the Friends Invite function Will Not work now, cuz l4d2 coop campaign / realism match's are only meant to have 4 players, so usually the invites stop working in Steams friend list after the default player count in l4d2 is reached in the said server / match, so with the lobby mod it would stop you at 8 instead

-
i know it sucks, it did use to work fine in the past but i remember around 2016-2018 is when i noticed that it no longer worked for more than default player count gamemodes, the players joining after the default amount will have to either :

1 - join the same Steam Group as the Lobby Leader that started the match, which will make the server appear in that players Steam Group Servers List in L4D2 menus and they can join (or if itpublicly set server for viewability and use by players, then you dont have to join the group just look through the usual 300-400 Community Group Servers being ran

2 - try using one of the other Console Commands that allows you to connect to a game / match, the most basic and direct one is just connect 00.000.00.000:27015 or you can try having them use the openserverbrowser command to show the Steam Server Browser and join from there
 
Last edited:

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
also im just noticing when you pasted the Superversus cfg lines that this version is set to go up to 24 players not 16, thats my bad i thought it was cut in half cuz of the issue with some custom maps but i guess it only had to be lowered to 24 players for that bug, which you can see below the settings line where it says Min and Max values
 

geekultra

Friend of DG
o hmm that is strange, sry took some time while i was doing something, but i did get to check it out and seems like lobby mod here - https://steamcommunity.com/sharedfiles/filedetails/?id=546656726

actually has its own Listenserver.cfg file within the mods vpk pack, which has a few settings that are meant to work when the L4Dtoolz etc. mods are installed, so i would have guessed that was messing it up, but if the larger lobby mods dont work either thats strange, unless its not loading your cfg file cuz of the mods but it should load 1 than the other

gotcha the match still says #/8 players when they check the server info im guessing?


k my next guess would be to:

1 - remove all lobby mod attaches and see if it happens just setting the # values in the cfg files, then we can see if its the plugins / superversus

2 - also how are you inviting the friends to the match? by friends list invite to game? or by giving them the IP address when your match is started and they use the connect 00.000.00.00:27015 command in the dev console?

or try both ways and see if they can connect with another method, like opening the server browser with the openserverbrowser console command and connect to friends matchs and see if that works

but with just the pack you should be able to get more players in, just inviting them using the Friends List in Steam doesnt work, cuz l4d2 match are only meant to have 4 players so usually the invites stop working after the default player count in l4d2, so with the lobby mod it would stop you at 8 instead
i invited my friends thru steam. i'll ask them to try the other methods once they're available. thanks!
also im just noticing when you pasted the Superversus cfg lines that this version is set to go up to 24 players not 16, thats my bad i thought it was cut in half cuz of the issue with some custom maps but i guess it only had to be lowered to 24 players for that bug, which you can see below the settings line where it says Min and Max values
is there gonna be a problem if i retain the //maximum to '24'? or should i update them to '16'?
 

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
gotcha no prob, and nope your fine, that info is actuallly generated by the plugin itself to let you know what the actual min and max values you can set for that cvar, i just noticed it actually goes to 24 not just 16 so its fine

although i personally would not suggest much more than 8 vs 8 versus matchs which is 16 players total, or just 8-10 players in coop or it just gets really clustered on some maps / areas, even 8 coop gets rough in certain workshop maps if they have narrow hallways and such, but if stuff is spaced well like the originals you get by with 8 fine, otherwise you find a lot of times half the team cant do anything cuz there isnt the space to fit them in and shoot

or having so many players just changes the dynamic of the gameplay in l4d2, cuz you never have to worry about getting stuck by a special infected when there are so many players that could help release you, of course if your trying to turn the l4d2 gameplay into a different more general shooter type of gameplay, then by all means go for it and more power to you

of course you can set it to whatever you want cuz its your game, just a tip from experience after messing with the player count and infected spawns for a year or so, while i was trying to find out what works in terms of gameplay
 
Last edited:

geekultra

Friend of DG
Thanks for the heads up about having too many players in a game. That's noted.

Can i use "Default Superversus pack" and "DG Superversus pack" at the same time or i can only use one at a time? my friends and i are having a problem whenever someone joins when the campaign is already running. they'll start as dead survivors and need rescue to be able to play. having them type !survivor never worked for us :(. I want them to play right away once they enter so I was thinking if this can be solved by installing "DG Superversus pack" where there are already 8 survivors right from the start. They'll just take control of a bot survivor once they enter my already-running campaign.
 
Last edited:

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
oh yeah not worries, its been a while since i checked some of the Workshop stuff to see whats going on, and i remember when i was setting up our servers that was probably the most confusing thing, till i realized the Lobbies and all that have their own little system that connects from other players game client to share active game info etc. for ppl to find other games and join in, cuz at 1st i was just joining on the Steam Group List that shows up on the main menu myself, then using vote to start new campaign to a default one, (of course thinking of it more like other games servers like CSS), or joined from the main menu list and used the classic !nominate and !rtv system to pick the 1st chapter of workshop campaigns, but all the time getting 0 new players except for ppl already in the Public Steam Group, and even using the lobby system so it would let public players in that way didnt let it go over 4, and thats when my friends list invites not working anymore either did

your all good tho, i actually didnt notice 1 of the discussions i posted on was yours until later, or i think it was yours or you commented in it, so not that i was attempting to blow you up about it or somethin lol, i just figured a few comments for that weird quirk / bug would help save some players future frustration when they attempt to play and have said issue or arent aware of it, cuz trying to use friends list invites in Coop games that are meant to go above 4 players, pretty much makes it seem like the 8 player changes didnt work, cuz its pretty much the same behavior as a result

so i put the info in the 1st comment after our post here as well, for future players that come looking and in case any players come back about it / try the lobby mods, which i still gotta do some testing myself to see whats up with them, cuz theres a couple that are crafted differently, or o the same things just use different methods to achieve it which can cause strange issues, so theres ups and downs
 
Last edited:

Tom Da Bomb

Vanguard
Staff member
DG | Developer
DG | Staff
DG | Admin
DG | Veteran
DG | Member
oh the !survivor chat command is what will make the player join the Survivors team from the Spectate spots if they get put / stuck there after joining (or Spec "team" as its qualified by the game)

the common bug in the SuperVersus plugin is for some reason players get stuck in spectate and cant do anything when joining after 4 players, so the chat command is for manually making the game load another survivor onto the Survivor team, but puts them as Dead so players dont leave and come back for respawns, unforunately theres not a way to make it spawn the survivor immediately, or at least not that im aware of
 
Top