Modding:Worlds: Difference between revisions

429 bytes added ,  22:00, 9 August 2020
m
no edit summary
(Add info about C# interfaces)
mNo edit summary
Line 1: Line 1:
{{Modding Info}}
{{Modding Info}}


<code>Worlds.xml</code> defines many of the important zones on the world map. The game's primary "world", called JoppaWorld, contains most of the game content, but it is theoretically possible to add additional worlds.
<code>Worlds.xml</code> defines many of the important zones on the world map. This includes both static mapped content (such as the Joppa village layout) as well as dynamic zone builders (such as the builders that are used to generate underground caves.


In addition to the XML, the game code includes a few hooks that a programmer can use to modify the world state during the world generation process.
The game's primary "world", called JoppaWorld, contains most of the game content, but it is theoretically possible to add additional worlds.
 
In addition to the XML, the game code includes a few hooks that a programmer can use to modify the world state during the world generation process. These hooks are particularly useful if you're planning to add dynamically generated content similar to villages, lairs, sultan historical sites, etc, because they give you access to the same data that the core game uses to create that kind of content.


== XML Structure ==
== XML Structure ==