You are viewing a potentially older version of this package. View all versions.
Dastan-RandomSounds-1.2.0 icon

RandomSounds

Lethal Company mod to play random custom sounds synchronously between players.

Date uploaded a year ago
Version 1.2.0
Download link Dastan-RandomSounds-1.2.0.zip
Downloads 922
Dependency string Dastan-RandomSounds-1.2.0

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

RandomSounds

Lethal Company mod that lets you add custom sounds to the game. All of the sounds of a specific audio are randomly choosen and played synchronously between the players (if they have the mod too and the same custom audios).

Install

  • Install with a Mod Manager

OR

  1. Make sure you have BepInEx & LCSoundTool installed.
  2. Move RandomSounds.dll and RandomSounds into ...\Lethal Company\BepInEx\plugins.

Add sounds

You must create a folder named after the audio you want to add sounds to. Then add your audio files in the folder.

Example: ...\plugins\RandomSounds\ClownHorn1\Clown.mp3

Edit weights

You can customize the weight of each sound. Create a file weights.json in on of the audio folder and set the weights you want.

For example, if you have 2 custom sounds AirHorn1\Funny1.mp3 & AirHorn1\Funny1.mp3.

Here is an example of weights.json:

[
	{
		"sound": "Funny1",
		"weight": 5,
	},
	{
		"sound": "Funny2",
		"weight": 2,
	},
	{
		"sound": "original", // reserved word for the original sound
		"weight": 0, // 0 or negative number to disable the sound
	}
]

Tip

You can use LCSoundTool and its F5 logging feature to identify the name of the audio you want to replace.

CHANGELOG

Changelog

v1.4.0

Remove LC_API dependency

v1.3.0

Fix for v50

v1.2.0

Fixed some audio sources not being replaced.

v1.1.0

Added "weighted" sounds feature.

v1.0.0

First release.