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

[CS:GO] Custom Music-Kits


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Plugin ID:
6221
Plugin Version:
1.4.5 fix3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 08-06-2018 , 03:40   [CS:GO] Custom Music-Kits
    Reply With Quote #1

    Description:
    Before i was looking for something like this but i haven't found one so i created one.

    This plugin will basically catch several events and play musics to client, events like planting the bomb, taking a hostage, last 10 seconds to bomb explosion or last round's 10 seconds, deathcams, MVP sounds , start actions and ...

    i don't think this plugins is against valve's rules because all you use is more like custom musics you create your self.

    Usage:

    Type !cmu in chat to use the music menu.

    ConVars:

    sm_ignore_user_music "0" --> When this is disabled, if a player have a music kit other than valve's default ones, simply the custom music kit will be ignored but if this is enabled, the custom kit will be forced to use whether they have a valid music kit or not.

    Configuration:

    You have to do 2 things to make the plugin work properly:
    1- You need to setup a new section for plugins's database in sourcemod/configs/database.cfg under the name MusicKits:

    Code:
    "Databases"
    {
    	"driver_default"		"mysql"
    	
    	// When specifying "host", you may use an IP address, a hostname, or a socket file path
    	
    	"default"
    	{
    		"driver"			"default"
    		"host"				"localhost"
    		"database"			"sourcemod"
    		"user"				"root"
    		"pass"				""
    		//"timeout"			"0"
    		//"port"			"0"
    	}
    	
    	"storage-local"
    	{
    		"driver"			"sqlite"
    		"database"			"sourcemod-local"
    	}
    	
    	"MusicKits"
    	{
    		"driver"			"sqlite"
    		"database"			"MusicKits"
    	}
    
    	"clientprefs"
    	{
    		"driver"			"sqlite"
    		"host"				"localhost"
    		"database"			"clientprefs-sqlite"
    		"user"				"root"
    		"pass"				""
    		//"timeout"			"0"
    		//"port"			"0"
    	}
    }
    2- You need to properly configure music.txt to let the plugin work it's way, to do so you will need to set several music's path for the plugin to play:

    Code:
    "musics"
    {
    	"MusicKit_Manse"
    	{
    		"name"					"I'm Not The One | Manse Remix"
    		"Bomb_Planted" 			"music_kits_custom\Manse\bombplanted.mp3"
    		"Bomb_TenSeconds"		"music_kits_custom\Manse\bombtenseccount.mp3"
    		"RoundEnd_Lost"			"music_kits_custom\Manse\lostround.mp3"
    		"RoundEnt_Won"			"music_kits_custom\Manse\wonround.mp3"
    		"RoundStart_Action"		"music_kits_custom\Manse\startaction.mp3"
    		"Round_TenSeconds"		"music_kits_custom\Manse\roundtenseccount.mp3"
    		"Round_MVP"				"music_kits_custom\Manse\chooseteam.mp3"
    		"Deathcam"				"music_kits_custom\Manse\deathcam.mp3"
    	}
    }
    Notes:
    - You need to use a custom file downloader/precacher because the plugin will not do it automatically.
    - Feel free to report bugs or ask for new features if you want.

    Quote:
    Change logs:

    * 8/6/2018
    - Initial Release

    * 8/9/2018
    - Added a new convar "sm_ignore_user_music 0" (info in description)
    - Fixed audio overlapping (valve's and the custom one)

    * 8/10/2018
    - Fixed serveral issues caused by adding the new convar such as MVP sound was not playing in some cases and etc
    Quote:
    Downloadable MusicKits:
    Heart Of Steel | Bright Lights
    Don't Stop | Sartek
    Attached Files
    File Type: zip CustomMusicKits 1.4.4.zip (6.41 MB, 562 views)
    File Type: zip CustomMusicKits 1.4.5.zip (6.41 MB, 358 views)
    File Type: zip CustomMusicKits 1.4.5 fix3.zip (6.41 MB, 1390 views)
    __________________

    Last edited by ambn; 08-10-2018 at 03:27.
    ambn is offline
     



    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 12:58.


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