It's just a simple plugin that plays music when a wave spawns, with an optional feature to disable wave cassie announcements.
Dependencies:
https://github.com/Killers0992/AudioPlayerApi/
Source & Download:
https://github.com/lonelyicer/WaveMusic/
68 messages · Page 1 of 1 (latest)
It's just a simple plugin that plays music when a wave spawns, with an optional feature to disable wave cassie announcements.
Dependencies:
https://github.com/Killers0992/AudioPlayerApi/
Source & Download:
https://github.com/lonelyicer/WaveMusic/
Default config:
ci_music: path/to/ci-music #if you want disable it, just let it empty or not valid
who_can_hear_ci_music:
- ChaosConscript
- ChaosMarauder
- ChaosRepressor
- ChaosRifleman
diable_ci_announcement: false
mtf_music: path/to/mtf-music #same
who_can_hear_mtf_music:
- NtfCaptain
- NtfPrivate
- NtfSergeant
- NtfSpecialist
diable_mtf_announcement: false
Available roles(may changed when game update):
None
Scp173
ClassD
Spectator
Scp106
NtfSpecialist
Scp049
Scientist
Scp079
ChaosConscript
Scp096
Scp0492
NtfSergeant
NtfCaptain
NtfPrivate
Tutorial
FacilityGuard
Scp939
CustomRole
ChaosRifleman
ChaosMarauder
ChaosRepressor
Overwatch
Filmmaker
Scp3114
Destroyed
Flamingo
AlphaFlamingo
ZombieFlamingo
at WaveMusic.EventHandler.OnServerWaveRespawned (LabApi.Events.Arguments.ServerEvents.WaveRespawnedEventArgs ev) [0x00038] in <cf980d59938040199a4ff8474dcece27>:0
at LabApi.Events.EventManager.InvokeEvent[TEventArgs] (LabApi.Events.LabEventHandler`1[TEventArgs] eventHandler, TEventArgs args) [0x0001d] in <bd83d6009c394d05b0e4e2080b3f314d>:0````
cedmod strikes again
should fix
Btw will there be more customization like volume and the ability for guards and Scientists to also hear the music (dunno why only the mtf hear it)
Only MTF can hear it by design, but I can make who can hear the music configurable in the future.
wdym by design?
on purpose
so idk if im doing smth wrong or what, but both (mtf and ci) are playin for mtf spawn and with ci spawn there's no music
and also there's information in console '[AudioPlayer] Failed loading clip from because file not exists!" that's probably for ci spawn
but both music themes are playing just for mtf so idk
and if i disable for ci it doesnt work for mtf too
pretty weird
Check your config and make sure the file name matches up
its a bug
Will be fixed on next version
done.
btw, diable_xxx_announcement means disable cassie announcement
Thanks :3
Excuse me what exactly am I supposed to do when it comes to connecting the audios to the correct path?
You have them disabled lol
That's the announcements though no?
I assumedit was to disable them so if you only want mtf like me it just plays for MTF spawns, but idk.
I'll take a look at the source code quickly
Nah u right mb
It is for the announcements themselves
@rotund sphinx
[2025-08-22 17:44:26.101 +01:00] [ERROR] [LabApi] [LOADER] Couldn't enable the plugin 'WaveMusic', Version: 0.3.9360.38460, Author: 'RingLo_'
[2025-08-22 17:44:26.115 +01:00] [ERROR] [LabApi] System.MissingMethodException: Method not found: int NVorbis.VorbisReader.ReadSamples(System.Span`1<single>)
at WaveMusic.WaveMusic.LoadMusic () [0x0000c] in <834666bfc5014f5ea0bbc3d59fb0a8b8>:0
at WaveMusic.WaveMusic.Enable () [0x00029] in <834666bfc5014f5ea0bbc3d59fb0a8b8>:0
at LabApi.Loader.PluginLoader.EnablePlugin (LabApi.Loader.Features.Plugins.Plugin plugin) [0x00012] in <bd83d6009c394d05b0e4e2080b3f314d>:0
AudioPlayerApi dependencies
i have the dependencies installed into the dependencies folder inside labapi, but its still giving the same error that freshbananas got
It seems that the dependency update caused some behavior changes. Please use version 1.1.0 of AudioPlayerApi until I fix this issue.
ok
Ok it look nuce
Nice
Nice
Hello, can you please help? I seem to have created a path to the music, but the audio does not play when becoming a House Povetants.
@languid wagon
mtf_music
You need to specify that
Do I need to rename the file or something? I'm just stupid.
No, you need to provide the path to the file
.config/SCP Secret Lab...
If you put the file in the server's directory, you can simply use the file name
Сделать путь к папке .config/ SCP Secret Laborotory/LabAPI/configs/music/mtf.ogg?
Yes
You have a typo
Thanks for helping, but tell me the file has been converted, can it be fixed?
Np
If the file is not compatible, you can use a tool like ffmpeg or https://online-convert.com to convert the audio to 48000 Hz mono
@flat cloak do you think we could do a similar idea to this for a SER tutorial?

Is it possible to make it so that the music in PH and for SCP is different at the moment of the wave?