Unturned

Unturned

34 ratings
Workshop: Content
By SDGNelson
This guide explains how to export files from Unity as .content assetbundles for use in Unturned and the content browser.
   
Award
Favorite
Favorited
Unfavorite
Intro
Newer features in Unturned load textures, meshes, audio, etc from .content assetbundles which this guide explains how to create. If you're looking for the older method of exporting files from Unity check out the Objects guide here: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=470771210
Exporting
Select the folder containing your files in the Unity project browser. In the bottom right of the inspector create a new assetbundle for it ending with the .content extension:



A simple tool for exporting these assetbundle(s) can be found in the Unturned/Bundles/Sources/Tools folder. Follow the README inside to set it up. Open it from Window > Content Tool. By default your .content files will be created in your Unity project folder /Builds/Shared/Content.
Importing
Unturned will search the Content folder in the game folder, workshop folders and map folders for any .content file. These are registered and browsable in the content browser.

You can then drag and drop content from the content browser onto a content reference in an inspector.

In your code you can expose a content reference like so:

[Inspectable("#NS::Token")]
public ContentReference<T> content;
17 Comments
SAM 11 Jun, 2021 @ 12:41pm 
Where do I find the contents of the "Unturned/Bundles/Sources/Tools" folder now? It's not where it is said to be anymore.
ViSoL 11 Jan, 2019 @ 7:46am 
Go unturned 4.0
Karl 20 Oct, 2017 @ 4:31am 
Thumbs up for the LORD!!
Claudia 11 Jul, 2017 @ 2:04am 
14th?
Ferrari.exe 10 Jul, 2017 @ 1:19pm 
I love you nelson!
NötZander 3 Jul, 2017 @ 9:41am 
12th?
[|] Brother Bread 24 Jun, 2017 @ 5:38am 
Nelson i have an idea for the game,You could add a helicopter with two miniguns on both sides, Kinda like the Hell's Fury and the hind combined
like from the Call Of Duty Games.
aivT 10 Jun, 2017 @ 5:48am 
I LIKE TURTLES KNIO KNIO
AAberg 9 Jun, 2017 @ 11:43am 
9th?
Gamesadurajk 9 Jun, 2017 @ 10:38am 
Good