AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Killer info display 1.4.1 (health, weapon, distance, works for all games) (https://forums.alliedmods.net/showthread.php?t=75969)

berni 08-16-2008 01:31

Killer info display 1.4.1 (health, weapon, distance, works for all games)
 
1 Attachment(s)
http://www.ice-gfx.com/pics/sourcemo...nfodisplay.png (multi-language) https://s3.amazonaws.com/github/ribb...een_007200.png



Plugin on Github: https://github.com/bcserv/killer_info_display - Forks & Pull requests are welcome

http://www.sourcemodplugins.org/bund...escription.png Description

Displays the weapon name and the remaining health left of the player who has killed you, kill distance, armor/suitpower in chat and/or in a panel, configurable by ConVars.
Can be turned on/off per player using client cookies/preferences.
It also prints info about domination and revenge for games like CS:S if supported.
Should work with any game.


http://www.sourcemodplugins.org/bund...mod/Images.png Examples / Screenshots

[IMG]http://img535.**************/img535/2539/screen1hh.png[/IMG]


http://www.sourcemodplugins.org/bund.../Downloads.png Downloads

Attachment 115296

http://www.sourcemodplugins.org/bund...urcemod/sm.png Compiled with smlib 0.11

http://www.sourcemodplugins.org/bund...stallation.png Installation

Simply copy the extracted contents of the zip file into your sourcemod folder.
Load to plugin on the server and then edit the settings in cfg/sourcemod/plugin.killer_info_display.cfg.

Translations / Languages

Currently supported languages:

  • English
  • German
  • Russian (thanks to Snake60)

Any new translations for other languages are welcome (any other language beside Russian, German or English)

http://www.sourcemodplugins.org/bund...d/Features.png ConVars
Code:

// Time in seconds after an announce about turning killer infos on/off is printed to chat, set to -1 to disable.
// -
// Default: "5"
kid_announcetime "5"

// Default client preference (0 - killer info display off, 1 - killer info display on)
// -
// Default: "1"
kid_defaultpref "1"

// Set to "meters" to show the distance in "meters" or "feet" for feet.
// -
// Default: "meters"
kid_distancetype "meters"

// Prints the killer info to the victims chat
// -
// Default: "1"
kid_printtochat "1"

// Displays the killer info to the victim as a panel
// -
// Default: "1"
kid_printtopanel "1"

// Set to 0 to disable, 1 to show the armor, 2 to show the suitpower the killer has left.
// -
// Default: "1"
kid_showarmorleft "1"

// Set to 1 to show the distance to the killer, 0 to disable.
// -
// Default: "1"
kid_showdistance "1"

// Set to 1 to show the weapon the player got killed with, 0 to disable.
// -
// Default: "1"
kid_showweapon "1"



http://www.sourcemodplugins.org/bund...figuration.png Config

cfg/sourcemod/plugin.killer_info_display.cfg
(auto generated, deleted this file before updating)

Commands

sm_killerinfo - Enable/Disable Killer Info Display

Tested Games

Works with any game that supports the player_death event.
  • Counter-Strike: Global Offensive
  • Half-Life 2: Deathmatch
  • Team Fortress 2
  • Counter-Strike: Source
  • Day of Defeat: Source
  • Neotokyo
  • Zombie Panic!
  • Insurgency
  • Age of Chivalry
  • Left 4 Dead
  • Fistful of Frags
  • Pirates, Vikings and Knights II
  • Zombie Master
  • Stargate: The Last Stand
  • Obsidian Conflict
  • Team Deathmatch
Changelog

Date: 31.01.2013
Version: 1.4.1
  • CS:GO protobuf support: Recompiled the plugin with the latest smlib code from GIT
  • Added code to not let the plugin fail to load on older sourcemod versions (< 1.5)

Date: 06.01.2013
Version: 1.4.0
  • Fixed handle leak in the panel code
  • Migrated color functions to use smlib now (this also affects the translation files)
  • Improved some colors and texts
  • The announcement-hint-message is now always shown after connecting

Date: 18.02.2011
Version: 1.3.1
  • Fixed wrong version ConVar.

Date: 17.02.2011
Version: 1.3

Thanks to Snake60, gH0sTy & Smurfy1982 for the plugin updates in the meanwhile.
  • Added support for HL2:DM's suitpower (set kid_showarmorleft to 2)
  • Added German Translations
  • Changed some Convars
  • Added ConVar kid_showweapon
  • Heavily rewrote the existing code and included smlib
  • Added cookies (clienprefs) support. Now type in chat !settings and tweak your prefs. Or simple !killerinfo or /killerinfo in chat for on/off plugin.
  • Added announce in chat about ability on/off plugin. Only once, after 30sec left when player connect to your server.
  • Added new cvars (see file plugin.killer_info_display.cfg and don't forget update it!)
  • Added translations support (now Russian & English but need others)
  • Added teamcolor to attaker name (thx Exvel for this)
  • Added displaying armor in chat & panel (added new Cvar, see above)

Date: 23.08.2009
Version: 1.0
  • Support for Panels (Thanks to gH0sTy)
  • Added 4 new ConVars kid_printtochat, kid_printtopanel, kid_showdistance, kid_metricdistance
  • Added colors to the chattext
  • Added displaying the victim <-> killer distance in meters or ft
  • Code cleanup
Date: 16.08.2008
Version: 0.9
  • Initial release

download here

tcviper 08-16-2008 08:27

Re: Killer info display
 
This already exist? HP left plugin

curlefry 08-16-2008 09:22

Re: Killer info display
 
Quote:

Originally Posted by tcviper (Post 670490)
This already exist? HP left plugin

As a matter of fact, there's even a plugin called Killers Info, but it's for TF2.


TF2: Killer's Info - AlliedModders

I guess this is a port for any other mods? Killer's info (the original one) is a little more detailed than HP Left.

berni 08-16-2008 11:20

Re: Killer info display
 
I was searching for an other plugin, but the only one I found was for TF2 only.
And this plugin displays the whole message in green color :o
This is not a port.

monkman 08-16-2008 12:40

Re: Killer info display
 
cool. works like a charm.

ProjectManhatten 08-16-2008 23:35

Re: Killer info display
 
Quote:

Originally Posted by monkman (Post 670589)
cool. works like a charm.

I second that!

MaKTaiL 08-17-2008 09:48

Re: Killer info display
 
Could anyone put some screenshots??

Cain 08-18-2008 08:01

Re: Killer info display
 
Anyone tried this with DOD:S OB yet ??

Thx for the plugin !!

-- Cain

GyroTarzan 08-18-2008 10:29

Re: Killer info display
 
Quote:

Originally Posted by Cain (Post 671496)
Anyone tried this with DOD:S OB yet ??

Thx for the plugin !!

-- Cain

I have it on dod:s and it works like a charm :)

Banjo Boy 08-18-2008 11:16

Re: Killer info display
 
Fantastic. Runs on my Pirates Vikings and Knights II Server


All times are GMT -4. The time now is 06:50.

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