Switch layer/zh: Difference between revisions

From DDraceNetwork
("Update links from ddnet.tw to ddnet.org")
(Updating to match new version of source page)
Line 1: Line 1:
{{DISPLAYTITLE:开关}}
<languages/>
{{Stub/zh}}
{{Stub}}
{{LangNavBox}}
<div lang="en" dir="ltr" class="mw-content-ltr">
[[File:Switch.svg|thumb|开关层包含的所有实体和区域]]
[[File:Switch.svg|thumb|The switch layer]]
</div>


利用'''开关层'''中的内容,地图将被允许设置可由机关激活的实体或区域,绝大部分情况下都会作用在传送区域,激光门和激光钩爪上。
<div lang="en" dir="ltr" class="mw-content-ltr">
The switch layer allows the use of conditionally enabled tiles, mostly used for teleports, doors and draggers, but it also allows changing the default 3 second freeze time on the freeze tile.
</div>


同时开关层中的内容也允许修改冻结区域默认的3秒冻结时间。


== 工作原理 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
在开关层中,操作机关共分为四种<ref>https://ddnet.org/explain/switch/</ref>
== How it works==
</div>


* {{Tile|switch|24}} '''激活开关''': 触发开关后,触发激活效果;
<div lang="en" dir="ltr" class="mw-content-ltr">
* {{Tile|switch|25}} '''失效开关''': 触发开关后,触发失效效果;
The layer consists of 4 types of switches<ref>https://ddnet.org/explain/switch/</ref>:
* {{Tile|switch|22}} '''计时激活开关''':触发开关后,一段时间之后会触发激活效果;(时间可通过修改Delay值进行设置)
</div>
* {{Tile|switch|23}} '''计时失效开关''': 触发开关后,一段时间之后会触发失效效果;(时间可通过修改Delay值进行设置)
** 对于计时开关,在触碰它们的一瞬间,首先会立即执行这个开关的反效果,经过一段时间后再正常触发之后的效果。


开关触发后只会激活或失效与该开关'''编号'''相同的实体或区域。
<div lang="en" dir="ltr" class="mw-content-ltr">
* {{Tile|switch|22}} '''Timed switch activator''': Activates the switch for a set time (delay value)
* {{Tile|switch|23}} '''Timed switch deactivator''': Deactivates the switch for a set time (delay value)
* {{Tile|switch|24}} '''Switch activator''': Activates the switch
* {{Tile|switch|25}} '''Switch deactivator''': Deactivates the switch
</div>


某些开关层中的区域改变Delay数值后会产生特定作用,例如可改变传送接受类型的[[Telegun/zh|传送枪传送区域]]和可改变冻结时间的{{Tile|switch|9}}冻结区域。
<div lang="en" dir="ltr" class="mw-content-ltr">
The switches enable or disable all tiles that are places under the same '''number'''.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Some switch tiles use the delay value for specific purposes, like the [[Special:MyLanguage/Telegun|Telegun]] or the {{Tile|switch|9}} freeze.
</div>


== 参考文献 ==
 
<div lang="en" dir="ltr" class="mw-content-ltr">
== References ==
</div>


<references />
<references />

Revision as of 20:31, 11 February 2023

此条目仍需进行内容补充,您可以帮助我们编辑和修订以扩充其内容。
The switch layer

The switch layer allows the use of conditionally enabled tiles, mostly used for teleports, doors and draggers, but it also allows changing the default 3 second freeze time on the freeze tile.


How it works

The layer consists of 4 types of switches[1]:

  • Timed switch activator: Activates the switch for a set time (delay value)
  • Timed switch deactivator: Deactivates the switch for a set time (delay value)
  • Switch activator: Activates the switch
  • Switch deactivator: Deactivates the switch

The switches enable or disable all tiles that are places under the same number.

Some switch tiles use the delay value for specific purposes, like the Telegun or the freeze.


References