Switch layer: Difference between revisions

From DDraceNetwork
"Remove LangNavBox"
J$ON (talk | contribs)
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
{{Stub}}
{{Stub}}
<translate>
<!--T:1-->
[[File:Switch.svg|thumb|The switch layer]]
[[File:Switch.svg|thumb|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.
<!--T:2-->
The switch layer allows the use of conditionally enabled tiles, mostly used for [[Special:MyLanguage/teleporter|teleports]], [[Special:MyLanguage/Door|doors]] and [[Special:MyLanguage/Dragger|draggers]], but it also allows changing the default 3 second freeze time on the [[Special:MyLanguage/Freeze|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 13: Line 19:
* {{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'''.


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


== References ==
<!--T:8-->
The switch is activated by default, but can be changed by adding <code>switch_open [switch]</code> to the server settings in the map editor.


== References == <!--T:8-->
</translate>
<references />
<references />
[[Category:Game-Mechanic{{#translation:}}]]
[[Category:Mapping{{#translation:}}]]

Latest revision as of 04:44, 4 November 2024

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.

The switch is activated by default, but can be changed by adding switch_open [switch] to the server settings in the map editor.

References