Skip to content

MegaPiggy/LethalExpansion

 
 

Repository files navigation

LethalExpansion

This mod is an expansion project to add several settings and features, it come with an SDK to add new Scraps and Moons yourself.
Thunderstore.io link

Features :

  • A mod menu with 28 settings to customize your game.
  • A support to load modules made with my SDK to add new Scraps and Moons. (More soon)
  • A new Moon Catalogue ready for modded moons.
  • A Landmine extension to finally allow players to drop heavy items on them to avoid explosion, based on the weight of the items. (Disabled by default)
  • An optional automatic deadline system that increase the lenght of the expedition as much as the quota increase. (Disabled by default)
  • Added a space light to see the orbited planet though the ship camera.
  • A network system to synchronize your settings with the host.
  • Compatible with vanilla players. (Follow the "Vanilla Compatibility" section)
  • Settings to display the clock in 24H format and carried weight in KG.

Download it on the Thunderstore

If you have any issue, please read the "Report a bug" section

Mod Menu Settings list :

  • GlobalTimeSpeedMultiplier: Change the global time speed.
  • LengthOfHours: Change amount of seconds in one hour.
  • NumberOfHours: Max lenght of an Expedition in hours. (Begin at 6 AM | 18 = Midnight)
  • DeadlineDaysAmount: Change amount of days for the Quota.
  • StartingCredits: Change amount of starting Credit.
  • MoonsRoutePricesMultiplier: Change the Cost of the Moon Routes.
  • StartingQuota: Change the starting Quota.
  • ScrapAmountMultiplier: Change the amount of Scraps in dungeons.
  • ScrapValueMultiplier: Change the value of Scraps.
  • MapSizeMultiplier: Change the size of the Dungeons. (Can crash when under 1.0)
  • PreventMineToExplodeWithItems: Prevent Landmines to explode by dropping items on them.
  • MineActivationWeight: Set the minimal weight to prevent Landmine's explosion (0.15 = 16 lb, Player = 2.0)
  • WeightUnit: Change the carried Weight unit : 0 = Pounds (lb), 1 = Kilograms (kg) and 2 = Both
  • ConvertPoundsToKilograms: Convert Pounds into Kilograms (16 lb = 7 kg) (Only effective if WeightUnit = 1)
  • PreventScrapWipeWhenAllPlayersDie: Prevent the Scraps Wipe when all players die.
  • 24HoursClock: Display a 24h clock instead of 12h.
  • ClockAlwaysVisible: Display clock while inside of the Ship.
  • AutomaticDeadline: Automatically increase the Deadline depending of the required quota.
  • AutomaticDeadlineStage: Increase the quota deadline of one day each time the quota exceeds this value.
  • LoadModules: Load SDK Modules that add new content to the game. Disable it to play with Vanilla players. (RESTART REQUIRED)
  • MaxItemsInShip: Change the Items cap can be kept in the ship.
  • ShowMoonWeatherInCatalogue: Display the current weather of Moons in the Terminal's Moon Catalogue.
  • ShowMoonRankInCatalogue: Display the rank of Moons in the Terminal's Moon Catalogue.
  • ShowMoonPriceInCatalogue: Display the route price of Moons in the Terminal's Moon Catalogue.
  • QuotaIncreaseSteepness: Change the Quota Increase Steepness. (Highter = less steep exponential increase)
  • QuotaBaseIncrease: Change the Quota Base Increase.
  • KickPlayerWithoutMod: Kick the players without Lethal Expansion installer. (Will be kicked anyway if LoadModules is True)
  • BrutalCompanyPlusCompatibility: Leave Brutal Company Plus control the Quota settings.

Vanilla Compatibility :

