View Single Post
Author Message
Luke Penny
Senior Member
Join Date: Jan 2010
Location: Canada
Old 01-23-2010 , 16:47   [L4D1/2] Varying Zombie Population
Reply With Quote #1

Varying Zombie Population


This plugin makes the population of zombies spawned by the director less static and more dynamic, by having each zombie have a varying health and speed value. One zombie may die from a shot to the leg, and another standing right beside him may take 2 or 3 shotgun shells to the chest.
Headshots are still instant kills in Left 4 Dead 1, as this is build into the game. Left 4 Dead 2 is a bit more complicated, but the more health a zombie has, the more likely it is to stay alive even after loosing some limbs (L4D2 only)

Plugin Requires SDKHooks, get it here http://forums.alliedmods.net/showthread.php?t=106748

The idea behind this plugin: The gameplay changes significantly in both coop and versus. You typically expect 1 shotgun shot to kill a zombie no matter what, but when that one zombie comes along that can absorb 3 solid shots, you are suddenly in a difficult situation, having to deal with slightly stronger zombies. Kind of like a lower version of uncommon common, some zombies are just different than others, say perhaps one zombie was more physically fit before the infection hit, and one was weak and skinny - this adds some diversity to the zombie population.


ChangeLog

1.0 - Initial Release, not working on L4D2
1.1 - Fixed bugs, added randomized speed, somewhat working on L4D2
1.2 - Changed method of how to change health, added cvars for controlling minimum and maximum values, added zombie acquire range and time
(Credit to DieTeetasse for this method)
1.3 - Added automatic .cfg creation, added additional commenting and documentation
1.4 - Added Specials, L4D1 and 2, changed cvar names

Download the attached .smx, as the plugin requires sdkhooks and will not compile using Get Plugin
Attached Files
File Type: sp Get Plugin or Get Source (varyingzombies.sp - 2873 views - 6.7 KB)

Last edited by Silvers; 10-29-2021 at 10:10. Reason: removed .SMX (compiles fine on forum)
Luke Penny is offline