Shortcuts & Advanced

Reference for Map Maker: every keyboard shortcut, the limits, what Map Maker saves in your world, how to edit or move its work, and what a finished map needs to play. The last sections are for macro writers and module makers.

Keyboard Shortcuts

All keys work only while Map Maker is open, and only in the mode they belong to, so they don't clash with Foundry's own keys. Change them in Game Settings -> Configure Controls -> 3D Canvas - Advanced Tools; every entry starts with Map Maker:.

Everywhere in Map Maker

Default keyConfigure Controls name
Ctrl + ZMap Maker: Undo
Ctrl + Y, Ctrl + Shift + ZMap Maker: Redo
EscapeMap Maker: Cancel / Deselect (cancels a drag, road points, the picked asset, the selection)
Delete, BackspaceMap Maker: Delete Selection (room, platform, objects, road)
VMap Maker: Show Room Outlines

Terrain (see Terrain)

Default keyName
1 to 8Map Maker: Terrain - Raise, Lower, Plateau, Flatten, Smooth, Roughen, Paint, Paths & Roads
G, W, Q, A, EMap Maker: Terrain - Fill Water, Water Level, Raise Water, Lower Water, Erase Water
[ / ]Map Maker: Smaller Brush / Larger Brush (also road width)
Shift + [ / Shift + ]Map Maker: Weaker Brush / Stronger Brush
F (hold)Map Maker: Drag Brush Size (move the mouse; with Shift, strength)
EnterMap Maker: Lay Road

Build (see Buildings)

Default keyName
1 to 9, 0Map Maker: Build - Room, Paint Cells, Erase, Select Room, Wall, Door, Window, Archway, Remove Wall, Stairs
P, UMap Maker: Build - Decks, Yards & Balconies, Platform Edge
FMap Maker: Flip Door Hinge (door under the cursor, Door tool)
XMap Maker: Flip Door Swing
RMap Maker: Rotate Stairs (Stairs tool), Map Maker: Rotate Building (Select Room tool; Shift + R the other way)
TMap Maker: Stairs Up / Down
Ctrl + DMap Maker: Duplicate Building

Scatter and Furnish (see Scatter & Furnish)

Default keyName
1 to 5Map Maker: Scatter - Paint, Erase, Thin, Place, Edit Objects
1 to 3Map Maker: Furnish - Furnish Rooms, Place, Edit Objects
RMap Maker: Rotate Asset (Shift + R the other way)
Ctrl + DMap Maker: Duplicate Object

Mouse (fixed, not in Configure Controls)

MouseAction
Left buttonUse the tool
Right drag / middle drag / wheelPan / rotate / zoom the camera
Right-click (no drag)Options of what is under the cursor (room, door, window, platform, object)
Ctrl + Wheel / Shift + WheelBrush size (road width) / brush strength
Wheel / Alt + Wheel while placingRotate / scale the asset
Alt + clickPick the target or water height from the ground
Wheel over a number fieldChange the number

Limits

  • Rooms: up to 80 × 80 squares per drag (draw bigger buildings in several drags).
  • Undo: 100 steps per scene. The history survives closing Map Maker, not a reload.
  • Terrain: one per scene, covering the whole scene; height range up to 40 squares from lowest to highest (starts at 3 below to 6 above the base, see Height Range); up to 16 paint layers; brush 0.5 to 20 squares; road width 0.5 to 8 squares.
  • Roofs: Storeys Above up to 10.
  • Quick Start's starter layout needs a free area of about 12 × 10 squares.

What Map Maker Stores

Map Maker saves everything in the scene as ordinary Foundry documents. Nothing is stored outside the world.

  • Each building: one small hidden anchor tile holding the building's plan (rooms, walls, openings, floors, stairs, roof, theme). Map Maker rebuilds everything else from it.
  • Generated pieces: tiles for floors, walls, doors, windows, roofs and fixtures; Foundry lights for room lighting and light fixtures; a scene level for each floor on Own Level; a region with a Change Level behavior on stairs between levels. Each piece remembers which building it belongs to.
  • Terrain: one tile covering the scene, with heights, paint, roads and water inside it.
  • Scatter and furniture: a few 3D Canvas scatter tiles (one per scatter set, per furnished room, and for objects placed by hand). A thousand plants are one tile, not a thousand.
  • Environment: the scene's 3D Canvas settings.
  • Custom themes: stored in the world (a hidden setting), and copied into the plan of each building that uses them.
  • On your computer only: the Work Light, Trace 2D map, folded panels and the two-row palette are remembered by your browser.

Deleting a building's anchor tile in Foundry asks "Also delete the N tiles and lights generated for "building name"? This cannot be undone."

Editing Generated Pieces by Hand

