Modding:Maps: Difference between revisions
Jump to navigation
Jump to search
imported>CaptainTechnicality54384 No edit summary |
(add modding info box) |
||
Line 1: | Line 1: | ||
[[Category:Modding]] | [[Category:Modding]]{{Modding Info}} | ||
==.rpm files== | ==.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. | RPM files are stores of static map content. They are a simple xml format. RPM files can be overriden from your mod folder. |
Revision as of 19:03, 29 June 2019
This page is about modding. See the modding overview for an abstract on modding. |
This page is about modding. See the modding overview for an abstract on modding.
This page is about modding. See the modding overview for an abstract on 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>