Mapping/zh: Difference between revisions

Darkh (talk | contribs)
Created page with "** 只能从90°、180°、270°三种角度中进行选择。"
FightFire (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
 
(16 intermediate revisions by one other user not shown)
Line 72: Line 72:
<span id="[1]_File"></span>
<span id="[1]_File"></span>
=== 1.文件(File) ===
=== 1.文件(File) ===
[[File:Editor file.png|right|thumb|用来对地图文件进行新建、读取、保存等操作。]]
[[File:Editor file.png|right|thumb|“文件”按钮下拉菜单]]
点击后出现的下拉菜单中:
用来对地图文件进行新建、读取、保存等操作。点击后出现的下拉菜单中:
** 新建(New){{key press|ctrl|N}}:新建地图文件;
** 新建(New){{key press|ctrl|N}}:新建地图文件;
** 读取(Load){{key press|ctrl|I}}:读取地图文件;
** 读取(Load){{key press|ctrl|I}}:读取地图文件;
Line 108: Line 108:
从左到右依次为:
从左到右依次为:


** 展示细节(HD){{key press|ctrl|H}}:预览当前地图在高质量模式下的外观;
*展示细节(HD){{key press|ctrl|H}}:预览当前地图在高质量模式下的外观;
** 展示动画(Anim){{key press|ctrl|M}}:预览当前地图所设置的动画效果;
*展示动画(Anim){{key press|ctrl|M}}:预览当前地图所设置的动画效果;
** 展示视野边界(Proof){{key press|ctrl|P}}:预览玩家的最大视野范围;
*展示视野边界(Proof){{key press|ctrl|P}}:预览玩家的最大视野范围;
*** 蓝色圆圈表示玩家的实际位置;
**蓝色圆圈表示玩家的实际位置;
*** 红色框线和绿色框线表示在不同分辨率下可观察到的最大范围;
**红色框线和绿色框线表示在不同分辨率下可观察到的最大范围;
*** 白色框线表示在开启动态视野后可观察到的最大范围。
**白色框线表示在开启动态视野后可观察到的最大范围。
**展示游戏内视觉效果(Zoom):预览玩家在实际游戏当中看到的画面;
*展示游戏内视觉效果(Zoom):预览玩家在实际游戏当中看到的画面;
** 展示网格(Grid){{key press|ctrl|G}}:开启网格线;
*展示网格(Grid){{key press|ctrl|G}}:开启网格线;
** 展示信息(Info){{key press|ctrl|I}}:预览实体或贴图的详情信息,内容包括但不限于实体或贴图所属ID、贴图动画轨迹、贴图变形情况;
*展示信息(Info){{key press|ctrl|I}}:预览实体或贴图的详情信息,内容包括但不限于实体或贴图所属ID、贴图动画轨迹、贴图变形情况;
** 放置不可用贴图(Unused){{key press|ctrl|U}}:允许在地图中放置不可用的贴图,现代地图中已不常用该功能;
*放置不可用贴图(Unused){{key press|ctrl|U}}:允许在地图中放置不可用的贴图,现代地图中已不常用该功能;
** 展示颜色(Color):预览当前笔刷所设定的颜色,关闭后笔刷将显示原配色,但不影响放置后贴图所设定的颜色;
*展示颜色(Color):预览当前笔刷所设定的颜色,关闭后笔刷将显示原配色,但不影响放置后贴图所设定的颜色;
** 实体层选择(Entitles):选择当前地图需要使用的实体层类别,根据地图所应用到的游戏模式不同,编辑器中选择的实体层也应有所不同。
*实体层选择(Entitles):选择当前地图需要使用的实体层类别,根据地图所应用到的游戏模式不同,编辑器中选择的实体层也应有所不同。
=== 6.视野调整区 ===
=== 6.视野调整区 ===
从左到右依次为:
从左到右依次为:
Line 126: Line 126:


*扩大视野(ZO){{key press|numpad-}}:扩大操作区的视野,每次扩大50点比例值;
*扩大视野(ZO){{key press|numpad-}}:扩大操作区的视野,每次扩大50点比例值;
**** 向下滚动鼠标滚轮同样可以扩大视野,每滚动一格扩大20点比例值,以此种方式扩大视野最多扩大至2000点比例值。
**向下滚动鼠标滚轮同样可以扩大视野,每滚动一格扩大20点比例值,以此种方式扩大视野最多扩大至2000点比例值。
** 恢复视野(1:1){{key press|numpad*}}:将视野恢复至默认的比例值;
*恢复视野(1:1){{key press|numpad*}}:将视野恢复至默认的比例值;
** 缩小视野(ZI){{key press|numpad+}}:缩小操作区的视野,每次缩小50点比例值;
*缩小视野(ZI){{key press|numpad+}}:缩小操作区的视野,每次缩小50点比例值;
**** 向上滚动鼠标滚轮同样可以缩小视野,每滚动一格缩小20点比例值,以此种方式缩小视野最多缩小至10点比例值。
**向上滚动鼠标滚轮同样可以缩小视野,每滚动一格缩小20点比例值,以此种方式缩小视野最多缩小至10点比例值。


=== 7.笔刷功能区 ===
=== 7.笔刷功能区 ===
Line 141: Line 141:
*顺时针旋转(CW){{key press|T}}:以一定角度顺时针旋转笔刷中的内容。
*顺时针旋转(CW){{key press|T}}:以一定角度顺时针旋转笔刷中的内容。


<div lang="en" dir="ltr" class="mw-content-ltr">
=== 8.图层管理区 ===
=== [8] Layers/Images/Sounds management ===
这里负责管理地图的图层组和图层,以及对贴图素材、图片素材、声音素材的调用:
In this area you can manage different groups of layers including the physics layer.
 
By clicking on the top button "Layers", you can add images and sound resources to the map.
当第一个按钮为图层(Layers)时,表面此时位于图层管理界面;
Layer management area, here is responsible for managing the map's layer groups and layers, as well as the invocation of the mapping material, picture material, and sound material.
当按钮为图像(Images)时,表面此时位于图像管理界面;
Pressing {{key press|→}} will also switch to the image management interface, or pressing {{key press|←}} will switch to the sound management interface
当按钮为声音(Sounds)时,表面此时位于声音管理界面。
</div>
通过鼠标左右键该按钮,或者按下键盘的{{key press|→}}{{key press|←}}可以在三个界面之间切换。
 
下面解释第一个按钮为如下三种情况时的区别:


<span id="Layers"></span>
<span id="Layers"></span>
==== 位于图层(Layers)管理界面时 ====
==== 图层(Layers) ====


* 鼠标左键Layers或者键盘按{{key press|→}}会切换至图像管理界面;
* 鼠标左键Layers或者键盘按{{key press|→}}会切换至图像管理界面;
Line 162: Line 164:
==== Images ====
==== Images ====


*<span lang="en" dir="ltr" class="mw-content-ltr">Images (left click) {{key press|→}}: Switch to Sound management</span>
*鼠标左键Images或者键盘按{{key press|→}}会切换至声音管理界面;
*<span lang="en" dir="ltr" class="mw-content-ltr">Images (right click) {{key press|←}}: Switch to Layer management</span>
*鼠标右键Images或者键盘按{{key press|←}}会切换至图层管理界面;
*<span lang="en" dir="ltr" class="mw-content-ltr">Click the Add button to add image clips from the default clip folder to the map file.</span>
*点击Add按钮可从默认素材文件夹里添加图片素材至地图文件内;
*<span lang="en" dir="ltr" class="mw-content-ltr">Embedded area means the clips of this series have been embedded in the map file, when downloading the map, this kind of file will be included in the map file volume.</span>
*Embedded区域表示该系列的素材已嵌入地图文件当中,下载地图时,该类文件也将算进地图文件体积当中;
*<span lang="en" dir="ltr" class="mw-content-ltr">External area means that the material of this series is located outside the map, it is the default material in the game, when downloading the map, this kind of file will not be counted in the map file volume. When the map needs to call the image material of this area, it will directly call the file with the same name from the player's local default material library.</span>
*External区域表示该系列的素材位于地图外部,是游戏内的默认素材,下载地图时,该类文件不算入地图文件体积当中。当地图需要调用该区域的图片素材时,将直接从玩家本地的默认素材库当中调用同名文件。
**<span lang="en" dir="ltr" class="mw-content-ltr">Regardless of the location of the clip, when the clip file is white or red (selected), it means the clip is being used by the map; when the clip file is blue or purple (selected), it means the clip is not yet used by the map.</span>
**无论素材位于哪个区域,当素材文件为白色或红色(表示选中)时,表示该素材正在被地图使用中;当素材文件为蓝色或紫色(表示选中)时,表示该素材尚未被地图使用。
*<span lang="en" dir="ltr" class="mw-content-ltr">Left-click on a file that has been added to preview the image in the right workspace, and right-click on the file to perform the following actions.</span>
*左键点击已被添加的文件可在右侧工作区当中预览该图片,右键点击文件可执行如下操作:
**<span lang="en" dir="ltr" class="mw-content-ltr">Readd: Overwrite the clip by calling a file with the same name directly from the default clip library.</span>
**Readd:直接从默认素材库当中调用同名文件覆盖该素材;
**<span lang="en" dir="ltr" class="mw-content-ltr">Replace: select a clip file to overwrite the clip.</span>
**Replace:选择一个素材文件来覆盖该素材;
**<span lang="en" dir="ltr" class="mw-content-ltr">Remove: removes the clip file.</span>
**Remove:移除该素材文件。
**<span lang="en" dir="ltr" class="mw-content-ltr">When right-clicking on a file in the External area, an additional Embed option will appear to move the file into the Embedded area.</span>
*** 当右键External区域的文件时,会额外出现Embed选项,用来将该文件移入Embedded区域当中。


=== Sounds ===
=== Sounds ===


*<span lang="en" dir="ltr" class="mw-content-ltr">Sounds (left click) {{key press|→}}: Switch to Layer management</span>
*鼠标左键Sounds或者键盘按{{key press|→}}会切换至图层管理界面;
*<span lang="en" dir="ltr" class="mw-content-ltr">Sounds (right click) {{key press|←}}: Switch to Image management</span>
*鼠标右键Sounds或者键盘按{{key press|←}}会切换至图像管理界面;
*<span lang="en" dir="ltr" class="mw-content-ltr">Click the Add button to add sound clips from the default clip folder to the map file. Currently DDNet game editor only accepts opus format audio files.</span>
*点击Add按钮可从默认素材文件夹里添加声音素材至地图文件内;
*<span lang="en" dir="ltr" class="mw-content-ltr">Right-click on a file to perform the following actions.</span>
* 目前DDNet游戏自带编辑器只接受opus格式的音频文件。
**<span lang="en" dir="ltr" class="mw-content-ltr">Readd: Overwrite a clip by calling a file with the same name directly from the default clip library.</span>
*右键点击文件可执行如下操作:
**<span lang="en" dir="ltr" class="mw-content-ltr">Replace: select a clip file to overwrite the clip.</span>
**Readd:直接从默认素材库当中调用同名文件覆盖该素材;
**<span lang="en" dir="ltr" class="mw-content-ltr">Remove: Remove the clip file.</span>
**Replace:选择一个素材文件来覆盖该素材;
**Remove:移除该素材文件。


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="[9]_Context_dependent_actions"></span>
=== [9] Context dependent actions ===
=== 9.附加功能区 ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
该功能区的按钮会随着所选择的图层不同而发生改变:
Additional buttons that will change depending on the selected layer.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="On_all_layers"></span>
==== On all layers ====
==== 选中任意图层时,均会出现以下按钮: ====
</div>
<!--T:103-->
<!--T:103-->
When any layer is selected, the following buttons appear:
When any layer is selected, the following buttons appear:


*<span lang="en" dir="ltr" class="mw-content-ltr">Refocus {{key press|home}}: immediately focuses the view to the upper left corner of the map.</span>
*聚焦(Refocus){{key press|home}}:立即将视野聚焦至地图的左上角;
*<span lang="en" dir="ltr" class="mw-content-ltr">Goto XY: immediately focuses the view to a specific coordinate of the map. Clicking this button sets the coordinate in its drop-down menu, and then clicking the Go button focuses the view to that coordinate.</span>
*坐标传送(Goto XY):立即将视野聚焦至地图特定坐标处,点击该按钮便可在其下拉菜单中设置坐标,之后点击Go按钮将视野聚焦至该坐标处;
*<span lang="en" dir="ltr" class="mw-content-ltr">Destructive mode {{key press|ctrl|D}}: When Destructive mode is enabled, the area the brush passes over will be completely covered and the texture of this area will be replaced; when Destructive mode is disabled, the area the brush passes over will only be filled with the location that is not filled with the texture.</span>
*覆盖模式(Destructive){{key press|ctrl|D}}:开启覆盖模式后,笔刷所经过的区域会完全覆盖并替换这片区域的贴图;关闭覆盖模式后,笔刷经过的区域只会填充没有贴图填充的位置。
*<span lang="en" dir="ltr" class="mw-content-ltr">When Game or Tile layer is selected: Add Border: Adds a two-tile wide border to the current layer, using the texture of the selected layer's No. 2 map.</span>
*选中Game或Tile图层时:
*<span lang="en" dir="ltr" class="mw-content-ltr">When Switch layer is selected: '''Switch''' {{Key press|ctrl|A}}: Set the number of the next placed switch layer entity. In the drop-down menu: Number is used to set the number, Delay is used to set the number of additional information, and F (shortcut: {{Key press|ctrl|F}}) is used to automatically set the unused number.</span>
** 添加边界(Border):为当前图层添加两格厚度的边界,使用的贴图为所选图层的2号贴图。
*<span lang="en" dir="ltr" class="mw-content-ltr">When Speedup layer is selected: '''Speedup''' {{Key press|ctrl|A}}: Set the parameters for the next placement of the speedup entity. In the drop-down menu, Force is used to set how much speed the belt can provide, Max Speed is used to set the maximum speed you can have at the belt, and Angle is used to set the direction of the belt.</span>
*选中Switch图层时:
*<span lang="en" dir="ltr" class="mw-content-ltr">When the Tele layer is selected: '''Tele''' {{Key press|ctrl|A}}: Sets the number of the next entity to be placed in the transmission area. The drop-down menu: Number is used to set the number, and F (shortcut: {{Key press|ctrl|F}}) is used to automatically set the unused number.</span>
** 开关设置(Switch){{Key press|ctrl|A}}:设置接下来放置开关层实体的编号。其下拉菜单中:Number用来设定编号,Delay用来设定附加信息编号,F(快捷键:{{Key press|ctrl|F}})用来自动设定未被使用的编号。
*<span lang="en" dir="ltr" class="mw-content-ltr">When Tune layer is selected: '''Tune''' {{Key press|ctrl|A}}: Set the number of the next placed adjustment zone entity. In its drop-down menu, Zone is used to set the number.</span>
*选中Speedup图层时:
*<span lang="en" dir="ltr" class="mw-content-ltr">When the Quads layer is selected: '''Add Quad''' {{Key press|ctrl|Q}}: Adds a picture set by the current layer to the workspace. If no picture is set for that layer, a plain white square of 2*2 grid size is added by default.</span>
** 变速带设置(Speedup){{Key press|ctrl|A}}:设置接下来放置变速带实体的各项参数。其下拉菜单中:Force用来设定该变速带可以提供多少速度,Max Speed用来设定在该变速带处最大可以拥有多少速度,Angle用来设定该变速带的方向。
*<span lang="en" dir="ltr" class="mw-content-ltr">When the Sounds layer is selected. '''Add Sound''' {{Key press|ctrl|Q}}: Adds a sound set by the current layer to the workspace.</span>
*选中Tele图层时:
** 传送区域设置(Tele){{Key press|ctrl|A}}:设置接下来放置传送区域实体的编号。其下拉菜单中:Number用来设定编号,F(快捷键:{{Key press|ctrl|F}})用来自动设定未被使用的编号。
*选中Tune图层时:
** 调整区域设置(Tune){{Key press|ctrl|A}}:设置接下来放置调整区域实体的编号。其下拉菜单中,Zone用来设定编号。
*选中Quads图层时:
** 添加图片(Add Quad{{Key press|ctrl|Q}}:在工作区添加一个当前图层所设定的图片,若该图层没有设定图片,则默认添加一个2*2网格大小的纯白色正方形。
*选中Sounds图层时:
** 添加声音(Add Sound{{Key press|ctrl|Q}}:在工作区添加一个当前图层所设定的声音。


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="[10]_Mapping_area"></span>
=== [10] Mapping area ===
=== 10.工作区 ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
地图所需要的所有元件均放置于此;
Workspace, where all the components needed for the map are placed.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
{{todo|(待做详细解释)}}
{{todo|Explain in more detail}}
 
</div>
<span id="[11]_Hint_area"></span>
=== 11.提示区 ===
 
当鼠标悬停在某一按钮上时,提示区会出现该按钮的功能提示;
 
<span id="[12]_Server_setting"></span>
=== 12.服务器设置 ===
 
此处负责添加适用于当前地图的服务器指令,通常需要特殊机制的地图会用到;
 
{{todo|(待做详细解释)}}


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="[13]_Envelopes"></span>
=== [11] Hint area ===
=== 13.包络线动画 ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
此处负责设置地图中的动画效果。
When the mouse hovers over a button, the hint area will appear with the function of the button and a keyboard shortcut for the button function.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<!--待做项目:
=== [12] Server setting ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
详细解释上述标注“待做详细解释”的内容;
You can change [[Settings_and_Commands#Map_Settings|Map settings]] to change server behavior. For example setting a map to be a solo map.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
充分解释编辑器内的各项功能。
{{todo|Explain in more detail}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
讨论现代地图与传统图,古典图的异同,或讨论它们的背景故事;
=== [13] Envelopes ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
写一个简易的制图教程。-->
Envelope animation: this is responsible for setting the animation effect in the map.
</div>
{{todo|Explain in more detail}}
{{todo|Explain in more detail}}


Line 257: Line 257:




<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="External_Resources"></span>
== External Resources ==
== 外部链接 ==
</div>
*[https://forum.ddnet.org/viewtopic.php?f=35&t=2419 Mapping ABC] - Index
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://forum.ddnet.org/viewtopic.php?f=35&t=2419 Mapping ABC] by Index</span>
*[https://forum.ddnet.org/viewtopic.php?f=16&t=2420 Link list] 包含大量的制图资源 - Index
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://forum.ddnet.org/viewtopic.php?f=16&t=2420 Link list] including lots of mapping resources by Index</span>
*[https://www.youtube.com/watch?v=t0ljtNtiijU DDRaceNetwork - How to Use the Map Editor] - Nick Joy
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://www.youtube.com/watch?v=t0ljtNtiijU DDRaceNetwork - How to Use the Map Editor] by Nick Joy</span>
*[https://www.youtube.com/watch?v=UXZnF17TgEQ Teeworlds - How to map a DDRACE map. - Part 1] - Aoe
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://www.youtube.com/watch?v=UXZnF17TgEQ Teeworlds - How to map a DDRACE map. - Part 1] by Aoe</span>
*[https://www.youtube.com/watch?v=tKuv4nn3nIo Teeworlds - How to map a DDRACE map. - Part 2] - Aoe
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://www.youtube.com/watch?v=tKuv4nn3nIo Teeworlds - How to map a DDRACE map. - Part 2] by Aoe</span>
*[https://www.teeworlds.com/forum/viewtopic.php?id=11094 Maps Envelope Tutorial] - 2gethR
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://www.teeworlds.com/forum/viewtopic.php?id=11094 Maps Envelope Tutorial] by 2gethR</span>
*[https://forum.ddnet.org/viewtopic.php?t=2428 Automapper Tutorial] - timakro
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://forum.ddnet.org/viewtopic.php?t=2428 Automapper Tutorial] by timakro</span>
*[https://forum.ddnet.org/viewtopic.php?f=9&t=722 Mapper rules] DDNet地图的测试流程 - jao
*<span lang="en" dir="ltr" class="mw-content-ltr">[https://forum.ddnet.org/viewtopic.php?f=9&t=722 Mapper rules] for DDNet map testing process by jao</span>