Jump to content

Translations:Automapper/3/zh: Difference between revisions

From DDraceNetwork
Created page with "每个包含自动贴图的方块集都有一个 ''tileset.rules'' 文本文件。每个 ''tileset.rules'' 文件可以包含多个自动贴图。规则文件大致遵循 [https://en.wikipedia.org/wiki/INI_file INI 文件格式]。文件中每个自动贴图以 <code>[automapper_name]</code> 开头。例如,在文件 ''grass_main.rules'' 中,有一个名为 ''Grass'' 的自动贴图,它在文件中以 <code>[Grass]</code> 开头。要使用它,您需要在地图..."
 
No edit summary
Line 1: Line 1:
每个包含自动贴图的方块集都有一个 ''tileset.rules'' 文本文件。每个 ''tileset.rules'' 文件可以包含多个自动贴图。规则文件大致遵循 [https://en.wikipedia.org/wiki/INI_file INI 文件格式]。文件中每个自动贴图以 <code>[automapper_name]</code> 开头。例如,在文件 ''grass_main.rules'' 中,有一个名为 ''Grass'' 的自动贴图,它在文件中以 <code>[Grass]</code> 开头。要使用它,您需要在地图编辑器中创建一个使用 ''grass_main'' 方块集的图层。右键单击[https://wiki.ddnet.org/wiki/Mapping#Layers Layers]并选择''“Auto map”'',然后点击''“Grass”''开始自动贴图。
每个包含自动贴图的方块集都有一个 ''tileset.rules'' 文本文件。每个 ''tileset.rules'' 文件可以包含多个自动贴图。规则文件大致遵循 [https://en.wikipedia.org/wiki/INI_file INI 文件格式]。文件中每个自动贴图以 <code>[automapper_name]</code> 开头。例如,在文件 ''grass_main.rules'' 中,有一个名为 ''Grass'' 的自动贴图,它在文件中以 <code>[Grass]</code> 开头。要使用它,您需要在地图编辑器中创建一个使用 ''grass_main'' 方块集的图层。右键单击 [https://wiki.ddnet.org/wiki/Mapping#Layers Layers] 并选择''“Auto map”'',然后点击''“Grass”''开始自动贴图。

Revision as of 15:57, 7 February 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Automapper)
There is a ''tileset.rules'' textfile for every tileset that has an automapper. Each ''tileset.rules'' file can contain multiple automappers. The rules file loosely follows the [https://en.wikipedia.org/wiki/INI_file INI-file-format]. Inside the file every automapper starts with the line <code>[automapper_name]</code>. For example in the file ''grass_main.rules'' there is an automapper called ''Grass'' which starts at the line <code>[Grass]</code> inside the file. To use it you have to create a tilelayer with the tileset ''grass_main'' in the mapeditor. Rightclick on the [https://wiki.ddnet.org/wiki/Mapping#Layers layer] and click on ''"Auto map"''. To start automapping click ''"Grass"''.

每个包含自动贴图的方块集都有一个 tileset.rules 文本文件。每个 tileset.rules 文件可以包含多个自动贴图。规则文件大致遵循 INI 文件格式。文件中每个自动贴图以 [automapper_name] 开头。例如,在文件 grass_main.rules 中,有一个名为 Grass 的自动贴图,它在文件中以 [Grass] 开头。要使用它,您需要在地图编辑器中创建一个使用 grass_main 方块集的图层。右键单击 Layers 并选择“Auto map”,然后点击“Grass”开始自动贴图。