It’s hard to believe, then, that L4D only ever has 30 zombies in the world at any one time. The game’s procedural population system constantly adds and removes them behind your back to give the illusion of thousands of living dead. Pulling the strings behind the scenes is the AI Director, an artificial intelligence system that’s responsible for creating the highs and lows of the in-game drama. By controlling where and when zombies, mobs and special infected spawn, and by guiding the audio cues and weapon/item drops, the AI Director can modulate how the game responds to players’ actions and abilities.
Be sure to give it a read!