AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Custom MVP Anthem (1.12 | 2023/04/05) (https://forums.alliedmods.net/showthread.php?t=296578)

rogeraabbccdd 04-24-2017 10:47

[CS:GO] Custom MVP Anthem (1.12 | 2023/04/05)
 



Description
Custom MVP anthem for CSGO, with clientprefs support.



Install
  1. Install this https://github.com/Franc1sco/FixHintColorMessages
  2. Upload files to your server.
  3. Edit configs/kento_mvp.cfg if you want to add more MVP anthem, and don't forget to upload your file to both server and fastdl.
  4. CSGO only support MP3 44.1 kHz.


Cvars
PHP Code:

"mvp_defaultvol" "0.8"  // Default MVP anthem volume.
"mvp_no_acces_show_mode " "1"  // How to show the mvp(s) to clients that doesn't have acces to them? 1 = Don't show in the menu. 2 = Show but they won't be able to select the item. 


Commands
PHP Code:

sm_mvp //Select your MVP anthem.
sm_mvpvol //Change MVP anthem volume. 


Changelog
Spoiler




Known Bugs


To Do
  • Admin command "sm_setmvp" to set player's MVP Anthem.



Donate
If you apreciate my work, you can donate me via steam trade offer or paypal.




Git Repo
Download

Sw33T3R 04-24-2017 11:39

Re: [CS:GO] CSGO Custom MVP Anthem (1.0 | 2017-4-24)
 
Cool

Nexicon 04-24-2017 11:43

Re: [CS:GO] CSGO Custom MVP Anthem (1.0 | 2017-4-24)
 
Sooooooo this is round end sounds? Can you tell more about how it works and who can hear the music?

rogeraabbccdd 04-24-2017 11:47

Re: [CS:GO] CSGO Custom MVP Anthem (1.0 | 2017-4-24)
 
Quote:

Originally Posted by Nexicon (Post 2514853)
Sooooooo this is round end sounds? Can you tell more about how it works and who can hear the music?

1.This is not round end sound (maybe?), sound plays in event "round_mvp", not "round_end".
2.Everyone can hear the MVP anthem.

rogeraabbccdd 04-25-2017 07:48

Re: [CS:GO] CSGO Custom MVP Anthem (1.0 | 2017-4-25)
 
Update 1.1
  • Some changes in translation.

Obyboby 04-25-2017 08:34

Re: [CS:GO] CSGO Custom MVP Anthem (1.0 | 2017-4-25)
 
What happens when someone already has a music kit? Does this custom anthem replace the "stock" one?

rogeraabbccdd 04-25-2017 08:59

Re: [CS:GO] CSGO Custom MVP Anthem (1.0 | 2017-4-25)
 
Quote:

Originally Posted by Obyboby (Post 2515104)
What happens when someone already has a music kit? Does this custom anthem replace the "stock" one?

I don't have any music kit to test this plugin.
I use this code to mute game sound, so I think yes this will replace music kit.
Code from https://forums.alliedmods.net/showthread.php?t=227735
PHP Code:

ClientCommand(client"playgamesound Music.StopAllMusic"); 


rogeraabbccdd 04-25-2017 09:44

Re: [CS:GO] CSGO Custom MVP Anthem (1.1 | 2017-4-25)
 
Test with my music kits plugin, yes music kit MVP anthem will be muted.

Obyboby 04-25-2017 09:46

Re: [CS:GO] CSGO Custom MVP Anthem (1.1 | 2017-4-25)
 
Quote:

Originally Posted by rogeraabbccdd (Post 2515130)
Test with my music kits plugin, yes music kit MVP anthem will be muted.

Alright, thanks :D

rogeraabbccdd 04-25-2017 10:04

Re: [CS:GO] CSGO Custom MVP Anthem (1.1 | 2017-4-25)
 
Update 1.2
  • I forgot to add "true" in PrecacheSound :/

Chrahb 04-25-2017 10:38

Re: [CS:GO] CSGO Custom MVP Anthem (1.2 | 2017-4-25)
 
The sound is low, and you almost can't hear it.

rogeraabbccdd 04-25-2017 10:58

Re: [CS:GO] CSGO Custom MVP Anthem (1.2 | 2017-4-25)
 
Quote:

Originally Posted by Chrahb (Post 2515145)
The sound is low, and you almost can't hear it.

I know this problem, I'm trying to fix it.

Marc0504 04-25-2017 11:20

Re: [CS:GO] CSGO Custom MVP Anthem (1.2 | 2017-4-25)
 
Quote:

Originally Posted by Chrahb (Post 2515145)
The sound is low, and you almost can't hear it.

Try and download a mp3 sound booster and boost your sounds. I personally use a program called "MP3Gain".

rogeraabbccdd 04-25-2017 12:48

Re: [CS:GO] CSGO Custom MVP Anthem (1.2 | 2017-4-25)
 
Quote:

Originally Posted by Marc0504 (Post 2515159)
Try and download a mp3 sound booster and boost your sounds. I personally use a program called "MP3Gain".

I don't think so.
Sound works weird when you're in spec.
I have tried EmitSoundAny, EmitSoundToAllAny and EmitSoundToClientAny, all of them have this problem.
I think I need someone to help me fix this :/

rogeraabbccdd 04-25-2017 13:00

Re: [CS:GO] CSGO Custom MVP Anthem (1.3 | 2017-4-26)
 
Update 1.3

nguyenbaodanh 04-27-2017 04:21

Re: [CS:GO] CSGO Custom MVP Anthem (1.3 | 2017-4-26)
 
Quote:

Originally Posted by rogeraabbccdd (Post 2515175)
Update 1.3

Right. Sound still low volume

nguyenbaodanh 04-27-2017 21:57

Re: [CS:GO] CSGO Custom MVP Anthem (1.3 | 2017-4-26)
 
Ohhhh I know why it's low.
The sound is play right at the position of the MVP player, we go far from him, volume as low as we move futher from that position.

Maybe you can make the sound play like this? https://forums.alliedmods.net/showthread.php?t=270882

rogeraabbccdd 04-27-2017 22:57

Re: [CS:GO] CSGO Custom MVP Anthem (1.3 | 2017-4-26)
 
Quote:

Originally Posted by nguyenbaodanh (Post 2516381)
Ohhhh I know why it's low.
The sound is play right at the position of the MVP player, we go far from him, volume as low as we move futher from that position.

Maybe you can make the sound play like this? https://forums.alliedmods.net/showthread.php?t=270882

I know it's play right at the position of the MVP player, because it's "SOUND_FROM_PLAYER".
But I tried to change it to "SOUND_FROM_WORLD", still worked bad.
You're right, I have to use ClientCommand to play the sound.

I'm working now, I will fix it as fast as I can after I go home.

rogeraabbccdd 04-28-2017 07:22

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Update 1.4
  • Remove EmitSoundAny, now plugin use ClientCommand to play the sound.
  • Rewirte menu.
  • Change all "%t" to "%T".
  • Some changes in phrases.

Chrahb 04-28-2017 16:47

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Updating right away!

Chrahb 04-29-2017 16:11

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Made some sounds for it!
Link:
https://mega.nz/#!gmxjkCQJ!HkFcmaWDM...IBdHqbGZM54xys

nguyenbaodanh 05-03-2017 10:12

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Made some MVP music:
https://drive.google.com/open?id=0Bw...UFfMDQyOEtRblk

Configs included .

My configs seems correct but , page 2 , page 3 seems not work!? Can anyone check?
In game plugin says "MVP song is ." and nothing playing

Chrahb 05-06-2017 19:17

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Could you add a command, so my players can mute the mvp?
Some of my players are complaing about they can't turn it off.

krikus62 05-07-2017 18:14

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
#include <kento_csgocolors>

Is this the regular morecolors? Or Is it some special one you have? would be nice if I could compile it on my own.

rogeraabbccdd 05-07-2017 21:05

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Quote:

Originally Posted by krikus62 (Post 2518987)
#include <kento_csgocolors>

Is this the regular morecolors? Or Is it some special one you have? would be nice if I could compile it on my own.

It's an edited csgo_colors.inc
https://github.com/rogeraabbccdd/Ken...ocolors.inc#L1

Lubricant Jam 05-08-2017 09:33

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Quote:

Originally Posted by Chrahb (Post 2518737)
Could you add a command, so my players can mute the mvp?
Some of my players are complaing about they can't turn it off.

Would like to see this also.

rogeraabbccdd 05-13-2017 10:53

Re: [CS:GO] CSGO Custom MVP Anthem (1.5 | 2017-5-13)
 
Update 1.5
  • Add command "sm_mutemvp" and "sm_unmutemvp".
  • Add "Mute MVP" and "UnMute MVP" in MVP menu.
  • Rewrite cookie.

Sorry for my late, I was busy in my project.

Chrahb 05-14-2017 06:54

Re: [CS:GO] CSGO Custom MVP Anthem (1.5 | 2017-5-13)
 
Updating right away!

nguyenbaodanh 05-18-2017 05:57

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Quote:

Originally Posted by nguyenbaodanh (Post 2517958)
Made some MVP music:
https://drive.google.com/open?id=0Bw...UFfMDQyOEtRblk

Configs included .

My configs seems correct but , page 2 , page 3 seems not work!? Can anyone check?
In game plugin says "MVP song is ." and nothing playing

Have you check this yet?

Your new version still can't use many songs. Pages at the end almost don't play anything.
My config seems correct.

Chrahb 05-18-2017 11:58

Re: [CS:GO] CSGO Custom MVP Anthem (1.4 | 2017-4-28)
 
Quote:

Originally Posted by nguyenbaodanh (Post 2521310)
Have you check this yet?

Your new version still can't use many songs. Pages at the end almost don't play anything.
My config seems correct.

I have the same problem with some of my sounds too.
Its weird, but must be an error in the code of the plugin.

Chrahb 05-18-2017 16:32

Re: [CS:GO] CSGO Custom MVP Anthem (1.5 | 2017-5-13)
 
After some short testing, it seems that using backslash "\" makes the broken sounds work.
If your sounds don't play, and don't show up, consider changing the normal slash "/" to backslash "\"

rogeraabbccdd 05-19-2017 12:25

Re: [CS:GO] CSGO Custom MVP Anthem (1.6.1 | 2017-5-20)
 
Update 1.6

rogeraabbccdd 09-01-2017 11:49

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
Update 1.7
  • Fix mute MVP cookie.

MBf 09-20-2017 16:55

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
can add random mvp sound?

Obyboby 01-21-2018 16:22

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
I installed this but it seems to crash my server at map change. Still investigating tho.
EDIT: removed the plugin because I think it's responsible for the crash. Let's see if it happens again without the plugin.
EDIT2: yeah server is fine now... How can I investigate why this plugin is crashing my server at map change tho? It doesn't generate any error log...unless there's a crash dump somewhere.

zwetch 04-06-2018 08:18

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
Ye it gives this error - Host_error: Index error writing string baseline downloadables. Crashes the server after map change.

Edit: Tried the gotv fix didnt work.

Obyboby 04-06-2018 08:59

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
Quote:

Originally Posted by zwetch (Post 2586327)
Ye it gives this error - Host_error: Index error writing string baseline downloadables. Crashes the server after map change.

Edit: Tried the gotv fix didnt work.

Actually I'm now using it without any issue, but honestly I have no idea what fixed it :(
Is there a way to figure out?
I am using GOTV 24/7.

zwetch 04-09-2018 06:04

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
Quote:

Originally Posted by Obyboby (Post 2586333)
Actually I'm now using it without any issue, but honestly I have no idea what fixed it :(
Is there a way to figure out?
I am using GOTV 24/7.

Ye i have gotten GOTV to work but this gotv bot is randomly auto spawning bots every now and then, cant kick the bots its rather annoying. (only restarting the server or changing the map works)

Obyboby 04-09-2018 09:45

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
Quote:

Originally Posted by zwetch (Post 2586839)
Ye i have gotten GOTV to work but this gotv bot is randomly auto spawning bots every now and then, cant kick the bots its rather annoying. (only restarting the server or changing the map works)

add -nobots to your server launch commands? I have no bot issues.

KentuckyWilly 04-22-2018 13:59

Re: [CS:GO] Custom MVP Anthem (1.7 | 2017-9-1)
 
I uploaded mp3 files in the csgo/sounds/mvp folder and edited the configs/kento_mvp.cfg. When restarting the game, the MVP isn't working except for john cena and illuminati?? How do I fix it?


All times are GMT -4. The time now is 03:00.

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