MATT Tile Templates - ironmonk88/monks-module-wiki GitHub Wiki
Tile Templates
Monk's Active Tile Triggers includes a directory for saving tile data; you can then drag & drop them onto the canvas from here.
Saving a Template
Click this button on the tile configuration window AFTER saving the tile and re-opening the tile configuration window. You will be asked to name the template, and then the tile's data will be saved to the Tile Template directory.
Accessing Tile Templates
On the left tool-bar, click on the Tile layer tool, then use this button to access the template directory.
The window can also be opened with the following macro:
ui.controls.controls.find(c => c.name == "tiles").tools.find(t => t.name == "templates").onClick()
Tile Template Directory
Here you can right-click to import, export, or delete templates; or drag and drop them onto your currently viewed scene.
- To import a template, use
Create Tile
to create a new one and give it a name. Then right-click it and import the JSON file. - Sample Tiles includes JSONs for the majority of the examples.
Using Templates
Drag the template from the window to the canvas.
Notes
- Saving a template saves all flags & attributes on the tile.
- $\color{yellow}{\textsf{Warning}}$ Token Attacher data is included in this; if the tile was attached to a token when it was saved, it will be created as a broken link and will be unable to be moved until you fix this via Token Attacher's macros.
- Z-Index is another issue; if your template is saved at Z 0, and you drop it where there is another tile at Z 100, you will be placing it below the other tile and be unable to see it.
- Multiple Document Selection works in this directory, allowing you to mass move, delete, or export & import templates between worlds.
- Tile targets will still be broken when importing. Use Tagger for targets that accept Tags, and fix the ones that don't manually.
- $\color{yellow}{\textsf{Warning}}$ Any templates created as part a scene with Levels active will not function properly in a scene without Levels active.
- Foundry JSONs with image assets being publicly hosted on services such as Forge will contain your asset links. You may want to clear this out before sharing the JSONs.
Page Last Updated
MATT 10.18