Map Modding

.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>