Raised This Month: $42 Target: $400
 10% 

[request] [L4D2] Tankhud Panel Enhanced


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tank Rush
Senior Member
Join Date: May 2019
Location: Xen
Old 03-20-2021 , 23:26   [request] [L4D2] Tankhud Panel Enhanced
Reply With Quote #1

I request to change the Tank HUD Panel.
Here is a video demonstration

Before:


After:


The Tank HUD panel of the Solaris server is more complete, it has: Punches, Rocks, Props, Total Damage and Jump Rock. Can anyone add this?
Attached Files
File Type: sp Get Plugin or Get Source (spechud.sp - 21 views - 15.6 KB)
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---

Last edited by Tank Rush; 04-03-2021 at 18:59.
Tank Rush is offline
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
Tank Rush
Senior Member
Join Date: May 2019
Location: Xen
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<---
Tank Rush is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 04-03-2021 , 18:39   Re: [request] [L4D2] The New Tankhud Panel
Reply With Quote #4

Maybe you could use the Marttt plugin as a reference.
[L4D2] Scripted HUD

Last edited by Tonblader; 04-03-2021 at 18:39.
Tonblader is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Xen
Old 04-07-2021 , 20:22   Re: [request] [L4D2] The New Tankhud Panel
Reply With Quote #5

Quote:
Originally Posted by Tonblader View Post
Maybe you could use the Marttt plugin as a reference.
[L4D2] Scripted HUD
It is not the same, [L4D2] Scripted HUD uses vscripts, what I am looking for is a panel as shown in the image.
I still don't know what function Jump Rock plays. Maybe it's the tank's Haymaker but I'm not sure, it would be nice to change "Jump Rock" to "Speed" to show the tank's speed.
Something like this for example:

Server #1 :: Tank HUD
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Punches: 0 | Rocks: 0 | Props: 0
⠀⠀⠀⠀⠀Total Damage: 0
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Control: Player (1st)
Health: 6000 / 100%
Speed: 0
Frust: 100%
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Tank Rush is offline
leonardo martinez
Member
Join Date: Jun 2014
Old Yesterday , 19:06   Re: [request] [L4D2] Tankhud Panel Enhanced
Reply With Quote #6

It is a very interesting plugin, but it seems that nobody wants to work on it.
You could try talking to the server administrators although I doubt they want to share it.
https://steamcommunity.com/groups/SolarisServers
leonardo martinez is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old Yesterday , 20:38   Re: [request] [L4D2] Tankhud Panel Enhanced
Reply With Quote #7

I know you guys want it but how useful is that information?

Jump Rock I don't know what means, and frustration time doesn't help much (IMO)

Btw is all possible to get through hooking OnTakeDamage (Punches/Rocks/Props/Total Damage)

Just check the attacker (tank) and the inflictor (classname)
__________________
Marttt is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:22.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode