Tune zones/zh: Difference between revisions

From DDraceNetwork
mNo edit summary
(Updating to match new version of source page)
Line 1: Line 1:
{{DISPLAYTITLE:调整区域}}
<languages/>
{{LangNavBox}}
{{Stub}}
'''调整区域'''{{Tile|entities|68}}是一种玩家无法与之进行直接交互的实体,它可以用来改变地图中某一特定区域的物理特性或基本游戏机制。目前共有45种[[Settings and Commands/zh#调整参数|调整参数]]可以作用于调整区域。
<div lang="en" dir="ltr" class="mw-content-ltr">
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
</div>


== 创建调整区域 ==
在编辑器界面,进入Tune图层之后,你可以点击位于界面上方的“Tune”按钮来为你即将要创建的调整区域指定编号,这点与在开关层调整开关的编号是相同的。


在选择完编号后,你可以随意地放置调整区域。(在选择Tune图层的前提下,按住空格键并左键选择亮蓝色网格状方块即选中了调整区域。)
<div lang="en" dir="ltr" class="mw-content-ltr">
==Creating tune zones==
</div>


之后,你可以为每个特定编号的调整区域分配[[Settings and Commands/zh#调整参数|调整参数]]
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>


点击编辑器右下角的'''Server settings(服务器设置)'''按钮来开启参数编辑界面,并将你想设置的参数输入至'''Commands(指令):'''框中。


== 为调整区域分配参数 ==
<div lang="en" dir="ltr" class="mw-content-ltr">
== Assigning zones ==
</div>


=== 为特定编号的调整区域分配参数 ===
tune_zone <span style="color:green">[编号]</span> <span style="color:blue">[参数名称]</span> <span style="color:purple">[数值]</span>


一个特定编号的调整区域可以添加多种参数。
<div lang="en" dir="ltr" class="mw-content-ltr">
==== Adding a tune to a certain zone number====
</div>


例如:设置<code>5</code>号调整区域内的重力系数为<code>2</code>,可编辑为:
<div lang="en" dir="ltr" class="mw-content-ltr">
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.
</div>


tune_zone <span style="color:green">5</span> <span style="color:blue">gravity</span> <span style="color:purple">2</span>


=== 当玩家进入某一调整区域时展示信息 ===
tune_zone_enter <span style="color:green">[编号]</span> <span style="color:blue">[信息]</span>


需要注意,[信息]部分需要使用半角引号括起来。
<div lang="en" dir="ltr" class="mw-content-ltr">
====Displaying a text message when a player enters a tune zone====
</div>


=== 当玩家离开某一调整区域时展示信息 ===
<div lang="en" dir="ltr" class="mw-content-ltr">
  tune_zone_leave <span style="color:green">[编号]</span> <span style="color:blue">[信息]</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.
</div>
 
 
 
<div lang="en" dir="ltr" class="mw-content-ltr">
====Displaying a text message when a player exits a tune zone====
</div>
 
  <div lang="en" dir="ltr" class="mw-content-ltr">
tune_zone_leave <span style="color:green">[number]</span> <span style="color:blue">[message]</span>
</div>
[[Category:Mapping{{#translation:}}]]

Revision as of 20:00, 11 February 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]