Releases: SubnauticaModding/Nautilus
Releases · SubnauticaModding/Nautilus
SMLHelper 2.14.1
SMLHelper 2.14
Changes in this release #255
-
- Added experimental support for Nitrox compatibility to SMLHelper.
-
- Custom Sounds now Deinitialize after world exit.
-
- Removed extra EventHandler for options menu buttons.
-
- Fixed a bug where stopping custom sounds, stops the entire bus.
-
- Allow mod option menus to provide tooltip language IDs instead of only string literals.
-
- Fixed a bug where if a language line was modified at runtime, the LanguagePatcher wouldn't repatch.
-
- Added EatableHandler to modify existing eatable item values.
-
- Converted ExampleMod & SMLHelper to .NET SDK. Developers and contributors are now required to have .NET 6 installed.
SMLHelper 2.12.1
Changes in this release #245
SMLHelper 2.12
Changes in this release #241
-
-
Added many more JsonConverters for Unity data types that are likely to break Newtonsoft's (de)serialization.
-
Added JsonConverters in this PR are for:
- Vector2
- Vector4
- Vector2Int
- Vector3Int
-
-
- Added UnityEngine.AudioModule.dll to SMLHelper dependencies
- Added a function to AudioUtils to convert an AudioClip to FMOD.Sound.
- Added functions to CustomSoundHandler to register an AudioClip as an FMOD.Sound
-
- Fixed Global Coordinated Spawns NREs.
- Fixed an error for the FishPrefab class in the SN1 experimental branch.
-
- Moved Quit/Save event invokes to their Async functions.
SMLHelper 2.11.1
SMLHelper 2.11
Changes in this release #235
This is a backwards-compatible feature release.
- #233
- New feature: Added the public abstract class
JsonFile
to theSMLHelper.V2.Json
namespace. This is a very basic implementation ofIJsonFile
, intended for use for saving and loading simple json files, and can be extended as needed for custom purposes. - New feature: Added the public abstract class
SaveDataCache
to theSMLHelper.V2.Json
namespace, which extends from the newJsonFile
class. This abstract class is intended to be used in a similar manner asConfigFile
, but for the purpose of per-mod-per-save data. See the linked PR for more details and example usages. - New feature: Adds a
SaveDataHandler
for registering aSaveDataCache
with SMLHelper to be automatically saved/loaded to/from disk when appropriate. - New feature: Added methods to the
InGameMenuHandler
that provide the ability to register callbacks with SMLHelper to be invoked whenever a game is loaded, similar to the methods it already provides that invoke a callback when the user saves or quits the game. - Maintenance: Example Mod project updated to include examples of how to use the
SaveDataCache
andSaveDataHandler
features.
- New feature: Added the public abstract class
- #236
- Enhancement: Adds
Vector3Converter
andQuaternionConverter
to theAlwaysIncludedConverters
ofConfigFile
implementations.
- Enhancement: Adds
- #231
- Bugfix: Resolved an issue where passing custom
string
names for enum-basedChoice
was incorrectly displaying the choice as if the first option was selected when the menu is first built, regardless of what option is actually selected.
- Bugfix: Resolved an issue where passing custom
- #234
- Bugfix: Resolved an issue where backing out to the main menu and loading into the game again would result in
CoordinatedSpawnsInitialized.smlhelper
not being correctly saved when the player saves the game.
- Bugfix: Resolved an issue where backing out to the main menu and loading into the game again would result in
- #232
- Maintenance: Invocation of
ConfigFile
attribute-based events are now deferred until theOptionsPanelHandler
has finished registering theConfigFile
to the options menu to ensure consistency across allConfigFile
events.
- Maintenance: Invocation of
SMLHelper 2.10.1
SMLHelper 2.10
Changes in this release #223
This is a backwards-compatible feature release.
- New feature: Sound Handler Initial implementation. #220
- Enhancement: Add optional Rotation to Coordinated spawns when using the assets system. #221
- Enhancement:
ModPrefab
'sProcessPrefab
method is now markedprotected virtual
rather thanprivate
. This is intended for the purpose of advanced modders to be able to customise how the prefab is processed via overriding. #225 - Maintenance: Updated to using C# 9.0 and some of its features. #222
- Maintenance: To accommodate #225,
CustomFabricator.ProcessPrefab
is now renamedCustomFabricator.PreProcessPrefab
. #227 - Bugfix: Fixed a bug where non-global coordinated spawns objects were getting despawned after save/reload. #226
SMLHelper 2.9.7
SMLHelper v2.9.0.1
Changes in this version
- Hotfix for an issue introduced in v2.9 affecting some mods using sliders #192