SRCDS Steam group

Streaming an MP3 inside of HL2DM's motd.txt?

This used to be possible a few years ago, via including the following tags:

<bgsound src="">

It used to be that the player's PC would actually kick off an instance of Windows Media Player in the background and start spooling/playing the MP3, but....It doesn't seem to work anymore.

I had a fairly large number of nice/spooky ambient soundtracks that really added to the gameplay experience, and it would be awesome to get them working again. Is there any way to convice the MOTD mechanism in HL2MP to play music in the background the way it used to?

I know it's possible to play a pre-downloaded MP3 upon players joining the server... That's not what i'm looking for. I need a find a way to do it in the motd.

I humbly ask the gods of srcds to hear my plea. Smile


Don't know if this will work, but you can give it a try.
Add this line to your motd.txt:

<embed src="" autostart="true" loop="false" style="display:none;"/>

If that doesn't work. You should take a look at Mani or Sourcemod:

Warning Level: 0%

Forum Jump:

Users browsing this thread: 1 Guest(s)