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

[ANY] Event Sounds


Post New Thread Reply   
 
Thread Tools Display Modes
bongikairu
New Member
Join Date: Sep 2011
Old 09-18-2011 , 23:33   Re: [ANY] Event Sounds
Reply With Quote #12

Thanks for making this. However, it didn't work (i'm hooking it to teamplay_round_win). Also, it kills my server. This is the log it created http://cl.ly/3h023h0l0r0l3P0i1M1F
bongikairu is offline
Paparazziv2
Senior Member
Join Date: Feb 2011
Location: Chile, La Serena
Old 09-21-2011 , 18:00   Re: [ANY] Event Sounds
Reply With Quote #13

and the plugin remplace the default sound?
i not like this:
Options
Quote:
{
"NOTIFY_MSG" "{olive}Hello camrat! You hear {teamcolor}{SOUND_NAME}!" //Sound notify message
"NOTIFY_MSG_DELAY" "0.1" //Show notify message after this time

"NOTIFY_SOUND_DELAY" "0.1" //Play sound to client / all clients after this time
}
}
I can disable this¿?
I have this problem: with sm plugins reload event_sounds.smx
Code:
sm plugins reload event_sounds.smx
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file addons/sourcemod/configs/event_sounds.keys.txt
EventSounds, (*teamplay_round_start*), (*smokegrenade_detonate*), (*options*), 
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file addons/sourcemod/configs/event_sounds.keys.txt
EventSounds, (*teamplay_round_start*), (*smokegrenade_detonate*), (*options*), 
[SM] Plugin Event sounds reloaded successfully.
and my event_sounds.keys.txt:
Code:
"EventSounds"
{
"teamplay_round_start"
    {
        //Sounds
        "sounds"
        {
            "sirena"     "sound/sourcekamikaze/sirena.mp3" //First element - sound name, next element - sound path
        }
        //Options
        "options"
        {
            //"NOTIFY_MSG"    "{olive}Hello camrat! You hear {teamcolor}{SOUND_NAME}!" //Sound notify message
            //"NOTIFY_MSG_DELAY"    "0.1" //Show notify message after this time
            "NOTIFY_SOUND_DELAY"    "0.1" //Play sound to client / all clients after this time
            "SOUND_PLAYTYPE"    "2" //"Playtype" for actual event - 1 - use client commd (play), 2 - use sdk sound function (emtisound)
            "SOUND_CLIENTONLY" "0" //0 - play all clients ( if can ), 1 - play sound only for client ( if exists )
        }
        
"smokegrenade_detonate"
    {
        //Sounds
        "sounds"
        {
            "frostnova"     "sound/sourcekamikaze/frostnova.mp3" //First element - sound name, next element - sound path
        }
        //Options
        "options"
        {
            //"NOTIFY_MSG"    "{olive}Hello camrat! You hear {teamcolor}{SOUND_NAME}!" //Sound notify message
            //"NOTIFY_MSG_DELAY"    "0.1" //Show notify message after this time
            "NOTIFY_SOUND_DELAY"    "0.1" //Play sound to client / all clients after this time
            "SOUND_PLAYTYPE"    "2" //"Playtype" for actual event - 1 - use client commd (play), 2 - use sdk sound function (emtisound)
            "SOUND_CLIENTONLY" "0" //0 - play all clients ( if can ), 1 - play sound only for client ( if exists )
        }
    }  
}
__________________
Sorry for the bad english please.


Last edited by Paparazziv2; 09-21-2011 at 18:37.
Paparazziv2 is offline
Send a message via MSN to Paparazziv2
Kemsan
Member
Join Date: Sep 2009
Location: Poland, Bytom
Old 09-21-2011 , 19:23   Re: [ANY] Event Sounds
Reply With Quote #14

You don't close bracket after "teamplay_round_start". Plugin don't change standart event sound - only add "own" sound. To remove notify - leave blank "NOTIFY_MSG".
__________________
Kemsan is offline
Paparazziv2
Senior Member
Join Date: Feb 2011
Location: Chile, La Serena
Old 09-22-2011 , 11:05   Re: [ANY] Event Sounds
Reply With Quote #15

Quote:
Originally Posted by Kemsan View Post
You don't close bracket after "teamplay_round_start". Plugin don't change standart event sound - only add "own" sound. To remove notify - leave blank "NOTIFY_MSG".
you can send me the example :s ? please
__________________
Sorry for the bad english please.

Paparazziv2 is offline
Send a message via MSN to Paparazziv2
Kemsan
Member
Join Date: Sep 2009
Location: Poland, Bytom
Old 09-22-2011 , 11:36   Re: [ANY] Event Sounds
Reply With Quote #16

PHP Code:
"EventSounds"
{
    
"teamplay_round_start"
    
{
        
//Sounds
        
"sounds"
        
{
            
"sirena"     "sound/sourcekamikaze/sirena.mp3" //First element - sound name, next element - sound path
        
}
        
//Options
        
"options"
        
{
            
"NOTIFY_MSG"    " " //Sound notify message
            
"NOTIFY_SOUND_DELAY"    "0.1" //Play sound to client / all clients after this time
            
"SOUND_PLAYTYPE"    "2" //"Playtype" for actual event - 1 - use client commd (play), 2 - use sdk sound function (emtisound)
            
"SOUND_CLIENTONLY" "0" //0 - play all clients ( if can ), 1 - play sound only for client ( if exists )
        
}
    }
    
"smokegrenade_detonate"
    
{
        
//Sounds
        
"sounds"
        
{
            
"frostnova"     "sound/sourcekamikaze/frostnova.mp3" //First element - sound name, next element - sound path
        
}
        
//Options
        
"options"
        
{
            
"NOTIFY_MSG"    " " //Sound notify message
            
"NOTIFY_SOUND_DELAY"    "0.1" //Play sound to client / all clients after this time
            
"SOUND_PLAYTYPE"    "2" //"Playtype" for actual event - 1 - use client commd (play), 2 - use sdk sound function (emtisound)
            
"SOUND_CLIENTONLY" "0" //0 - play all clients ( if can ), 1 - play sound only for client ( if exists )
        
}
    }  

Grab.
__________________
Kemsan is offline
Paparazziv2
Senior Member
Join Date: Feb 2011
Location: Chile, La Serena
Old 09-22-2011 , 14:08   Re: [ANY] Event Sounds
Reply With Quote #17

Thanks Good plugin.
__________________
Sorry for the bad english please.

Paparazziv2 is offline
Send a message via MSN to Paparazziv2
kotek
Member
Join Date: Jun 2010
Old 09-22-2011 , 15:10   Re: [ANY] Event Sounds
Reply With Quote #18

hello, i installed Your plugin on CSS linux server, I have latest Sourcemod and metamod, and this plugin is crushing server

my conig:
Code:
"EventSounds"
{
    "cs_win_panel_round"
    {
        //Sounds
        "sounds"
        {
            "getback" "sound/admin_plugin/getback.mp3"
            "dontstop" "sound/admin_plugin/dontstop.mp3"
            "tell me why" "sound/admin_plugin/why.mp3"
            "everything" "sound/admin_plugin/everything.mp3"
            "ojojoj" "sound/admin_plugin/ojojoj.mp3"
            "rabiosa" "sound/admin_plugin/rabiosa.mp3"
            "sexualna" "sound/admin_plugin/sexualna.mp3"
            "st tropez" "sound/admin_plugin/sttropez.mp3"
            "what the fuck" "sound/admin_plugin/whatthefuck.mp3"
            "losecontrol" "sound/admin_plugin/losecontrol.mp3"
            "gettinover" "sound/admin_plugin/gettinover.mp3"
            "barbara" "sound/admin_plugin/barbara.mp3"
            "wakawaka" "sound/admin_plugin/wakawaka.mp3"
            "kokaina" "sound/admin_plugin/kokaina.mp3"
            "power" "sound/admin_plugin/powerer.mp3"
            "davidg-memories" "sound/admin_plugin/memories321.mp3"
        }
        //Options
        "options"
        {
            "NOTIFY_MSG"    "{olive}Hello camrat! You hear {teamcolor}{SOUND_NAME}!"
            "NOTIFY_MSG_DELAY"    "0.1"
            "NOTIFY_SOUND_DELAY"    "0.1"
            "SOUND_PLAYTYPE"    "1"
        }
    }
}
what can be wrong?
kotek is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 09-22-2011 , 17:57   Re: [ANY] Event Sounds
Reply With Quote #19

Please add DONTRECORD to your version cvar. You don't want this pushed to the config file as it will cause servers running your plugin to report an incorrect version number.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Alice.bnd
Member
Join Date: Sep 2011
Location: Russia, SPb
Old 10-05-2011 , 10:34   Re: [ANY] Event Sounds
Reply With Quote #20

Quote:
Originally Posted by Kemsan View Post
Event Sounds 1.1

Cvars:

sm_event_sounds_version - Version of plugin
Correct pls: sm_event_sounds

And plugin d't play sound on my server... I d't know why.
In the list of plug-ins I it see. Plugin shows the version. Sounds aren't played also by the message doesn't show.

My cfg:
PHP Code:
"EventSounds"
{
// Round start
"teamplay_round_start"
{
//Sounds
"sounds"
{
"Zlodeyaniya" "sound/roundend/0.mp3"
"Boyarskiy" "sound/roundend/01.mp3"
}
//Options
"options"
{
"NOTIFY_MSG" "BUUUUUUUUU-BUUUUU!!!"
"NOTIFY_MSG_DELAY" "0.1"
"NOTIFY_SOUND_DELAY" "0.1"
"SOUND_PLAYTYPE" "2"
"SOUND_CLIENTONLY" "0"
}
}
 
// Round end
"round_end"
{
//Sounds
"sounds"
{
"Zlodeyaniya" "sound/roundend/0.mp3"
"Boyarskiy" "sound/roundend/01.mp3"
}
//Options
"options"
{
"NOTIFY_MSG" "BUUUUUUUUU!!!"
"NOTIFY_MSG_DELAY" "0.1"
"NOTIFY_SOUND_DELAY" "0.1"
"SOUND_PLAYTYPE" "2"
"SOUND_CLIENTONLY" "0"
}
}

Alice.bnd is offline
Send a message via ICQ to Alice.bnd
Reply



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


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