L4D2 Level Design/Witch Bride

From Valve Developer Community
Jump to: navigation, search
L4D2 witch Bride ingame.png

In Left 4 Dead 2 the witch has a alternative version wearing a bridal dress. As seen in The Passing.
The only difference between this witch and the default is the model.

Spawning

The bride witch can be spawned in multiple ways, but every approach requires you to precache the model, else the map crashes.
To precache the model, add a prop_dynamic to a unreachable area in your map, using models/infected/witch_bride.mdl

If you do not have any viable unreachable location, create a hollow Nodraw block around the witch prop_dynamic and place it into the void.

A prop_dynamic using the bride witch model, in the void, surrounded by a hollow nodraw block.
One wall is missing to convey the setup.

Via info_zombie_spawn

The best way to spawn a bridal witch is using info_zombie_spawn.
Place it where you would like to have your bride spawned, call it WitchBrideSpawnpoint and use witch_bride in the "population" field.

L4D2 witch Bride info zombie spawn.png


Now you have a spawnpoint, but you need to actually spawn the witch now.
Any entity capable of firing outputs can spawn the witch, via the following outputs:

  My Output Target Entity Target Input Parameter Delay Only Once
Io11.png Depends on entity WitchBrideSpawnpoint SpawnZombie <none> 0.00 No

As a reference Valve had used the info_gamemode entity with the following outputs to spawn the witch in Coop and Versus, but not in Survival:

  My Output Target Entity Target Input Parameter Delay Only Once
Io11.png OnCoop WitchBrideSpawnpoint SpawnZombie <none> 0.10 No
Io11.png OnVersus WitchBrideSpawnpoint SpawnZombie <none> 0.10 No


Via Missionfile

One way of spawning a bridal witch is using the missionfile. Only drawback is that all witches on the map will be wearing bridal gowns.

Required Setup in missionfile:

 "1"
 {
 	"Map" "c6m1_riverbank"
 	"DisplayName" "#L4D360UI_LevelName_COOP_C6M1"
 	"Image" "maps/c6m1_riverbank"
 	"WitchVariant" "models/infected/witch_bride.mdl"
 }

See also