Getting Started with Modding¶
Installing the Unity Editor is required for exporting custom content into the game. 2020.3.38f1 (or 2019.4, if still installed) LTS version should be compatible. View Download Links
Once Unity is installed a project can be created to house custom content. At this point it is recommended to import Unturned's provided source packages:
- Inside Unity open the Assets > Import Package > Custom Package... wizard.
- Find the Unturned installation directory.
- Navigate to the Bundles/Sources directory.
- Import the Project.unitypackage, and optionally the ExampleAssets.unitypackage.
Project.unitypackage¶
This package contains the barebones required to export custom content:
- Asset Bundling Tools
- Default Project Settings
- (Optional) Mod Hooks
ExampleAssets.unitypackage¶
This package contains vanilla content examples, and several useful prefabs:
- CoreMasterBundle directory has at least one example of each piece of vanilla content.
- Animations directory has all of the vanilla item animations for re-use.
- Assets/Resources/Characters/Preview.prefab is helpful for previewing clothes.
Warning
Custom content should NOT be placed into the CoreMasterBundle, instead create a separate directory or place your custom content in the Sandbox folder located in your local game files.