OpenSpace logo

OpenSpace Editor » Supertile editor

The Supertile editor allows map designers to build supertiles to be used in maps and inventory items creation.
A supertile is a sort of mini-map that allows grouping tiles for faster editing when a complex object is made of two or more tiles (see the Placing big 2D elements in the 3D space paragraph in the The map structure tutorial), and it must be used more than once within the same OpenSpace Editor's project (for example a house, a section of a fence, a park bench, a thicket, etc).

Supertile properties

A supertile is defined by the following properties.

id The supertile’s unique id, automatically generated by the Editor.
The T prefix stands for supertile.
width | height The size of the supertile, expressed in number of tiles along the north-south and east-west directions respectively.
title The supertile’s name displayed in the supertiles library.
keywords The keywords that describe the supertile, useful to filter the supertiles library. All the keywords must be separated by a comma.

Adding tiles to a supertile

A tile instance can be added to the currently edited supertile by selecting its destination (an empty cell on the grid or a previously added tile) and:

  • double clicking the tile in the library on the right; or
  • selecting the tile in the library and then pressing the Add to supertile button.

It is also possible to add a tile without previously selecting the destination:

  • drag the tile from the library and drop it on the destination position (drag&drop can be used to move tiles already on the map too); or
  • use the Insert mode: select the tile in the library and then click on the destination while keeping the SHIFT key pressed.

Using the Fill base layer button located below the tiles library it is also possible to fill all the supertile's grid positions with the selected tile at once; please notice that if the button is pressed when tiles have already been added, it causes all the bottom-most tiles to be removed and substituted by the selected one (an alert is displayed to avoid accidental use).

The OpenSpace Editor automatically optimizes tiles insertions. Please read the Insertions optimization paragraph in the Map editor description for additional informations.

When clicking on a tile instance in the preview area, a selection highlighter appears. This shows the tile's id and title in its bottom-left corner, and an icon in the bottom-right corner indicating if the tile is walkable ( ) or not ( ). Clicking on the background or pressing the ESC key on the keyboard deselects the tile.

To remove a tile instance:

  • select the tile and click the X icon in the top-right corner of the selection highlighter; or
  • select the tile and press the CANC key on the keyboard; or
  • use the Remove mode: click on the tile while keeping the keyboard's ALT key pressed.

When the mouse is moved over the supertile's preview, the coordinates of the tile behind the pointer are displayed in the bottom-left corner of the preview area's footer. If no z coordinate is shown, then the pointer is above an empty grid cell.

Preview settings

The Show base grid checkbox shows and hides the supertile's reference grid.

Using the Show tiles wireframe and Solid wireframe checkboxes it is possible to show/hide the tiles’ reference frames, to better understand the architecture of the supertile. When the solid wireframe is displayed, walkable tiles are highlighted in green (top side only).

Next: Background editor