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

End Of Map Music/sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author
TechKnow
Senior Member
Join Date: Nov 2007
Plugin ID:
561
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plays Music/sound at the end of the map.
    Old 10-02-2008 , 22:21   End Of Map Music/sound
    Reply With Quote #1

    End Map Sound
    There are alot of plugins that play a join sound, such as Quake sounds and many others. But not one of them have the map end music/sound, so thats why I think this will be very usefull.

    To install Just drop the smx into your plugins folder and the end.mp3 into sound/mapend/end.mp3 and your good to go. I have included a cvar so that you may choose the music/sound you wish to play on your server at the end of the map.

    In the future I would like to have a txt or ini with mapend sounds the plugin may randomize and choose from a list. If any of you can do this for me Please post the update here so that I may update this plugin.

    Please set your mp_chattime 20 in your server.cfg So that the music/sound may playout, OR whatever length your custom sound length is.

    Description:
    Plays Music/sound at the end of the map.
    Has a cvar for the filename to play
    Versions:
    1.0
    * Initial Release

    1.1
    * Added is client connected
    If you have problems with this sites compiled smx, use the one in the zip file.

    1.2 Updated May 2, 2009
    * Added AutoExecConfig file, added PrecacheSound.(Thanks to smithxxl again)
    If you have problems with this sites compiled smx, use the one in the zip
    Attached Files
    File Type: sp Get Plugin or Get Source (end_sound.sp - 10376 views - 1.7 KB)
    File Type: rar end_sound.rar (628.0 KB, 13762 views)
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php

    Last edited by TechKnow; 05-02-2009 at 03:23. Reason: V1.2
    TechKnow is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 10-03-2008 , 13:40   Re: End Of Map Music/sound
    Reply With Quote #2

    - You could use OnMapEnd() forward istead of "round_event" event hook;
    - What's the point of new Handle:cvarSoundName; You don't use it correctly. If you want to create a cvar to set playsound, you'll have to create it in OnMapStart() and precache his string
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    TechKnow
    Senior Member
    Join Date: Nov 2007
    Old 10-03-2008 , 18:13   Re: End Of Map Music/sound
    Reply With Quote #3

    onmapend I dont think would work quite the way I had wanted because it would only play the sound for a nano second before changeing maps, I will try it out and see because I am wanting the sound to kick in faster, and as for the cvar stuff I would like some schooling on that, I have not had any formal training on scripting and I am self teaching by others examples, but my plugins seam to work ok. If you could give me a small example and explanation of the things you are commenting on I would like that.

    Thanks,

    TechKnow
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php
    TechKnow is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 10-03-2008 , 23:44   Re: End Of Map Music/sound
    Reply With Quote #4

    a little snippet : http://samurai.ampaste.net/f37d4bca
    I hope you understand what I made.
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    TechKnow
    Senior Member
    Join Date: Nov 2007
    Old 10-04-2008 , 00:24   Re: End Of Map Music/sound
    Reply With Quote #5

    Wow, you are a real programmer, Very clean. I really need to studdy this hard to compleetly understand. I have bought O'REILLY books "Practical C Programming", "Practical C++ Programming" and "C++ The Core Language". If possible if you have these books to point out the pages that are associated with this?
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php
    TechKnow is offline
    SAMURAI16
    BANNED
    Join Date: Sep 2006
    Old 10-04-2008 , 00:32   Re: End Of Map Music/sound
    Reply With Quote #6

    wow you bought books ? I never read a book.
    If you want to make progress on scripting, take a look at another plugins, ask at 'Scripting Help' section, take a look at another plugins.
    I think you can read some tutorials on Wiki and at 'Extensions,Snippets, Tutorials' section
    SAMURAI16 is offline
    Send a message via MSN to SAMURAI16
    monkie
    Senior Member
    Join Date: Oct 2006
    Location: Shanghai, China
    Old 10-04-2008 , 00:40   Re: End Of Map Music/sound
    Reply With Quote #7

    sorry, but this is not working in SourceMod 1.1.0 Snapshots, which is caused by some reason like this:http://forums.alliedmods.net/showpos...8&postcount=49 ??
    __________________
    monkie is offline
    Send a message via MSN to monkie Send a message via Skype™ to monkie
    TechKnow
    Senior Member
    Join Date: Nov 2007
    Old 10-04-2008 , 04:30   Re: End Of Map Music/sound
    Reply With Quote #8

    that version of sourcemod is not done and relesed yet and the add to download is not working in it so might wanna try the 1.0.4 it will work with this plugin, And thanks to some kindly help there will be an update of this plugin soon.
    __________________
    "Stupd is what Stupid dose"
    MY MODELS SITE
    http://techknowmodels.19.forumer.com/index.php
    TechKnow is offline
    monkie
    Senior Member
    Join Date: Oct 2006
    Location: Shanghai, China
    Old 10-04-2008 , 05:19   Re: End Of Map Music/sound
    Reply With Quote #9

    all right, just wait for the sourcemod dev team~
    __________________
    monkie is offline
    Send a message via MSN to monkie Send a message via Skype™ to monkie
    fuze_man
    New Member
    Join Date: Oct 2008
    Old 10-08-2008 , 10:14   Re: End Of Map Music/sound
    Reply With Quote #10

    Thanks Ill use this one
    __________________
    My Game-Servers:




    fuze_man 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 17:46.


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