Jump to content

Translations:Automapper/9/zh: Difference between revisions

From DDraceNetwork
Darkh (talk | contribs)
No edit summary
Darkh (talk | contribs)
No edit summary
Line 1: Line 1:
贴图按照如方式自动行:规则组中从上往下读取,先选定方块编号,然后按照其下方所描述的位置关系,在图层已有的贴图扫描查找符合该组关系图块,然后将该图块替换为此编号贴图;注意贴图过程中后选定的方块编号可能查找到重复的图块位置,先前贴好的贴图被来的贴图覆盖,最终表现为只执行了最后一规则。[[Special:MyLanguage#Syntax|除非禁用]]否则自动贴图会先更改放入缓存再替换贴图层。
自动贴图时,[[Special:MyLanguage#Syntax|除非禁用]],否则会先扫描图层已有的贴图放入缓存,然后从上往读取规则组的每条规则依次自动替换
* 规则一般以方块编号开头并尾随系列位置关系描述;
* 将缓存同时符合此规则所有位置描述的图块替换成开头的编号贴图(此时可能会覆盖前规则替换好的方块位置,后表现为同一位置只执行了最后一规则
将每条规则执行顺次完毕后,将缓存应用到图层

Revision as of 14:59, 8 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)
The automapper will read the rules file and scan each '''position''' of the layer. If every rule of a selected tile applies, the tile will be placed at the scanned position of the automapper. If multiple tiles and their rules match, only the latest rule will apply (because it will be overwritten). [[#Syntax|Unless deactivated]], the automapper will put it's changes into a buffer first and apply them afterwards.

自动贴图时,除非禁用,否则会先扫描图层已有的贴图放入缓存,然后从上往下读取规则组的每条规则依次自动执行替换:

  • 规则一般以方块编号开头,并尾随一系列位置关系描述;
  • 将缓存中同时符合此规则所有位置描述的图块替换成开头的编号贴图(此时可能会覆盖先前规则替换好的方块位置,最后表现为同一位置只执行了最后一条规则)。

将每条规则执行顺次完毕后,将缓存应用到图层上。