This has been an ongoing project for me and while the code for it is very simple, making it balanced (and exploit free) was not. The Penny-Arcade community helped me out a lot on that. There has been one map made so far for Zombie Fortress, it is found in the website.
Description:
The survivors (RED) must fight back a horde of zombies (BLU) and survive an allotted amount of time before they are all killed and turned. At the beginning of the round, the teams are shuffled in such a manner that 2 thirds of the players are survivors and the remaining third are zombies. Each team has classes assigned to them and they can only be that class.
The survivors (pyro, soldier, demoman, engineer, sniper and medic) must prevent the zombies from capturing the control points while at the same time avoiding being killed in the process. If a survivor is killed, they join the zombie team immediately. The biggest issue the survivors face is running out of ammo, especially since the maps have very little ammo around the control points.
The zombies (scout, spy and heavy) need to either kill all the survivors or capture all the control points to win. Unlike the survivors, the zombies are only armed with melee attacks with the exception of the heavy’s sandvitch. Group efforts to take out important targets is crucial as a lone zombie will often lose to a group of survivors. All zombies have minor health regeneration.
Commands:
sm_zf_enable - Activates the Zombie Fortress plugin. Restarts the round.
sm_zf_disable - Deactivates the Zombie Fortress plugin. Restarts the round.
sm_zf_force_on "0/1" - Toggles whether the plugin should deactivate on non-zf map changes.
sm_zf_ratio "0.0 to 1.0" - Percentage of players on the survivor team at start. (Default 0.60 or 60% survivors).
Credits:
This was my first plugin for SourceMod and I used bl4nk's sudden death redux as a start. Also, I need to credit whoever designed the "#define TF2_class". I found it somewhere using search but I don't know who it is from.
Known Issues:
- On occasion, the zombies will spawn with "false" versions of their normal weapons.
Website for more details and download links:
Zombie Fortress Blog