![IAmBatby-LethalLevelLoader-1.3.9 icon](https://gcdn.thunderstore.io/live/repository/icons/IAmBatby-LethalLevelLoader-1.3.9.png.128x128_q95.jpg)
LethalLevelLoader
A Custom API to support the manual and dynamic integration of all forms of custom content in Lethal Company. (v50 Compatible)
Date uploaded | 3 weeks ago |
Version | 1.3.9 |
Download link | IAmBatby-LethalLevelLoader-1.3.9.zip |
Downloads | 88493 |
Dependency string | IAmBatby-LethalLevelLoader-1.3.9 |
This mod requires the following mods to function
![BepInEx-BepInExPack-5.4.2100 icon](https://gcdn.thunderstore.io/live/repository/icons/BepInEx-BepInExPack-5.4.2100.png.64x64_q95.png)
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100![Evaisa-LethalLib-0.16.0 icon](https://gcdn.thunderstore.io/live/repository/icons/Evaisa-LethalLib-0.16.0.png.64x64_q95.jpg)
![Evaisa-FixPluginTypesSerialization-1.1.1 icon](https://gcdn.thunderstore.io/live/repository/icons/Evaisa-FixPluginTypesSerialization-1.1.1.png.64x64_q95.png)
Evaisa-FixPluginTypesSerialization
Fix custom Serializable structs and such not properly getting deserialized by Unity.
Preferred version: 1.1.1![MaxWasUnavailable-LethalModDataLib-1.2.2 icon](https://gcdn.thunderstore.io/live/repository/icons/MaxWasUnavailable-LethalModDataLib-1.2.2.png.64x64_q95.png)
MaxWasUnavailable-LethalModDataLib
A library for Lethal Company, providing a standardised way to save and load modded data.
Preferred version: 1.2.2README
LethalLevelLoader
A Custom API to support the manual and dynamic integration of all forms of custom content in Lethal Company.
Thunderstore Link: https://thunderstore.io/c/lethal-company/p/IAmBatby/LethalLevelLoader/
Discord Thread: https://discord.com/channels/1168655651455639582/1193461151636398080
Description
1.3.0 for Lethal Company v55 Has Released!
LethalLevelLoader is a custom API to support the manual and dynamic integration of custom levels and dungeons in Lethal Company.
Mod Developers can provide LethalLevelLoader with their custom content via code or via automatic AssetBundle detection, and from there LethalLevelLoader will seamlessly load the content into the game.
This Mod is Likely To Be Incompatible with LethalExpansion, Due To The inherit conflicts involved in changing the same systems.
How To Use (Users / Players)
Simply install LethalLevelLoader and it's dependencies.
If a mod using LethalLevelLoader supplies a .lethalbundle file, LethalLevelLoader will automatically find and load it’s content as long as it’s in the /plugins/ folder (Subfolders will be detected)
How To Use (Modders / Developers)
Please refer to the LethalLevelLoader Wiki for documentation on utilizing this API for your custom content: https://github.com/IAmBatby/LethalLevelLoader/wiki
Features Currently Supported
- Custom Moons
- Custom Interiors
- Custom Items (Scrap / Items)
- Custom Enemies (Enemies)
- Custom StoryLog's
- Custom Weather Effects (WIP)
- Custom Footstep Surfaces (WIP)
Contributing To LethalLevelLoader
Setup
To start contributing to LLL, you can start by forking the repo.
Then, follow these steps:
- Install Unity Netcode Patcher CLI tool:
dotnet tool install -g Evaisa.NetcodePatcher.Cli
- It's recommended to set up a
csproj.user
file based on the LethalLevelLoader.template.csproj.user file to automate copying the mod's DLL file over to your location of choosing. This file will be gitignored.
You should be now set up, and ready compile your fork of LethalLevelLoader on your machine!
Credits
- Evaisa (This Mod is directly based from LethalLib's codebase and could have been made without it's pre-existing foundations.)
- SkullCrusher (This Mod is directly based from SkullCrusher's LethalLib' Fork and could have been made without it's pre-existing foundations.)
- HolographicWings (This Mod was inspired by LethalExpansion and could not have been made without HolographicWing's support and research.)
- KayNetsua (This Mod was internally tested using KayNetsua's "E Gypt" Custom Level and KayNetsua assisted in testing LethalLevelLoader's usage)
- Badhamknibb (This Mod was internally tested using Badhamknibb's "SCP Foundation" Custom Dungeon and Badhamknibb's assisted in testing LethalLevelLoader's usage)
- Scoopy (This Mod was internally tested using Scoopy's "LethalExtension Castle" Custom Dungeon and Scoopy assisted in testing LethalLevelLoader's usage)
- Xilo (Xilo provided multiple instances of Bepinex & Unity.Netcode related support during the development of this Mod.)
- Lordfirespeed (Lordfirespeed provided multiple instances of Bepinex & Unity.Netcode related support during the development of this Mod.)
- onionymous (Onionymous provided a preview build of their Networked Scene Patcher API, allowing for dynamic, networked scene injection)
- Game-Icons.net (For the artwork used for the mod's logo)
- Maxwasunavailable (For creating LethalModDataLib and assisting me with it’s usage.)
- Mrov (For collaborating with me on initial Custom weather support related code, assisting in fixes related to the Config file and a bunch of miscellaneous assistance.)
- LadyRaphtalia, Xu Xiaolan, Badhamknibbs, Mrov, sfDesat, AboveFire, Autumnis The Everchanging, RosiePies, Drako & Audio Knight (For testing development on experimental 1.2.0 builds.)
- 狐萝卜呀, tumbleweed, Corey, Ritskee, Altan, qxZap, Salamander, Chiseled Cactus, Phantom139, ImmaBawss, takeothewolf, zuzaratrust, Hackattack242, Mail Me Dabs, Kyros, SourceShard & Chupacabra (For playtesting and reporting bugs on experimental 1.2.0 builds.)
- Lunxara (For the heavy, rapid testing throughout all the experimental 1.2.0 builds.)
- Adi, Hamunii, **Xu Xiaolan & Wherget F(or various new contributions in the forms of direct suggestions and pull requests.)
CHANGELOG
Changelog
Version 1.3.8
Features
- Added interior selection history to DayHistory
Version 1.3.7
Fixes
- Added additional safety checks to ExtendedFootstepSurface patches
Version 1.3.6
Features
- Added content restoration support for basegame water shader
Version 1.3.5
Fixes
- Added safety checks to new FootstepSurface Material cache system.
- Added safety checks to new ExtendedLevel override fog size feature.
- Changed ContentRestoring of EnemyType's to use ScriptableObject name rather than enemyName
- Fixed issue where synced audio clip that plays when previewing enemy beastiary file was not playing for custom enemies
- Fixed issue where custom Enemy beastiary files did not have Info as a default keyword
Version 1.3.3
Features
- Implemented ExtendedFootstepSurface
Version 1.3.2
Fixes
- Updated onApparatusTaken ExtendedEvent
Version 1.3.1
Fixes
- Fixed issue regarding deprecated Level list.
Version 1.3.0
Features
- Updated mod for Lethal Company version 56
- Added initial ExtendedBuyableVehicle implementation
- Added LevelEvents.onShipLand ExtendedEvent
- Added LevelEvents.onShipLeave ExtendedEvent
- Added ExtendedLevel.OverrideDustStormVolumeSize Value
- Added ExtendedLevel.OverrideFoggyVolumeSize Value
- Added PatchedContent.TryGetExtendedContent() Function.
- Added public references to basegame manager instances to OriginalContent
- Updated ContentTag's for new Version 55/56 content
Fixes
- Fixed issue with onApparatusTaken event running at unintended moments
- Added safeguard to prevent multiple Lethalbundles with identical names from causing a gamebreaking error
- Moved LethalLib from a Hard Dependency to a Soft Dependency
- Fixed ExtendedItem's not correctly playing the purchased SFX when purchased from Terminal
- Merged various pull requests to improve the workflow and deployment of further LethalLevelLoader development
Version 1.2.2
Fixes
- Fixed issue where vanilla items were being incorrectly destroyed when playing multiple lobbies during the same game session
- Restored functionality of the ExtendedLevel.IsRouteLocked feature
- Added safety check to help prevent saves made in pre 1.2.0 LethalLevelLoader modpacks from corrupting when being used
- Fixed issues with ExtendedDungeonFlow.DynamicDungeonSize related settings incorrectly applying after version 50 changes
- Removed ExtendedMod.ContentTagAsStrings() function
- Added ExtendedMod.TryGetTag(string tag) function
- Added ExtendedMod.TryGetTag(string tag, out ContentTag contentTag) function
- Added ExtendedMod.TryAddTag(string tag) function
Version 1.2.1
Fixes
- Updated LICENSE
- Changed accessor for ExtendedDungeonFlow.GenerateAutomaticConfigurationOptions from internal to public
- Fixed issue where ExtendedDungeonFlow.GenerationAutomaticConfigurationOptions was defaulting to false
- Changed accessor for EnemyManager.RefreshDynamicEnemyTypeRarityOnAllExtendedLevels from internal to public
- Changed accessor for EnemyManager.InjectCustomEnemyTypesIntoLevelViaDynamicRarity from internal to public
- Changed accessor for ItemManager.RefreshDynamicItemRarityOnAllExtendedLevels from internal to public
- Changed accessor for ItemManager.InjectCustomItemsIntoLevelViaDynamicRarity from internal to public
- Changed ConfigLoader default dungeon binding to list current level matching values as default values
- Added "Killable" ContentTag to Forest Giant
- Added "Chargable" ContentTag to Jetpack
- Added "Weapon" ContentTag to Knife
- Added additional developer debug logging for the scene validation and selection process
Version 1.2.0
Features
- Updated mod for Lethal Company version 50
General
-
Added ExtendedMod
-
Added ExtendedEnemyType
-
Added ExtendedItem
-
Added ExtendedStoryLog
-
Added ExtendedFootstepSurface (WIP)
-
Added ExtendedWeatherEffect (WIP)
-
Added LevelMatchingProperties
-
Added DungeonMatchingProperties
-
Added ContentTags
-
Added Global LevelEvents Instance (Thanks mrov)
-
Added Global DungeonEvents Instance (Thanks mrov)
-
Added IsSetupComplete bool for modders to reference.
-
Added onBeforeSetup event for modders to reference
-
Added onSetupComplete event for modders to reference
-
Revamped DebugLogs and provided a configurable debuglog setting in the config to allow Users to only receive relevant logs by default.
-
Moved AssetBundleLoading earlier to help speed up load time
-
Revamped debug logs when trying to load a level or simulate the loading of a level
-
Revamped Moons Catalogue display to split custom moons into groups similar to the basegame moon listings.
-
Revamped Moons Catalogue display to order custom moon groups by average risk level
-
Revamped Moons Catalogue display to order custom moons inside groups by risk level
-
Revamped Moons Catalogue display to prefer to group custom moons created by the same author
-
Revamped Moons Catalogue display to dynamically adjust font size depending on the amount of Moons being displayed
-
Probably a lot more!
ExtendedLevel
- Added string value to allow Authors to use custom route node display text to their levels
- Added string value to allow Authors to use custom route confirmation node display text to their levels By default SelectableLevel.riskLevel is now automatically assigned using calculations and comparisons of SelectableLevel values between both Custom and Vanilla levels. This can be manually overridden.
- Added an OverrideQuicksandPrefab value to allow authors to modify the Quicksand used on their level
- Added ShipFlyToMoonClip & ShipFlyFromMoonClip AnimationClip values to allow authors to modify the AnimationClips used when the Ship lands to and from their level (Currently disabled until bug is resolved with Unity Assetrip Fixer)
- Overhauled the way Scene’s are correlated with Levels by implementing a new weight based system built into ExtendedLevel to allow authors to randomly switch between multiple variant scenes for a single level.
ExtendedDungeonFlow
- Added an OverrideKeyPrefab value to allow authors to modify the Key prefab used in their Dungeon
- Added a MapTileSize value to allow authors to set a correlated MapTileSize value that is used in new basegame functions implemented in Version 50.
- Added a new SpawnableMapObjects list value to allow authors to inject custom RandomMapObjects in their Dungeon
ExtendedItem
- Custom Item support has now been added.
- Added a PluralisedItemName string value to allow developers to change how their item name is parsed when being referenced as a plural (eg. when buying multiple of them from the store)
ExtendedEnemyType
- Custom Enemy support has now been added.
ExtendedStoryLog
- Custom StoryLog support has now been added.
ExtendedFootstepSurfaces
- Custom FootstepSurface support has now been added. (Currently disabled)
ExtendedWeatherEffect
- Custom WeatherEffect support has now been added. (Currently disabled)
ContentTags & MatchingProperties
- Created integrated ContentTag system that allows developers to put relevant string tags on all types of custom content (with an optional correlating colour). Developers can access groups of content based on a specific content tag as well as match their content with other pieces of content dynamically using the built in LevelMatchingProperties and DungeonMatchingProperties.
- All Vanilla content has been manually assigned Content Tags to allow developers to reference vanilla content via tags the same way they would custom content, You can find those tags here: https://docs.google.com/spreadsheets/d/1WO77KGJplIEC64qmBClOgfEEoFxrhMurCEqe9FKod8I/edit?usp=sharing
Fixes
- Fixed switch Terminal command incorrectly working
- Fixed Weather selection desyncing
- Fixed Dungeon selection desyncing
- Fixed Config duplicating entities (Credit to mrov)
- Added safety checks to correctly save and restore previously selected route and prevent previous routes to disabled levels from breaking
- Added safety checks to prevent invalid Foggy weather level values from breaking the game
- Added safety checks to prevent Levels & Dungeons having incorrect SpawnableMapObject setups from breaking the game
- Added safety check to prevent level missing MapPropsContainer tagged object from breaking the game
- Added safety check to prevent level with .SpawnScrapAndEnemies enabled and no spawnable scrap listed from breaking the game
- Fixed LevelEvents & DungeonEvents EntranceTeleport events behaving incorrectly (credit to mrov)
- Added custom code to optimize specific internal code used in DunGen generation (Credit to LadyRaphtalia)
- Made LogDayHistory function safer to allow DunGen generation in editor while using LethalLevelLoader to correctly work
- Fixed issue where specific special items (Shotgun, Shells, Hive, Knife) were not being collected
- Fixed issue where LethalLevelLoader was destroying assets in mods with multiple levels before it could correctly restore all those references first
- Probably a lot more!
Version 1.1.0
Features
Terminal >preview Keyword
* *LethalLevelLoader now has a new feature added to the Terminal which allows users to change what information is previewed adjacent to each Moon listed in the `MoonsCatalogue`. This can be toggled via the `preview` verb keyword followed by one of the following options. (LethalLevelLoader also includes a configuration option to set which information type is used by default.)*-
preview weather
-
preview difficulty
-
preview history
-
preview all
-
preview none
-
preview vanilla
Terminal >sort Keyword
* *LethalLevelLoader now has a new feature added to the Terminal which allows users to decide how Moons are sorted when listed in the `MoonsCatalogue`. This can be toggled via the `sort` verb keyword followed by one of the following options. (LethalLevelLoader also includes a configuration option to set which sorting type is used by default.)*-
sort price
-
sort difficulty
-
sort tag
-
sort quota
-
sort run
-
sort none
Terminal >filter Keyword
* *LethalLevelLoader now has a new feature added to the Terminal which allows users to decide which Moons are listed in the `MoonsCatalogue`. This can be toggled via the `filter` verb keyword followed by one of the following options. (LethalLevelLoader also includes a configuration option to set which filtering type is used by default.)*-
filter price
-
filter weather
-
filter tag
-
filter last travelled
-
filter none
Terminal >simulate Keyword
* *LethalLevelLoader now has a new feature added to the Terminal which allows users to "Simulate" landing on a Moon. This provides a presentable, lore friendly way to view the possible `DungeonFlow` choices with accurate rarity via the Terminal. To use this feature, use `simulate` and a Moon's name, the same way you would use `route`. LethalLevelLoader now includes a configuration option to switch between viewing the `DungeonFlow`'s rarity via raw value or calculated percentage.*LevelHistory
* *LethalLevelLoader now has an experimental `LevelHistory` feature that stores notable information regarding each day in the current save. This includes information such as the Level, DungeonFlow, Weather and more. This feature allows modders and future updates to LethalLevelLoader to create mechanics and systems dependant on the history of the current play session.*ExtendedDungeonFlow: Host Decides DungeonFlow & DungeonSize
* *LethalLevelLoader now modifies the way Lethal Company selects the random `DungeonFlow` and it's dungeon size so only the Host client selects these values which is then sent to the remaining non host clients. This is to help prevent game-breaking dungeon desync when players have mismatching dungeon configuration settings.*ExtendedDungeonFlow: Dynamic Weather Rarity Injection
* *ExtendedDungeonFlow's now contain a `StringWithRarity` list which allows dungeon developers to dynamically inject their dungeon into the current `SelectableLevel`'s possible `DungeonFlow` options.*ExtendedDungeonFlow: GlobalProp Dynamic Scaling
* *ExtendedDungeonFlow's now contain a `GlobalPropCountOverride` list which allows dungeon developers to dynamically increase or increase a `GlobalProp`'s minimum and maximum values based on the currently used dungeon size.*ExtendedLevel: MoonCataloguePages & ExtendedLevelGroups
* *LethalLevelLoader now completely overhauls how the `MoonsCatalogue` TerminalNode functions internally. `ExtendedLevel`'s are now stored in groups via a class named `ExtendedLevelGroup`, These `ExtendedLevelGroup`'s are then stored in groups via a class named `MoonsCataloguePage`. This overhaul allows other mods and future updates to LethalLevelLoader to control and store `ExtendedLevel`s in many ways that were previously limited.*ExtendedLevel: Lock Route
* *ExtendedLevel's now contain a `isLocked` bool and `lockedNodeText` string that controls whether the Level can currently be routed to via the Terminal. When locked the Terminal will display the `lockedNodeText` string as failed routing response on the Terminal (Or a generic response if the string is left empty)*ExtendedLevel: Hide Level
* *ExtendedLevel's now contain a `isHidden` bool that controls whether the Level is displayed in the >Moons Terminal page*ExtendedLevel: New Story Log Support
* *ExtendedLevel's can now add their own custom Story Log's, Without the need of custom code. ExtendedLevel's now contain a `List<StoryLogData>` that takes in a level-dependent `storyLogID` int, a `terminalWord`string, a `storyLogTitle` string and a `storyLogDescription` string.*ExtendedLevel: Provide Level Info Description
* *By default ExtendedLevel's have their >info display text generated using their `SelectableLevel.LevelDescription` string, ExtendedLevel's now have an optional `infoNodeDescription` string if they wish to write their text manually.*ExtendedLevel Events
* *ExtendedLevel's now contain gameplay specific `ExtendedEvent`'s that will Invoke when these events happen while playing the relevant ExtendedLevel.*-
onLevelLoaded
-
onDaytimeEnemySpawn(EnemyAI)
-
onNighttimeEnemySpawn(EnemyAI)
-
onStoryLogCollected(StoryLog)
-
onApparatusTaken(LungProp)
-
onPlayerEnterDungeon(EntranceTeleport, PlayerControllerB)
-
onPlayerExitDungeon(EntranceTeleport, PlayerControllerB)
-
onPowerSwitchToggle(bool)
ExtendedDungeonFlow Events
* *ExtendedLevel's now contain gameplay specific `ExtendedEvent`'s that will Invoke when these events happen while playing the relevant ExtendedLevel.*-
onBeforeDungeonGenerate(RoundManager)
-
onSpawnedSyncedObjects(List<GameObject>)
-
onSpawnedMapObjects(List<GameObject>)
-
onSpawnedScrapObjects(List<GrabbableObject>)
-
onEnemySpawnedFromVent(EnemyVent, EnemyAI)
-
onApparatusTaken(LungProp)
-
onPlayerEnterDungeon(EntranceTeleport, PlayerControllerB)
-
onPlayerExitDungeon(EntranceTeleport, PlayerControllerB)
-
onPowerSwitchToggle(bool)
Default Configuration Options
* *LethalLevelLoader now provides five new global configuration options.*Default PreviewInfo Toggle
-
- Controls which Preview Info setting is used when previewing moons via the Terminal
MoonCatalogue
.
- Controls which Preview Info setting is used when previewing moons via the Terminal
Default SortInfo Toggle
-
- Controls which Sort Info setting is used when previewing moons via the Terminal
MoonCatalogue
.
- Controls which Sort Info setting is used when previewing moons via the Terminal
Default FilterInfo Toggle
-
- Controls which Filter Info setting is used when previewing moons via the Terminal
MoonCatalogue
.
- Controls which Filter Info setting is used when previewing moons via the Terminal
Default SimulateInfo Toggle
-
- Controls whether rarity is displayed as it's raw value or a calculated percentage while using the >simulate Terminal keyword.
All DungeonFlows Require Matching
-
- Experimental setting that forces
DungeonFlow
's requested by aSelectableLevel
to have a valid dynamic match. false by default.
- Experimental setting that forces
ExtendedLevel Automatic Configuration Options
* *LethalLevelLoader now provides automatically generated configuration options for all `ExtendedLevel`'s. This can be disabled by the author of the `ExtendedLevel` if they wish to provide these options themselves.*-
enableContentConfiguration
-
routePrice
-
daySpeedMultiplier
-
enablePlanetTime
-
isLevelHidden
-
isLevelRegistered
-
minimumScrapItemSpawnsCount
-
maxiumumScrapItemSpawnsCount
-
scrapSpawnsList
-
maximumInsideEnemyPowerCount
-
maxiumumOutsideDaytimeEnemyPowerCount
-
maximumOutsideNighttimeEnemyPowerCount
-
insideEnemiesList
-
outsideDaytimeEnemiesList
-
outsideNighttimeEnemiesList
ExtendedDungeonFlow Automatic Configuration Options
* *LethalLevelLoader now provides automatically generated configuration options for all `ExtendedDungeonFlow`'s. This can be disabled by the author of the `ExtendedDungeonFlow` if they wish to provide these options themselves.* * * * `EnableContentConfiguration` * * `manualContentSourceNameReferenceList` * * `manualPlanetNameReferenceList` * * `dynamicLevelTagsReferenceList` * * `dynamicRoutePriceReferenceList` * * `enableDynamicDungeonSizeRestriction` * * `minimumDungeonSizeMultiplier` * * `maximumDungeonSizeMultiplier` * * `restrictDungeonSizeScaler`Content Config Helper Functions
* *LethalLevelLoader now provides a variety of helper functions for parsing configuration strings into usuable data. These are used in the `ExtendedLevel` and `ExtendedDungeonFlow` automatic configuration options to ensure standardization.*-
List<StringWithRarity> ConvertToStringWithRarityList(string inputString, Vector2 clampRarity)
-
List<Vector2WithRarity> ConvertToVector2WithRarityList(string inputString, Vector2 clampRarity)
-
List<SpawnableEnemyWithRarity> ConvertToSpawnableEnemyWithRarityList(string inputString, Vector2 clampRarity)
-
List<SpawnableItemWithRarity> ConvertToSpawnableItemWithRarityList(string inputString, Vector2 clampRarity)
-
(string, string) SplitStringByIndexSeperator(string inputString)
-
(string, string) SplitStringByKeyPairSeperator(string inputString)
-
(string, string) SplitStringByVectorSeperator(string inputString)
Extensions
* *LethalLevelLoader now provides a variety of helper extensions to assist in creating content in Lethal Company.*-
DungeonFlow
List<Tile>GetTiles()
-
DungeonFlow
List<RandomMapObject>GetRandomMapObjects()
-
DungeonFlow
List<SpawnSyncedObject>GetSpawnSyncedObjects()
-
CompatibleNoun
AddReferences(TerminalKeyword, TerminalNode)
-
TerminalKeyword
AddCompatibleNoun(TerminalKeyword, TerminalNode)
-
TerminalNode
AddCompatibleNoun(TerminalKeyword, TerminalNoun)
Async AssetBundle Loading
* *LethalLevelLoader now loads `.lethalbundle`s asynchronously to improve load times while starting Lethal Company. The progress of the AssetBundle loading can be viewed on the initial game launch options screen.*Fixes
- The entire codebase has been refactored to streamline functionality, improve stability and reduce errors.
- As a safety fallback, LethalLevelLoader will now select the Facility DungeonFlow if there are no DungeonFlow's for the game to select from.
- Fixed a Lethal Company bug where game breaks for all clients if a client doesn't finish generating Dungen in one frame
- LethalLevelLoader now correctly restores references to base game ItemGroup's found in Custom DungeonFlow's
- LethalLevelLoader now correctly restores references to base game ReverbPresets's found in Custom SelectableLevel's and DungeonFlow's
- LethalLevelLoader now correctly restores references to base game AudioMixers's found in Custom SelectableLevel's and DungeonFlow's
- LethalLevelLoader now correctly restores references to base game AudioMixerController's found in Custom SelectableLevel's and DungeonFlow's
- LethalLevelLoader now correctly restores references to base game AudioMixerSnapshots's found in Custom SelectableLevel's and DungeonFlow's
- LethalLevelLoader now injects it's random DungeonFlow selection into Lethal Company's random DungeonFlow selection function to improve natural compatibility with other mods. (Thank you BananaPatcher714)
- LethalLevelLoader now injects custom DungeonFlow's into Lethal Company's DungeonFlowTypes array to improve natural compatibility with other mods. (Thank you BananaPatcher714)
- LethalLevelLoader now injects custom firstTimeDungeonAudio's into Lethal Company's DungeonAudios array to improve natural compatibility with other mods. (Thank you BananaPatcher714)
- LethalLevelLoader's dynamic dungeon rarity matching system was overhauled to ensure the highest matching rarity is used, rather than the first matching rarity.
- ExtendedLevel's
routePrice
value is now automatically synced with it's associated TerminalNode to ensure dynamic updates to route price are correctly set and reflected on the Terminal. - After references to base game content are restored by LethalLevelLoader, they are now destroyed to avoid issues with other mods obtaining assets via
Resources.FindObjectsOfType()
- Fixed an issue where Custom ExtendedLevel's failed to integrate into the game due to lacking
"FAUNA"
and"CONDITIONS"
in theirSelectableLevel.LevelDescription
- Modified how LethalLevelLoader accesses the Terminal in order to improve safety and stability in larger modpacks.
- Modified how LethalLevelLoader accesses TerminalNode's to avoid errors when playing Lethal Company in different languages. (Thanks Paradox75831004)
- *Fixed a Lethal Company bug where AudioSource's unintentionally log harmless AudioSpatializer related warnings in the console.
- Fixed an issue where LethalLevelLoader's dynamic dungeon size clamping was unintentionally being applied.
- Fixed an oversight where LethalLevelLoader was logging via Unity rather than Bepinex.
- Fixed an issue where
GetTiles()
could potentially trigger null reference exception errors. - Fixed major oversight where Game-Icons.net was not correctly attributed for LethalLevelLoader's logo
Version 1.0.7
- Overhauled Custom Level system to use dynamically injected scenes rather than dynamically injected prefabs (Thanks onionymous!)
Version 1.0.6
- Moved all logs from Unity.Debug() to BepInEx.ManualLogSauce.LogInfo()
- Modified Custom ExtendedLevel loading to initially disable all MeshColliders then reenable them asynchronously to vastly improve load times
- Slightly improved manualPlanetNameReferenceList comparison to improve suggested edgecases
- Fixed oversight were Terminal moonsListCatalogue was being displayed inaccurately compared to base game implementation
- Fixed issue were the NavMesh was incorrectly attempting to bake the Player Ship
Version 1.0.5
- Fixed issue related to SelectableLevel: March not being correctly loaded with it's intended DungeonFlow on additional visits
- Revamped manualPlanetNameReferenceList comparison to increase the likelyhood of user inputs working as intended
Version 1.0.4
- Updated LethalLib dependancy from 0.10.1 to 0.11.0
- Fixed issues related to SelectableLevel: March not being correctly loaded with it's intended DungeonFlow
- Fixed oversight were Custom DungeonFlow's were not having all SpawnSyncedObject's correctly restored
- Modified DungeonFlow_Patch levelTags check to increase odds of correctly matching user input
- Removed deprecated debug logs
Version 1.0.3
- Fixed issues caused by the v47 and v48 updates, specific changes will be listed below
- Fixed an oversight were ExtendedDungeonFlow dungeonID's were not being assigned correctly
- Changed ExtendedDungeonFlow.dungeonRarity variable name to ExtendedDungeonFlow.dungeonDefaultRarity for improved clarity
- Moved Prefix Patch Targets From RoundManager to StartOfRound to account for the order of execution changes made in v47
- Improved the EntranceTeleport patch to re-organise entranceID settings to avoid user error
- Fixed an oversight were PatchDungeonSize() incorrectly checked if the compared values were identical
- Moved a majority of public access modifiers to internal to prevent unintential use of internal classes
- Fixed an issue were DungeonFlow SpawnSyncObject's were failing to restore their Vanilla reference
- Changed ExtendedDungeonFlow.dungeonSizeMin and ExtendedDungeonFlow.dungeonSizeMaz to floats to improve usability
- Changed the way the basegame's internal variables are patched to resolve an issue where leaving the game would corrupt saves
- Improved debug logs for clarity
Version 1.0.2
- All Registering of Custom Content has been moved from the GameNetworkManager.Awake() Prefix to the GameNetworkManager.Start() Prefix to give developers safe access to Awake() if needed.
- AssetBundleLoader.specifiedFileExtension has now been changed to a public const to allow for improved referencing.
- ExtendedDungeonFlow's are now automatically registered with the Network when added using AssetBundleLoader.RegisterExtendedDungeonFlow()
- sourceName in ExtendedLevel and ExtendedDungeonFlow have been changed to contentSourceName, to improve clarity.
- Fixed an oversight where dungeonSizeMin was not being considered.
- Removed deprecated variables from ExtendedDungeonPreferences.
- Vector2WithRarity now correctly uses a Vector2, Allowing for improved usability in the Unity inspector.
- Variables in ExtendedDungeonPreferences have now been protected with properties, to allow for future validation options.
- Removed ExtendedDungeonPreferences, This has now been combined into ExtendedDungeonFlow for better usability and more streamlined referencing.
- Refactored ExtendedDungeonFlow to improve on visual organisation when viewed in the Unity inspector.
- Refactored ExtendedLevel to improve on visual organisation when viewed in the Unity inspector.
- Introduced ConfigHelper.ConvertToStringWithRarity() To assist with developers configeration creation.
- Cached Terminal.allTerminalKeywords for improved reference safetey.
- Adjusted Harmony Patch Priority Orders from 0 to 350.
Version 1.0.1
- Updated README
Version 1.0.0
- Initial Release