Studio Yotsuba
Back to Node List

Rule Tile Merge

rule_tile_merge

Merges multiple rule tile assets into one so several terrains can be painted on a single canvas.

Reviewed
Guide available

Input Ports

NameTypeDescription
Asset A
asset_a
RuleTileAsset
Required
Rule tile asset to merge.
Asset B
asset_b
RuleTileAsset
Rule tile asset to merge.
Asset C
asset_c
RuleTileAsset
Rule tile asset to merge.
Asset D
asset_d
RuleTileAsset
Rule tile asset to merge.

Output Ports

NameTypeDescription
Rule Tile Asset
asset
RuleTileAsset
Merged asset.
Rule TileSet
tile_set
RuleTileSet
Merged tile set.
RuleSet
rule_set
RuleSet
Merged rule set.
Material Count
material_count
Int
Number of materials after merging.
Warnings
warnings
Text
Rename and mismatch warnings.
Summary
summary
Text
Short result summary.

Overview

Combines multiple rule-tile assets, such as grass, water, and roads, so they can all be painted on one canvas. It is the gathering point that turns one-terrain-per-node assets into a set for map production.

Usage tips

  • The standard multi-terrain setup is autotile_from_* (grass) + autotile_from_* (water) → rule_tile_merge → rule_canvas. Terrain chips then appear in the editor.
  • Give every asset a meaningful material_id, such as grass or water, before merging. Defaults are automatically renamed and can become difficult to identify.

Related nodes

  • autotile_from_parts / autotile_from_template — generate assets to combine
  • rule_canvas — consumes the combined result
  • rule_tile_asset_save / rule_tile_asset_load — save and reuse assets

What this node does

Each Autotile creation node makes one terrain type (one material ID). To paint several terrain types such as grass, water, and roads on one map, combine the assets here before connecting them to Rule Canvas.

If material or tile IDs collide, for example when both remain at the default terrain, IDs in later assets are renamed automatically, such as terrain_2, and a warning reports the change.

Example wiring

Autotile creation (grass).asset ──→ RuleTileMerge.asset_a
Autotile creation (water).asset ──→ RuleTileMerge.asset_b
RuleTileMerge.asset               ──→ RuleCanvas.asset

After merging, both terrain names appear as chips in the Rule Canvas editor and can be selected for painting.

Back to Node List