Modding:Maps: Difference between revisions
Jump to navigation
Jump to search
imported>CaptainTechnicality54384 (Created page with "Category: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...") |
imported>CaptainTechnicality54384 No edit summary |
||
Line 11: | Line 11: | ||
'''Example Joppa.RMP from Two Ctesiphus tutorial mod''' | '''Example Joppa.RMP from Two Ctesiphus tutorial mod''' | ||
<syntaxhighlight lang="xml"> | |||
<?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> | |||
</syntaxhighlight> |
Revision as of 15:57, 23 May 2019
.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>