Some of my friends and I have been playing our own invented “game mode” in Left 4 Dead. We call it the “Cage o’ Death.” I set up a cage somewhere on a versus game where the survivors can stay. In it, I create an ammo spawn so that survivors can get more ammo. Each survivor gets a first aid kit and a set of pain pills, and the team gets a maximum of one pipe bomb and one molotov. When the survivors are ready, I turn on director_panic_forever and trigger a panic with director_force_panic_event. The game starts and the fun begins! The cheats are on the entire time, but we’re playing with friends, so it’s fine. Plus, the infected can use noclip to move to an area to spawn.
We have the following rules:
- Each survivor can pick a 2nd-tier weapon at the beginning but s/he cannot change it later on.
- The survivors get a first aid kit and a set of pain pills each.
- The team gets one molotov and one pipe bomb. It doesn’t matter who has what, as long as both items are used only once each.
- The infected cannot spawn within or above the cage.
- The infected team can spawn a tank once after every ten minutes, and the tank cannot be spawned inside or above the cage.
- The infected cannot use noclip once they have spawned.
Update: Don’t bother with the following (unless you don’t have a dedicated server). Use my Cage o’ Death SourceMod plugin.
To create the walls, you can use the police barricade. Aim at the floor and use:
(I would recommend binding that to a key.)
To create a wall in the other orientation, use ent_rotate. You can combine this with the above to get:
To delete items, you can use ent_remove. However, make sure that you do not delete yourself or other survivors. Very bad things will happen if you do!
To create the ammo spawn:
ent_fire !picker addoutput "ModelIndex 206"
Note that “206″ is the number of the model. The numbers vary with each map, so you will have to play around a bit. Be aware that some model numbers will crash your game (but not the server).
You can also create a minigun, but I don’t bother anymore. It can be whatever model and it will still work. The following snippet creates a minigun that can be rotated the entire 360 degrees:
ent_fire !picker addoutput "ModelIndex 216"
ent_fire !picker addoutput "MaxYaw 360."
ent_fire !picker addoutput "MaxPitch 40."
ent_fire !picker addoutput "MinPitch -30.00"
Update: Use my Cage o’ Death SourceMod plugin.


I'm on Twitter!
When I spawn the minigun, although I can use it, it;s not a minigun model, and there is no firing sounds. Its a health pack model. Any idea why this is or how to fix it? I used find_ent to find the index of the minigunb in a survival map and it was 250. That spawns some gore or something like that.
Same problem with the ammo pile. Although you can get ammo, it doesnt spawn the ammo pile, but two pistols. Why?
It’s trial and error with the model index number. I don’t know a way to list all the model paths in the game with their model index. Some numbers will crash the game too (only the clients, I think).
As for the sounds, I don’t know a way to fix that.
Don’t know if anyone cares but you can get a list of every model in the map by typing in “cl_precacheinfo modelprecache” in the console, w/o the “” ofc :) If the map doesn’t have a minigun it won’t appear in the list but to fix that you need to spawn one by typing in “prop_dynamic_create w_models/weapons/w_minigun” and you should have a minigun before you. But you won’t be able to use it ‘cus it’s just a prop.
Use the cl_precacheinfo command again and you should see the minigun’s index model at the bottom of the list.
or… you can look at louis and type ent_fire !picker addoutput “modelindex 222″ to change him into a boomer or some thing else!
It's trial and error with the model index number. I don't know a way to list all the model paths in the game with their model index. Some numbers will crash the game too (only the clients, I think).
As for the sounds, I don't know a way to fix that.