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

[ANY] Round End Sound (ver. 2.3.9) [07.03.2011]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
FrozDark
BANNED
Join Date: May 2010
Location: Kazakhstan, Shymkent
Plugin ID:
2069
Plugin Version:
2.3.9
Plugin Category:
Gameplay
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
 
Plugin Description:
Plays all sounds or sounds of the winner team in a queue or random at round end
Unapprover:
Reason for Unapproving:
author banned, no longer supported
Old 11-13-2010 , 11:29   [ANY] Round End Sound (ver. 2.3.9) [07.03.2011]
Reply With Quote #1

Description:
-------------------------------
Plays all sounds or sounds of the winner team in a queue or random
-------------------------------

Features
-------------------------------
* Plugin stops original round end sounds
* Plugin with the sounds list (can be easy edited)
* Plugin with client preferences
* Plugin can be autoupdated
* Plugin can play the sounds of the winner team or all sounds in a queue or random
* Multigame & multilanguage support
* Client side can turn off the sounds if cvar sm_res_client is enabled
-------------------------------

Requirements:
-------------------------------
Optional Plugin Autoupdater - If you want the plugin up-to-date
-------------------------------

Client commands:
-------------------------------
In the chat !res or /res - to enable or disable Round End Sounds
In the console sm_res - to enable or disable Round End Sounds
-------------------------------

CVar list:
-------------------------------
Code:
// How often in seconds it will display the message every time. 0=Disable
// -
// Default: "120"
sm_res_announceevery "120"

// Enable/disable round end sound
// -
// Default: "1"
sm_res_enable "1"

// Announcement in 20 sec. after player connect
// -
// Default: "1"
sm_res_playerconnectannounce "1"

// Announcement at every round end
// -
// Default: "0"
sm_res_roundendannounce "0"

// Announcement at every round start
// -
// Default: "0"
sm_res_roundstartannounce "0"

// Round End Sound version
// -
// Default: "2.3.9"
sm_res_version "2.3.9"

// If enabled, clients will be able to modify their ability to hear sounds. 0=Disable
// -
// Default: "1"
sm_res_client "1"

// If enabled, the sounds will be random. If disabled the sounds will be played in a queue
// -
// Default: "0"
sm_res_randomsound "0"

// If enabled, all sounds will be played in spite of the winner team
// -
// Default: "0"
sm_res_commonsounds "0"

// Enables debug
// -
// Default: "0"
sm_res_debug "0"

// Path to the sound list
// -
// Default: "addons/sourcemod/configs/res_list.cfg"
sm_res_soundlist "addons/sourcemod/configs/res_list.cfg"

// Enables or Disables last capture point cry for dod
// -
// Default: "0"
sm_res_dod_crysound "0"
-------------------------------

Supported games:
-------------------------------
Counter-Strike: Source - tested and work
Day of Defeat: Source - tested and work
Team Fortress 2 - tested and work
Others (which has round_start and round_end event)
-------------------------------

Supported languages:
-------------------------------
Russian
English
Polish by Arcy
-------------------------------

Edit res_list.cfg as you need
-------------------------------
Code:
// Counter-Strike:Source
// en:
// Tags: "T" - for Terrorist team; "CT" - for Counter-Terrorist team; "BOTH" or nothing (example: "misc/hello.mp3" - without tags) - for both team;
// 
// ru:
// Тэги: "T" - для команды Террористов; "CT" - для команды Спецназовцев; "BOTH" или ничего (например: "misc/hello.mp3" - без тэгов) - для обеих команд;
// --------------------------------
// Day of Defeat:Source
// en:
// Tags: "GER" - for German team; "USA" - for American team; "BOTH" or nothing (example: "misc/hello.mp3" - without tags) - for both team;
//
// ru:
// Tags: "GER" - для команды Немцев; "USA" - для команды Американцев; "BOTH" или ничего (например: "misc/hello.mp3" - без тэгов) - для обеих команд;
// --------------------------------
// Team Fortress 2
// en:
// Tags: "RED" - for Red team; "BLU" - for Blue team; "BOTH" or nothing (example: "misc/hello.mp3" - without tags) - for both team;
//
// ru:
// тэги: "RED" - для Красной команды; "BLU" - для Синей команды; "BOTH" или ничего (например: "misc/hello.mp3" - без тэгов) - для обеих команд;
// --------------------------------
// Other games
// en:
// Tags: "TEAM1" - for team 1; "TEAM2" - for team 2; "BOTH" or nothing (example: "misc/hello.mp3" - without tags) - for both team;
//
// ru:
// тэги: "TEAM1" - для команды 1; "TEAM2" - для команды 2; "BOTH" или ничего (например: "misc/hello.mp3" - без тэгов) - для обеих команд;
// --------------------------------
// ============================================================

// en - For Team 1, ru - Для 1 Команды
// 
// en - (Counter-Terrorist team, German team, Blue team or put tag TEAM1 to load for team 1(if the game is another one))
//
// ru - (команда Спецназовцев, команда Немцев, Синяя команда или вставьте тэг TEAM1 для загрузки для команды 1(Если игра совсем другая))
//
misc/ctwinnar2.wav=CT
misc/ctwinnar3.wav=GER
misc/ctwinnar4.wav=BLU

