Tune zones: Difference between revisions

From DDraceNetwork
Louis (talk | contribs)
created page and 1 intro sentence
 
m Text replacement - "{{Stub{{#translation:}}}}" to "{{Stub}}"
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
A tune zone is a noninteractive tile entity that applies [https://ddnet.tw/settingscommands/#tunings tunes] to all players inside of them.
<languages/>
{{Stub}}
<translate>
<!--T:1-->
A tune zone is a non-interactive tile entity that changes the physics or other basic behavements in a specified zone. There are 45 [[Special:MyLanguage/Settings and Commands#Tunings|tunes]] that can be applied


== Creating tune zones == <!--T:2-->


todo:
<!--T:3-->
By clicking the Tune button at the top of screen, you will be able to select different zone numbers, just like switch layer numbers. After selecting a number, place the zone tiles wherever you want (press space and select the light blue square). Next, you have to specify your [[Special:MyLanguage/Settings and Commands#Tunings|tunes]] to each of the zone numbers. You can do this by bringing up the '''Server settings''' menu by clicking the button in the bottom right, and then typing in the '''Commands:''' field.


explain hitboxes
== Assigning zones == <!--T:4-->


explain how to make it
==== Adding a tune to a certain zone number ==== <!--T:5-->
 
<!--T:6-->
tune_zone <span style="color:green">[number]</span> <span style="color:blue">[tune]</span> <span style="color:purple">[value]</span>
Multiple tunes can be added to the same zone by repeating the command above with a different tune setting.
 
==== Displaying a text message when a player enters a tune zone ==== <!--T:7-->
 
<!--T:8-->
tune_zone_enter <span style="color:green">[number]</span> <span style="color:blue">[message]</span>
Note that the message needs to be in quotation marks.
 
==== Displaying a text message when a player exits a tune zone ==== <!--T:9-->
 
<!--T:10-->
tune_zone_leave <span style="color:green">[number]</span> <span style="color:blue">[message]</span>
</translate>
[[Category:Game-Mechanic{{#translation:}}]]
[[Category:Mapping{{#translation:}}]]

Latest revision as of 19:39, 14 March 2023

This article is a Stub. You can help us by editing and improving it.

A tune zone is a non-interactive tile entity that changes the physics or other basic behavements in a specified zone. There are 45 tunes that can be applied

Creating tune zones

By clicking the Tune button at the top of screen, you will be able to select different zone numbers, just like switch layer numbers. After selecting a number, place the zone tiles wherever you want (press space and select the light blue square). Next, you have to specify your tunes to each of the zone numbers. You can do this by bringing up the Server settings menu by clicking the button in the bottom right, and then typing in the Commands: field.

Assigning zones

Adding a tune to a certain zone number

tune_zone [number] [tune] [value]

Multiple tunes can be added to the same zone by repeating the command above with a different tune setting.

Displaying a text message when a player enters a tune zone

tune_zone_enter [number] [message]

Note that the message needs to be in quotation marks.

Displaying a text message when a player exits a tune zone

tune_zone_leave [number] [message]