You are viewing a potentially older version of this package. View all versions.
Kesomannen-KeepItDown-1.2.1 icon

KeepItDown

Volume tuning mod for various sounds in the game.

Date uploaded 5 months ago
Version 1.2.1
Download link Kesomannen-KeepItDown-1.2.1.zip
Downloads 1303
Dependency string Kesomannen-KeepItDown-1.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

README

Keep It Down

Simple volume tuning mod for Lethal Company. The settings can be edited either through the ingame UI, or through BepInEx config.

Mod Settings Window

Installation

Go to the thunderstore page to get the latest version. If you choose to do download manually, simply add KeepItDown.dll to your /BepInEx/plugins folder under the game directory. Note that LethalSettings is required as a dependency.

For Developers

You can add your own configs for custom mods extremely easily.

  1. Reference the KeepItDown assembly and add the plugin as a dependency.
[BepInDependency(KeepItDown.PluginInfo.PLUGIN_GUID)]
public class MyPlugin : BaseUnityPlugin {
  ...
}
  1. For each config, call KeepItDownPlugin.AddConfig with a unique key.
public class MyPlugin : BaseUnityPlugin {
  void Awake() {
    KeepItDownPlugin.AddConfig("CowMoo");
  }
}
  1. Finally, bind AudioSources with KeepItDownPlugin.BindAudioSource, to have their volumes synced with the config. Config values are relative (from 0-200% of the base volume), so you can tweak the AudioSource's volume freely.
public class CowEnemy : EnemyAI {
  [SerializeField] AudioSource _mooAudioSource;

  void Awake() {
    KeepItDownPlugin.BindAudioSource("CowMoo", _mooAudioSource);
  }
}

CHANGELOG

Changelog

1.4.0 (2024-04-16)

  • Added 3 volume configs:
    • OldBird
    • SpikeTrap
    • EasterEgg

1.3.1 (2024-03-18)

  • Fixed error when running without LethalSettings

1.3.0 (2024-03-01)

  • Added LethalConfig support (limited)
  • Added LethalConfig as a soft dependency
  • Made LethalSettings a soft dependency
  • Added TV volume config
  • Removed API (since it wasn't working anyway)

1.2.1 (2024-02-25)

  • Added 5 volume configs:

    • Jester,
    • Thunder
    • WhoopieCushion
    • ExtensionLadder
    • Turret
  • Improved documentation

1.2.0 (2024-02-24)

  • Readded search feature
  • Added 12 volume configs:
    • Scan
    • Spraycan
    • Dentures
    • RobotToy
    • Hairdryer
    • Jetpack
    • RadarBoosterPing
    • ShipAlarm
    • ShipAlarmCord
    • ItemCharger
    • Shovel
    • RubberDucky
    • Landmine

1.1.1 (2024-02-19)

  • Added support for adding volume configs to other config files
  • Renamed volume config "HUD" to "Scan"
  • Removed search feature

1.1.0 (2024-02-19)

  • Added reset button
  • Added XML comments
  • Fixed bindings not being removed when GameObjects are destroyed

1.0.0 (2024-02-18)

  • Released mod