Quote:
Originally Posted by theY4Kman
Alright, I've made the plug-in for ya. Can't say I've tested it, but it should work ![Crab](images/smilies/crab.gif) All credit goes to Greyscale and rhelgeby. btw, I've included zr_ambience.mp3 in the zip -- is that okay with you, Greyscale?
...
|
Pardon the (admittedly big) necro here, though I felt posting here would do more good than making a duplicate thread requesting the same exact thing.
Y4k's plugin here appears to have the
exact functionality I am looking for, though it doesn't seem to work anymore. Would anybody be willing to update it or make a new plugin with similar functionality-- specifically for L4D2?
L4D2's music system is finicky to be sure but the sm_play command works fine for playing everything from WAVs to MP3s so I know something like this must be possible. Maybe hooking the sm_play functionality and repeating on sound end, or perhaps looping based on a second-based interval like Y4K's plugin?
A per-map CFG music-file path would be desirable as well (changeable song cvar perhaps?), effectively making per-map theme-songs that would loop indefinitely (similar to oldschool FPS games this way, ie. Unreal,Quake).