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

Explode v0.1 (5/26)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
chundo
Senior Member
Join Date: May 2008
Plugin ID:
396
Plugin Version:
0.1
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Explode players, with the option to damage other players in the vicinity.
    Old 05-26-2008 , 20:01   Explode v0.1 (5/26)
    Reply With Quote #1

    Explode v0.1 (5/26)

    Adds an "sm_explode" command, which does something similar to the client-side "explode" command, optionally damaging other players in the area.

    Although I hesitate to post this because of similarities to other plugins, including some built-ins, there are a couple reasons I feel this one is needed:

    1) Other explode plugins are tied to events. There should just be an "sm_explode" command, which other plugins can execute on certain events if they choose.
    2) This plugin behaves very closely to sm_timebomb, but with no countdown. Ideally, even if this plugin is not approved, I'd like to see the explosion part of sm_timebomb split off into its own command that sm_timebomb uses, so admins have the option of using a timer or not.

    CVars:

    sm_explode_version - Plugin version.
    sm_explode_radius - The blast radius. (default 600)
    sm_explode_mode - The blast damage mode. 0 = target only, 1 = target's team, 2 = everyone. (default 0)

    Commands:

    sm_explode <#userid:name> - Explodes a player

    Installing:

    explode.smx -> addons/sourcemod/plugins/
    explode.sp -> addons/sourcemod/scripting/
    explode.phrases.txt -> addons/sourcemod/translations/
    plugin.explode.cfg (optional) -> cfg/sourcemod/

    Changelog:

    0.1 - Initial release

    Credits:

    Thanks to the author of sm_timebomb for player damage calculations. Also thanks to Twilight Suzuka for his modified explosion effect from Pyro Explode.
    Attached Files
    File Type: sp Get Plugin or Get Source (explode.sp - 4399 views - 3.6 KB)
    File Type: txt explode.phrases.txt (51 Bytes, 1695 views)

    Last edited by chundo; 06-06-2008 at 16:27.
    chundo is offline
    B_CANSIN
    Senior Member
    Join Date: Aug 2011
    Location: B_CANSIN's SERVERS
    Old 08-21-2013 , 15:39   Re: Explode v0.1 (5/26)
    Reply With Quote #2

    I hope it still working for tf2 beacause release date affraiding me 2008 to 2013 lets test hopefully it will work I hopeng
    B_CANSIN is offline
    cabral_12
    New Member
    Join Date: May 2014
    Old 05-25-2014 , 16:06   Re: Explode v0.1 (5/26)
    Reply With Quote #3

    After last week update, the sm_explode and default sm_timebomb is not working more =/
    Please, Chundo, make something haha
    cabral_12 is offline
    Nolongerinthegame
    AlliedModders Donor
    Join Date: Sep 2005
    Old 05-25-2014 , 18:00   Re: Explode v0.1 (5/26)
    Reply With Quote #4

    Quote:
    Originally Posted by cabral_12 View Post
    After last week update, the sm_explode and default sm_timebomb is not working more =/
    Please, Chundo, make something haha
    Last online: 18th Sep 2009

    Don't think so matey!
    Nolongerinthegame is offline
    Donski
    Senior Member
    Join Date: Sep 2012
    Old 05-26-2014 , 08:06   Re: Explode v0.1 (5/26)
    Reply With Quote #5

    For the record, sm_timebomb (Sourcemod built-in) is working for us just fine.
    Donski is offline
    Joce93
    Senior Member
    Join Date: Feb 2016
    Old 03-31-2016 , 17:19   Re: Explode v0.1 (5/26)
    Reply With Quote #6

    Hello, i need exactly the same plugin but for HL1 mod, i didn't find
    Joce93 is offline
    Hackmastr
    Member
    Join Date: Sep 2013
    Old 04-01-2016 , 03:24   Re: Explode v0.1 (5/26)
    Reply With Quote #7

    Quote:
    Originally Posted by Joce93 View Post
    Hello, i need exactly the same plugin but for HL1 mod, i didn't find
    Doesn't HL1 use Amx mod x? Make a request here: https://forums.alliedmods.net/forumdisplay.php?f=12
    Hackmastr is offline
    L4D2Noob
    AlliedModders Donor
    Join Date: Mar 2020
    Location: Moscow
    Old 09-15-2022 , 16:49   Re: Explode v0.1 (5/26)
    Reply With Quote #8

    I found a bug. The bottom line is, if the command is assigned to a player who is not on the server, or we make a mistake in his nickname, then we will get the following text in the logs:
    Code:
    L 09/15/2022 - 20:12:22: [SM] Blaming: explode.smx
    L 09/15/2022 - 20:12:22: [SM] Call stack trace:
    L 09/15/2022 - 20:12:22: [SM]   [0] ReplyToCommand
    L 09/15/2022 - 20:12:22: [SM]   [1] Line 106, commandfilters::ReplyToTargetError
    L 09/15/2022 - 20:12:22: [SM]   [2] Line 61, D:\sm111\addons\sourcemod\scripting\explode.sp::Command_Explode
    L 09/15/2022 - 20:12:38: [SM] Exception reported: Language phrase "No matching client" not found (arg 4)
    __________________
    L4D2Noob is offline
    Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
    L4D2Noob
    AlliedModders Donor
    Join Date: Mar 2020
    Location: Moscow
    Old 09-15-2022 , 17:21   Re: Explode v0.1 (5/26)
    Reply With Quote #9

    Just added the missing translation lines.
    Attached Files
    File Type: zip explode.zip (9.4 KB, 103 views)
    File Type: txt explode.phrases.txt (305 Bytes, 68 views)
    File Type: sp Get Plugin or Get Source (explode.sp - 120 views - 3.6 KB)
    __________________
    L4D2Noob is offline
    Send a message via ICQ to L4D2Noob Send a message via Skype™ to L4D2Noob
    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 08:58.


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