mapeditor/tiled

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Allow pattern matching on automap input and output. #4097

local-minimum posted onGitHub

Is your feature request related to a problem? Please describe. When working with Tiled, I design dungeons from a top-down perspective and have multiple levels / elevations by organizing the project into groups: bild Today I must edit the layer names of the input and corresponding output layer removing the trailing index number before I start automapping the dungeon layout. And then when I want to work on an other elevation, I need to re-add the indices and start the process over.

Describe the solution you'd like If the automapping could be done with pattern matching like input_in%d and output_out%d so that edits to a layer called in2 only outputs to out2 would be really neat.

Describe alternatives you've considered I've tried reading through the documentation and the issue backlog and haven't found any workaround besides the procedure I describe. I noticed issue #428 is sort of similar, but I think, it is somewhat orthogonal.


A request similar to this popped up on the forum: https://discourse.mapeditor.org/t/match-multiple-layers-with-automapping/7203

Of all the different ways for a single set of rules to handle multiple sets of layers, I think this sort of pattern matching would be the least problematic, as there should be no ambiguity with which layers to match. Or at least no more ambiguity than with the current system, which picks the first of multiple layers that have the same name.

Currently, the "intended" way to handle scenarios like the OPs is to have multiple copies of the same rules, with different input/output layer names. While these can be quick to create, they're annoying to manage if any of the rules need to be amended. The best way to handle changes to the rules would be to modify one copy, and then recreate the others, rather than trying to duplicate the changes in each copy.

posted by eishiya 4 months ago

Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests