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

[CS:S] Improved Bomb Events


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Plugin ID:
2311
Plugin Version:
1.3
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Customizable text messages and sounds on bomb events.
    Old 04-15-2011 , 20:09   [CS:S] Improved Bomb Events
    Reply With Quote #1

    This is a rewrite of Bomb Events by tuty.

    With this plugin you can setup custom text messages and sounds in response to bomb events.
    The configuration file syntax is very straightforward, but here's a section with comments:
    Code:
    "bomb_beginplant" // you can get a full list of bomb events at http://wiki.alliedmods.net/Counter-Strike:_Source_Events
    {
        "enabled"        "yes" // if you set this to "no" it will ignore this event
        "message"        "%s is planting the bomb!" // the message to display when this event happens, leave it empty to disable. %s = player name
        "messageType"    "7" // this specifies where the message is displayed, 1 = hint text, 2 = chat message, 4 = center text, add the values if you want multiple places (7 = show it on all three locations)
        "sound"          "quake/perfect.mp3" // sound to play on this event, leave it empty to disable
    }
    Installation:
    ImprovedBombEvents.smx goes in sourcemod/plugins.
    ImprovedBombEvents.cfg goes in sourcemod/configs.
    Change the map, restart the server, or "sm plugins load ImprovedBombEvents" on the server console.

    Changelog:
    04/15/2011 - Plugin released.
    04/05/2011 - Fixed plugin not adding sounds to the downloads table.
    05/05/2011 - Fixed using EmitSound to play MP3s.
    11/05/2011 - Fixed the plugin not ignoring the first bomb pickup in the round when late loaded.
    Attached Files
    File Type: sp Get Plugin or Get Source (ImprovedBombEvents.sp - 1739 views - 7.0 KB)
    File Type: cfg ImprovedBombEvents.cfg (1.4 KB, 908 views)

    Last edited by Seta00; 07-24-2011 at 01:50. Reason: v1.3
    Seta00 is offline
    nightrider
    SourceMod Donor
    Join Date: Dec 2008
    Old 04-15-2011 , 20:25   Re: [CS:S] Improved Bomb Events
    Reply With Quote #2

    Interesting.
    __________________
    [SIGPIC][/SIGPIC] the pantless
    I am the Night Rider!, I'm a fuel-injected suicide machine.
    I am a rocker! I am a roller!, I am an out-of-controller!


    nightrider is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-04-2011 , 16:49   Re: [CS:S] Improved Bomb Events
    Reply With Quote #3

    doesnt work. Sounds arent downloaded, only thing working is the message displayed
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    Seta00
    The Seta00 user has crashed.
    Join Date: Jan 2010
    Location: Berlin
    Old 05-04-2011 , 16:52   Re: [CS:S] Improved Bomb Events
    Reply With Quote #4

    Quote:
    Originally Posted by sinblaster View Post
    doesnt work. Sounds arent downloaded, only thing working is the message displayed
    Tested with files I already had on the client, forgot the download thingie

    EDIT: Uploaded a fixed version.

    Last edited by Seta00; 05-04-2011 at 16:59.
    Seta00 is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-04-2011 , 17:08   Re: [CS:S] Improved Bomb Events
    Reply With Quote #5

    its downloading but not playing custom sounds, cfg is setup properly, ill dbl check the sound formats but I use a standard 44100 Hz 16bit when creating sounds. Like I said Ill dbl check when the kids at school soonish
    __________________
    Happy Happy Joy Joy


    Last edited by sinblaster; 05-04-2011 at 18:31.
    sinblaster is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-04-2011 , 18:31   Re: [CS:S] Improved Bomb Events
    Reply With Quote #6

    yeah I dbl checked my sound files are in order they just arent playing on event.
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    blue zebra
    BANNED
    Join Date: Jun 2010
    Old 05-05-2011 , 01:07   Re: [CS:S] Improved Bomb Events
    Reply With Quote #7

    Don't work for me.
    Linux. Latest stable MM and sm.
    When i try to install this, i got this error, and the server go down:

    Code:
    Executing dedicated server config file
    Host_Error: CEngineSoundServer::PrecacheSound:  Bad string:
    blue zebra is offline
    Seta00
    The Seta00 user has crashed.
    Join Date: Jan 2010
    Location: Berlin
    Old 05-05-2011 , 12:03   Re: [CS:S] Improved Bomb Events
    Reply With Quote #8

    Uh... I tested it on a Linux server before uploading the file, it's working for me.
    Can you post the contents of your config file and the output of ls -R /path/to/cstrike/sound/ on your server?

    Oh, you have sound disabled for at least one event, right? Yeah I know what it is, will upload a fixed version in a sec.

    EDIT: Uploaded fixed version on OP.

    Last edited by Seta00; 05-05-2011 at 13:57.
    Seta00 is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-05-2011 , 16:37   Re: [CS:S] Improved Bomb Events
    Reply With Quote #9

    Quote:
    Originally Posted by Seta00 View Post
    Uh... I tested it on a Linux server before uploading the file, it's working for me.
    Can you post the contents of your config file and the output of ls -R /path/to/cstrike/sound/ on your server?

    Oh, you have sound disabled for at least one event, right? Yeah I know what it is, will upload a fixed version in a sec.

    EDIT: Uploaded fixed version on OP.

    nice catch son. Exactly what I have done thanks seta.
    __________________
    Happy Happy Joy Joy

    sinblaster is offline
    sinblaster
    Grim Reaper
    Join Date: Feb 2010
    Location: Australia
    Old 05-05-2011 , 16:55   Re: [CS:S] Improved Bomb Events
    Reply With Quote #10

    is there any way to skip an event once? On round start it plays bomb_pickup which is kind of obvious & kills the round start sound
    __________________
    Happy Happy Joy Joy


    Last edited by sinblaster; 05-05-2011 at 17:02.
    sinblaster is offline
    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 17:19.


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