AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [L4D2] Infected Hud (https://forums.alliedmods.net/showthread.php?t=302535)

MasterMind420 11-01-2017 21:03

[L4D2] Infected Hud
 
This plugin shows the health value of all infected using instructor hints.
The health value will disappear behind walls and objects to prevent tracking.

Plugin creates l4d2_infected_hud.cfg with options to enable/disable showing health on specific infected.

This should be bug free however if you find a bug let me know.

V1.0
Initial release.

V1.1
Cleaned up the code a bit.
Added all other infected except witch.

V1.2
Added the witch.
Added show witch option to config.
Fixed display not showing properly on tank death.
Improved code performance.

Psyk0tik 11-01-2017 21:39

Re: [L4D2] Infected Hud
 
This is very nice. Definitely looking forward to future updates for this.

MasterMind420 11-02-2017 14:13

Re: [L4D2] Infected Hud
 
V1.1
Cleaned up the code a bit.
Added all other infected except witch.

edwinvega86 02-17-2018 03:14

Re: [L4D2] Infected Hud
 
This is just an unimportant report, the tank at the time of death shows another HP, but only for a moment. this happens when the tank dies of knee or falls of rhodia when dying, but this does not happen when the tank collapses when dying.
http://i68.tinypic.com/2wntjsh.jpg

MasterMind420 02-20-2018 14:37

Re: [L4D2] Infected Hud
 
Quote:

Originally Posted by edwinvega86 (Post 2578639)
This is just an unimportant report, the tank at the time of death shows another HP, but only for a moment. this happens when the tank dies of knee or falls of rhodia when dying, but this does not happen when the tank collapses when dying.
http://i68.tinypic.com/2wntjsh.jpg

Thank you for reporting this, i was aware of this when i coded it, tried several methods to prevent it but didn't work, it may be that this plugin tracks the tanks death when it incaps, because a tank dies when incap, but i may try another method that will correct it. There is one other thing i know will work which is when the tank reaches 0 health destroy the instructor hint entity before it happens. which it does automatically but i may need to manipulate it a bit...

cravenge 02-21-2018 03:51

Re: [L4D2] Infected Hud
 
A simple solution would be to check if the tank is incapacitated and prevent the hud from displaying if that happens.

MasterMind420 03-15-2018 15:22

Re: [L4D2] Infected Hud
 
V1.2
Added the witch.
Added show witch option to config.
Fixed display not showing properly on tank death.
Improved code performance.

Krufftys Killers 03-31-2018 11:07

Re: [L4D2] Infected Hud
 
Some errors
L 03/31/2018 - 09:39:55: SourceMod error session started
L 03/31/2018 - 09:39:55: Info (map "c3m1_plankcountry") (file "errors_20180331.log")
L 03/31/2018 - 09:39:55: [SM] Exception reported: Entity 718 (718) is invalid
L 03/31/2018 - 09:39:55: [SM] Blaming: l4d2_infected_hud.smx
L 03/31/2018 - 09:39:55: [SM] Call stack trace:
L 03/31/2018 - 09:39:55: [SM] [0] DispatchKeyValue
L 03/31/2018 - 09:39:55: [SM] [1] Line 175, /home/forums/content/files/9/7/2/5/7/168892.attach::DisplayInstructorHint
L 03/31/2018 - 09:39:55: [SM] [2] Line 90, /home/forums/content/files/9/7/2/5/7/168892.attach::OnTakeDamage
L 03/31/2018 - 09:39:55: [SM] [4] AcceptEntityInput
L 03/31/2018 - 09:39:55: [SM] [5] Line 423, /home/forums/content/files/1/3/0/9/0/5/156091.attach::timer_stock_applyDamage
L 03/31/2018 - 09:41:19: [SM] Exception reported: Entity 716 (716) is invalid
L 03/31/2018 - 09:41:19: [SM] Blaming: l4d2_infected_hud.smx

MasterMind420 03-31-2018 12:13

Re: [L4D2] Infected Hud
 
Quote:

Originally Posted by Krufftys Killers (Post 2585471)
Some errors
L 03/31/2018 - 09:39:55: SourceMod error session started
L 03/31/2018 - 09:39:55: Info (map "c3m1_plankcountry") (file "errors_20180331.log")
L 03/31/2018 - 09:39:55: [SM] Exception reported: Entity 718 (718) is invalid
L 03/31/2018 - 09:39:55: [SM] Blaming: l4d2_infected_hud.smx
L 03/31/2018 - 09:39:55: [SM] Call stack trace:
L 03/31/2018 - 09:39:55: [SM] [0] DispatchKeyValue
L 03/31/2018 - 09:39:55: [SM] [1] Line 175, /home/forums/content/files/9/7/2/5/7/168892.attach::DisplayInstructorHint
L 03/31/2018 - 09:39:55: [SM] [2] Line 90, /home/forums/content/files/9/7/2/5/7/168892.attach::OnTakeDamage
L 03/31/2018 - 09:39:55: [SM] [4] AcceptEntityInput
L 03/31/2018 - 09:39:55: [SM] [5] Line 423, /home/forums/content/files/1/3/0/9/0/5/156091.attach::timer_stock_applyDamage
L 03/31/2018 - 09:41:19: [SM] Exception reported: Entity 716 (716) is invalid
L 03/31/2018 - 09:41:19: [SM] Blaming: l4d2_infected_hud.smx

I already fixed it...when i get home i'll post the update.

geipoe 04-19-2018 21:20

Re: [L4D2] Infected Hud
 
Is that possible to show the SI's health only when the attacker attack them?Players on my server will see many SI at the same time so it becomes bad for full screen color health numbers.


All times are GMT -4. The time now is 12:56.

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