Switch layer: Difference between revisions

From DDraceNetwork
No edit summary
Marked this version for translation
Line 2: Line 2:
{{Stub}}
{{Stub}}
<translate>
<translate>
<!--T:1-->
[[File:Switch.svg|thumb|The switch layer]]
[[File:Switch.svg|thumb|The switch layer]]


<!--T:2-->
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.
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==
== How it works== <!--T:3-->


<!--T:4-->
The layer consists of 4 types of switches<ref>https://ddnet.org/explain/switch/</ref>:
The layer consists of 4 types of switches<ref>https://ddnet.org/explain/switch/</ref>:


<!--T:5-->
* {{Tile|switch|22}} '''Timed switch activator''': Activates the switch for a set time (delay value)
* {{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|23}} '''Timed switch deactivator''': Deactivates the switch for a set time (delay value)
Line 16: Line 20:
* {{Tile|switch|25}} '''Switch deactivator''': Deactivates the switch
* {{Tile|switch|25}} '''Switch deactivator''': Deactivates the switch


<!--T:6-->
The switches enable or disable all tiles that are places under the same '''number'''.
The switches enable or disable all tiles that are places under the same '''number'''.


<!--T:7-->
Some switch tiles use the delay value for specific purposes, like the [[Special:MyLanguage/Telegun|Telegun]] or the {{Tile|switch|9}} freeze.
Some switch tiles use the delay value for specific purposes, like the [[Special:MyLanguage/Telegun|Telegun]] or the {{Tile|switch|9}} freeze.




== References ==
== References == <!--T:8-->


</translate>
</translate>
<references />
<references />

Revision as of 19:20, 11 February 2023

This article is a Stub. You can help us by editing and improving it.
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