View Single Post
Author Message
simoneaolson
Member
Join Date: Sep 2009
Old 09-22-2010 , 21:06   [TF2] Casualty Reports
Reply With Quote #1

DESCRIPTION:

A fun little plugin that creates a casualty report at the end of every round. The numbers would very likely rack up on a 32 or 24 person server, make a few laughs.


CVARS:

tf_casualtyreport_version - Current plugin version
tf_casualtyreport_enabled - Enable/Disable TF2 Casualty Reporting (bool), Def:1
tf_casualtyreport_time - Seconds to display casualty report menu (int), Def:14s
tf_casualtyreport_ignorewounded - Ignore wounded players on the panel (players who are alive when the round ends)(bool), Def:false
tf_casualtyreport_losingpanel - Show top players on the losing team on the panel (bool), Def: 0
tf_casualtyreport_mvps - Number of MVPs to show on the losing team panel (int), Def: 3


Changelog:
1.0 - Initial release (bugged)
1.05 -
* Fixed IsClientInGame error (occured when the maximum amount of clients were reached in the server)
* Fixed convars not being properly set if other than default
* Updated translations to display which team won
* Added Cvar (option to not display wounded players: tf_casualtyreport_ignorewounded)
* Optimized plugin (better ConVar handling)

v1.06 -
* Added Losing team MVPs panel (not turned on by default)
* Fixed the broken Ignore Wounded CVAR

Installation:
(1) Download tf_casualtyreport.zip
(2) Drag the "addons" folder into the "tf" directory on your server
(3) If you just want to look at the source, download the .sp

Attached Files
File Type: zip tf_casualtyreport.zip (14.2 KB, 773 views)
File Type: sp Get Plugin or Get Source (tf_casualtyreport.sp - 1279 views - 12.9 KB)

Last edited by simoneaolson; 10-25-2010 at 18:21. Reason: new version
simoneaolson is offline