L4D2 Level Design/Witch Bride: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(created page, still in WIP...)
 
(finished page.)
Line 1: Line 1:
{{wip|currently under construction}}
[[File:L4D2 witch Bride ingame.png|200px|right]]
[[File:L4D2 witch Bride ingame.png|thumb|200px|right]]
In [[Left 4 Dead 2]] the witch has a alternative version wearing a bridal dress. As seen in ''The Passing''.<br>
In [[Left 4 Dead 2]] the witch has a alternative version wearing a bridal dress. As seen in ''The Passing''.<br>
The only difference between this witch and the default is the model.
The only difference between this witch and the default is the model.
Line 6: Line 5:
==Spawning==
==Spawning==
The bride witch can be spawned in multiple ways, but every approach requires you to precache the model, else the map crashes.<br>
The bride witch can be spawned in multiple ways, but every approach requires you to precache the model, else the map crashes.<br>
To precache the model, add a [[prop_dynamic]] to a unreachable area in your map.<br>
To precache the model, add a [[prop_dynamic]] to a unreachable area in your map, using <code>models/infected/witch_bride.mdl</code><br>
 
If you do not have any viable unreachable location, create a hollow [[tool_textures|Nodraw]] block around the witch prop_dynamic and place it into the void.
If you do not have any viable unreachable location, create a hollow [[tool_textures|Nodraw]] block around the witch prop_dynamic and place it into the void.
[[File:L4D2 witch Bride precache.png|thumb|200px|right|A [[prop_dynamic]] using the bride witch model, in the void, surrounded by a hollow nodraw block.<br> One wall is missing to convey the setup.]]
[[File:L4D2 witch Bride precache.png|thumb|200px|none|A [[prop_dynamic]] using the bride witch model, in the void, surrounded by a hollow nodraw block.<br> One wall is missing to convey the setup.]]


==Via Missionfile==
===Via info_zombie_spawn===
The best way to spawn a bridal witch is using [[info_zombie_spawn]].<br>
Place it where you would like to have your bride spawned, call it <code>WitchBrideSpawnpoint</code> and use <code>witch_bride</code> in the "population" field.
[[File:L4D2 witch Bride info zombie spawn.png|400px|none]]
 
 
Now you have a spawnpoint, but you need to actually spawn the witch now.<br>
Any entity capable of firing [[Inputs_and_Outputs|outputs]] can spawn the witch, via the following outputs:
{| {{OutputsTable}}
| [[Image: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:
{| {{OutputsTable}}
| [[Image:Io11.png]] || OnCoop || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.10 || No
|-
| [[Image:Io11.png]] || OnVersus || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.10 || No
|}
 
 
 
===Via Missionfile===
One way of spawning a bridal witch is using the [[L4D2_Mission_Files|missionfile]]. Only drawback is that '''all''' witches on the map will be wearing bridal gowns.
One way of spawning a bridal witch is using the [[L4D2_Mission_Files|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==
*[[L4D2_Level_Design/Wandering_Witch|Wandering Witch]]
*[[Left_4_Dead_Infected_Populations|Infected Populations]]
[[Category:Left 4 Dead 2]]

Revision as of 02:31, 27 March 2021

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