AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Solved [request] [L4D2] Tankhud Panel Enhanced (https://forums.alliedmods.net/showthread.php?t=331433)

Tank Rush 03-20-2021 23:26

[request] [L4D2] Tankhud Panel Enhanced
 
3 Attachment(s)
I request to change the Tank HUD Panel.
Here is a video demonstration

Before:
https://i.imgur.com/SGsojzb.png

After:
https://i.imgur.com/CeTwnQA.png

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?

dustinandband 03-24-2021 13:38

Re: [request] [L4D2] The New Tankhud Panel
 
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.

Tank Rush 03-24-2021 17:24

Re: [request] [L4D2] The New Tankhud Panel
 
Quote:

Originally Posted by dustinandband (Post 2741634)
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.

Tonblader 04-03-2021 18:39

Re: [request] [L4D2] The New Tankhud Panel
 
Maybe you could use the Marttt plugin as a reference.
[L4D2] Scripted HUD

Tank Rush 04-07-2021 20:22

Re: [request] [L4D2] The New Tankhud Panel
 
Quote:

Originally Posted by Tonblader (Post 2742906)
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%

leonardo martinez 04-16-2021 19:06

Re: [request] [L4D2] Tankhud Panel Enhanced
 
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

Marttt 04-16-2021 20:38

Re: [request] [L4D2] Tankhud Panel Enhanced
 
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)

leonardo martinez 04-20-2021 22:05

Re: [request] [L4D2] Tankhud Panel Enhanced
 
Quote:

Originally Posted by Marttt (Post 2744281)
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 (Post 2743380)
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 (Post 2741125)
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%

Tank Rush 04-25-2021 11:53

Re: [request] [L4D2] Tankhud Panel Enhanced
 
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. :wink:

leonardo martinez 06-29-2021 19:36

Re: [request] [L4D2] Tankhud Panel Enhanced
 
Could you share it?


All times are GMT -4. The time now is 02:41.

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