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

How to adjust settings in l4d2 ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Yanush
Junior Member
Join Date: Dec 2009
Old 12-21-2009 , 14:21   How to adjust settings in l4d2 ?
Reply With Quote #1

Hi
Anyone know how to adjust settings like size of mobs, time between mobs, tank healths etc. in L4D2 ?
Im using metamod and sourcemod.
Yanush is offline
Geek_Loco
SourceMod Donor
Join Date: May 2009
Old 12-23-2009 , 13:33   Re: How to adjust settings in l4d2 ?
Reply With Quote #2

We use Teddy Ruxpin's TurboL4D mod on our L4D1 servers and when L4D2 came out we have been tweaking the TurboL4D mod for use there.

At the end of the "left4dead2/cfg/sourcemod/sourcemod.cfg" file, or any where after the original sections of that file, you can add and edit to your liking the following lines:

Code:
// common infected
//sm_cvar z_mob_spawn_max_size 250
sm_cvar z_mob_spawn_max_size  150
   
sm_cvar z_mob_spawn_min_interval_easy 60   
sm_cvar z_mob_spawn_min_interval_expert  10  
sm_cvar z_mob_spawn_min_interval_hard 20    
sm_cvar z_mob_spawn_min_interval_normal  30  
sm_cvar z_mega_mob_spawn_max_interval 120
sm_cvar z_mega_mob_spawn_min_interval 60 

sm_cvar z_mob_spawn_min_size 50 
//sm_cvar z_mob_spawn_min_size 100

sm_cvar z_common_limit 75
//sm_cvar z_common_limit 100

sm_cvar z_mega_mob_size 200

//sm_cvar z_tank_health 100000
sm_cvar z_tank_health 125000
//sm_cvar z_tank_health 150000
I am not sure if all of these are needed or if there are more, I just skimmed through one of our sourcemod.cfg files to pull this out as a start. On L4D1, we had the max mob at 250, but on this server for L4D2, I dropped it to 150 where a couple other servers are still set at 250. We do like our hordes.

Also, it might be good to check what these cvars are set to before making any changes so that you know if you want to increase or decrease.

FYI - a couple other nuggets that I really like in case you find them useful:
Code:
//    Delay going Idle from default of 45 seconds.
//    9 minutes
//sm_cvar director_afk_timeout 540
//    4 minutes
sm_cvar director_afk_timeout 240

//    To help load admins
//sm_rehash
sm_reloadadmins

//    Extend the reach of the Melee weapons.
sm_cvar melee_range 700
Sometimes on our servers, the Admins may not be recognized at the beginning of a map or section anywhere from 15 seconds to 15 minutes and can't open the admin menu or execute any admin commands. I am not sure if this is kosher or not, but that is why I put the command to reload the admins at the end of our sourcemod.cfg because I believe that file is executed on each new map/section. I don't think we have had any problems since.

Happy Hunting.
Geek_Loco is offline
Yanush
Junior Member
Join Date: Dec 2009
Old 12-23-2009 , 15:35   Re: How to adjust settings in l4d2 ?
Reply With Quote #3

Thanks for answer!!

Only one more question: i have to instal Teddy Ruxpin's TurboL4D? Or just put that commands in sourcemod.cfg ?
Yanush is offline
Geek_Loco
SourceMod Donor
Join Date: May 2009
Old 12-23-2009 , 23:46   Re: How to adjust settings in l4d2 ?
Reply With Quote #4

No on installing Teddy's TurboL4D (if you don't want). What I have posted are game cvars that you can use through sourcemod in the cfg file.

"I could be wrong, but I doubt it." -Charles Barkley
Geek_Loco is offline
Yanush
Junior Member
Join Date: Dec 2009
Old 12-24-2009 , 10:04   Re: How to adjust settings in l4d2 ?
Reply With Quote #5

Yea it works, i add my own commands and it works too.

But there is one problem - it seems, that whatever command i put in sourcemode.cfg, it breaks Tank...
Tank spawn, and after 1 shoot, or even without shooting, he die...by suicide.
I have no idea why it happens? All commands work good, but not tank.
So i removed Tank commands, and just use commands for mob etc. but tank still do suicide....
Yanush 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 19:31.


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