Jump to content
Sign in to follow this  
Mana

Changing Left 4 Dead Gameplay Using Sourcemod

Recommended Posts

Now that Sourcemod officially supports Left 4 Dead I thought I should put this up.

Valve has turned a lot of useful cvars into cheats which would require you to have sv_cheats on in order to change which would, in turn, allow anyone to crash your server. Luckily sourcemod comes with a to change any cvar regardless of its flags using "sm_cvar".

For example:

sm_cvar z_health 15 would change the zombie health to 15 while cheats are off.

Here is the config that we use in our private "Very Easy" server:

sm_cvar z_mob_spawn_min_size 150

sm_cvar z_mob_spawn_min_interval_normal 15 (how often the zombies spawn under this difficulty)

sm_cvar z_mob_spawn_min_interval_hard 15

sm_cvar z_mob_spawn_max_interval_expert 15

sm_cvar z_mob_spawn_max_size 300 (max amount of zombies in a mob)

sm_cvar z_mob_spawn_min_interval_easy 15

sm_cvar z_mob_spawn_max_interval_normal 15 (how often the zombies spawn under this difficulty)

sm_cvar z_mob_population_density 0.0164 (Increase the density of zombies)

sm_cvar z_mob_spawn_max_interval_hard 180

sm_cvar z_mob_spawn_finale_size 200 (Mob size during the finale)

sm_cvar z_mob_spawn_max_interval_easy 15

sm_cvar z_mob_spawn_min_interval_expert 15

sm_cvar z_tank_throw_force 999

sm_cvar z_health 15

sm_cvar z_witch_health 2222

sm_cvar z_tank_health 6000

sm_cvar fps_max 0 (might as well uncap the FPS seeing how the CPU usage seems to be the same on our box regardless of FPS)

sm_cvar z_common_limit 300 (max common zombies in the map at one time)

The complete list of cvars can be found here (including hidden ones):

http://forums.gamingterritory.com/index.php?showtopic=5753

Naturally it would be a good idea to keep a server like this away from the public be it via sv_steamgroup_exclusive or sv_password because these settings will not revert back unless you manually change them back. And we wouldn't want to have an "Easy" difficulty server found via the lobby to actually be "Nightmare Hard" now do we?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...