Skip to content

Liar's Bar

DigitalHeaven.Games.LiarsBar WIP is a MelonLoader mod that brings DigitalHeaven avatar replacement to Liar’s Bar.

Mod loaderMelonLoader
Game versionMono (default Steam build)
Rendering pipelineHDRP
Humanoid rigFull Unity Avatar rig (17 required bones)

This mod depends on the DigitalHeaven.Unity library for model loading, rig setup, and material creation.

FeatureStatus
OverlayWIP
Avatar replacementWIP

Multiplayer features (avatar sync, pallet transfers) are not yet implemented. Other players see the default game character.

The mod uses the same full replacement approach as Schedule I:

  1. When the local player spawns, the mod hides the game’s character meshes
  2. A DH avatar is instantiated and parented under the active character
  3. Pose mirroring copies animations from the game’s Animator to the DH avatar using HumanPoseHandler
  4. The DH avatar is auto-scaled to match the game character’s proportions

The game has 9 playable characters (Scubby, Foxy, Bristle, etc.) each with multiple skin variants managed by SkinSetter components. The mod disables these components to prevent them from re-enabling hidden meshes, and re-applies when the player switches characters.

Config file: UserData/DigitalHeaven.cfg (MelonPreferences)

SettingSectionDefaultDescription
PlayerAvatar[DigitalHeaven]""Barcode for the player avatar
Enabled[DigitalHeaven]trueEnable or disable avatar replacement
[DigitalHeaven]
PlayerAvatar = "io.example.my-avatar:avatar.dh-avatar"
Enabled = true
  • Local player only — other players see the default game character
  • Lobby + gameplay — the mod applies in the lobby scene; gameplay scene replacement may require further testing

The mod project lives at Games/DigitalHeaven.Games.LiarsBar/ and is included in the main DigitalHeaven.sln solution under the Games folder.

Copy DigitalHeaven.Games.LiarsBar.csproj.user.example and remove the .example extension. This file configures your local game install path and is git-ignored:

DigitalHeaven.Games.LiarsBar.csproj.user
<Project>
<PropertyGroup>
<!-- Set this to your Liar's Bar game install path -->
<LiarsBarDir>C:\Program Files (x86)\Steam\steamapps\common\Liar's Bar</LiarsBarDir>
</PropertyGroup>
</Project>

The project references game assemblies (Assembly-CSharp.dll, Mirror.dll) and MelonLoader DLLs from your game install directory via LiarsBarDir. After building, a post-build target automatically deploys the mod and its dependencies to $(LiarsBarDir)\Mods\DigitalHeaven\.

The project targets netstandard2.1 and references DigitalHeaven.Core, DigitalHeaven.Unity, DigitalHeaven.Overlay, and DigitalHeaven.Unity.Overlay as project dependencies.