Coasters: Immersion 0.2.0
Curse Maven Snippet
What's new
Ride music
You can now put a song on a coaster and have it start on its own.
Drop .ogg files into coasters_immersion/music in your instance folder. Opus is decoded natively, so audio downloaded from the web works as-is — no conversion step. Vorbis works too, and anything else is converted automatically if ffmpeg is on your PATH.
Time markers on the track. /immersion music start <track> at the point where the ride begins, then /immersion music mark 1:24 wherever you want that moment of the song to play. Ride past the start marker and the music begins.
The design choice worth knowing: the cart's speed is never adjusted to hit the beat — that would fight the physics and ruin the ride. The track leads and the music follows. Each marker compares where the song should be against where it is, and only jumps if it has drifted by more than 0.4 seconds. Correcting on every marker would be worse than not correcting at all, since every jump is audible; a ride that runs as planned completes a full lap without a single one.
Plays as background audio with its own volume slider, not as a speaker placed in the world.
Settings access
Settings now open from a button in the pause menu, next to Options, and from the K key (rebindable).
The Sodium menu integration has been removed. Registering there caused Sodium to run its late config pass, which walks every mod that contributes options and crashes on those loaded through Sinytra Connector. The mod never appeared in the crash report — it wasn't the thing failing, it was the thing setting it off — which made it slow to find. The pause menu is vanilla and isn't managed by any third-party mod, so a button there can't interfere with anything.
Commands
- /immersion music list — list available tracks
- /immersion music play <track> [@seconds] — play, optionally from a given point
- /immersion music stop
- /immersion music start <track> — place the start marker
- /immersion music mark <m:ss> — place a timing marker
- /immersion music marks / unmark / clearmarks
- /immersion analyze [radius] — scan the track for rough spots
- /immersion clear
Not included yet
Server-side music sharing. It was built and pulled: it broke startup. The code is kept for a future release, but for now music is per-client — everyone needs their own copy of the file in their own folder.
This mod has no additional files

