LethalCompanyVariables
(Vanilla-compatible) Create your own custom experience or challenge modifying everything from the game (such as moons settings and costs, items, player stats, quota, gameplay, enemies, weather...). All with an in-game menu and for each save file.
Date uploaded | 4 months ago |
Version | 2.4.1 |
Download link | AMRV-LethalCompanyVariables-2.4.1.zip |
Downloads | 10498 |
Dependency string | AMRV-LethalCompanyVariables-2.4.1 |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100AMRV-ConfigurableCompany
A robust and powerful API for configuration handling and synchronization in real time. Create file-dependant configurations that can be changed while in game by the players. (The developer MUST implement their own configurations)
Preferred version: 3.5.0README
Lethal company variables
This mod allows the user (you) to modify the game to your liking. All within the game with a configuration menu that allows you to have different settings on each save file.
There are still plenty of configurations im planning to add in the future. You can submit your suggestions by contacting me or in the corresponding thread in the Lethal company modding discord.
PRO TIP If you decide to contact using the discord, make sure you ask in the corresponding channel, to navigate to it look up for a channel called mod-releases and search Lethal company variables.
To access the in-game menu, click the host button, you will be able to see the menu at the top-left of the screen, this is because you can change configurations for each individual save file you have. (Keep in mind, in-game does not mean mid-game, you can only modify configurations while in the main menu)
[Host
]: Only the host of the game needs the mod.
[Host
& Client
] Both host and the client need the mod installed. (Configuration will sync automatically).
The list of options you can modify:
Enemies
-
Enemy spawn multiplier [
Host
]Modifies the amount of enemies that spawns each in-game hour. You can add a multiplier per player.
Keep in mind that there are two other limit for the amount of enemies that can be spawned, those are Enemy power level and Enemy capacity.WARNING
This configuration does not affect the spawn of turrets or landmines, you should use it's configuration. -
Enemy spawn range [
Host
]Clamps the minimum and maximum amount of enemies that can spawn at the same time or in the same batch of enemies.
This value is not affected by Enemy spawn multiplier settings. -
Starting enemies [
Host
]Change the amount of enemies that will be on the planet when you land. This value is not affected by Enemy spawn multiplier settings.
-
Enemy power [
Host
]Modifies the power that each enemy uses when spawning. You can also modify the maximum power of enemies for each level.
-
Enemy capacity [
Host
]Modifies the maximum amount of each individual enemy. For example there is a maximum of 5 coil-heads in the level, now you can modify that!
Items
-
Weight [
Host
&Client
]Allows you to modify the weight of every single item, scrap and shop items
-
Shop price [
Host
&Client
]This configuration allows you to set the buy price for every buyable item in the game
-
Scrap value [
Host
]Modifies the scrap value range (minimum and maximum value) for the scrap items in the facility
This only affects static scraps and items such as hives and the apparatus might not be affected
Gameplay
-
Deadline days [
Host
]Changes the amount of days you have to fulfill the quota.
-
Starting quota [
Host
]Sets the quota that the game starts with, this value is only used then you create the game file.
-
Quota increase base [
Host
]Sets the quota that will be added after each completed deadline. Keep in mind that this is the base value and will be scaled according to the rest of the configuration.
-
Quota steepness [
Host
]Smooths out how much quota is raised after each deadline. Higher values mean the quota will raise slower.
-
Quota multiplier [
Host
]Allows to modify how much quota is added after each deadline by multiplying the
increase base
. You can also add a multiplier per player. -
Starting money [
Host
]Allows you to customize the amount of money you start the game with
-
Player death penalty [
Host
&Client
]Changes the percent of credits that you lose for each individual death (setting it to 100% will clear all your money, even if just one player dies and their body is not recovered)
-
Ship door power [
Host
]Modifies how long can the ship door remain closed.
Greater values mean the door will remain closed for a longer time before overheating, thus automatically opening. -
Time speed [
Host
]Allows you to change the speed at which the day passes. Higher values mean the day will last less.
-
Time speed mode [
Host
&Client
]Changes how hours should elapse in the game, has two modes.
- Balanced: Works as vanilla, the day starts the moment you enter on a planet.
- Fixed: Time won't pass until the ship lands.
Extras
-
Experience multiplier [
Host
&Client
]Allows to modify how much experience you earn by playing. (Keep in mind experience can be both gained or lost and this multiplier will affect both).
-
Disable ship item limit [
Host
]Disables the default limit of items inside the ship.
-
Always display clock [
Host
&Client
]This setting will make the moon-clock be always on display after landing on a planet.
Planets
-
Turret spawn multiplier [
Host
]Changes the amount of turrets that can spawn with the level (high values will grant at least one spawn)
-
Landmine spawn multiplier [
Host
]Changes the amount of landmines that can spawn with the level (high values will grant at least one spawn)
-
Weather selection mode [
Host
&Client
]Change the algorithm used to determine the weather of the planets.
- Disabled: The vanilla algorithm is used and configurations are ignored.
- Simple: Weather is choosen based on a normal probability.
- Complex: Weather is choose based on normal probability but it gets harder the better you play.
-
Allow every weather [
Host
&Client
]Allows every planet to have any weather (Keep in mind that this might be unfair in some maps with specific weathers).
-
Weather probabilities [
Host
&Client
]Set the probability or weight chance for any weather to occur, you can set this value globally or individually for each planet.
-
Scrap price multiplier [
Host
]Changes the value of the scrap. This works for every kind of scrap, even items such as Keys and the Apparatus
You can modify this value globally or for each individual moon.
-
Scrap amount multiplier [
Host
]Changes the amount of scrap that spawns in the level, this only counts towards dynamic scrap so items such as the apparatus and beehives are not affected.
-
Factory size [
Host
&Client
]Modify the interior size of each level individually.
-
Enemy power [
Host
]Change the maximum amount of power that the level can have, you can set this value individually for indoors and outdoors.
-
Scrap amount [
Host
]Modifies the minimum and maximum amount of scrap that will appear in the level.
(Does not change the amount of beehives, apparatus or other static scrap) -
Route price override [
Host
&Client
]This configuration lets you change the cost to travel to a specific moon, this setting works as an override so disabling it will mean that the vanilla value is used, otherwise (if enabled) it will use whaterver value you set and ignore vanilla behavior for that moon.
-
Enemy spawning [
Host
]Change the probability for each enemy to spawn in the level. You can even allow custom enemies to spawn in custom moons.
INFO
If LCV can't detect the probability of an enemy, it will not be taken into consideration unless you enable it.
Player
-
Player jump force [
Host
&Client
]Make players jump higher by appliying a force.
(This does not prevent fall damage). -
Sprint duration [
Host
&Client
]Makes the player sprint last longer but comes with the downside that it will also take longer to recover.
-
Movement speed [
Host
&Client
]Change the walking and sprinting speed of the player.
(This does not affect swimming or climbing speeds) -
Defense [
Host
&Client
]Makes the player take less damage from all sources by applying a reduction of damage. However enemies that would normally insta-kill the player such as the Forest keeper or the Earth leviathan won't have a damage reduction.
-
Health [
Host
&Client
]Change the player's health. Keep in mind player regeneration thereshold will still be at 20 points of health.
This mod makes use of my other mod ConfigurableCompany. If you are a modder, you might want to look at it ;)
Compatibility
No compatibility issues.
Every mod that adds a new enemy is compatible and the eneny will be shown in the config.
If you find any, contact me and will be fixed asap.
WARNING
Keep in mind if another mod changes the same features as this mod, these settings might not work.
Additional info
If you find any issue or have any suggestion, feel free to contact me or ask in the discord's corresponding channel.
CHANGELOG
2.7.0
Added
- Randomizer now produces more coherent and balanced values
Fixed
- Synchronization issues regarding compatibility with other mods
- Randomizer errors
- Compatibility with v65
- Beehives and apparatus x2 value
- Floating vents (attempted, can't reproduce the issue anymore)
2.6.3
Fixed
- Apparatus now wont show its value
- Scrap value wont get multiplied x2 by default
- Removed useless debug logs
2.6.2
Fixed
- Updated scrap value and amount calculations and multiplications to prevent duplications
- Scrap amount and value should be appended among multiplications made by other mods
2.6.1
Fixed
- Global scrap value multiplier applying more than once
2.6.0
Added
- New challenge seed
CHALLENGE
- Configuration for risk level text
Modified
- Tooltip for one handed and two handed items
- Level, item and enemy configs updated for v64
Fixed
- Moon route price not working sometimes
- Enemies not spawning when max quota days changes
- Scrap value multiplier per level not working
- Code optimizations
2.5.2
Updated
- Values for v61 for enemies
- Values for v61 for items
- Values for v61 for enemies
2.5.1
Fixed
- Removed unnecesary logs
2.5.0
Added
- Configuration for item's batteries
- Configuration for item probability per level
- Configuration for item conductivity
- Configuration for vein shroud spread in levels
- Configuration to force a seed for the game
- Added some special seeds
Fixed
- Updated priority for moon route prices
- Removed unnecesary production logs
- Masked enemy incorrectly marked as outside enemy
- Added enemy vanilla check
- Fixed enemy spawn type label error
- Fixed custom randomizers
Modified
- Item modifications now can be toggled and will be disabled for non-vanilla items
- Updated configuration application for enemies and items per level
2.4.1
Added
- Configuration to globally change factory size [Thanks friskzips]
Fixed
- Fixed mod not working if any section breaks
- Fixed enemy spawning breaking due to invalid external enemies
2.4.0
Added
- Added DISABLED mode for daytime speed to prevent LCV from altering the vanilla behavior
- Added configuration for individual item weight
- Added configuration for scrap value multiplication for individual levels
- Added option to allow picking up items before game starts
- Added configuration for moon route prices
- Added internal framework for better IL modifications
- Added configuration for quota overtime bonus
- Added configuration for scrap worth
Fixed
- Fixed enemy power not reflecting configured value
- Fixed trap multiplier not working correctly
- Fixed quota not synchronizing with vanilla clients
- Fixed incompatibility with LLL where enemies would not change configs
- Fixed incompatibility with LLL where moons would not change configs
- Fixed randomization on some configs resulting on errors
- Fixed incompatibility with Starlanzed mod causing enemy defaults to being wrong
- Fixed IL framework erros
Modified
- Externalized compatibility for enemies, levels and items
- Optimized configuration application for moon enemies
2.3.2
Fixed
- Added compatibility for latest version of Lethal Level Loader
- Synchronization issues with daytime speed multipliers
2.3.1
Fixed
- Issue that made players inmortal when a low defense setting was applied
2.3.0
Fixed
- Preloaders won't fail if the method already exists
- Enemy spawn multiplier now will be clamped among other enemy spawning related configurations
- Fixed Centipede enemy type not registering for vanilla planets
- Fixed factory size not synchronizing
Modified
- Enemy spawns now won't be clamped by the amount of vents in the level. New vents will be created to spawn those enemies.
Added
- Configurations for player stats:
health
,defense
,sprint
,jump force
andmovement speed
- Reintroduced configuration to hide all weathers
- Added extra configuration to always display the in-game clock
2.2.1
Fixed
- Error making enemies not spawning if you changed the deadline
2.2.0
Modified
- Updated default configuration values for moon-related settings
- Updated default configuration values for enemy-related settings
- Added new moons to configurable list
Fixed
- Traps not loading correctly
- Enemy power usage has been updated to work with decimal values
Added
- Made configuration for the newest trap (spike root trap)
- Global multipliers for individual enemy spawning
2.1.0
Fixed
- v50 is now the supported version, older versions of lethal company are no longer supported.
2.0.5
Fixed
- Added safety measures to prevent configuration locking
2.0.4
Fixed
- [Regresion] fixed default scrap value multiplication using incorrect value
- Fixed null pointer when registering non-compatible planets from LEC
2.0.3
Fixed
- Patch loading now uses a lazy load to prevent full crash when a component fails [Thanks rtfreal for the help testing in v50]
2.0.2
Fixed
- Error when the used didnt have LethalLevelLoader
2.0.1
Fixed
- Fixed patcher preloader not applying due to bad route
- Fixed assembly versioning
2.0.0
Modified
- Now makes use of the new ConfigurableCompany 3.0 API
- Individualized settings for each moon
- Reworked
daytime speed
,weather probability
andenemy spawning
configurations. - Reworked project structure and internals
- Configurations are now split in different pages for better organization
Added
- Added LethalLevelLoader compatibility for custom moons
- Added
scrap amount range
so levels will have at least and at most the values in the provided range - Added
enemy spawn range
to clamp the spawns to a minimum and a maximum
Fixed
- Compatibility issues with players without the mod and weather disalignment
- Daytime speed problems with players without the mod
- Fixed compatibility with a lot of custom enemy mods
1.9.0
Added
Individual enemy cap
settings to configure how many enemies of any type can spawnMin enemies to spawn
configuration for a more reliable challengeStarting enemies
configuration to set a minimum amount of enemies to spawn in the level
Fixed
- Error when all weather chances were set to 0
- No weather probability now works correctly without the
Allow every weather
option
Modified
Enemy spawn configurations
are now split between outside and inside enemies- Patches now will execute after other mods so they will override their settings (or amplificate them)
1.8.2
Fixed
- Weather chances not syncing when the users joins a host without opening the menu
1.8.1
Fixed
- Fixed soft crash when a planet did not have weathers
- Fixed outside enemy spawn probabilities not applying
1.8.0
Added
- Configuration
Weather probability override
allows the user to set the probabilities more consistently. - Configuration
Allow every weather
allows any weather on any planet. - Configuration
Turret spawn multiplier
to allow to change the amount of turrets on each level. - Configuration
Landmine spawn multiplier
to allow to change the amount of landmines on each level.
Fixed
- Weather changes are now more reliable
1.7.4
Added
- New configurations for
Daytime speed
andDaytime speed mode
.
1.7.3
Fixed
- Quota variables now follow the vanilla game scaling (a more consistant raise)
Modified
- Added an image of how the menu looks like in the readme
1.7.2
Fixed
- Fixed an oppsie when adding the failsafe that made the mod not patch methods correctly
1.7.1
Fixed
- Added a patch for compatibility with Don't touch me
- Now those mods without compatibility won't crash (added a failsafe)
1.7.0
Added
- New configuration for starting quota, quota increase and quota exponential increase
Modified
- Changed the mod icon. Do you like it?
- Experience multiplier is no longer considered experimental
1.6.0
Added
- New configuration to modify weather chances
Fixed
- Added missing information to the mod readme
Modified
- Updated mod descriptions
- Updated ConfigurableCompany dependency
1.5.4
Added
- New configuration Experience multiplier to modify the amount of experience you earn/lose while playing. After testing seems to work correctly, however is marked as experimental just in case I missed something during sync
Modified
- Configurations now display on their correct page
1.5.3
Nothing added, just and update to make people know the mod works correctly
1.5.2
Added
- Compatibility with v47
Fixed
- Code cleanup
1.5.1
Fixed
- Fixed enemy spawn probability not syncing with configuration value between matches
1.5.0
Added
- Individual enemy spawn probabilities
Modified
- Changed ship door config description to clarity what it does [Thanks to @rayneontop]
Fixed
- Modifying deadline days on an already existing game could cause enemies to now spawn
1.4.2
Fixed
- Corrected scrap value multiplication
1.4.1
Fixed
- Beehives now correctly show their scrap value multiplied
1.4.0
Fixed
- Fixed scrap multiplier to correctly calculate scrap values
- Now the scrap price multiplier affects items such as keys and the lung apparatus
- Project cleanup
1.3.0
Added
- Configuration to disable signal translator limit (terminal input limit remains)
Fixed
- Made sure every configuration works correctly with the new Config API, this includes changes to
- Enemy power and capacity wont overflow themselves anymore
- Changing the quota deadline wont break enemy spawn
- Weather is now hided correctly in the planet description
- Correctly set death penalty display