Raised This Month: $105 Target: $400
 26% 

Loading Music + Also In Spectator Mode


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Xanimos (85)
kurian
Member
Join Date: Aug 2005
Old 08-13-2006 , 15:30   Loading Music + Also In Spectator Mode
Reply With Quote #1

****UPDATE****

There were a lot of bugs where music would start playing for the wrong ppl when someone else joined the server...all fixed now.
_____________________________________________ ______
Standard loading music...mp3 file only
goes in sound/misc/loading.mp3

But it will still play after person has joined the server until he joins a team.
It will also play if he is a spectator. (Not DEAD spectator after being killed, only if he chooses spectator from the team menu).

edit..
you can change volume with
mp3volume x
x=0.0 to 1.0
Attached Files
File Type: sma Get Plugin or Get Source (loadingsong.sma - 43897 views - 1.4 KB)

Last edited by kurian; 08-15-2006 at 06:10. Reason: Update ..Bug fixes
kurian is offline
:':b^R:': Punisher
Junior Member
Join Date: Aug 2006
Old 08-13-2006 , 15:48   Re: Loading Music + Also In Spectator Mode
Reply With Quote #2

is there a size limit for the song file?
__________________
go to my 49 lvl Super Hero Server 8.3.5.11:27015 (condition zero)
:':b^R:': Punisher is offline
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 08-13-2006 , 23:22   Re: Loading Music + Also In Spectator Mode
Reply With Quote #3

Is it possible to make this play from a url, instead of having to download the file. Copywrite Laws...
TiMbErLaNd is offline
kurian
Member
Join Date: Aug 2005
Old 08-13-2006 , 23:45   Re: Loading Music + Also In Spectator Mode
Reply With Quote #4

i dont think theres a limit...i mean if u join a server that needs files for a map it WILL download the files otherwise u cant play right ??

Lemme check on download through URL and BRB in 10 mins.
kurian is offline
flintst0nes
Member
Join Date: Jul 2006
Location: Germany
Old 08-14-2006 , 00:08   Re: Loading Music + Also In Spectator Mode
Reply With Quote #5

nice one
__________________
my aPlugins | Show me the time (a clock and info plugin)

Please click +karma if I was helpful
flintst0nes is offline
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 08-14-2006 , 00:44   Re: Loading Music + Also In Spectator Mode
Reply With Quote #6

Quote:
Originally Posted by kurian View Post
i dont think theres a limit...i mean if u join a server that needs files for a map it WILL download the files otherwise u cant play right ??

Lemme check on download through URL and BRB in 10 mins.
I dont want it to download. I want it to play as streaming through a url.
TiMbErLaNd is offline
kurian
Member
Join Date: Aug 2005
Old 08-14-2006 , 02:03   Re: Loading Music + Also In Spectator Mode
Reply With Quote #7

Quote:
Originally Posted by TiMbErLaNd View Post
I dont want it to download. I want it to play as streaming through a url.
oh that way...lemme see if the mp3 function has some sort of steaming feature....

sv_downloadurl works perfectly though if u want to make it download ur files from a webserver for fast downloads...CS limits the download speed.
kurian is offline
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 08-14-2006 , 08:53   Re: Loading Music + Also In Spectator Mode
Reply With Quote #8

I am aware of this and already use this function.
Here are my July stats for my sv_downloadurl

Data transferred: 366.09 gigabytes
Average data transferred per day: 12.21 gigabytes

If this can work with streaming cool. I already run HLMP for in game music, but having connecting music would be good. I dont want my clients downloading due to copywrite laws for distrubution.
TiMbErLaNd is offline
One shot dont miss!
Senior Member
Join Date: Jun 2005
Old 08-14-2006 , 13:39   Re: Loading Music + Also In Spectator Mode
Reply With Quote #9

yea you can make this use like a url its easy if u want to PM me
__________________
One shot dont miss! is offline
kurian
Member
Join Date: Aug 2005
Old 08-14-2006 , 14:27   Re: Loading Music + Also In Spectator Mode
Reply With Quote #10

i dont think this is possible with amxx alone because the streaming plugins exploit the MOTD feature...which is nothing but internet explorer embedded in CS...they use the windows media player embedded plugin that you see on most sites with streaming music....

it is impossible to use it during loading time...
kurian is offline
Reply


Thread Tools
Display Modes

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 04:14.


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