Basic - Scene Mod
Here is a step by step tutorial for making a scene mod.
Phase 1: Define your mod
1. New mod project
Make sure you have the prerequirements for modding and download a fresh ModToolkit to start.
- Download & Install Unity Hub.
- Download & Install Unity (2020.3.48f).
- Download the Battle Talent ModToolkit. (Wanna use git? Check out the repo!)
- Open the downloaded ModToolkit in Unity.
2. Product name
Change the product name so that the mod folder name will not conflict with other mods.
- In the Unity Toolbar: Go to
Edit -> Project Settings -> Player. - Modify field
Product Nameto your new mod name. Use the format:YOURPREFIX_MyModName. Example:WMD_ChevalierWeapons

3. Prefix.
Change the project prefix so that the mod files will not conflict with other mods.
-
In the Unity file browser: Open
Assets -> Resources -> AddressableConfig.asset -
Modify field
Prefixto your new prefix name. Use the format:YOURPREFIX_MyModName_. Example:WMD_ChevalierWeapons_Note: The prefix used in the tutorial is
WMD_. You will need to fill in your new prefix instead of everyWMD_in the tutorial.

5. Generate folder structure using the template wizard.
- In the Unity Toolbar: Go to
Tools → Template Wizard. - Make sure the
inspectorwindow is shown (Template Wizard will show there). - Enter a
new mod folder name. Example:YourModName - Set the
Mod Typeto:Scene. - Fill in the desired
ItemInfoConfigfields. - Click the
Generate Templatebutton to generate theScenefolder structure.
6. Place items in the scene
- Open the newly created
scenefile in theScenefolder. (for example:Build > YourNewModFolder > Scene) - Add collision to the items by adding
MeshCollider. - Make sure to change the layer of the objects to:
CharacterObstacleor else they will not collide with the player.
Extra: There are a couple of prefabs you can use the place special interactable objects.
| Prefab | Description |
|---|---|
HookRoot | Allows you to add a root that you can swing across gaps. |
SlideWall | Allows you to add a wall object that you can run along. |
StoneGate | A togglable gate. |
SkeletonStatue | A grabbable statue that can start waves. |
WeaponPendant | A grabbable weapon that will float in a location until grabbed. |
RespawnTrigger | A collider that will set the respawn point to the center of the collider when a player enters it. |

7. CharacterPos
- Adjust the
CharacterPos(underSceneScriptNode) to adjust the character spawning position.
8. DeadZone
- Adjust the
Transform'sYvalue to change the position of the DeadZone (underSceneScriptNode). - Place RespawnTrigger's to place respawn points.
9. PathFinder
Resize the BoxCollider on PathFinder under SceneScriptNode so it encloses the walkable area of the scene. The scene initialization script uses these bounds to create the navigation graph.

