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

TF2DECAP: Heads will roll! (Decapitation plugin)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
eee
Member
Join Date: Aug 2009
Plugin ID:
1370
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Adds decapitations in TF2
    Old 12-29-2009 , 19:24   TF2DECAP: Heads will roll! (Decapitation plugin)
    Reply With Quote #1

    I don't know about you, but the first thing I wanted to do when I saw the Eyelander was decapitate things. No, I'm not a ghost, but I do have a penchant for removing heads. So I thought, you know what this game needs? Even more decapitations!

    Note:
    Most of this plugin was directly... borrowed... from TF2Gore v2 (the gib part), so MAJOR credit goes to Joe 'Pinkfairie' Maley http://forums.alliedmods.net/showthread.php?p=666087, if not for his work, this plugin would be looking a bit silly.


    Description:

    This plugin causes decapitations on headshots with any weapon able to headshot. It doesn't make a mess of logging, or your pots and pans, as it only creates a ragdoll.

    Convars:


    tf2decap_decap_always (default 0): Every kill is a decapitation. Gets a little wacky. Overrides huntsman setting.

    tf2decap_decapitations (default 1): Allows the plugin to take over and turn headshots into decapitations.

    tf2decap_decap_huntsman (default 1): The huntsman follows normal headshot rules (customkill 1), so the headshots will trigger a decapitation. If you don't like seeing a head rolling away from a neck with an arrow in it, change this to 0. This will decapitate regardless if tf2decap_decap_always is 1.


    Development Notes:

    This plugin prehooks player_death. Not as bad as some plugins, but if you're worried about that sort of thing, there you have it.
    I've also left some room right at the start (DecapTypes, an array of customkill types to allow a decapitation, and a DecapTypeCount that follows it). It looks useless now with one type, but I felt it should be there for easy modifications.




    Other notes:
    If this isn't approved, I wouldn't mind if someone decides to make it better/fix whatever I did wrong because I kind of thought it was a good idea. I'm pretty sure I probably did something wrong (first submission), so as per the rules I'll be reporting my post.
    Attached Files
    File Type: sp Get Plugin or Get Source (decapitation.sp - 3351 views - 3.3 KB)
    __________________

    Last edited by eee; 12-29-2009 at 20:52.
    eee is offline
     



    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 18:13.


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