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

[TF2] Class is dead - Response System


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ClassicGuzzi
Veteran Member
Join Date: Oct 2013
Location: Argentina
Plugin ID:
4109
Plugin Version:
1.2
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    When someone dies, the nearest player responds with a voice line!
    Old 02-26-2014 , 14:26   [TF2] Class is dead - Response System
    Reply With Quote #1

    "Class is dead" - Response System

    Description
    Do you like the "MEDIC IS DED" line from heavy? Now you can hear it in normal servers!

    When someone dies, this plugin search for the nearest player from the same team and plays the "X is dead" line. Keep in mind, only the heavy, the soldier, the medic and the engi have this lines, the plugin will search for the nearest player who can say this lines.

    CVars
    cid_enabled 1 // Enable/disable this plugin (Def. 1)
    cid_version //Plugin's version
    cid_maxdist 10000.0 //Max distance to search for players.
    cid_mintime 10.0 //Min time (in secs) that the plugin must wait to respond at new deaths.

    Changelog
    Quote:
    2014-12-20 (v1.2)
    *Now teammates said spy is dead even if it was a fake death (DR).

    2014-02-27 (v1.1)
    *Added min-time and max-distance cvars
    *If the dead class is Soldier, it won't search for heavies

    2014-02-26 (v1.0)
    * Initial release.
    Installation instructions
    Just place the deadmercs.smx in your sourcemod/plugins/ folder.

    Credit
    All the credit goes to Powerlod, with his "Assister Domination Quotes" and his technical information on the TF2 response system (https://forums.alliedmods.net/showthread.php?t=215449).

    Previews downloads: 106
    Attached Files
    File Type: sp Get Plugin or Get Source (deadmercs.sp - 1623 views - 5.9 KB)

    Last edited by ClassicGuzzi; 03-01-2015 at 16:26.
    ClassicGuzzi is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 02-26-2014 , 14:59   Re: [TF2] Class is dead - Response System
    Reply With Quote #2

    As a reminder, Heavy doesn't have a "Soldier is dead!" line, even though he has the other 8. Or if he does, it has a different filename than the others... but I didn't see it in the response rules either.
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 02-26-2014 at 15:04.
    Powerlord is offline
    ClassicGuzzi
    Veteran Member
    Join Date: Oct 2013
    Location: Argentina
    Old 02-26-2014 , 15:19   Re: [TF2] Class is dead - Response System
    Reply With Quote #3

    Quote:
    Originally Posted by Powerlord View Post
    As a reminder, Heavy doesn't have a "Soldier is dead!" line, even though he has the other 8. Or if he does, it has a different filename than the others... but I didn't see it in the response rules either.
    You are right:

    Maybe I could add another check if the dead class is TFClass_Soldier so only searches for engi/medic/soldier.
    ClassicGuzzi is offline
    cool_myll
    SourceMod Donor
    Join Date: Aug 2011
    Old 02-27-2014 , 16:09   Re: [TF2] Class is dead - Response System
    Reply With Quote #4

    Works fine but is kinda spammy sometimes.
    __________________
    cool_myll is offline
    ClassicGuzzi
    Veteran Member
    Join Date: Oct 2013
    Location: Argentina
    Old 02-27-2014 , 16:13   Re: [TF2] Class is dead - Response System
    Reply With Quote #5

    Quote:
    Originally Posted by cool_myll View Post
    Works fine but is kinda spammy sometimes.
    Maybe, I will add a cvar to control how frequently players can say that line.

    Edit: Done, try it!

    Last edited by ClassicGuzzi; 02-27-2014 at 17:25.
    ClassicGuzzi is offline
    B_CANSIN
    Senior Member
    Join Date: Aug 2011
    Location: B_CANSIN's SERVERS
    Old 03-02-2014 , 17:33   Re: [TF2] Class is dead - Response System - Updated with new CVars!
    Reply With Quote #6

    hmm that 2015 2015-02-27 (v1.1) I know there is time machine in this word. * note this isn't troling I just saying it could be better edit your post. and web compiler giving me error hmm I should use mine I think . Suggesting put smx too idk in this time its giving me errors.

    Last edited by B_CANSIN; 03-02-2014 at 17:36. Reason: forget say web compiler error
    B_CANSIN is offline
    ClassicGuzzi
    Veteran Member
    Join Date: Oct 2013
    Location: Argentina
    Old 03-02-2014 , 17:36   Re: [TF2] Class is dead - Response System - Updated with new CVars!
    Reply With Quote #7

    Quote:
    Originally Posted by B_CANSIN View Post
    hmm that 2015 2015-02-27 (v1.1) I know there is time machine in this word. * note this isn't troling I just saying it could be better edit your post.
    lol fixed, thanks!
    ClassicGuzzi is offline
    B_CANSIN
    Senior Member
    Join Date: Aug 2011
    Location: B_CANSIN's SERVERS
    Old 03-02-2014 , 17:40   Re: [TF2] Class is dead - Response System - Updated with new CVars!
    Reply With Quote #8

    Quote:
    Originally Posted by ClassicGuzzi View Post
    lol fixed, thanks!
    No problem and I thank you for this plunig and for not getting angry dat joke sorry for that I couldn't stop my self. Well I think its gona be my 410. plunig or more lol I hope it won't effect other plunigs if effect I will send bug report in here thank you again ^ ^
    B_CANSIN is offline
    ClassicGuzzi
    Veteran Member
    Join Date: Oct 2013
    Location: Argentina
    Old 12-20-2014 , 03:22   Re: [TF2] Class is dead - Response System - Updated with new CVars!
    Reply With Quote #9

    Ok someone just told me that it's easy to know if a spy death is a fake one because nobody says "Spy is dead" when he uses the death ringer.

    Anyways now there is a new version that fixes this.
    ClassicGuzzi is offline
    ScrapEngineer
    Member
    Join Date: Oct 2016
    Location: The fourth worst country
    Old 10-25-2017 , 12:19   Re: [TF2] Class is dead - Response System
    Reply With Quote #10

    I like the sound of this plugin, but I'm concerned if it'll work due to it's age, well, guess I gotta test it, oh boy.
    __________________
    Amateur coder and sentient lemon.
    ScrapEngineer 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 11:25.


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