Raised This Month: $150 Target: $400
 37% 

TF2: Killer's Info


Post New Thread Reply   
 
Thread Tools Display Modes
Author
toazron1
Senior Member
Join Date: Oct 2006
Plugin ID:
340
Plugin Version:
1.4.1
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    91 
    Plugin Description:
    Shows who killed you, with what, and how much hp left.
    Old 03-31-2008 , 22:08   TF2: Killer's Info
    Reply With Quote #1

    [TF2] Killer's Info
    Shows who killed you, with what, and how much hp left.

    This plugin is designed for TF2 and will not work with any other mod.

    Background:
    This is based loosely off of the now unsupported plugin hp_left by TSCDan. Being written for CS:S severely limited it on our TF2 server and since I was looking for something closer to my Natural Selection plugin I used hp_left as a starting point to get me into TF2 and SM development, however the only thing that still remains the original code is a modified distance check.
    Features:
    • How you died (killed, backstabbed, headshot, revenge, DOMINATED, humiliated, ect)
    • Health remaining your killer
    • Multilingual support
    • Colored message support
    • Weapon names that are "pretty"
    • Client output enable/disable
    • Crit, mini-crits distinctions
    Commands:
    • sm_ki_toggle - enables clients to toggle the output on or off (defaults on)
    Change log:
    • 0.1 - cleaned up unused code... recoded functions. fixed TF2 specific events, output looks better.
    • 0.2 - fixed distance (stupid error)
    • 0.3 - fix colors / fixed customkill check. Spelling errors on weapons (lol).
    • 0.4 - Killer already dead check to fix weird outputs
    • 0.5 - ability to disable output
    • 0.6 - merged changes for output saving (thanks Urus)
    • 0.7 - better distance check, metric option
    • 0.8 - cleaned up some more code - added assist info
    • 0.8.1 - Medic/Pyro update support
    • 0.8.2 - Heavy update support - HUMILIATION
    • 0.8.3 - Merged multi-lang support (thanks Vader_666). Optimized
    • 0.8.3a- Fixed a define I forgot to include
    • 0.8.4 - Added "finished off", minor optimizations
    • 0.8.5 - Reworked if elses, removed useless weapon loop, added humiliation
    • 0.9.0 - Scout update, crit alert, sentry levels
    • 1.0.0 - Spy/ Sniper update - updated for deathflag changes
    • 1.0.1 - Added crit in the output (thanks psychonic) fixed more Spy/Sniper update weapon changes
    • 1.0.2 - Updated translations - cleaned up code
    • 1.1.0 - Logic rework. Mini crits. Removed assist/distance. Colors.ini needed. ClientPref storage rather than KV file.
    • 1.1.1 - Removed need for Colors.ini to fix format error. Easier to change colors (defines at the top)
    • 1.1.2 - Minor formatting fixes.
    • 1.2.0 - Reworked/cleaned up/updated translations / AddCommandListener / Support for colors . Revenge notification.
    • 1.2.1 - Fixed minor error. Cleaned up again. Translations.
    • 1.2.2 - I'm dumb.
    • 1.3.0 - Polycount translations, added more customkill checks, using SM constants, code optimizations.
    • 1.4.0 - Check for translation errors and logging for missing weapon names
    • 1.4.1 - Minor optimizaion - log file error checking
    Current Translations:
    • English
    • French - Partial (thanks Vader_666)
    • Hungarian - Partial (thanks KhyrOO)
    • German - Partial (thanks Guggie)
    • Polish - Partial (thanks Kemsan)
    Colors Note:
    If you want to use colors you MUST uncomment the #define USECOLORS line.
    You MUST have colors.ini and manually compile to use colors.
    All colors must go into the translations file. This is an example to give something similar to the screen shot.
    Code:
    "en" "{teamcolor}{1}{default} {olive}{2}{default} you with {olive}{3}{default} ({olive}{4}{default}hp left)"
    Screenshot:

    Previous downloads: 6476
    Attached Files
    File Type: txt killersinfo[colorexample].phrases.txt (16.2 KB, 1993 views)
    File Type: txt killersinfo.phrases.txt (15.2 KB, 2643 views)
    File Type: sp Get Plugin or Get Source (killersinfo.sp - 4885 views - 9.4 KB)
    __________________

    Last edited by toazron1; 01-11-2011 at 13:16. Reason: Updated to 1.4.1
    toazron1 is offline
    Send a message via AIM to toazron1
    tony2kownz
    Junior Member
    Join Date: Jan 2008
    Old 03-31-2008 , 23:55   Re: TF2: Killer's Info
    Reply With Quote #2

    really nice, I have it running on my 2fort server for now, we'll see how it goes and we'll probably run it on the rest of my servers, thanks
    __________________


    tony2kownz is offline
    Zalaxy
    Member
    Join Date: Feb 2008
    Old 04-01-2008 , 00:52   Re: TF2: Killer's Info
    Reply With Quote #3

    Installed on all of my servers. Very nice. I like it. Good color choice and good information. If there is ever a possibility the information of how much damage the killshot did would be awesome. But I don't think it's possible with tf2 so ignore miz! .


    Good plugin!
    Zalaxy is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 04-01-2008 , 01:03   Re: TF2: Killer's Info
    Reply With Quote #4

    Can you add settings so clients can turn this off if they want to.
    __________________

    DontWannaName is offline
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 04-01-2008 , 01:18   Re: TF2: Killer's Info
    Reply With Quote #5

    Quote:
    Originally Posted by DontWannaName View Post
    Can you add settings so clients can turn this off if they want to.
    +1

    killinfo 1
    killinfo 0

    and i think it's will be better if you can remove distance digits from info IF melee weapon used...
    and please add a metric system, not fts only

    VERY nice plugin! =)
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws

    Last edited by imported_Anth0ny; 04-01-2008 at 01:22.
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    CrimsonGT
    Veteran Member
    Join Date: Oct 2007
    Location: Gainesville, FL
    Old 04-01-2008 , 01:21   Re: TF2: Killer's Info
    Reply With Quote #6

    Looks good man. I would suggest getting rid of the distance of the attack as it doesn't really offer any useful benefeit, and all I ever heard was people complain about how ridiculous the distance is for melee kills. It will say you were killed with Bonesaw from 8 Feet away, and people will flip. I heard it daily.

    Zalaxy, that will be easy to add for TF2.
    CrimsonGT is offline
    toazron1
    Senior Member
    Join Date: Oct 2006
    Old 04-01-2008 , 01:43   Re: TF2: Killer's Info
    Reply With Quote #7

    I am aware of the distance issue and I am working on a "fix" for it, I do like the idea of ignoring melee weapons. For now I have included a define (default disabled) to exclude the distance from the output.

    I also added in a command to toggle the output on and off.
    __________________
    toazron1 is offline
    Send a message via AIM to toazron1
    imported_Anth0ny
    Senior Member
    Join Date: Jan 2005
    Location: Saturn
    Old 04-01-2008 , 02:15   Re: TF2: Killer's Info
    Reply With Quote #8

    Quote:
    Originally Posted by toazron1 View Post
    I am aware of the distance issue and I am working on a "fix" for it, I do like the idea of ignoring melee weapons. For now I have included a define (default disabled) to exclude the distance from the output.

    I also added in a command to toggle the output on and off.
    thanks master! =)
    __________________
    aka Mad.Eagle
    Creator\Owner\Admin of
    www.megatron.ws
    imported_Anth0ny is offline
    Send a message via ICQ to imported_Anth0ny
    SixSicSix
    Senior Member
    Join Date: Jan 2008
    Old 04-01-2008 , 13:19   Re: TF2: Killer's Info
    Reply With Quote #9

    Idea: make this plugin advertise in the top left corner something like:

    Type killinfo to toggle on/off.

    And allow clients to use this command to toggle it on or off. Sometimes chats get very clogged
    SixSicSix is offline
    toazron1
    Senior Member
    Join Date: Oct 2006
    Old 04-01-2008 , 14:55   Re: TF2: Killer's Info
    Reply With Quote #10

    sm_ki_toggle is a client command
    __________________
    toazron1 is offline
    Send a message via AIM to toazron1
    Reply


    Thread Tools
    Display Modes

    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 14:56.


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