Map Maker's pieces are normal tiles and lights, so you can change them with Foundry's and 3D Canvas's tools outside Map Maker.

  • A new material from the Material Browser (Materials with the piece selected) is kept, even when Map Maker rebuilds the building.
  • Moving, resizing or deleting a piece, or saving its Tile configuration (even if you only changed its color), detaches it: "This piece was edited by hand and is no longer managed by the Map Maker. Use "Restore edited pieces" to regenerate it." (lights get the same message). Map Maker leaves it alone from then on.
  • To undo hand edits: open Map Maker, Build mode, select the building, click Restore edited pieces (N). It asks "N piece(s) of this building were moved or deleted by hand and are no longer managed by the Map Maker. Restore them? Moved copies will be removed and regenerated." Yes deletes the moved copies and builds the pieces again.
  • Rebuild (hammer in the Building panel) regenerates every piece of the building from its plan.

Use hand edits for the last touches only: a later change to the building does not update detached pieces.

Copying Buildings and Maps

  • Within a scene: select the building and press Ctrl + D (see Buildings).
  • To another scene: copy the building's anchor tile and paste it in the other scene (Tiles layer, Ctrl + C / Ctrl + V). Map Maker builds the whole building there as a new, independent building. If that scene has no Map Maker terrain, a flat one is created.
  • A whole map: duplicate the scene in the Scenes directory, export it (right-click -> Export Data), put it in a compendium, or share it with Community Maps. It is ordinary scene data.

A Finished Map in Play

What players need:

  • 3D Canvas active, and the scene set to open in 3D for players. Quick Start does this for you (Enable for Players, Enable 3D on Load, fog of war).
  • The Mapmaking Pack installed, because the models and textures come from it.
  • A token they own. With fog of war on, players see only what their tokens see; houses block sight.

What they get, tested with a player client:

  • Buildings with their roofs. When a player controls a token inside a building, its roof and the floors above disappear for that player only.
  • Doors they open with a click in 3D (a GM must be connected).
  • Stairs between scene levels: walking onto the top step brings up Change Level, and Move Up puts the token on the upper floor.
  • Furniture, scatter, water and lights as you built them.

In a world without Advanced Tools (based on the module's code, not tested): the terrain, the buildings, scatter and furniture are drawn by 3D Canvas itself, and doors, lights, levels and the stair regions are ordinary documents, so the map still shows and plays. What needs Advanced Tools is the editing, the roof and upper floor hiding around a token inside a building, and the stair landing spot. Players never need Advanced Tools: only the GM's world does.

Scene Thumbnails

Map Maker gives the scene a 3D thumbnail (the picture in the Scenes directory and navigation) by itself a few seconds after it first builds something, if the scene has no 3D thumbnail yet. After that it doesn't change on its own. To update it, frame the camera and click Generate 3D Thumbnail (camera button in the top bar).

Hex and Gridless Scenes

Map Maker always works on square cells.

  • Quick Start turns a hex or gridless scene into a square grid.
  • If you open Map Maker on a hex scene without Quick Start, it warns you ("This scene uses a hex grid...") and still draws square rooms on a square grid the size of the hex grid. Walls won't line up with the hexes tokens move on.
  • On a gridless scene, Map Maker uses squares of the scene's grid size.

Use square grids for Map Maker maps.

Advanced

Map Maker API

Map Maker can be opened from a macro. This one opens Map Maker on the scene you are viewing (or Quick Start, if the scene is not in 3D):

const MapMaker = game.modules.get("canvas3d-premium").API.MapMaker;
MapMaker.open();
  • MapMaker.toggle(): opens it, or closes it if it is open.
  • MapMaker.quickStart(): opens the Quick Start window.
  • MapMaker.instance: the open editor, null when closed.

Kit API

Modules can add their own building themes, kits of wall and floor models, furniture sets, platform and stair styles, cave and terrain looks, and asset kits for the Place palette. Register them when Map Maker is ready, with the canvas3d-premium.mapMakerInit hook (it fires once, during setup, with the API).

This example adds a "Stone Mill" theme to the village kit, using walls, floors, doors and windows the kit already has:

Hooks.once("canvas3d-premium.mapMakerInit", (api) => {
    const result = api.registerKit({
        kit: "village",
        themes: {
            stoneMill: { icon: "fa-solid fa-wheat-awn", wall: "stone", floor: "fieldstone", door: "plank", window: "thinRound" },
        },
    });
    console.log(result.registered); // ["theme:stoneMill"]
});

The theme's name comes from your module's language file, key canvas3d-premium.mapMaker.themes.stoneMill (for example "Stone Mill"). The new theme appears in the Village group of the Building Theme palette.

  • The API is also at game.modules.get("canvas3d-premium").api, with registerKit, hook and catalog. api.catalog lists what exists (kits, themes, groups, platforms, caves, terrains, placeKits): read it to find the ids of walls, floors and doors.
  • registerKit({ kit, themes, group, furnish, platforms, stairs, place, caves, terrains }) returns { registered: [...] }. Anything invalid is skipped with a console warning starting with canvas3d-premium | Map Maker kit API |, for example an unknown wall id.
  • Registrations are not saved: register them on every load, from the hook.