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

[TF2] Suicide Notifier (v1.0, 2011-07-06)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Vincenator
Member
Join Date: Aug 2009
Plugin ID:
2429
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Fun custom text notifications on suicide
    Old 07-06-2011 , 05:04   [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #1

    TF2 Suicide Notifier

    Description:

    Prints a message to everyone whenever a player commits suicide. There are different messages for different types of death, and they are all customizable.

    Specific messages include: Normal suicide, gravity death, payload explosion, drowning, saw blades, train kills, and more.

    Even lets you know when the train gets a multi-kill!

    Cvars:
    • suicidenotifier_enabled - 0 is off, 1 is on. Default is 1.

    Changelog
    Quote:
    2011-08-10 (v1.1)
    *Fixed duplicate death messages for Dead Ringer spies
    2011-07-06 (v1.0)
    *Initial release
    Installation:

    Copy the .smx plugin to your plugins folder, and copy the .txt file to your translations folder. Open up the .txt file and customize your own messages!


    [IMG]http://img38.**************/img38/955/suicidenotifiersmallscr.jpg[/IMG]
    Attached Files
    File Type: txt suicidenotifier.phrases.txt (1.3 KB, 1039 views)
    File Type: sp Get Plugin or Get Source (suicidenotifier.sp - 1666 views - 4.9 KB)

    Last edited by Vincenator; 08-10-2011 at 01:56.
    Vincenator is offline
    napalm00
    Veteran Member
    Join Date: Jun 2011
    Location: Italy, sadly
    Old 07-06-2011 , 06:14   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #2

    i already thanked you for the snippet, but now i have to kiss you!
    hell man this is SO funny
    napalm00 is offline
    Vincenator
    Member
    Join Date: Aug 2009
    Old 08-04-2011 , 01:19   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #3

    Haha, glad you like it!
    Vincenator is offline
    snelvuur
    Veteran Member
    Join Date: Jun 2008
    Location: Netherlands
    Old 08-09-2011 , 08:17   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #4

    Would be nice if you could have multiple messages per death.. (random)
    __________________
    Arguing with a fool only proves there are two
    snelvuur is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 08-09-2011 , 10:49   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #5

    You may want to check the feign_death event property, or else Spies that have a DR out and, say, fall to their death will have two death messages.

    Having said that, it is possible to get clipped by the edge of a train with the DR out as a Spy and survive (by not being in front of the train any more when the second death would happen).
    __________________
    Not currently working on SourceMod plugin development.
    Powerlord is offline
    Vincenator
    Member
    Join Date: Aug 2009
    Old 08-10-2011 , 01:54   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #6

    Thanks for the tip, Powerlord.
    Actually, though, two things:
    1) The only instances I can find of dying with the DR causing two death messages are from the train, the lumberyard pit, and the offblast edge. I think this is because you instantly die one and only one death from all other causes included in my plugin, whereas you die from some form of damage in these.
    2) It seems the feign_death property no longer works as it should; it looks like death flags are now the way to go. GetEventInt(event, "death_flags")&TF_DEATHFLAG_DEADRINGER works.

    I updated the plugin to only count DR deaths once; thanks again Powerlord.


    Also, snelvuur, that's a good idea, but as far as I know it's not possible to have random messages display with just translations, which I intend to stick with. I suppose I could do something with multiple similarly named translations for a given event, like "Gravity" and "Gravity2", but I fear it would get a bit too confusing for server owners to set up properly.. Maybe, though.

    Last edited by Vincenator; 08-10-2011 at 02:03.
    Vincenator is offline
    TheDrunkenBrawler
    New Member
    Join Date: Jun 2013
    Old 06-29-2013 , 15:13   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #7

    Quote:
    Originally Posted by snelvuur View Post
    Would be nice if you could have multiple messages per death.. (random)

    Agreed!, any chance of this happening?
    TheDrunkenBrawler is offline
    lyric
    Veteran Member
    Join Date: Sep 2012
    Old 06-29-2013 , 19:05   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #8

    Quote:
    Originally Posted by TheDrunkenBrawler View Post
    Agreed!, any chance of this happening?
    holy necro!

    Quote:
    Last Activity: 02-20-13 03:56 PM
    i doubt any chance of it happening at all
    __________________
    lyric is offline
    Vincenator
    Member
    Join Date: Aug 2009
    Old 06-29-2013 , 23:40   Re: [TF2] Suicide Notifier (v1.0, 2011-07-06)
    Reply With Quote #9

    Heh, I'm afraid this plugin won't be updated by me - I haven't worked on SourceMod stuff in a few years, and I don't have any plans to get back into it. I'm happy to see that people are actually using this plugin though!
    Vincenator 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 19:41.


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