Modding:Maps

Revision as of 00:56, 6 September 2019 by Egocarib (talk | contribs)
This page is about modding. See the modding overview for an abstract on modding.

Using the Map Editor

The map editor is available as a utility from the main menu in-game when the Overlay UI is enabled.

  1. Start Qud
  2. Enable the Overlay UI (Options > Overlay UI > Enable overlay user interface elements)
  3. Enable mouse input (Options > Overlay UI > Allow mouse input)
    • The map editor won't work if you skip this step
  4. Return to the main menu.
  5. Click Modding Utilities in the lower right corner.
  6. Click Map Editor.
  7. Click New Map to start a new map design, or click Load Map to load an existing RPM file (there are some in the game directory if you want to open one to look at it as an example)

You can:

  • Use the search bar in the upper right corner to filter object blueprints for selection, and select items in the sidebar.
  • Ctrl+click to add the selected item to the map
  • Alt+click to select an existing item on the map
  • Click and drag to move the map around.


.rpm files

RPM files are stores of static map content. They are a simple xml format. RPM files can be overriden from your mod folder.

The in-game map editor loads and saves the .rpm xml format.

In the following example only a single cell is merged with the existing contents of Joppa.RPM. If Load="Merge" is not supplied, the contents are replaced instead.

The in-game map editor doesn't support cutting a section of the map out for saving, so if you'd like to replace only a subsection you'll have to edit the .rpm by hand.


Example Joppa.RMP from Two Ctesiphus tutorial mod

<?xml version="1.0" encoding="utf-8"?>
<Map
  Width="80"
  Height="25" Load="Merge">
  <cell
    X="41"
    Y="7">
    <object Name="Ctesiphus"></object>
  </cell>
</Map>