View Single Post
dustinandband
Senior Member
Join Date: May 2015
Old 03-24-2021 , 13:38   Re: [request] [L4D2] The New Tankhud Panel
Reply With Quote #2

I don't feel like taking time to test this, but it looks like some of these variables would be relevant in getting that data (without tracking it manually):

https://github.com/ProdigySim/l4d2_s..._player.h#L944

m_checkpointPZTankPunches
m_checkpointPZTankThrows ?
m_checkpointPZTankDamage

Does "props" refer to props used in damaging survivors? or just props that have been moved out of place by a tank?

You could spawn yourself as a tank and see if these are the relevant variables by using a test plugin.
Spoiler


Would recommend also testing for false positives (example - does "m_checkpointPZTankPunches" increment only when you hit a survivor, or for every punch? If for every punch - is that what you want? if not, we'll have to track that manually).

If you find the relevant variables I can edit it into the spechud if you need help with that.
dustinandband is offline