-
Notifications
You must be signed in to change notification settings - Fork 52
Libraries
PrimeSonic edited this page Sep 7, 2020
·
6 revisions
When creating mods, you can use various libraries, such as libraries shipped by QModManager, libraries which you ship with your mod, or even other mod DLLs.
-
0Harmony.dll
- Shipped by QModManager, can be found in the
BepInEx\core
folder. - This library can be used to patch methods at runtime and change their code.
- You should not distribute your own version of this library with your mod! Just reference it in your project as usual and QModManager takes care of the rest.
- NOTE: The version of Harmony shipped with QModManager is HarmonyX, a fork of Harmony 2. For the specific differences between HarmonyX and Harmony 2, please see the HarmonyX wiki. For general usage, please see the Harmony 2 docs.
- Shipped by QModManager, can be found in the
-
QModInstaller.dll
- Shipped in
BepInEx\plugins\QModManager
- Reference this to gain access to patching attributes, and cross-mod services, and more
- Shipped in
-
SMLHelper.dll
- Needs to be downloaded from NexusMods (See Subnautica or Below Zero Nexus pages)
- This library can be used to modify various things in the game, such as adding new items. We highly suggest you use it.
-
Assembly-CSharp.dll
,Assembly-CSharp-firstpass.dll
, and all the manyUnity
.dll files- You'll find these in
Subnautica_Data\Managed
. -
Assembly-CSharp.dll
contains most of the core game code. You'll only needAssembly-CSharp-firstpass.dll
occasionally. - And don't forget the many Unity dll files that are the the main core on which the game is built.
- You'll find these in
If there is something missing or ambiguous, please create an issue or contact us on the Subnautica Modding Discord using our tags:
- PrimeSonic:
@PrimeSonic#0667
- Metious:
@Metious#3682