Last updated
Last updated
Ouranos building serialization process is a way to save buildings you made into xml files. These buildings are used in Ouranos generation process for trees, villages, cities and structures. This page will explain how to create a building xml file.
The selector is the tool you will have to use to select the building. To obtain it, simply use the command /selector.
As a world edit selection right click and left click on the two points representing the whole building surface as follow :
If your building is a structure, village or city building you have to define doors with this command :
interior argument is for city/village buildings and exterior argument is for structures.
You have to use this command at every entrance location in the building, in other words in front of doors.
If your building is a tree, you can skip this step
If your building is a tree, you have to define a center block. The center block is the block where the tree will be paste on your world. Normally this should be the lowest trunk block
If your building is a structure, city or village building you can skip this step
You can define locations in your build where mobs/npcs will be placed.
To add a mob, go at the desired mob location and do /addmob <name>
To add a NPC, go at the desired NPC location and do /addnpc <name>
If your building is a tree, you can skip this step
When all of the step above have been realized, you can serialize your building. To do so, run the command /serialize <name> [-n]
The -n argument is here to specify the plugin that there's no doors in your building. If you didn't add any door, you will have to use it to be able to serialize.
The file created is <name>.xml located into the /plugins/Ouranos/ folder.