Raised This Month: $51 Target: $400
 12% 

Need Help, map end sounds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bl1nk123
Junior Member
Join Date: Jun 2008
Old 07-18-2008 , 14:04   Need Help, map end sounds
Reply With Quote #1

I am currently working on a plugin to play a random sound at the end of a map. All is working except that sound stops once the map starts to change. Is there any way to make it continue to play through the loading screen? I am currently using the EmitSound command. Is there another way to play sounds that might make this work? Thanks
bl1nk123 is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 07-18-2008 , 16:41   Re: Need Help, map end sounds
Reply With Quote #2

I was on a server that plays songs across the map change. I think it displays a MOTD that streams music through the web browser, but I don't know how it hides the MOTD window from being visible.

It won't be possible with things like emitsound because when the map ends all of that gets reset.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
bl1nk123
Junior Member
Join Date: Jun 2008
Old 07-18-2008 , 16:42   Re: Need Help, map end sounds
Reply With Quote #3

I just tried using client execute to run the "play" command but still ends. I would think that the motd would have the same effect? Close once map starts??
bl1nk123 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-27-2008 , 07:05   Re: Need Help, map end sounds
Reply With Quote #4

Hmm, an older topic, but no, music in the MOTD panel keeps playing throughout a mapchange, of course until the MOTD is shown again at map start. I don't know if the MOTD panel is a VGUI panel too, if so, you could hide it with ShowVGUIPanel (once you know the panel name).
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 07-27-2008 , 13:37   Re: Need Help, map end sounds
Reply With Quote #5

I'v recently been on a server that streamed music through the motd, and even out of CS:S I could hear it. I had to manually use the motd command to change the website so it would stop. It played through mapchanges, so I believe it's possible

EDIT: Misread your post DJ, thought you said it wasn't possible
__________________
Greyscale is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:08.


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