You are viewing a potentially older version of this package. View all versions.
AMRV-LethalCompanyVariables-2.2.1 icon

LethalCompanyVariables

Customize everything of the game with options such as enemy spawning, starting money, death penalty, enemy spawn probabilities, scrap spawn and value, weather chances, quota, day speed and many more options. All with an in-game menu and for each save file.

Date uploaded 3 weeks ago
Version 2.2.1
Download link AMRV-LethalCompanyVariables-2.2.1.zip
Downloads 11438
Dependency string AMRV-LethalCompanyVariables-2.2.1

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
AMRV-ConfigurableCompany-3.3.0 icon
AMRV-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.3.0

README

Lethal company variables

Contact me
Compatibility

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)

Ingame image of the configuration 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:

  • 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!


  • 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.

  • 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.


  • 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

  • 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)

  • 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.

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

the_ansuz

Modding discord

If you find any issue or have any suggestion, feel free to contact me or ask in the discord's corresponding channel.

CHANGELOG

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 and movement 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 and enemy 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 spawn
  • Min enemies to spawn configuration for a more reliable challenge
  • Starting 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 and Daytime 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