Creating Custom Maps

Steps to Create a Custom Map

  1. Navigate to the Mods Folder
    Go to the lethe/mods directory.

  2. Create a Custom Map Folder
    Inside the mods folder, create a new folder for your mod.
    Example: my_custom_mod

  3. Create the custom_maps Folder
    Inside your map folder, create another folder named custom_maps.

  4. Create a folder to contain your map
    Inside your custom_map folder, create another folder named anything you'd like Example: my_custom_map

  5. Add Images and JSON Configuration
    Place any images (e.g., background.png, floor.png, etc.) and the JSON configuration file inside the my_custom_map folder.

  6. Create the JSON File
    Create a .json file in the custom_maps folder. 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