Skip to content

Map Editor

Interface

Create the map

New map

Create the new map by pressing New button from the toolbar

Empty map

To create empty map, define its size by choosing option from drop-down list or enter required size manually in the text fields and press Ok button. Check Two level map option to create map with underground. Note: there are no limits on map size but be careful with sizes larger predefined XL size. It will be processed quite long to create even empty map. Also, it will be difficult to work with the huge maps because of possible performance issues

Other parameters won't be used for empty map.

Random map

To generate random map, check the Random map option and configure map parameters. You can select template from the drop-down list.

Templates are dynamically filtered depending on parameters you choose.

  • [Default] template means that template will be randomly chosen
  • If you see empty list it means that there are no templates fit your settings. It could be related to the settings chosen or it can mean that there are no templates install.

Map load & save

To load the map, press open and select map file from the browser.

You can load both .h3m and .vmap formats but for saving *.vmap is allowed only.

Views

There are 3 buttons switching views Снимок экрана 2022-09-07 в 06 48 08

Ground/underground

"U/G" switches you between ground and underground

Grid view

Grid show/hide grid

Passability view

Pass show/hide passability map

Setup terrain

  1. Select brush you want

  2. Select area you'd like to change

Note: left mouse button selects tiles, right button removes selection

Image

  1. Press terrain you want

Drawing roads and rivers

Actually, the process to draw rivers or roads is exactly the same as for terrains. You need to select tiles and then choose road/river type from the panel.

To erase roads or rivers, you need to select tiles to be cleaned and press empty button.

Erasing works either for roads or for rivers, e.g. empty button from the roads tab erases roads only, but not rivers. You also can safely select bigger area, because it won't erase anything on tiles without roads/rivers accordingly

About brushes

  • Buttons "1", "2", "4" - 1x1, 2x2, 4x4 brush sizes accordingly
  • Button "[]" - non-additive rectangle selection
  • Button "O" - lasso brush (not implemented yet)
  • Button "E" - object erase, not a brush

Fill obstacles

Map editor supports automatic obstacle placement. Obstacle types are automatically selected for appropriate terrain types

To do that, select area (see Setup terrains) and press Fill button from the toolbar

Note: obstacle placer may occupy few neighbour tiles outside of selected area

Manipulating objects

Adding new objects

  1. Find the object you'd like to place in the object browser

  1. You can also see selected object in preview area in the left part of application window

  1. Hold mouse at object you want to place and move it to the map. You will see transparent object. Release object at point to confirm its creation

  1. Press somewhere on the map to locate object.

Right click over the scene - cancel object placement

Removing objects

  1. Make sure that no one terrain brush is selected. To de-select brush click on selected brush again.

  2. Select object you'd like to remove by simple clicking on it. You can also select multiple objects by moving mouse while left button is pressed

  3. Press "E" button from the brush panel or press delete on keyboard

Changing object's properties

  1. Make sure that no one terrain brush is selected. To de-select brush click on selected brush again.

  2. Select object you'd like to remove by simple clicking on it. You cannot review and modify properties for several objects, multiple selection is not supported.

  3. Go to the inspector tab. You will see object's properties

  1. You are able to modify properties which are not gray Note: sometimes there are empty editable fields

Assigning player to the object

Objects with flags can be assigned to the player. Find Owner property in the inspector for selected object, press twice to modify right cell. Type player number from 0 to 7 or type NEUTRAL for neutral objects.

Set up the map

You can modify general properties of the map

Map name and description

  1. Open Map menu on the top and select General

  1. You will see a new window with text fields to edit map name and description

  2. Pressing Ok will save the changes, closing the window will discard the changes

Player settings

Open Map menu on the top and select **Player settings"

You will see a window with player settings. Combobox players defines amount of players on the map. To review settings for particular player scroll the internal window. There are bunch on settings for each player you can change.

Important: at least one player must be controlled as Human/CPU. Maps without human players won't be started in the game at most cases

Compatibility questions

Platform compatibility

vcmieditor is a cross-platform application, so in general can support all platforms, supported by VCMI.

However, currently it doesn't support mobile platforms.

Engine compatibility

vcmieditor is independent application so potentially it can be installed just in the folder with existing stable vcmi. However, on the initial stages of development compatibility was not preserved because major changes were needed to introduce into vcmi library. So it's recommended to download full package to use editor.

Map compatibility

vcmieditor haven't introduced any change into map format yet, so all maps made by vcmieditor can be easily played with any version of vcmi. At the same time, those maps can be open and read in the old map editor and vice verse - maps from old editor can be imported in the new editor. So, full compatibility is ensured here.

Mod compatibility

vcmieditor loads set of mods using exactly same mechanism as game uses and mod manipulations can be done using vcmilaucnher application, just enable or disable mods you want and open editor to use content from those mods. In regards on compatibility, of course you need to play maps with same set of mods as you used in the editor. Good part is that is maps don't use content from the mods (even mods were enabled), it can be played on vcmi without mods as well

Working With Mods

Enabling and disabling mods

The mods mechanism used in map editor is the same as in game.

To enable or disable mods * Start launcher, activate or deactivate mods you want * Close launcher * Run map editor

There is no button to start map editor directly from launcher, however you may use this approach to control active mods from any version of vcmi.

Placing objects from mods

  • All objects from mods will be automatically added into objects Browser. You can type mod name into filter field to find them.

  • Objects from mods related to new terrains (if mod adds any) should not be filtered this way, instead choose terrain from terrains filter on the top of objects browser

Playing maps with mods

If you place any kind of objects from the mods, obviously, you need those mods to be installed to play the map. Also, you need to activate them.

You also may have other mods being activated in addition to what was used during map designing.

Mod versions

In the future, the will be support of mods versioning so map will contain information about mods used and game can automatically search and activate required mods or let user know which are required. However, it's not implemented yet