AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [L4D2] One Zombat/Horde custom music? (https://forums.alliedmods.net/showthread.php?t=334093)

ddd123 08-28-2021 20:04

[L4D2] One Zombat/Horde custom music?
 
I found this SP script and i wonder

Is there's a way you can play your custom zombat/horde music? Like i want to play all kinds of horde music into one custom music while completely mute all official/original zombat/horde music

Judging by reading a code, i'm guess this only kill all the music or something...?
How do you play custom horde/zombat music when the horde started? Can someone make a sample script code?

Lux 08-28-2021 21:20

Re: [L4D2] One Zombat/Horde custom music?
 
https://github.com/LuxLuma/L4DMusic_...MusicCmdFilter

This is a barebones example of blocking music cmds sent to clients, you can modify the input string however you must also hook the Music stop function and or dispatch music stop commands your self to stop custom music.

I'm not dug too much in to music stuff but it's a start.


All times are GMT -4. The time now is 05:21.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.