Tune zones/en: Difference between revisions
Updating to match new version of source page |
Updating to match new version of source page |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Stub}} | {{Stub}} | ||
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 | 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 == | == 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 [[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. | 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. | ||
== Assigning zones == | == Assigning zones == | ||
==== Adding a tune to a certain zone number ==== | ==== Adding a tune to a certain zone number ==== | ||
Line 16: | Line 13: | ||
tune_zone <span style="color:green">[number]</span> <span style="color:blue">[tune]</span> <span style="color:purple">[value]</span> | 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. | 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 ==== | ==== Displaying a text message when a player enters a tune zone ==== | ||
Line 23: | Line 18: | ||
tune_zone_enter <span style="color:green">[number]</span> <span style="color:blue">[message]</span> | 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. | Note that the message needs to be in quotation marks. | ||
==== Displaying a text message when a player exits a tune zone ==== | ==== Displaying a text message when a player exits a tune zone ==== |
Latest revision as of 20:05, 16 March 2023
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]