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

[CSS] Jihad Mod (Update 29/01/2011)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MomemtumMori
SourceMod Donor
Join Date: Oct 2009
Plugin ID:
2180
Plugin Version:
0.3 b5
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Enables players to wear suicidal bombs!
    Unapprover:
    Reason for Unapproving:
    OP unsupported - take over possible
    Old 01-18-2011 , 13:59   [CSS] Jihad Mod (Update 29/01/2011)
    Reply With Quote #1

    About:
    It's a remake of the old eventscript plugin (es_bombermod) in sourcemod. It gives players (CT or T) bombs which over time activates and then can be detonated.

    Features:
    • Illimited bomb types available for purchase via {sm_jihad_buybomb}. Each of them having incremental AoE set by {sm_jihad_sizemultiplier}.
    • To define the amount of types (levels) available, see {sm_jihad_bomblevels}.
    • Prices are set by {sm_jihad_pricebase} and {sm_jihad_priceupgrade}.
    • After a bomb is buyed, it activates after a given number of seconds set by {sm_jihad_predelay}. Deactivated bombs can not be used.
    • Players wearing an armed bomb will change color to RED. To activate or disable this feature, see {sm_jihad_coloronarmed}.
    • After a bomb is activated, it has a chance to fail upon detonation, set by {sm_jihad_failrate}, in which case it will automaticly rearm.
    • Before causing an actual explosion, a sound defined by {sm_jihad_postsoundpath} will be played and a delay before the explosion, to let the sound play, can be set by {sm_jihad_postdelay}. Setting the path to an empty string will not play any sound and setting the post delay to 0.0 will cancel any timing effect and the explosion will be instantaneous.
    • The explosion will not affect team members if {mp_friendlyfire} is set to 0.
    • Damage is standard for all bomb types. See {sm_jihad_explosiondamage}. Note that the wearer will not die if the damage is inferior to his health.
    • A limit can be set to restrain the amount of bombs present in each team at once. See {sm_jihad_bomblimitt} and {sm_jihad_bomblimitct}.
    • Another limit can be set to restrain the amount of times a player can buy a bomb during a single round. Useful for deathmatch servers. See {sm_jihad_bomblimitround}.

    Commands:
    • sm_jihad_buybomb <0|N> - Buy a bomb or upgrade an existing one.
      • 0 - Upgrade
      • N - Level of the bomb to buy.
    • sm_jihad_detonate - Detonate your bomb, if any.

    Configuration:
    Code:
    // This file was auto-generated by SourceMod (v1.3.5)
    // ConVars for plugin "jihadmod.smx"
    
    
    // Sets how many bomb types exists.
    // -
    // Default: "1"
    sm_jihad_bomblevels "1"
    
    // Sets how many CTs may carry a bomb at once.
    // -
    // Default: "0"
    sm_jihad_bomblimitct "0"
    
    // Sets how many time a player may buy a bomb per round.
    // -
    // Default: "1"
    sm_jihad_bomblimitround "1"
    
    // Sets how many Ts may carry a bomb at once.
    // -
    // Default: "2"
    sm_jihad_bomblimitt "2"
    
    // Sets whether the wearer of an armed bomb changes color.
    // -
    // Default: "1"
    sm_jihad_coloronarmed "1"
    
    // Sets whether the plugin is enabled or not.
    // -
    // Default: "1"
    sm_jihad_enable "1"
    
    // Sets the damage of the explosions.
    // -
    // Default: "400"
    sm_jihad_explosiondamage "400"
    
    // Sets the chance (in percent) that the bomb will fail to detonate.
    // -
    // Default: "0.25"
    sm_jihad_failrate "0.25"
    
    // Sets the delay (in seconds) before detonating the bomb.
    // -
    // Default: "1.0"
    sm_jihad_postdelay "1.0"
    
    // Sets the path of the sound to play after detonating the bomb. (Relative to the sound folder)
    // -
    // Default: "npc/zombie/zombie_voice_idle6.wav"
    sm_jihad_postsoundpath "npc/zombie/zombie_voice_idle6.wav"
    
    // Sets the delay (in seconds) before arming the bomb.
    // -
    // Default: "15.0"
    sm_jihad_predelay "15.0"
    
    // Sets the base price to buy a bomb.
    // -
    // Default: "5000"
    sm_jihad_pricebase "5000"
    
    // Sets the price to upgrade a bomb.
    // -
    // Default: "2500"
    sm_jihad_priceupgrade "2500"
    
    // Sets the radius of the explosions.
    // -
    // Default: "300"
    sm_jihad_sizemultiplier "300"
    
    // Version of the plugin.
    // -
    // Default: "0.3:5"
    sm_jihad_version "0.3:5"


    Planned:

    • A buy menu.
    • I am working along with the authors of similar plugins to make a "Unified" BomberMod which would include all the features of the said plugins. This will be great.

    Changelog:
    0.3 b5 (29/01/2011)
    • + Added the possibility to play a sound after a succesful detonation and before the explosion. {sm_jihad_postsoundpath}
    • + Added a cvar to control the delay before causing the explosion after a successful detonation. {sm_jihad_postdelay}
    • + Added a public cvar. {sm_jihad_version}
    • * Modifyed the name of {sm_jihad_delay} to {sm_jihad_predelay}.

    0.2 b19 (22/01/2011)
    • + Added the possibility to customize to amount of levels available, rather than just 2.
    • + Added the feature to change the player's color when he wears an armed bomb.
    • * Modifyed sounds from activating, failing and exploding emitting from the world to the player's location.

    0.2 b4 (18/01/2011)
    • First public release.

    Known Issues:
    • When the plugin is loaded during the round the plugin may condratic itself by saying that a player has and then has not a bomb using the buy and detonate commands. An easy fix is simply to rejoin the server.
    • The limit for a given number of bombs in the CT team might be broken, if you experience this, please post asmuch details as you can ;)
    • Custom sounds used for {sm_jihad_postsoundpath} don't work.
    It currently runs on my Jailbreak server if you want to try it before installing it on your own server.
    Attached Files
    File Type: sp Get Plugin or Get Source (jihadmod.sp - 1459 views - 13.0 KB)

    Last edited by MomemtumMori; 06-19-2011 at 20:25. Reason: Coders Of Awsome Leetness
    MomemtumMori is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 01-18-2011 , 14:26   Re: [CSS] Jihad Mod (v0.2 b4)
    Reply With Quote #2

    Whats different compared to this plugin: http://forums.alliedmods.net/showthread.php?p=1384236 ?
    __________________

    Last edited by Silvers; 01-29-2011 at 06:47.
    Silvers is offline
    MomemtumMori
    SourceMod Donor
    Join Date: Oct 2009
    Old 01-18-2011 , 15:51   Re: [CSS] Jihad Mod (v0.2 b4)
    Reply With Quote #3

    ... probably nothing
    I didnt found any SM bomber plugin (like the one you posted) and I needed one, so I made this here.

    EDIT, after checking more thoroughly in that plugin, i see there are a lot of differences actually! see features.

    Last edited by MomemtumMori; 01-19-2011 at 01:11.
    MomemtumMori is offline
    SpazShot
    Senior Member
    Join Date: Nov 2009
    Old 01-18-2011 , 18:37   Re: [CSS] Jihad Mod (v0.2 b4)
    Reply With Quote #4

    Excellent plugin, thank you very much! This is what I was looking for rather than the suicide plugin already here. Once again thanks buddy.
    SpazShot is offline
    MomemtumMori
    SourceMod Donor
    Join Date: Oct 2009
    Old 01-18-2011 , 19:20   Re: [CSS] Jihad Mod (v0.2 b4)
    Reply With Quote #5

    @Silvers, im wondering why the plugin info part of the is empty too, because it was the first thing i filled..
    Edited first post.

    @SpazShow, happy to see it's usefull to someone ;)

    Last edited by MomemtumMori; 01-18-2011 at 19:27.
    MomemtumMori is offline
    Silvers
    SourceMod Plugin Approver
    Join Date: Aug 2010
    Location: SpaceX
    Old 01-18-2011 , 19:32   Re: [CSS] Jihad Mod (v0.2 b4)
    Reply With Quote #6

    Ahh its the forum bug!
    __________________
    Silvers is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 01-19-2011 , 07:00   Re: [CSS] Jihad Mod (v0.2 b4)
    Reply With Quote #7

    It does have a big difference, this plugin has a failrate , the other one not.
    Groger is offline
    MomemtumMori
    SourceMod Donor
    Join Date: Oct 2009
    Old 01-22-2011 , 13:26   Re: [CSS] Jihad Mod (v0.2 b4)
    Reply With Quote #8

    Added a few cvars to control how many levels of bomb can be purchased and to change the color of somebody running around with an armed bomb
    __________________
    MomemtumMori is offline
    Groger
    Veteran Member
    Join Date: Oct 2009
    Location: Belgium
    Old 01-23-2011 , 08:52   Re: [CSS] Jihad Mod (Update 22/01/2011)
    Reply With Quote #9

    Hi there my community has a request:

    could you add this sound, before the bomb detonates (sound : www.onlyfriends.be/jihad.rar) so he presses --> sound plays --> sound is over --> bomb detonates

    Thx in advance!
    Roger

    Last edited by Groger; 01-23-2011 at 09:06.
    Groger is offline
    NatalyaAF
    Senior Member
    Join Date: Dec 2008
    Old 01-25-2011 , 22:21   Re: [CSS] Jihad Mod (Update 22/01/2011)
    Reply With Quote #10

    You're awesome you have saved me so much trouble omg thank you.
    __________________
    Talk to me on Steam: natalyaaf
    See my website for downloads: www.lady-natalya.info

    Natalya: killing someone while they make a plugin
    Natalya: perfect analogy
    Natalya: for the mayan apocalypse
    NatalyaAF 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 02:37.


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