
You are viewing a potentially older version of this package. View Latest Version

A per-moon enemy spawning customization mod. Please request features or report issues here
You must host or join a game at least once to generate the configuration files. Any missing or deleted files will be generated with the default options. Complex config options:
AnimationCurve - Represents a curve comprised of Keyframes. Each frame represents a key, and a value at that key(generally time).
key:value) separated by commasThere are 3 different enemy configuration files:
Enemies.cfg - Responsible for all enemies that spawn inside.DaytimeEnemies.cfg - Responsible for enemies that can spawn outside, but normally passive ones.OutsideEnemies.cfg - Responsible for all enemies that can spawn outside, but normally hostile ones.
These configuration files do not interfere with each other, meaning enemies spawned based on one config will not count towards settings from another config(such as MaxEnemyCount).
OptionsEnabled - Allow/Disallow this config to modify enemy spawning. You must enable this option to change enemy spawning behavior.MaxPowerCount - Maximum total power allowed for this category of enemies. Different enemy types have different power levels. The total power of a level is the sum of the power levels of all existing enemies.SpawnAmountCurve - An AnimationCurve from 0 to 1. The key represents the percentage of time progressed in the current level. The value is the amount of enemies to spawn at the given time.SpawnAmountRange - The range of enemies that can spawn. A value of 3 means that 3 more or 3 less enemies can spawn, based on the value returned by the SpawnAmountCurve.Rarity - The weight given to this enemy vs other enemiesMaxEnemyCount - The total amount of enemies of the given type that can spawnPowerLevel - How much power an enemy of the given type counts forSpawnCurve - An AnimationCurve from 0 to 1. The key represents the percentage of time progressed, much like SpawnChanceCurve. The value normally ranges from 0 to 1, and is multiplied by Rarity to find the weight.SpawnFalloffCurve - An AnimationCurve describing how many enemies already exist, and the multiplier to use when determining the value of SpawnChanceCurveUseSpawnFalloff - If true, then the resulting value from the SpawnFalloffCurve will be multiplied with the value from SpawnCurveExceptions:
OutsideEnemies.cfg option SpawnChanceRange has a hardcoded value of 3 in-game, and cannot be changedThe enemy spawn logic in Lethal Company is a bit complex, and there are many additional variables that I did not make configurable. It would require a fairly large recode, and it would be more likely to cause problems with other mods. That said, here are some basic things to keep in mind when configuring enemy spawning:
weight of enemy type / total weight, where the total weight is the sum of the weights of all enemy typesrarity * spawn chance at the current time . If UseSpawnFalloff is enabled(like baboon hawks), then it is rarity * spawn chance at the current time * spawn falloff multiplier at the current time.