AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Damage report/stats (1.1.13) (https://forums.alliedmods.net/showthread.php?t=64661)

Gemeni 12-20-2007 16:03

Damage report/stats (1.1.13)
 
4 Attachment(s)
Description:
Shows a left side menu when you die or at the end of the round, saying who you did and took damage from and how much, including how many hits and who killed you. You will also see where you hit a person and where they hit you

Background:
Well, we had this before we went to SourceMod and I thought it would be nice to have again.

Planned changes:
Maybe translations ...

Change log:
1.0.0 - First Version
1.0.1 - Added number of hits done/taken
1.0.2 - Added hitbox info
1.0.3 - Added coloring, Info about who you killed
1.1.0 - Added option so you can turn damage report on and off, and also decide if it should be printed in menu or chat.
Use /damage_report help to get info
Big thanks to death_beam team since I used their code to learn about KeyValues!
1.1.1 - Stripped chat output. Resetting damage data on round start
1.1.2 - Added total dmg taken/given and X indicator for kill/killed
1.1.3 - Removed errors in log from translation stuff that was not completed
1.1.5 - Added support to show again the last report that was shown to a player (/last_damage_report or /ldr)
1.1.6 - Fixed saving of settings on map end
1.1.7 - Fixed problem with corrupted settingsfile.
1.1.8 - Added most kills info
1.1.9 - Fixed memory leak
1.1.10 - Checking if player still ingame before trying to display.
1.1.11 - Sometimes it seems that the settings for the users isnt written to file. Forcing this more often now.
1.1.12 - Making sure damage data is not shown to surviving players if they have switched it off.
1.1.13 - Added extra option, /damage_report long|short - If hitboxdata should be shown or not


Screenshots:
http://30plus.ownit.se/images/dr_pop.jpg

http://30plus.ownit.se/images/dr_chat.jpg


Please Rate this plugin ... And if you dont like it, post a note what could be changed/added

ferret 12-20-2007 17:11

Re: Damage report
 
Nice work, especially the effort to take into consideration other panels and menus.

Gemeni 12-20-2007 17:31

Re: Damage report
 
Amazingly quick approval ...
And me who was hoping for some extra exposure all alone in the New Plugin thread ;)

Oh well :p

Gemeni 12-20-2007 18:02

Re: Damage report
 
I was so happy with the approval so I added number of hits as well ...
Would do the hitboxes as well... but I need to get some sleep ;)

Noobtastic 12-20-2007 18:15

Re: Damage report
 
Sounds good, maybe post a screenshot of the menu in action. I used KillStats so far, but I'm going to try this one on the server that I still need to do. I'll give some feedback.

Edit:

I like it so far. It's simple and effective. Although KillStats has more options, this plugin is way less complicated to setup to your likings (at least, it is right now). I don't know what your plans for more features are, but here's a 'wishlist' from me:

Screenshot of your plugin right now:
http://xs222.xs.to/xs222/07515/damagereport.jpg

Screenshot of how I'd like your plugin to end up :P:
http://xs222.xs.to/xs222/07515/damagereport2.jpg

Or in text;

- Damage Done = Victims (preferably in a different color like the yellow/orange of the second screenshot)
- Damage Taken = Attackers(preferably in a different color like the yellow/orange of the second screenshot)
- Showing which one(s) you killed and which one(s) you just wounded (With the X's for instance).
- Switching the positions of the name and the [damage - hits]
- Hitboxes optional ^^

And some small features;

- Switching the autopopup on death on or off (dr_popup_on_death 1/0? :P)
- Triggering it by saying 'stats' and/or 'damage' in the chat.

Yeah I know, quite a wishlist, and I hope you don't mind me commenting on it like this. And of course, you don't have to pay any attention to it. But I just feel that his has alot of potential because it's simple but effective. And should the things I mentioned be added (while remaining easier to setup than KillStats), I'll use it for sure :). Until that time, I think I'll stick with KillStats since I already have it configured and ready for use with most of the things I need. :oops:

Gemeni 12-21-2007 01:43

Re: Damage report
 
Thanks for the comments ... as long as you are constructive you can say what you want and I will listen ;)

The only thing I disagree with you on is the positions of the name and damage ... But maybe I'll add on option for that as well ;)

Regarding the stats/damage to trigger the popup ... I guess you mean to show data for the last run ... If you can display what happens in the current run while alive it would be a little like cheating ... right?

Noobtastic 12-21-2007 07:12

Re: Damage report
 
Quote:

Originally Posted by Gemeni (Post 565460)
If you can display what happens in the current run while alive it would be a little like cheating ... right?

Never really thought about it like that :mrgreen:. But yeah, maybe it is a little. Maybe it should be made optional through a cvar as well. I think most damage report plugins do have it (at least the ones I used), so people might want to stick with it. I know <-> that much about scripting, so if I'm saying stupid things, tell me :P.

Gemeni 12-21-2007 07:38

Re: Damage report
 
Well ... just sounds very strange to me that you are allowed to check how much hp the person you are shooting at has left ... while reloading or taking cover ...

If you can see he only has 2 hp left u will probably go after him ... If you dont know and have to guess u might back away ...

I categorize that as cheating ;) I probably wont allow it at all. Call me hard headed if you want to :p

Noobtastic 12-21-2007 08:22

Re: Damage report
 
Quote:

Originally Posted by Gemeni (Post 565513)
I probably wont allow it at all. Call me hard headed if you want to :p

It's your plugin :D.

Gemeni 12-21-2007 19:07

Re: Damage report
 
Updated again ...


All times are GMT -4. The time now is 21:56.

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