L4D2 Level Design/Witch Bride: Difference between revisions

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


==Spawning==
==生成==
The bride witch can be spawned in multiple ways, but every approach requires you to precache the model, else the map crashes.<br>
婚礼 witch 可以用多种方法来生成, 但是每种方法都需要你先预缓存模型,否则地图会崩溃.<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>
要预缓存模型, 得添加一个 [[prop_dynamic]] 点实体到你地图里不可到达的区域,模型要用<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.
如果你没有有效的不可到达区域, 你也可以创建一个使用[[tool_textures|Nodraw]] 纹理的空心盒子然后把使用了婚礼witch模型的 prop_dynamic 放进去,然后连 witch 带盒子丢到地图外面.
[[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.]]
[[File:L4D2 witch Bride precache.png|thumb|200px|none|一个用了婚礼 witch 模型的 [[prop_dynamic]] ,它在主地图之外的虚空中, 且被使用nodraw纹理的空心盒子围绕.<br> 有一面缺失是为了展示效果.]]


===Via info_zombie_spawn===
===通过 info_zombie_spawn 生成===
The best way to spawn a bridal witch is using [[info_zombie_spawn]].<br>
[[info_zombie_spawn]] 来生成婚礼 witch 是很棒的方法哟.<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.
把它放在你想生成婚礼 witch 的地方, 将它命名为 <code>WitchBrideSpawnpoint</code> 并且在“population”属性栏中填写 <code>witch_bride</code>  
[[File:L4D2 witch Bride info zombie spawn.png|400px|none]]
[[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>
现在你有了生成点了, 但想要让它生成你还得做些什么.<br>
Any entity capable of firing [[Inputs_and_Outputs|outputs]] can spawn the witch, via the following outputs:
任何能够触发 [[Inputs_and_Outputs|输出]] 的实体都可以生成 witch,输出你可以像下面设置:
{| {{OutputsTable}}
{| {{OutputsTable}}
| [[File:Io11.png]] || ''Depends on entity'' || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.00 || No
| [[File:Io11.png]] || ''取决于你的实体'' || 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:
作为参考, Valve 也在[[info_gamemode]] 实体中使用以下输出来在战役和对抗模式中生成 witch,但不包括生还者模式:
{| {{OutputsTable}}
{| {{OutputsTable}}
| [[File:Io11.png]] || OnCoop || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.10 || No
| [[File:Io11.png]] || OnCoop || WitchBrideSpawnpoint || SpawnZombie || <none> || 0.10 || No
Line 31: Line 33:




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


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


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

Revision as of 12:57, 8 June 2025

本界面由防防“FangFee”翻译。


L4D2 witch Bride ingame.png

求生之路2 中,wtich拥有一个穿着婚纱的可选版本. 就像 短暂时刻 中那样.
这俩版本的witch只在模型上有不同.

生成

婚礼 witch 可以用多种方法来生成, 但是每种方法都需要你先预缓存模型,否则地图会崩溃.
要预缓存模型, 得添加一个 prop_dynamic 点实体到你地图里不可到达的区域,模型要用models/infected/witch_bride.mdl

如果你没有有效的不可到达区域, 你也可以创建一个使用Nodraw 纹理的空心盒子然后把使用了婚礼witch模型的 prop_dynamic 放进去,然后连 witch 带盒子丢到地图外面.

一个用了婚礼 witch 模型的 prop_dynamic ,它在主地图之外的虚空中, 且被使用nodraw纹理的空心盒子围绕.
有一面缺失是为了展示效果.

通过 info_zombie_spawn 生成

info_zombie_spawn 来生成婚礼 witch 是很棒的方法哟.
把它放在你想生成婚礼 witch 的地方, 将它命名为 WitchBrideSpawnpoint 并且在“population”属性栏中填写 witch_bride

L4D2 witch Bride info zombie spawn.png


现在你有了生成点了, 但想要让它生成你还得做些什么.
任何能够触发 输出 的实体都可以生成 witch,输出你可以像下面设置:

  My Output Target Entity Target Input Parameter Delay Only Once
Io11.png 取决于你的实体 WitchBrideSpawnpoint SpawnZombie <none> 0.00 No

作为参考, Valve 也在info_gamemode 实体中使用以下输出来在战役和对抗模式中生成 witch,但不包括生还者模式:

  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


通过 Mission 文件来生成

还有一种生成办法是通过 mission文件 来生成. 不过嘛,这样一来唯一的缺点就是地图上 所有的 witch 都会穿着婚纱,你也不希望被一群新娘追吧.

如果你真想这样,那就在mission文件里加入下面这几条:

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

另见