View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 07-27-2011 , 10:38   [TF2] Automatic Demoman Detonation
Reply With Quote #1

[TF2] Automatic Demoman Detonation
Version 1.2.3


Description:
Sticky grenades will explode when the demoman who placed them dies.

Commands:
  • sm_autodd <client> [1/0]
    • Manually enables/blocks a player's stickies from exploding.

Cvars:
  • sm_kersplode_version
    • Plugin Version
  • sm_kersplode_mode
    • 0 = Plugin disabled
    • 1 = Command only (Whitelist mode) - Default
    • 2 = Enabled for all players (Blacklist mode)
    Note: In mode 1 you *must* give access via the command in order for the plugin to do anything.
    In mode 2 you *can* also use the plugin to disable/blacklist a player.

Install Instructions:


For TF2:

  1. Place Kersplode.smx into your addons/sourcemod/plugins/ folder.
  2. Place CTFGrenadeDetonate.txt into your addons/sourcemod/gamedata/ folder.

Notes:
  • Requires SDKHooks.
  • Plugin will not compile on the forums due to required include files. Compile it locally or download the smx.

Version History:
  • V1.0.0
    • Initial Release
  • V1.2.2
    • Added some extra checks to prevent plugin hangs in take damage hook.
    • Added support for festive sticky launchers.
    • Plugin will enter a fail state and log an error if the gamedata file is missing.
    • Updated plugin title.
  • V1.2.3
    • Added a check to prevent taunt greifing made possible by Valf's code.
    • Added command alias sm_autodd

Total downloads as prior to last edit: 99

Latest CTFGrenadeDetonate.txt
Attached Files
File Type: smx Kersplode.smx (5.5 KB, 1195 views)
File Type: sp Get Plugin or Get Source (Kersplode.sp - 1064 views - 5.6 KB)
__________________

Last edited by DarthNinja; 05-28-2014 at 12:39.
DarthNinja is offline