View Single Post
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 03-24-2021 , 17:24   Re: [request] [L4D2] The New Tankhud Panel
Reply With Quote #3

Quote:
Originally Posted by dustinandband View Post
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.
"Props" refers to objects that have caused damage to survivors, in the same way as "Rocks". I don't know what function Jump Rock fulfills, in the image it is shown in seconds and in the video it appears as "READY!"

Although I don't have much knowledge, I won't be able to edit it, that's why I started this post, it would be helpful if you could give me a hand.
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline