Raised This Month: $12 Target: $400
 3% 

Solved [request] [L4D2] Tankhud Panel Enhanced


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
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 - 296 views - 15.6 KB)
File Type: inc l4d2_direct.inc (26.7 KB, 233 views)
File Type: inc l4d2_weapon_stocks.inc (18.5 KB, 251 views)
__________________
Sorry i don't speak english very well

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

Last edited by Tank Rush; 04-25-2021 at 11:46.
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: 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
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: Argentina
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<---
Discord: Source#9382
Tank Rush is offline
leonardo martinez
Member
Join Date: Jun 2014
Old 04-16-2021 , 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 04-16-2021 , 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
leonardo martinez
Member
Join Date: Jun 2014
Old 04-20-2021 , 22:05   Re: [request] [L4D2] Tankhud Panel Enhanced
Reply With Quote #8

Quote:
Originally Posted by Marttt View Post
Jump Rock I don't know what means, and frustration time doesn't help much (IMO)
I don't know what Jump Rock is either. The time that appears next to the percentage of frustration is the time that the tank has been in play, just watch the video that is left in the first post.

Quote:
Originally Posted by Tank Rush View Post
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%
Instead of "Speed" why not "Spawn" and move the time that is next to the percentage of frustration in another line of the panel? I think it would be better that way, that way we will know how long the tank has been alive.

Server Test #1 :: Tank HUD
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Punches: 0 | Rocks: 0 | Props: 0
⠀⠀⠀⠀⠀Total Damage: 0
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Control: Player (1st)
Health: 6000 / 100%
Spawn: 00:00
Frust: 100%

Quote:
Originally Posted by Tank Rush View Post
I request to change the Tank HUD Panel.
Here is a video demonstration
In one of the videos on the Youtube channel Noskillch, I found another panel where it shows the amount and damage of the Punches, Rocks and Objects. An example, if the punches and rocks generate a damage of 24, and the objects 1200 (I do not know exactly how much damage it does) then the panel would be something like this:

https://www.youtube.com/watch?v=7U2W...nnel=noskillch

Server Test #1 :: Tank HUD
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Punches: 2 | Rocks: 1 | Props: 4
dmg: 48 ⠀⠀| dmg: 24 | dmg: 4800
⠀⠀⠀⠀⠀Total Damage: 4872
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Control: Player (1st)
Health: 6000 / 100%
Spawn: 04:12
Frust: 100%
leonardo martinez is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 04-25-2021 , 11:53   Re: [request] [L4D2] Tankhud Panel Enhanced
Reply With Quote #9

I already got the Tank HUD Panel, my request was paid (private plugin), I will share if the author gives me permission.
I thank everyone who supported with this idea.
__________________
Sorry i don't speak english very well

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

Could you share it?
leonardo martinez 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 17:23.


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