World

Tiles

Build a map from a disc level's own building pieces - by hand on its grid, or by painting a floor and letting the editor put the level's walls, cliffs and edges around it.

Every level of the disc is built from a small set of pieces: floors, ramps, walls, cliffs, ceilings and decor, placed on a 60-unit grid with quarter turns. (BLOOD1 is 2,732 placements of 88 different pieces.) The Level Editor's Tiles tool and tab let you build with those pieces: rearrange a level, extend it, or build a new layout in its style.

Converting a level into pieces loses nothing: its placements come back as the same pieces, drawn with the same meshes and textures the game uses. A map's tiles are saved as maps/<id>.terrain.

Getting pieces

Open Details > Tiles:

  • Convert the base level into pieces: the whole level becomes tiles you can move, delete and add to.
  • Start with no pieces (blank): nothing of the base level; build from its pieces from scratch.
  • Remove the base level's baked lighting: converts and makes every piece neutral at once (below).
  • Back to the base level's geometry undoes the conversion.

A new map can also start this way: choose Its pieces, as tiles to rearrange when making it.

Then pick a Mode: Place pieces by hand or Paint floor (auto edges).

Lighting: neutral and baked pieces

Every placement on the disc has its own texture with the level's light painted in: shadows, torch glow, the darker corners. Moved somewhere else, a piece brings its old shadows along.

So pieces are neutral by default: the editor makes one texture per piece with that light taken out (from all its variants), and the map's own lights and sky light it instead. Liquids and glows are left as they are.

  • Neutral lighting (no baked light): for the pieces you are about to place. Off, pick a Lit variant: one of the disc's baked versions.
  • Make every piece neutral / Baked lighting on every piece: switch the whole map.
  • Unbake the original map: convert the base level and make every piece neutral.
  • On placed pieces, N and B make the selection neutral or baked.

Place pieces by hand

The Pieces list shows the level's pieces by kind (Floor, Ramp, Cliff, Wall, Ceiling, Decor, Liquid, Glow, Cut-out), most used first, each drawn from above, with a filter.

Do How
Place Click, or drag to place a row
Remove Shift+click
Pick a placed piece up Alt+click
Turn, mirror Z / X, M
Select placed pieces Ctrl+click
Move the selection Arrows (Shift: two cells), PgUp / PgDn raise and lower
Delete the selection Del

Placing:

  • Height: pieces stand at the level's own base height (Level sets it back), or Pick takes the height of the ground under the next click. Height step is how far PgUp / PgDn go.
  • Stack on what's under the cursor: a piece's top sits on the surface below, in height steps.
  • Snap 2x2 tiles to the level's lattice: big tiles line up the way the disc's do.
  • Swap what's under a piece: a floor or ramp replaces the floor or ramp under it; a wall or cliff replaces one at the same cell turned the same way; a ceiling replaces a ceiling. Walls never take a floor away. Decor, cut-outs, glows and liquids always go on top.
  • Generate edges around the floors: reads the floors you placed by hand as a painted plan and puts the level's own walls, cliffs, drops and caps all round them (the floors inside and everything else you placed stay).

Generate around the cursor grows a patch of layout "in the spirit" of the level over an Area of cells, from which pieces the level puts next to which. Another click, another layout. It only fills empty cells, so you can add a generated patch beside your own.

Paint floor (auto edges)

The quickest way to a new layout: paint where the floor is, and the editor dresses it with the level's own walls, cliffs, drops, caps and decor.

  • Paint: click and drag paints 120-unit cells (one disc tile) at the Height, with the brush you pick (1×1 to 6×6, and strips; [ ] step through the square ones). Erase, or Shift+drag, removes cells.
  • The preview shows the plan's outline near the cursor and the brush cell by cell: green adds, yellow moves a painted cell to the brush height, red erases.
  • Follow ground (on by default) takes the height from the painted cell under the cursor, so the brush sits on the map; a stroke keeps the height it started at. PgUp / PgDn step the height one storey (and turn Follow ground off). Cells a storey apart meet at a wall or cliff; cells close in height share a floor, or ramp between them.
  • Alt+click, or Pick and a click, takes the height of the ground under the cursor.

The dressing:

  • Auto dressing redoes the edges after every stroke. Each tile's choice is seeded by its place and the map's seed, so only the tiles near the stroke change.
  • Rebuild every edge redoes all of it; New variation reseeds every choice.
  • You can delete a generated tile; it stays deleted until Restore deleted tiles.
  • Pieces you place by hand are kept, and nothing is generated over them.

The editor learns the dressing from the base level itself: it cuts the level into tile-sized regions and keeps each region's floor, edges, walls and caps together as a stamp, so the edges it builds are the ones the level's own builders used. Plain floor tiles are chosen to meet their neighbours the way the level lays them. A level with few straight edges of a kind falls back to the nearest it has.

The Theme line says which level the dressing comes from. A level without plain floor tiles can't be painted: pick another base level.

Note Not yet: ramps between storeys (cells less than a quarter storey apart share a floor; more meet at a wall), and corners where three heights meet take the nearest case. In themes with drops (shores, islands) the walk is bounded by height only, so a gentle shore can be walked into the water.

Floor pieces and floor props

Two Place-palette categories hold pieces that aren't whole tiles:

  • Floor pieces: the base level's flat decals (carved stone pads, round plates, slabs smaller than a tile). Place them anywhere, lying on the ground. Z / X turn 15 degrees (with Shift, 90); Shift+click removes the nearest one.
  • Floor props: the level's rocks, trees, shrubs and arches that stand on its floor as separate pieces. "Large prop" marks those over 100 units high or 120 across. They place, turn and save as floor pieces do, and collide as the level's own pieces.

Tips

  • Build the outline with Paint floor, then switch to Place pieces by hand for doors, decor and set pieces.
  • Show collision (a tool setting) shows where characters can walk, and the generated minimap shows the result from above.
  • Tiles combine with the ground and caves and water in one map.

The file

maps/<id>.terrain is plain text: base <LEVEL>, then a line per placement:

g piece variant cell_x cell_y z quarter_turns mirror [e] [n]     # on the grid
f piece variant m0 .. m15 [e] [n]                                # a free placement (a 4x4 transform)

Piece numbers are the base level's pieces in the order its world file introduces them. e marks a piece the dressing generated, n a neutral piece.