9_7_8-loaforcsSoundAPI_LethalCompany_v81_Fork icon

loaforcsSoundAPI LethalCompany v81 Fork

loaforc's Lethal Company bindings for SoundAPI, rebuilt for v81. Removed at once if the creator asks.

Last updated an hour ago
Total downloads 10
Total rating 0 
Categories Mods Tools Libraries Audio Client-side AI Generated
Dependency string 9_7_8-loaforcsSoundAPI_LethalCompany_v81_Fork-81.0.0
Dependants 0 other packages depend on this package

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
loaforc-loaforcsSoundAPI-2.0.13 icon
loaforc-loaforcsSoundAPI

A general use library to replace sounds in Unity games.

Preferred version: 2.0.13

README

This fork will be taken down immediately if loaforc (SoundAPI's creator) asks. It exists only so an amazing mod keeps working on newer versions of Lethal Company. All credit for SoundAPI and these bindings goes to loaforc and its contributors. If an official update for v81 comes out, use that instead.

loaforcsSoundAPI LethalCompany v81 Fork

The Lethal Company bindings for loaforcsSoundAPI 1.0.2, rebuilt for Lethal Company v81. Everything below the line is the original README.

What this fork changes (v81)

  • Rebuilt against v81's game code and LethalLevelLoader 1.7. 1.0.2 was built for older game code: on v81, its patch on RoundManager.GenerateNewFloor failed every landing with TypeLoadException (it feeds the sound report's dungeon and moon lists).
  • No warning without LethalLevelLoader. HarmonyX used to scan every type in the mod, including the LethalLevelLoader conditions, and logged ReflectionTypeLoadException when LethalLevelLoader wasn't installed. The fork patches its five patch classes by name instead.
  • Nothing else: same conditions, same sound-report sections, same config (1.0.2 has no config options yet, and neither does this).

If you have the original installed too

This fork keeps the original's plugin ID (me.loaforc.soundapi.lethalcompany) and assembly name, with a higher version (81.0.0). BepInEx loads the fork and skips the original (Skipping [loaforcsSoundAPI.LethalCompany 1.0.2] because a newer version exists), and mods that depend on the original keep working.

Tested

One player, v81: main menu, new save, land on Experimentation, die, ship leaves, back in orbit. Run with and without LethalLevelLoader, and alongside LETHALRESONANCE (961 sounds loaded, its conditions registered). Not tested: multiplayer.

Building

sh build.sh builds the DLL and the Thunderstore zip into dist/. The build needs me.loaforc.soundapi.dll and LethalLevelLoader.dll; set ModsDir to a mod-manager profile's BepInEx/plugins folder that has both.

Licensed GPL-3.0 (see LICENSE): loaforc's original code under its own GPL-3.0, and this fork's changes under GPL-3.0 too. Forked from loaforcsSoundAPI/loaforcsSoundAPI.LethalCompany at commit e00f63a.


loaforcsSoundAPI LethalCompany

Lethal Company bindings for SoundAPI.

Conditions

  • LethalCompany:apparatus_state
  • LethalCompany:dungeon_name
  • LethalCompany:facility_power_state
  • LethalCompany:moon_name
  • LethalCompany:player:standing_on
  • LethalCompany:time_of_day
  • LethalCompany:player:audio_reverb
  • LethalCompany:player:is_alone
  • LethalCompany:player:health
  • LethalCompany:player:insanity
  • LethalCompany:player:location

Sound Report Sections

  • Found Dungeon Types
  • Found Moon Names
  • Found Footstep Surfaces
  • Player Location Types
  • Apparatus State Types
  • Time Of Day Types
  • Found Reverb Presets

Updating from SoundAPI v1

  • BREAKING: Condition types changed from LethalCompany:player_health to LethalCompany:player:health
  • Make sure to list this package as an explicit dependency.