How to Make a Map Mod for JunkBox


Updated Modding Tutorial for map_template

This replaces the previous tutorial, which is now outdated. Follow the steps below to set up and use the new modding template properly.

Step 1: Download the Template

Download map_template.zip. It contains everything you need to get started with your custom map mod.

Step 2: Review the README

Inside the zip file, you’ll find a README file. Here's what it says, with some additional clarification:

Step 3: Open the Project in Godot

1. Make sure you have Godot Engine installed (compatible version required).
2. Open the folder named project_folder.
3. Double-click project.godot to open the project in the Godot editor.
4. If you have Godot properly installed, it will launch the level automatically.

Step 4: Using Custom Meshes

If you're adding your own 3D models (custom meshes), you must generate collision data for them manually:

1. Select all the mesh nodes in the scene.
2. Right-click and choose Generate Collisions.
3. Then select Static Body Child to add collision bodies to those meshes.

Step 5: Set the Spawn Point

Look for the SpawnPoint node in the scene hierarchy. Move it to the exact location where you want players to appear when the map loads.

Step 6: Edit mod_data.json

You can modify values in the mod_data.json file to customize settings such as file paths, metadata, or map info. Just make sure all paths are valid, and do not rename this file.

Step 7: Export and Upload

Once your map is ready:

1. Export or override the existing .pck file with your updated one.
2. Do not change the names of the .json or .pck files.
3. Upload the finished package to a hosting provider like GitHub Pages, Netlify, or any platform that can serve static files.

You're Done!

If everything is set up correctly, your custom map should load when the game reads your mod directory. Happy building, and keep those collisions solid and those spawn points safe.

Files

Junkboxremastered.zip Play in browser
2 days ago

Get junkbox

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.