Save the scene.
Preview the navigation graph
-
Open the scene in Unity and stay outside Play mode.
-
Open
Tools > PathFinder Preview.
-
Select
SceneScriptNode > PathFinderin the Hierarchy, then click Use Selected Object in the preview window. Alternatively, drag its sceneBoxColliderinto Scan Range. Use the object in the open scene, not a prefab asset.
-
Enable Gizmos in the Scene view, then click Generate Preview. Inspect the displayed navigation surface, outlines, and scan bounds, especially around stairs, slopes, narrow passages, and small platforms.
-
After changing geometry, the scan range, parameters, click Regenerate Preview. Geometry changes are not detected automatically, so rescan even if no out-of-date warning appears.
Only geometry on the CharacterObstacle layer is collected. If no walkable triangles appear, check the range, layers, collection switches, and overhead clearance. Meshes collected by rasterizeMeshes need Read/Write Enabled in their import settings; MeshCollider meshes also need to be readable when using rasterizeColliders.
Adjust navigation parameters
The preview window exposes these settings. Hover a label for more details
Important: Preview settings are editor-only. To apply adjusted navigation parameters in game, replace SceneInitScript with SceneInitCustomScript; changing the preview window alone is not enough.
- Select
SceneScriptNode. In its existingLuaBehaviourcomponent, change the Lua Script identifier from the current prefix plusSceneInitScriptto the same prefix plusSceneInitCustomScript. For example, with theWMD_prefix, changeWMD_SceneInitScripttoWMD_SceneInitCustomScript. Keep the existing object injections, includingpathFinderNode,characterPos,deadZone, andspawnPointMgr; do not add a second initialization component.
- Edit
SceneInitCustomScript.txtto match the values tested in the preview.
CommonScene scripts are shared. Editing this file affects other scenes that use it; use a separately named copy in your mod's Script folder if the settings should apply only to this mod, and point LuaBehaviour to that copy's identifier.
The preview is not baked navigation data and is not included in the mod. The game creates its navigation graph during scene initialization; always verify the result in game.
7. Bake the scene
-
This optional step can improve performance by preventing rendering of static objects that are fully hidden from the player's view.
Mark static renderers for occlusion culling:
- Large, solid objects such as walls, buildings, and terrain should use
Occluder Static. - Static objects that can be hidden, such as decorations, small props, and transparent objects, should use
Occludee Static. - Objects that both hide other geometry and can be hidden should use both flags.
Important: Most static renderers should be marked
Occludee Static; otherwise, occlusion culling will not remove them when they are hidden. ReserveOccluder Staticfor large, solid geometry that can form effective occlusion.Dynamic objects, such as characters and movable props, are not included in the baked occlusion data. Their Renderer
Dynamic Occlusionsetting allows them to be culled at runtime by baked static occluders.
- Large, solid objects such as walls, buildings, and terrain should use
-
Open the
Occlusionwindow by going toWindow > Rendering > Occlusion Culling.
-
In the
Occlusionwindow, click theBakebutton.
-
Verify occlusion culling
- Select a Camera in the scene and make sure Occlusion Culling is enabled in its Inspector.
- Open
Window > Rendering > Occlusion Cullingand select the Visualization tab. - Add a temporary Camera to the scene, move the Camera in the Scene view and confirm that objects hidden behind occluders disappear from view.
- In the Scene view Occlusion Culling pop-up menu, enable Camera Volumes (yellow lines) and Visibility Lines (green lines) to help inspect the baked visibility data.
Note: Delete the temporary Camera before saving or building the mod, unless it is intentionally part of the scene.
Save the scene again.
Extra - StabableObj
Want some items to be stabbable (and also climbable)? You can do this as followed:
- Find the object you want to be stabbable/climbable.
- Give it a
RigidBodycomponent and mark itIs Kinematic.
- Give it a
StabableObjcomponent.
Extra - Combat Room
- Want to know how to create a Combat Room? Please read Create Combat Room.
Phase 2: Prepare to export your mod
Create Configuration files and fill (SceneModInfo)
You cannot use the icon generator on a Scene. So we will manually have to add a song icon.
Manually adding an icon
- Open the newly created
IConfolder and drag your.pngfile in there. - Click the image file, and make sure the setting:
read/write enabledis enabled - Click the image file, and make sure size is set to 256px:
read/write enabledis enabled - Set the Max size to `256` and click `Apply` to save (yes screenshot shows 128, my bad).
Phase 3: Build the mod
1. Update all addressables.
- Go to AddressableConfig(
Assets > Resources > AddressableConfig) or use shortcut:ctrl+shift+e. - Click
Clear AddressablesandCreate And Refresh Addressable Name.
Then you will see this tool has already setup addressable path for you in the Addressables Groups window. (Window/Asset Management/Addressables/Groups to open this window)

3. Build
Click BuildTools > BuildAllBundles to Build.
Once you build it successfully, then you will find your mod in the Assets/Mods. If something errors, please checkout the Console information, unity will tell you what's going wrong. And feel free to ask questions on our discord server.
Phase 4: Test & publish the mod
1. Install on device
For PC (Recommend for debugging):
- Make sure you have Battle Talent installed (Steam).
- In Unity: Click
BuildTools>InstallModOnWindows.
For Quest:
- Make sure you have Battle Talent installed on your Quest (Quest store).
- Make sure you've connected your headset correctly.
- Make sure you've allowed sideloading.(if you are not sure how to do this, you can follow this tutorial: https://www.youtube.com/watch?v=RoIXxIfRNTw)
- In Unity: Click
BuildTools>InstallModOnAndroid.
2. Spot the issues via log panel
Now that it's installed it's time to see if it's working correctly. See if the console gives you some errors. It'll be opened when you toggle Cheat Menu on.

3. Upload your mod to mod.io
- Zip your mod.
- Go to https://battletalent.mod.io/.
- Click
Add mod. - Authenticate (login).
- Fill in the required fields.