Goal
To create a new take on Tower Defense games, using the Half Life 2 setting.
Overview
Night of the Living Headcrabs is a two part level. In the first part, the player searches a warehouse for a power box to fix a broken generator in order to escape the building. While searching, the player stockpiles objects used to defend himself against the enemies outside.
The second part of the level consists of waves of enemy zombies flooding through the open gates. Using the items collected earlier, the player fights off the hordes with short breaks between each wave. The more time a player spent preparing for the battle in the first part, the easier the battle becomes.
Aesthetics
Night of the Living Headcrabs draws its creepy atmosphere and high intensity climax from zombie horror movies. A protagonist locked in a building surrounded by monsters must use his wits and resources to come out alive. To accomplish this feel, I used clutter and lighting to provide a spooky atmosphere and the constant creaking and moaning of the zombies keeps the players on their toes. As an added fright, headcrabs jump out during specific moments to scare the player.
Scripting
During the second half of the game, I created a wave based system of enemy spawners. After opening the gate, a wave of zombies presses inward from one of two entry points. After a wave has been wiped out, the player receives a thirty seconds rest so that he may pickup health and reset his defenses. After the thirty seconds are up, another wave starts and more zombies appear. After several waves are complete, a friendly AI tells the player to escape and the level ends.
I designed the zombie AI to constantly seek the player. The zombies have multiple entry points into the warehouse and several pathing options, leading them to swarm the player rather than head toward the player in a single line.