View Single Post
Author Message
chundo
Senior Member
Join Date: May 2008
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 - 4418 views - 3.6 KB)
File Type: txt explode.phrases.txt (51 Bytes, 1707 views)

Last edited by chundo; 06-06-2008 at 16:27.
chundo is offline