L4D2 Level Design/Witch Bride: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
本界面由[[User:139178|防防“FangFee”]]翻译。
{{LanguageBar}}
---------
[[File:L4D2 witch Bride ingame.png|200px|right]]
[[File:L4D2 witch Bride ingame.png|200px|right]]
[[求生之路2]] 中,wtich拥有一个穿着婚纱的可选版本. 就像 ''短暂时刻'' 中那样.<br>  
In [[Left 4 Dead 2]] the witch has a alternative version wearing a bridal dress. As seen in ''The Passing''.<br>
这俩版本的witch只在模型上有不同.
The only difference between this witch and the default is the model.


==生成==
==Spawning==
婚礼 witch 可以用多种方法来生成, 但是每种方法都需要你先预缓存模型,否则地图会崩溃.<br>
The bride witch can be spawned in multiple ways, but every approach requires you to precache the model, else the map crashes.<br>
要预缓存模型, 得添加一个 [[prop_dynamic]] 点实体到你地图里不可到达的区域,模型要用<code>models/infected/witch_bride.mdl</code><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>


如果你没有有效的不可到达区域, 你也可以创建一个使用[[tool_textures|Nodraw]] 纹理的空心盒子然后把使用了婚礼witch模型的 prop_dynamic 放进去,然后连 witch 带盒子丢到地图外面.
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|none|一个用了婚礼 witch 模型的 [[prop_dynamic]] ,它在主地图之外的虚空中, 且被使用nodraw纹理的空心盒子围绕.<br> 有一面缺失是为了展示效果.]]
[[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.]]


===通过 info_zombie_spawn 生成===
===Via info_zombie_spawn===
[[info_zombie_spawn]] 来生成婚礼 witch 是很棒的方法哟.<br>
The best way to spawn a bridal witch is using [[info_zombie_spawn]].<br>
把它放在你想生成婚礼 witch 的地方, 将它命名为 <code>WitchBrideSpawnpoint</code> 并且在“population”属性栏中填写 <code>witch_bride</code>  
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]]
[[File:L4D2 witch Bride info zombie spawn.png|400px|none]]




现在你有了生成点了, 但想要让它生成你还得做些什么.<br>
Now you have a spawnpoint, but you need to actually spawn the witch now.<br>
任何能够触发 [[Inputs_and_Outputs|输出]] 的实体都可以生成 witch,输出你可以像下面设置:
Any entity capable of firing [[Inputs_and_Outputs|outputs]] can spawn the witch, via the following outputs:
{| {{OutputsTable}}
{| {{OutputsTable}}
| [[File:Io11.png]] || ''取决于你的实体'' || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.00 || No
| [[File:Io11.png]] || ''Depends on entity'' || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.00 || No
|}
|}


作为参考, Valve 也在[[info_gamemode]] 实体中使用以下输出来在战役和对抗模式中生成 witch,但不包括生还者模式:
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}}
{| {{OutputsTable}}
| [[File:Io11.png]] || OnCoop || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.10 || No
| [[File:Io11.png]] || OnCoop || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.10 || No
Line 33: Line 32:




===通过 Mission 文件来生成===
===Via Missionfile===
还有一种生成办法是通过 [[L4D2_Mission_Files|mission文件]] 来生成. 不过嘛,这样一来唯一的缺点就是地图上 '''所有的''' witch 都会穿着婚纱,你也不希望被一群新娘追吧.
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.


如果你真想这样,那就在mission文件里加入下面这几条:
Required Setup in missionfile:
   "1"
   "1"
   {
   {
Line 44: Line 43:
   '''"WitchVariant" "models/infected/witch_bride.mdl"'''
   '''"WitchVariant" "models/infected/witch_bride.mdl"'''
   }
   }
==另见==
==See also==
*[[L4D2_Level_Design/Wandering_Witch|游荡的 witch]]
*[[L4D2_Level_Design/Wandering_Witch|Wandering Witch]]
*[[Left_4_Dead_Infected_Populations|感染者群体]]
*[[Left_4_Dead_Infected_Populations|Infected Populations]]


[[Category:Left 4 Dead 2]]
[[Category:Left 4 Dead 2]]

Latest revision as of 13:05, 8 June 2025

English (en)中文 (zh)Translate (Translate)
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