To make the mod compatible with vanilla players, keep default every setting that have "Mod required by client: Yes" in their description. (Keep mouse on a setting to see it's description) Mod Menu 2

Recommended Mods :

LandmineFix by TheBeeTeam is recommended in order to use the PreventMineToExplodeWithItems setting.

Report a bug :

I will maybe open a Discord for support if the mod gets a lot of users, meanwhile you can use the github's issue tab. Please enable the fellowing settings in the "BepInEx.cfg" setting file from the "Lethal Company\BepInEx\config" folder:

[Logging]
UnityLogListening = true
[Logging.Console]
Enabled = true
[Logging.Disk]
WriteUnityLog = true

Then send the "LogOutput.log" file from the "Lethal Company\BepInEx" folder in the bug report.

Known issues :

  • Hoarding big killed when grabbed an item from a mine don't drop the item that make it irrecoverable.
  • When deadline remaining days is over 3 days, outside monsters spawn more.
  • Landmines stills bip if a player walk on them when theres already an item placed on it.
  • Landmine instand explode when a player walk on them (Vanilla bug).
  • Kicking a client after timeout is not working.

Changes :

  • 1.3.6
    • Added Lethal Adjustments Compatibility.
  • 1.3.5
    • Fixed missing saplin star in Christmas Village. (This is extremely important right ? :P Thanks to MegaPiggy to noticed it was missing)
  • 1.3.4
    • Tiny improvements and additions to Christmas Village.
  • 1.3.3
    • Fixed Item Drop Ship dummy don't dispawn.
    • Fixed mistake that concider the dungeons as outside.
  • 1.3.2
    • Fixed new moon's Item Drop Ship doesn't unloads and keep it's position on the next moons.
  • 1.3.1
    • Added Entrance ScanNode to Christmas village.
  • 1.3.0
    • Fixed Item Drop Ship networking of new moons.
    • Added Christmas Village Moon.
    • Fixed clock doesn't showing when leaving dungeon.
    • Fixed water sound don't stopping when entering dungeon.
    • Fixed terrain crash with a lot of GPU Instanced details.
    • Fixed terrain holes support.
    • Improved water surface support.
    • Fixed issue with host/client validation when no module are loaded.
    • Fixed material issue with Eclipsed weather of new moons.
    • Fixed error when looking at an opened Item Dropship.
    • Fixed description error in QuotaSteepness setting.
    • Added experimental Ladder support for new moons.
  • 1.2.16
    • Compatibility patch for MoonOfTheDay mod.
  • 1.2.15
    • Removed a debuging test i forgot that made the seed always same. (thanks to @MaxWasUnavailable to noticed it)
  • 1.2.14
    • Attempt to fix generation desync once and for all! (Thanks to Olskor to helped me with this issue)
  • 1.2.13
    • Attempt to fix issue preventing to join someone already orbitting a modded moon.
    • Temporarily disabled the Version checker popup that was appearing sometimes outside of the Main Menu.
  • 1.2.12
    • Attempt to fix Weather desync.
  • 1.2.11
    • Fixed inside monsters spawning outside in custom moons.
  • 1.2.10
    • Fixed broken quota settings from 1.2.7.
  • 1.2.9
    • Reworked the assetbundles loading (again).
    • Fixed audio file registered with another name don't register properly.
  • 1.2.8
    • Ajusted default spawn weight for new scraps.
    • Ajusted version checker.
  • 1.2.7
    • Overall micro optimizations of assets made with SDK.
    • Wateridge optimization first pass.
    • Added Brutal Company Plus Compatibility.
    • Several improvement in scrap and moon loaders.
    • Security against template module overwrite.
    • Added a timeout before kick clients who don't answer to network sync packets (Not working).
    • Improved Configurable Popups focus.
    • Fixed external scan nodes.
    • Fixed custom audio files importation issues.
  • 1.2.6
    • More retrocompatibility with outdated modules.
    • Fixing some exceptions when missing ScanNode on new scraps.
  • 1.2.5
    • Better sound loader for new scraps and SDK asset banks.
  • 1.2.4
    • Added two settings to configure the quota increment.
    • Finished the Workaround for moons made with old versions of the SDK.
  • 1.2.3
    • Added a Workaround to keep minimal compatibility with moons made with old versions of the SDK and avoid crashing.
  • 1.2.2
    • Forgot to change the version number, occuring to always tell the mod is outdated.
    • Added a second fire exit to Wateridge to test the Fire Exit Amount implementation of the SDK
  • 1.2.1
    • Removed a debug message.
    • Nerfed Wateridge (less scraps, enemies spawn sooner).
  • 1.2.0
    • Network sync Rework (should fix the map generation desync).
    • Added a workaround when playing with HDLethalCompany and using new moons with a missing Volume Profile.
    • Added support for more Fire Exits in maps done with SDK.
    • Added Item Drop Ship support for moons done with SDK.
    • Fixed an issue that could break the new moons loading when missing modules.
    • Increased the mods setting menu size to be able to read the last settings' description.
    • Added settings to show or hide the Moons Current Weather, Dangeer Rank and Route Price.
    • Removed the Labyrinth added the Company Building, it was a test.
    • Added mod version to the Main Menu (compatible with MoreCompany).
    • Added a Configurable Popup hud for Contextual Notifications. :
    • Added a Version Checker.
    • Fixed Moon Route prices getting wrong after returned to Main Menu then joined a new Lobby.
  • 1.1.9 :
    • Fixed terrain shader making the game crash when loading a moon with a terrain.
  • 1.1.8 :
    • Fixed urgent bug with the new Modules loader.
  • 1.1.7 :
    • Reworked the Modules loader to make it compatible with LC_API and R2Modman.
    • New file extension for Modules.
  • 1.1.6 :
    • Renamed the Old Sea Port moon into Wateridge
    • Added Orbit prefab and description for Wateridge
    • Edited Wateridge scraps and monsters.
    • Fixed network desync with global time speed.
    • Added auto scroll in ship main monitor to see read text.
    • Fixed an issue that prevent the new moons to load after returned from lobby to main menu.
  • 1.1.5 :
    • Support for 1.1.5 version of SDK.
    • Minor fixes.
  • 1.1.4 :
    • Game Version 45 Ready.
    • Added some error catches for SDK.
  • 1.1.3 :
    • Fixed bundle loading issue.
  • 1.1.2 :
    • Fixed new landmine system wasn't working.
    • Fixed orbited moons stopping to show after leaving the Company Building.
  • 1.1.1 :
    • Fixed critical issue that prevent the mod to load.
  • 1.1.0 :
    • Support for 1.1.0 version of SDK (Full custom moons support)
    • Removed useless assets and compressed the main skybox
  • 1.0.1 : Removed useless patches

Planned features :

  • New landmine system network rework
  • Mod version compatibility checker

Credits :

- Template Scraps :
	- https://assetstore.unity.com/packages/3d/props/tools/survival-game-tools-139872
- Wateridge Moon :
	- https://assetstore.unity.com/packages/3d/environments/old-sea-port-environment-36897
- Christmas Village Moon :
	- Pixabay
	- https://youtu.be/n8xGzkizA34
	- https://assetstore.unity.com/packages/3d/environments/landscapes/flatpoly-winter-village-51544
	- https://assetstore.unity.com/packages/3d/environments/landscapes/lowpoly-style-free-rocks-and-plants-145133
	- https://assetstore.unity.com/packages/3d/environments/low-poly-woods-lifestyle-65306
	- https://assetstore.unity.com/packages/3d/props/pbr-christmas-gifts-237877
	- https://assetstore.unity.com/packages/3d/props/free-christmas-assets-low-poly-13102
	- https://assetstore.unity.com/packages/3d/props/food/christmas-cookies-breakable-105913
	- https://assetstore.unity.com/packages/3d/props/free-christmas-presents-low-poly-24356

More screenshots :

Scraps2 Scraps1 MoonCatalogue NewMoon1 NewMoon2

About

LethalExpansion Mod

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C# 100.0%