Instruments4Music
[Update: Fixes] This plugin aims to introduce some musical instruments to the Lethal Company. You can use items as instruments like in Genshin or Sky: CoL. Play them using your keyboard. Change key bi
About this mod Author’s original text
Instruments4Music
Introduction:
This plugin aims to introduce some musical instruments to the Lethal Company.
This plugin utilizes LethalCompany InputUtils for configuring key binds.
The developer has limited knowledge of C# or Unity, so this plugin may not work very well.
How to use:
Aim at a possible stationary instrument or holding a portable instrument and press "BackSpace" for 1 second.
Possible stationary instruments: Ship Horn, Light Switch, Pumpkin Head...
Possible portable instruments: Clown Horn, Air Horn, Air Blower...
Recommended: You can replace the origin audio with CustomSound and create your own instrument.
You can then play an instrument with the default key bindings:
| Note Name | C | D | E | F | G | H | I |
| ------------------- | - | - | - | - | - | - | - |
| Primary | | | | | | | |
| Higher | q | w | e | r | t | y | u |
| Mid | a | s | d | f | g | h | j |
| Lower | z | x | c | v | b | n | m |
| Secondary | | | | | | | |
| Higher | / | | | | | | |
| Mid | k | l |; | n | m |, |. |
| Lower | y | u | i | o | p | h | j |
- Press "Shift" to play semitone: C#, D#, F#, G#, A#
- Press "Ctrl" as the soft padel.
- Press "Space" as the sustain padel.
- Press "Tab" to switch to the secondary key binding scheme.
(The player can't move or interact in the primary mode, but is free in the secondary mode.)
- Press "Enter" to input an autoplay code, press again to start autoplay.
- Press "ESC" to exit playing mode.
- Press "\" (backslash) to switch to the secondary tune scheme.
A Demo Video
A Demo Bad Apple
Auto Play:
The design of autoplay code is more readable than simpler.
This is an example of the code for autoplay. (start from 02:55)
AutoPlay Demo
2.7,01030,,,,030,,,,032,,,,042,,,,0b030,,,,030,,,,030,,,,
010,,020,,0a030,,,,030,,,,032,,,,042,,,,0g052,,,,040,,,,030,,,,020,,,,
0f010,,,,010,,,,010,,,,022,,,,0e010,,,,010,,,,010,,,,050,,,,
0d010,,,,010,,020,,030,,020,,010,,,,0g010,,,,010,,020,,030,,020,,010,,020,,
0c030,,0g0,,0e030,,0g0,,0c032,,0g0,,0d042,,0g0,,0b030,,0g0,,0d030,,0g0,,0b030,,0g0,,
0c010,,020,,0a030,,0e0g0,,0c030,,0g0,,0a032,,0e0g0,,0c032,,040,,0g052,,0e0g0,,0c010,,0e0g0,,0g050,,040,,0c030,,0e020,,
0f010,,0c0g0,,0a010,,0c0g0,,0f010,,0c0g0,,0a052,,0c0g0,,0e0C0,,0c010,,0g050,,0c040,,0e030,,020,,0g010,,0c0g0,,
0d010,,0c0g0,,0f010,,0a020,,0d030,,020,,0f010,,0c0g0,,0g010,,0c0g0,,0c010,,0f050,,0g040,,030,,0b020,,,,
0c030,,0g0,,0e030,,0c0g0,,0c032,,0c0g0,,0f042,,0g0,,0b030,,0c0g0,,0d030,,0c0g0,,0e030,,0d0g0,,
0g010,,0d020,,0a030,,0e0a0,,0c030,,0e0a0,,0a032,,0e0a0,,0d042,,0e0a0,,0g052,,0c010,,0a0C0,,0f0,,0c050,,040,,0e030,,0d020,,
0f010,,0c0g0,,0f010,,0c0g0,,0g010,,0c0g0,,0a052,,,,0e0C0,,0d0,,0g050,,0c040,,0e030,,020,,0g010,,0c0g0,,
0d010,,0c0g0,,0f010,,0a020,,0d030,,020,,010,,0g0,,0g010,,0c0g0,,0c010,,0g050,,0f040,,0e033,,0c024,,,,,,
0c017,,0g0,,,,2g0,,,,2g0,,,,,,0c0
The first value, 2.7 is the playback speed. The higher the faster (similar to bmp somehow).
The other values, for example 0f012GA:
- The head number 0 controls the soft padel and the sustain padel.
| Value | IsSoft | IsSustaining |
| --- | --- | --- |
| 0 | false | false |
| 1 | false | true |
| 2 | true | false |
| 3 | true | true |
- The f0 means play Lower F for 1 cycle.
- The 12 means play Mid C for 3 cycles, at the same time.
- The GA means play Higher G# for 3 cycles, at the same time.
You can play a single note or multiple notes at the same time.
| Type | The Note |
| --- | --- |
| Lower note: | c, d, e, f, g, a, b |
| Mid note: | 1, 2, 3, 4, 5, 6, 7 |
| Higher note: | C, D, E, F, G, A, B |
- The hex number 0/2/A following the note represents the duration of the note, range 0-7.
When the note is a semitone, the duration number needs to be increased by 8.
| Semi? | The Hex Number |
| --- | --- |
| Duration | 0, 1, 2, 3, 4, 5, 6, 7 |
| Duration(#) | 8, 9, A, B, C, D, E, F |
- Use commas "," to separate the notes played in each cycle.
Future Plans:
- ✅Introduce more stationary or portable instruments.
- ✅Implement a user
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: