Raised This Month: $ Target: $400
 0% 

[CS:GO] Custom Music-Kits


Post New Thread Reply   
 
Thread Tools Display Modes
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 , 04: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, 231 views)
    File Type: zip CustomMusicKits 1.4.5.zip (6.41 MB, 103 views)
    File Type: zip CustomMusicKits 1.4.5 fix3.zip (6.41 MB, 742 views)
    __________________

    Last edited by ambn; 08-10-2018 at 04:27.
    ambn is offline
    rogeraabbccdd
    Veteran Member
    Join Date: Jun 2015
    Location: de_dust2
    Old 08-06-2018 , 05:15   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #2

    Thanks for make my dream come true.
    https://forums.alliedmods.net/showthread.php?t=274478
    __________________

    Please keep in mind, nobody have responsibility to help you, especially who don't open their eyes and use their brain to find answers.
    GitHub | Discord:Kento#2118

    Last edited by rogeraabbccdd; 08-06-2018 at 05:15.
    rogeraabbccdd is offline
    ambn
    Veteran Member
    Join Date: Feb 2015
    Location: Fun servers
    Old 08-06-2018 , 05:58   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #3

    You're welcome!
    Great to see someone likes my work
    Tell me if anything is missing
    __________________
    ambn is offline
    Deadhuntz
    AlliedModders Donor
    Join Date: Dec 2015
    Location: Germany look behind you!
    Old 08-06-2018 , 13:58   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #4

    weeehhhhhh
    __________________


    Do you speak english? see i so out?
    Deadhuntz is offline
    Hallucinogenic Troll
    Senior Member
    Join Date: Apr 2015
    Old 08-06-2018 , 18:51   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #5

    Really nice work

    And tbh, I believe it's not against Valve's Rule since - https://forums.alliedmods.net/showpo...&postcount=121
    __________________
    Hallucinogenic Troll is offline
    ambn
    Veteran Member
    Join Date: Feb 2015
    Location: Fun servers
    Old 08-08-2018 , 01:59   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #6

    Okay, i've decided to share my own created music kits to you guys time by time, so here's the first one!
    You can share yours too if you liked too.

    Quote:
    Files:
    Code:
    "musics"
    {
    	"MusicKit_Bright"
    	{
    		"name"				"Heart Of Steel | Bright Lights"
    		"Bomb_Planted" 			"music_kits_custom\Bright\bombplanted.mp3"
    		"Bomb_TenSeconds"		"music_kits_custom\Bright\bombtenseccount.mp3"
    		"RoundEnd_Lost"			"music_kits_custom\Bright\lostround.mp3"
    		"RoundEnt_Won"			"music_kits_custom\Bright\wonround.mp3"
    		"RoundStart_Action"		"music_kits_custom\Bright\startaction.mp3"
    		"Round_TenSeconds"		"music_kits_custom\Bright\roundtenseccount.mp3"
    		"Round_MVP"			"music_kits_custom\Bright\chooseteam.mp3"
    		"Deathcam"			"music_kits_custom\Bright\deathcam.mp3"
    	}
    }
    Attached Files
    File Type: zip Bright.zip (2.83 MB, 169 views)
    __________________

    Last edited by ambn; 08-08-2018 at 02:49.
    ambn is offline
    ambn
    Veteran Member
    Join Date: Feb 2015
    Location: Fun servers
    Old 08-09-2018 , 08:45   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #7

    Updated:

    * 9/9/2018
    - Added a new convar "sm_ignore_user_music 0" (info in description)
    - Fixed audio overlapping (valve's and the custom one)
    __________________
    ambn is offline
    ambn
    Veteran Member
    Join Date: Feb 2015
    Location: Fun servers
    Old 08-09-2018 , 08:54   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #8

    Quote:
    Code:
    "musics"
    {
    	"MusicKit_Sartek"
    	{
    		"name"					"Don't Stop | Sartek"
    		"Bomb_Planted" 			"music_kits_custom\Sartek\bombplanted.mp3"
    		"Bomb_TenSeconds"		"music_kits_custom\Sartek\bombtenseccount.mp3"
    		"RoundEnd_Lost"			"music_kits_custom\Sartek\lostround.mp3"
    		"RoundEnt_Won"			"music_kits_custom\Sartek\wonround.mp3"
    		"RoundStart_Action"		"music_kits_custom\Sartek\startaction.mp3"
    		"Round_TenSeconds"		"music_kits_custom\Sartek\roundtenseccount.mp3"
    		"Round_MVP"				"music_kits_custom\Sartek\chooseteam.mp3"
    		"Deathcam"				"music_kits_custom\Sartek\deathcam.mp3"
    	}
    }
    Attached Files
    File Type: zip Sartek.zip (2.66 MB, 133 views)
    __________________

    Last edited by ambn; 08-09-2018 at 08:55.
    ambn is offline
    ambn
    Veteran Member
    Join Date: Feb 2015
    Location: Fun servers
    Old 08-10-2018 , 04:27   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #9

    Updated:

    * 8/10/2018
    - Fixed serveral issues caused by adding the new convar such as MVP sound was not playing in some cases and etc
    __________________
    ambn is offline
    antimyt
    New Member
    Join Date: Nov 2018
    Old 11-07-2018 , 08:12   Re: [CS:GO] Custom Music-Kits
    Reply With Quote #10

    Halftime music?
    antimyt 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 11:57.


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