Creating Custom Maps
Steps to Create a Custom Map
-
Navigate to the Mods Folder
Go to thelethe/modsdirectory. -
Create a Custom Map Folder
Inside themodsfolder, create a new folder for your mod.
Example:my_custom_mod -
Create the
custom_mapsFolder
Inside your map folder, create another folder namedcustom_maps. -
Create a folder to contain your map
Inside yourcustom_mapfolder, create another folder named anything you'd like Example:my_custom_map -
Add Images and JSON Configuration
Place any images (e.g.,background.png,floor.png, etc.) and the JSON configuration file inside themy_custom_mapfolder. -
Create the JSON File
Create a.jsonfile in thecustom_mapsfolder. Here's an example of the JSON structure:
{
"Name": "!custom_religion",
"Walls": [
{
"Image": "background.png",
"Position": [0, 0, 10],
"Rotation": [0, 0, 0],
"Scale": [6, 6, 1]
}
],
"Floors": [
{
"Image": "floor.png",
"Position": [0, 0, 0],
"Rotation": [90, 0, 0],
"Scale": [8, 14, 1]
},
{
"Image": "columns.png",
"Position": [0, -8, 0],
"Rotation": [0, 0, 0],
"Scale": [8, 14, 1]
}
]
}
Afterwards you can use the map name in the json to load it in any encounter.
Important: The name of the map in the json is what is used for encounters, and must start with !custom_ in order to be detected