Skip to content

Your first MOD ​

In this tutorial you create a complete MOD, from an empty project to the MOD file that the game loads. The MOD is simple: a wooden crate on a piece of land. Along the way you learn the steps you will use for every MOD:

  1. create a project;
  2. fill in the Mod Settings;
  3. import a 3D model;
  4. create the terrain of the map;
  5. place the model on the map;
  6. save the project;
  7. export the MOD.

It takes about 10 minutes.

Before you start ​

  • Install and open Z-MOD. See Installation.
  • Switch Z-MOD to English, so the buttons match this manual: open File > Preferences… > General and choose English in Language (see Language).
  • Download the sample model used in this tutorial: wooden-crate.glb. It is a simple wooden box, 1 meter tall. You can also use a model of your own in .glb format.

What is a .glb file?

A .glb file is a 3D model in the glTF format. Most 3D programs, such as Blender, can export it. It is the format the game loads, so it is the best choice for your models.

Step 1: Create a project ​

A project is a folder on your computer that holds all the files of your MOD.

  1. Open Z-MOD. The Project Manager appears.

  2. Click New Project.

    The Project Manager, with the New Project button outlined

    The Project Manager did not appear?

    Open File > New Project instead.

  3. In Project Name, type My First MOD.

  4. Click Choose Location and choose the folder where the project will be created, for example your Documents folder. Z-MOD creates a new folder named after the project inside it.

  5. Click Create.

    The New Project dialog with the name "My First MOD" and a location chosen

The project opens. Its name now appears in the top bar, next to File.

The new project open: its name "My First MOD" appears in the top bar

Step 2: Fill in the Mod Settings ​

The Mod Settings are the identity of your MOD: the information the game shows and uses to recognize it.

  1. Click File and then Mod Settings.

    The File menu with Mod Settings outlined

  2. The Mod Settings dialog opens. Z-MOD has already filled in some fields:

    • Mod ID: a unique technical name, created automatically (like mod_8253ded85854);
    • Mod Name: the name of the project;
    • Version: 1.0.0.

    The Mod Settings dialog with the values filled in by Z-MOD

  3. Give the MOD a Mod ID that is easy to recognize:

    1. Click Change ID.
    2. Type myname.myfirstmod in Mod ID. Replace myname with your own name or nickname.

    Choose the Mod ID once

    The Mod ID identifies your MOD to the game and to every MOD that depends on it. Use only letters, digits, ., _ and - (up to 96 characters). The game reads it in lowercase. If you change the Mod ID after you share your MOD, the game treats it as a different MOD.

  4. Check that Mod Name is My First MOD and Version is 1.0.0.

  5. In Author, type your name.

  6. In Description, type a short description, for example: A wooden crate on a small piece of land.

  7. Click Close.

    The Mod Settings dialog filled in, with the Close button outlined

The changes are saved with the project. You don't need to add Dependencies for this MOD.

Step 3: Import a 3D model ​

  1. Click Models in the top bar.

  2. Click Import model.

    The Models workspace, with the Import model button outlined

  3. Choose the file wooden-crate.glb that you downloaded, and open it.

    Drag and drop

    You can also drag the file from your folder and drop it on the 3D view.

The crate appears in the 3D view, and in the left panel under Mod Assets > Models. The Inspector on the right shows its details. Status must be Ready.

The wooden crate imported: it appears in the 3D view and in the Mod Assets list

Step 4: Create the terrain of the map ​

Every new project already has one map, called New Map. It starts without terrain: Z-MOD only shows a reference ground. Let's create real ground.

  1. Click Map in the top bar.

  2. In the left panel, in the Hierarchy tab, find Terrain and click the + button next to it (Create Terrain).

    The Map workspace, with the Create Terrain button (+) outlined next to Terrain

  3. The Create Terrain dialog opens. In Name, type Crate Island.

  4. Keep the other values. They create a flat terrain of 500 × 500 meters, at a height of 10 meters.

  5. Click Create Terrain.

    The Create Terrain dialog with the name "Crate Island"

The terrain appears in the 3D view and in the Hierarchy. The Inspector shows its settings.

The new terrain "Crate Island" in the 3D view

What do the terrain settings mean?
  • World Width and World Length: the size of the whole world, in meters.
  • Max Height: the highest point the ground can reach.
  • Chunk Size: the world is divided into square pieces called chunks. This is the size of one piece.
  • Height Resolution per Chunk and Paint Resolution per Chunk: how much detail each chunk keeps for its shape and for its painted surface. More detail means bigger files.
  • Initial Height: the height of the flat ground when it is created, between 0 and Max Height.

Step 5: Place the crate on the map ​

  1. In the left panel, click the Assets tab.

  2. Under Mod Assets > Models, find wooden-crate.

  3. Click the + button next to it (Add to Map).

    The Assets tab of the Map workspace, with the + button of wooden-crate outlined

The crate is placed in the center of the map, on the ground, and it is selected. The colored arrows around it are the gizmo: drag an arrow to move the crate along that direction. The Inspector shows its Position, Rotation and Scale.

The crate placed on the terrain, selected, with its position in the Inspector

Other ways to place a model

  • Drag the model from the Assets tab and drop it on the 3D view. It lands where you drop it.
  • Use the keys W (Move), E (Rotate) and R (Scale) to change the gizmo.
  • Type exact values in Position, Rotation and Scale in the Inspector.

Step 6: Save the project ​

Press Ctrl+S, or click File > Save Project.

The message Project Saved appears next to the project name, and the * (unsaved changes) disappears.

The top bar after saving: "Project Saved" next to the project name

Save often

Z-MOD shows a * after the project name when there are unsaved changes. Save whenever you finish a step.

Step 7: Export the MOD ​

Exporting creates the file that you share and that the game loads.

  1. Click File and then Export Mod….

    The File menu with Export Mod outlined

  2. The Export Mod dialog opens. It shows your Mod name, Mod ID and version. In Content, the map New Map is already selected. Everything the map uses (the terrain and the crate model) is included automatically.

  3. Click Validate. Z-MOD checks all the content. Nothing is written yet.

    The Export Mod dialog with the map selected and the Validate button outlined

  4. When the check is done, you see Ready: "Nothing blocks this export." The dialog also shows the suggested File Name (myname.myfirstmod-1.0.0.zip), the size, and Issues (here, No issues.).

  5. Click Export….

    Validation finished: the status is Ready, with the Export button outlined

  6. A save window opens. Choose a folder, keep the file name, and click Save.

When the file is written, the dialog shows Export Complete and Saved As with the name of your file. Z-MOD reads the file back to check it: "Verified: read back from the destination, the file holds exactly these bytes."

Export Complete: the MOD archive was saved and verified

  1. Click Close.

Congratulations! You created your first MOD. The file myname.myfirstmod-1.0.0.zip is your MOD.

Step 8: Test the MOD in the game ​

The exported ZIP file holds a manifest.json file (the identity of the MOD) and the content of the MOD. The game finds MODs by this manifest.json file, inside its Mods folder.

  1. Find the Mods folder of your Survivor installation.
  2. Create a folder for your MOD inside it, for example myfirstmod.
  3. Extract the content of the ZIP file into this folder, so that manifest.json is directly inside it.
  4. Start the game.

To confirm

Z-MOD does not install MODs in the game, and the location of the game's Mods folder is not defined in the app. Check with the Survivor documentation where the Mods folder is and how to load the map of a MOD in the game.

What's next? ​