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

Round Songs


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
1Swat2KillThemAll
SourceMod Donor
Join Date: Nov 2009
Plugin ID:
2126
Plugin Version:
1.000.000
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    Spam music to all your clients! :D
    Old 12-15-2010 , 14:57   Round Songs
    Reply With Quote #1

    ORIGINAL REQUEST:
    [PStar]
    Hello to everyone.

    I would like to request a plugin that every time a new round start it's chooses a random music from a list (or could be a specified diretorie in the sound flodder). IF the music is short and will end before the round end the plugin should start a new one.
    And if it's possible we should be able to set the loudnes of the music whit a cvar.

    Thx in forward.
    [6th Dec 2010 , 12:30 PM]
    CVARS:
    sm_roundsongs_version | version cvar
    sm_roundsongs_enabled | take an educated guess ;)
    COMMANDS:
    Admin:
    * sm_nextsong | oh gee, I wonder what this would do...
    Public:
    * sm_music | Turn music on or off (autotoggle)
    * sm_soundlevel | Check your current soundlevel, or alter it.
    CFG FILE (../cstrike/cfg/sourcemod/roundsongs.kv):
    Code:
    "RoundSongs"
    {
        "Song's name here"
        {
            "file"                "sound's filepath relative to ../cstrike/sound/"
            "duration"            "songlength in seconds (float)"
        }
        "Whole Lotta Rosie - AC/DC"
        {
            "file"                "misc/wholelottarosie.wav"
            "duration"            "324.5"
        }
        "Thunderstruck - AC/DC"
        {
            "file"                "misc/thunderstruck.wav"
            "duration"            "292.5"
        }
        "WanDeage"
        {
            "file"                "misc/wandeage.wav"
            "duration"            "2.0"
        }
    }
    Attached Files
    File Type: sp Get Plugin or Get Source (roundsongs.sp - 2719 views - 7.7 KB)

    Last edited by 1Swat2KillThemAll; 12-15-2010 at 18:57.
    1Swat2KillThemAll is offline
     


    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 01:21.


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