New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automapping: Option to disallow overlapping *any* output #3551
Comments
Hmm, that's also what I expected actually, so that it's also output-specific in addition to being rule-specific sounds like a bug to me. Assuming this could be fixed, I think it would be fine to just change the behavior to the expected one since I doubt anybody has written rules that depended out output-specific overlapping checks. |
…ices It was checking overlap per output layer defined in the rule map, rather than overlap per target layer, as would be expected. Closes mapeditor#3551
…ices It was checking overlap per output layer defined in the rule map, rather than overlap per target layer, as would be expected. Closes mapeditor#3551
…ices It was checking overlap per output layer defined in the rule map, rather than overlap per target layer, as would be expected. Closes #3551
Problem
At present, it is difficult to make rules that randomize a surface in multi-tile chunks (e.g. randomize two-tile-wide chunks of grass with different arrangements of grass tiles), because there is no way to prevent the rule from taking effect on same region multiple times. The
NoOverlappingOutputproperty sounds like it should be the remedy for this, but it only affects one specific output from overlapping itself, so it doesn't prevent output1 from overwriting output2.Proposal
I would like some sort of rule map property similar to
NoOverlappingOutputthat prevents any output from a rule from outputting any previous output from the same rule. In fact, that's what I expectedNoOverlappingOutputto do, and the more specific function it does now seems more niche to me.Existing workarounds
ModXandModYin the simple case that the rule's region is a rectangle, but this won't work correctly for non-rectangular rules, and it would restrict the outputs to a grid, so the outputs won't be properly "offset" by intervening objects.Neither of these is intuitive. I actually ran into this issue when making some seemingly simple Automapping examples for the docs, and I really don't want to have to explain any of what I wrote in this post to newbies 🤣 I'd love to just have a toggle I can point users to.
The text was updated successfully, but these errors were encountered: