LeopoldsTavernMusic
Plays Leopold's Tavern when a gameplay level starts. Install on every client that should hear it.
By ItsFlynn
| Date uploaded | 2 weeks ago |
| Version | 1.3.0 |
| Download link | ItsFlynn-LeopoldsTavernMusic-1.3.0.zip |
| Downloads | 19 |
| Dependency string | ItsFlynn-LeopoldsTavernMusic-1.3.0 |
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.2305README
Leopold's Tavern Level Music
Plays LeopoldsTavern.wav locally after a gameplay level finishes initializing.
Playback uses the game's own FMOD Core audio system rather than Unity's
unreliable external-file decoder. It stops when gameplay exits for the shop,
lobby, victory, defeat, disconnect cleanup, or a level-scene unload.
Installation
Install this mod on every player who should hear the song, then launch the game modded.
Configuration
After the first launch, edit
BepInEx/config/com.bwadd.lastpirates.leopoldstavernmusic.cfg. Enabled
turns the music on or off, Volume controls playback level (0.35 by default),
and Loop controls whether it repeats. Enable and volume changes apply live.
Multiplayer
Playback is triggered independently by each client's gameplay-state transition. The host cannot send custom audio data to an unmodded client, so each listener needs this package installed.
Audio rights
Only redistribute this package if you have permission to distribute the included recording.
CHANGELOG
Changelog
1.4.0
- Starts playback when the value in the boat reaches the level quota instead of at level start.
- Emits the track from the boat as distance-attenuated 3D audio.
- Ties final playback loudness to the game's Music volume setting while retaining the mod volume control.
- Adds configurable full-volume and silent distances.
1.3.0
- Lowers the default playback volume from 0.7 to 0.35.
- Adds an
Enabledsetting that immediately stops playback when disabled. - Applies volume changes to a currently playing track.
1.2.1
- Replaces the bundled track with the new
Leos.wavmix (48 kHz, stereo, 24-bit WAV).
1.2.0
- Starts playback only after the game's gameplay-level initialization completes.
- Stops playback immediately when gameplay exits for the shop, lobby, victory, or defeat.
- Stops and cancels queued playback when a level scene unloads, the plugin is disabled, or the game closes.
- Prevents next-level scene preloading during the shop transition from starting the song early.
1.1.0
- Replaced Unity AudioClip playback with the game's native FMOD Core streaming system.
- Added FMOD initialization retries, duration reporting, and precise FMOD errors.
1.0.4
- Bypassed Unity 6's failing file-to-AudioClip decoder with direct 16-bit PCM WAV streaming.
- Added RIFF/WAVE validation and precise PCM format diagnostics.
1.0.3
- Fixed Unity unloading an already-decoded downloaded WAV by removing the invalid second
LoadAudioDatarequest. - Added diagnostics for the clip state immediately returned by the WAV request.
1.0.2
- Converted the track to PCM WAV after the game's Unity MPEG decoder returned an unloaded, zero-sample clip.
- Added level-scene and queued-playback diagnostics.
1.0.1
- Wait for MP3 sample decoding to finish before starting playback.
- Reject zero-length clips with a useful diagnostic instead of silently playing them.
1.0.0
- Initial release.
- Local MP3 loading and level-start playback.
- Configurable volume, looping, and scene-name prefix.