KeepItDown
Volume tuning mod for various sounds in the game.
| Last updated | 16 hours ago |
| Total downloads | 1386 |
| Total rating | 4 |
| Categories | Client-side Audio BepInEx Mods |
| Dependency string | Kesomannen-KeepItDown-1.2.1 |
| Dependants | 3 other packages depend on this package |
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.2100willis81808-LethalSettings
A centralized place for configuring mods from in-game
Preferred version: 1.4.0README
Keep It Down
Simple volume tuning mod for Lethal Company. The settings can be edited either through the ingame UI, or through BepInEx config.
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.
- Reference the
KeepItDownassembly and add the plugin as a dependency.
[BepInDependency(KeepItDown.PluginInfo.PLUGIN_GUID)]
public class MyPlugin : BaseUnityPlugin {
...
}
- For each config, call
KeepItDownPlugin.AddConfigwith a unique key.
public class MyPlugin : BaseUnityPlugin {
void Awake() {
KeepItDownPlugin.AddConfig("CowMoo");
}
}
- 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);
}
}