Added knife kills and utility damage tracking #609
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey again!
I should have added this to my previous PR, but you beat me to merge by an hour. Sorry!
I added utility damage and knife kill tracking as well. The UD is as close to the in-game scoreboard as I can get it, with the only difference being that this will include damage dealt from grenades physically hitting you, while the in-game scoreboard only includes damage dealt from the actual explosion/fire (typically 2-3 damage difference). Aside from that I made sure that it's counted exactly the same and excludes damage dealt to self or your own team. The existing
damage
stat also incorrectly included any kind of damage inflicted to yourself or your team, so I have corrected that as well.RE: The comment you made on the previous PR: I understand the desire to avoid cluttering this more than necessary, but I also really don't want to maintain my own version of this and do manual merges and rebuilds for such few changes, as it's 99% of what I need. I'd very much appreciate it if you could merge this as well.
Merry Christmas :)
Edit: I noticed that you had a comment about
Format()
breaking at 32 arguments, but with this now at 33 it still works fine. Maybe this has been fixed with an update of SourceMod. I have not removed the comment though.