// --------------------------------

// en - For Team 2, ru - Для 2 Команды
// 
// en - (Terrorist team, USA team, Red team or put TEAM2 to load for team 2 (if the game is another one))
//
// ru - (команда Террористов, команда Американцев, Красная команда или вставьте тэг TEAM2 для загрузки для команды 2(Если игра совсем другая))
//
//
misc/twinnar.wav=T
misc/twinnar2.wav=USA
misc/twinnar3.wav=RED
//
// --------------------------------
Notice! Maximum sounds = 100
-------------------------------

Changelog:
-------------------------------
Code:
Round End Sound (version 1.0)
---------------------------------------
* First release
---------------------------------------

Round End Sound (version 1.1)
---------------------------------------
* Added notification about on/off Round End Sound in 20 seconds after connect and at the end of the round
* Added multi-language support (but there are Russian and English translations)
* Added cookie (client pref) to disable sound
---------------------------------------

Round End Sound (version 1.2)
---------------------------------------
* Added cvars to enable or disable notify (At every round start, every round end, in 20 sec. after connect and every X seconds
* Added Autoexec config - cstrike/cfg/sourcemod/plugin.res.cfg (It will be autogenerated if it doesn't exist)
---------------------------------------

Round End Sound (version 1.3)
---------------------------------------
* Added cookie in !settings menu
* Updated translations
---------------------------------------

Round End Sound (version 2.0)
---------------------------------------
* Reworked!
* Added the ability to play sounds of the winner team
* Easy to edit res_list.cfg
* Added new CVar sm_res_randomsound
---------------------------------------

Round End Sound (version 2.1) [15.11.2010]
---------------------------------------
* Script clean
* Fixed block original win sounds
* Added new tag "BOTH". To load sound for both team
* Added to tag "CT", new tag "Counter-Terrorist"
* Added to tag "T", new tag "Terrorist"
* Added the ability if sound without tag <"=CT", "=T" or "=BOTH"> to load sound for both team
---------------------------------------

Round End Sound (version 2.2) [17.11.2010]
---------------------------------------
* Added support to game Team Fortress 2
* Added support to game Day of Defeat:Source
* Now tags to team 1 - "T", "RED", "GER", "IRQ"
* Tags to team 2 - "CT", "BLU", "USA"
* Fixed playing round end sounds on by default for new player (thanks "outl@w")
* Removed tag "Terrorist" and "Counter-Terrorist"
---------------------------------------

Round End Sound (version 2.2a) [18.11.2010]
---------------------------------------
* Added support to game Incurgency:Source
---------------------------------------

Round End Sound (version 2.2b) [19.11.2010]
---------------------------------------
* Fixed Native "GetConVarBool" that reported: Invalid convar handle 1 (error 1)
---------------------------------------

Round End Sound (version 2.3) [28.12.2010]
---------------------------------------
* Added optional autoupdating (Require Plugin Autoupdater http://forums.alliedmods.net/showthread.php?t=91992)
* Changed console command "res" to "sm_res"
* Fixed convar sm_res_enable
* Something else
---------------------------------------

Round End Sound (version 2.3.1) [28.12.2010]
---------------------------------------
* Added convar "sm_res_client" to enable or disable clientprefs to the players 
* Some fix
---------------------------------------

Round End Sound (version 2.3.2) [29.12.2010]
---------------------------------------
* Fixed "sm_res_client"
* Fixed the mistake that each player heard different sounds
* Fixed autoupdate
* optimized plugin
* General Fix
---------------------------------------

Round End Sound (version 2.3.3) [30.12.2010]
---------------------------------------
* Grammar fix
---------------------------------------

Round End Sound (version 2.3.4) [03.01.2011]
---------------------------------------
* Fixed clientPref that every time created new preference on mapchange
---------------------------------------

Round End Sound (version 2.3.5) [27.01.2011]
---------------------------------------
* Fixed problem with TF2 and DoD games
---------------------------------------

Round End Sound (version 2.3.6) [04.02.2011]
---------------------------------------
* Added new cvar "sm_res_soundlist" for custom path to the soundlist. Update your config file
* Added new cvar "sm_res_dod_crysound" to stop last capture point cry. Update your config file
* Added polish translation made by Arcy
* Improved checking sound extension. Thanks berni for <smlib>
* Increased sounds level
* Fixed hooking events for other games
* Fixed playing original sounds to each team for TF2
---------------------------------------

Round End Sound (version 2.3.7) [13.02.2011]
---------------------------------------
* Fixed CloseHandle() on unloading
* Added log for not existing sound
* Changed config file name to RoundEndSound.cfg
* Changed translation file name to RoundEndSound.txt
---------------------------------------

Round End Sound (version 2.3.8) [13.02.2011]
---------------------------------------
* Fixed sm_res_announceevery, if 0 = disable
---------------------------------------

Round End Sound (version 2.3.9) [07.03.2011]
---------------------------------------
* Changed description and function for sm_res_randomsound, now it turns the sounds to play random or in a queue.
* Added debug mode. sm_res_debug. (Update config file)
* Added new cvar sm_res_commonsounds, it's doing same thing as sm_res_randomsound the version before. (Update config file)
---------------------------------------
-------------------------------

ToDo
-------------------------------
Nothing
-------------------------------

Installation instructions
-------------------------------
Just extract the archive from attach to [server root/game mod] folder and edit res_list.cfg
-------------------------------

Credits
-------------------------------
* exvel, I used some scripts from his plugins
* Arcy, for polish translation
* berni for smlib
* ANTiCHRiST, for his original plugin RoundSound++
* outl@w and Arcy for finding the mistake
-------------------------------
Attached Files
File Type: zip Sounds.zip (1.29 MB, 23045 views)
File Type: zip RoundEndSound_v2.3.9.zip (22.0 KB, 24382 views)

Last edited by FrozDark; 03-07-2011 at 10:44. Reason: Updated
FrozDark is offline
Send a message via Skype™ to FrozDark
FrozDark
BANNED
Join Date: May 2010
Location: Kazakhstan, Shymkent
Old 11-15-2010 , 10:22   Re: [CSS] Round End Sound
Reply With Quote #2

Updated
FrozDark is offline
Send a message via Skype™ to FrozDark
outl@w
Junior Member
Join Date: Nov 2010
Location: Germany
Old 11-17-2010 , 06:21   Re: [CSS] Round End Sound (ver. 2.1) [15.11.2010]
Reply With Quote #3

Hi FrozDark,
when a player join the server, he must type !res in the chatarea to activate (hear) the roundsounds. it is possible, to activate the sounds autmatically without the player must type !res.

Greetings
-=Outl@w=- form KKC Clan
outl@w is offline
sandalet
Junior Member
Join Date: Nov 2010
Old 11-17-2010 , 06:38   Re: [CSS] Round End Sound (ver. 2.1) [15.11.2010]
Reply With Quote #4

Hello. I would like to to the sounds heard by default, without typing in the chat commands. Just would like to sound does not terminate at the end of the round, and sounded completely ( Transferred to the beginning of the round ).
sandalet is offline
FrozDark
BANNED
Join Date: May 2010
Location: Kazakhstan, Shymkent
Old 11-17-2010 , 08:42   Re: [CSS] Round End Sound (ver. 2.1) [15.11.2010]
Reply With Quote #5

Quote:
Originally Posted by sandalet View Post
Hello. I would like to to the sounds heard by default, without typing in the chat commands. Just would like to sound does not terminate at the end of the round, and sounded completely ( Transferred to the beginning of the round ).
You mean hear sounds anyway??

2outl@w
It's my mistake! I'll fix in the next version
FrozDark is offline
Send a message via Skype™ to FrozDark
FrozDark
BANNED
Join Date: May 2010
Location: Kazakhstan, Shymkent
Old 11-17-2010 , 09:20   Re: [ANY] Round End Sound (ver. 2.2) [17.11.2010]
Reply With Quote #6

updated!
FrozDark is offline
Send a message via Skype™ to FrozDark
sandalet
Junior Member
Join Date: Nov 2010
Old 11-17-2010 , 10:17   Re: [ANY] Round End Sound (ver. 2.2) [17.11.2010]
Reply With Quote #7

Yes, For example: time melody 14 seconds, let it play until the end anyway.
sandalet is offline
FrozDark
BANNED
Join Date: May 2010
Location: Kazakhstan, Shymkent
Old 11-17-2010 , 10:23   Re: [ANY] Round End Sound (ver. 2.2) [17.11.2010]
Reply With Quote #8

I can make player hear sounds anyway, without typing in the chat, but I can't make sound start playing in the next round at point it stopped in the previous round!
FrozDark is offline
Send a message via Skype™ to FrozDark
outl@w
Junior Member
Join Date: Nov 2010
Location: Germany
Old 11-18-2010 , 16:45   Re: [ANY] Round End Sound (ver. 2.2a) [18.11.2010]
Reply With Quote #9

Hi FrozDark,

i had tested your Update, but no sounds come up. In the Serverconsole are the following Errors:

[SM] Native "GetConVarBool" reported: Invalid convar handle 1 (error 1)
[SM] Displaying call stack trace for plugin "RoundEndSound.smx"
Line 116 ...\scripting\RoundEndSound.sp::OnRoundEnd

I hope you can repair the errors.

Greetings

-=Outl@w=-
outl@w is offline
FrozDark
BANNED
Join Date: May 2010
Location: Kazakhstan, Shymkent
Old 11-19-2010 , 07:38   Re: [ANY] Round End Sound (ver. 2.2b) [19.11.2010]
Reply With Quote #10

I don't know how I did such mistake, but now it fixed! And I hope it will be approved!
FrozDark is offline
Send a message via Skype™ to FrozDark
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 09:05.


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