Modding:Maps: Difference between revisions

Petrakat (talk | contribs)
m Fix world map name
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Modding]]{{Modding Info}}
[[Category:Zones and Worlds]]{{Modding Info}}
 


==.rpm files==
==.rpm files==
Line 8: Line 7:
The in-game map editor loads and saves files in the .rpm XML format. It supports saving complete maps with all of the 80x25 cells included in the XML.
The in-game map editor loads and saves files in the .rpm XML format. It supports saving complete maps with all of the 80x25 cells included in the XML.


RPM files can represent a particular zone (such as the Grit Gate complex), but an RPM file is also used for the world map (<code>JoppaWorldNew4.rpm</code>), which is generated in similar fashion to other zones.
RPM files can represent a particular zone (such as the Grit Gate complex), but an RPM file is also used for the world map (<code>QudWorldMap.rpm</code>{{File Reference|file=Worlds|note=world <code>JoppaWorld</code>'s <code>Map</code> value}}), which is generated in similar fashion to other zones.


===Adding something to an existing map===
===Adding something to an existing map===
Line 30: Line 29:
This example also only defines the one cell it wants to replace, however does not use the <code>Load="Merge</code> option.  The world map expects only one terrain object per map cell, and not using <code>Load="Merge"</code> tells the game to <b>replace</b> the contents of that cell.
This example also only defines the one cell it wants to replace, however does not use the <code>Load="Merge</code> option.  The world map expects only one terrain object per map cell, and not using <code>Load="Merge"</code> tells the game to <b>replace</b> the contents of that cell.


'''Example JoppaWorldNew4.rpm to replace a terrain tile'''
'''Example QudWorldMap.rpm to replace a terrain tile'''
<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
Line 64: Line 63:
</syntaxhighlight>
</syntaxhighlight>


Example of edited <code>Worlds.xml</code><syntaxhighlight lang="xml">:
Example of edited <code>Worlds.xml</code>:
 
<syntaxhighlight lang="xml">
<worlds>
<worlds>
   <world Name="JoppaWorld" Load="Merge">
   <world Name="JoppaWorld" Load="Merge">
Line 116: Line 117:
== Examples ==
== Examples ==
The Brainwraith mod ([https://www.nexusmods.com/cavesofqud/mods/6?tab=bugs Nexus], [https://steamcommunity.com/sharedfiles/filedetails/?id=1239762624 Steam]) is an example of a mod that makes extensive use of map and world modifications. It modifies the world map and also creates several new RPM-based zones.
The Brainwraith mod ([https://www.nexusmods.com/cavesofqud/mods/6?tab=bugs Nexus], [https://steamcommunity.com/sharedfiles/filedetails/?id=1239762624 Steam]) is an example of a mod that makes extensive use of map and world modifications. It modifies the world map and also creates several new RPM-based zones.
== References ==
<references />


{{Modding Navbox}}
{{Modding Navbox}}