Raised This Month: $32 Target: $400
 8% 

[L4D2] Infected Hud


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MasterMind420
BANNED
Join Date: Nov 2010
Plugin ID:
5891
Plugin Version:
1.2
Plugin Category:
All
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Delete This Thread
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 11-01-2017 , 21:03   [L4D2] Infected Hud
    Reply With Quote #1

    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.

    Last edited by DarkDeviL; 10-18-2021 at 09:06. Reason: Restore to previous version.
    MasterMind420 is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 11-01-2017 , 21:39   Re: [L4D2] Infected Hud
    Reply With Quote #2

    This is very nice. Definitely looking forward to future updates for this.
    __________________
    Psyk0tik is offline
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 11-02-2017 , 14:13   Re: [L4D2] Infected Hud
    Reply With Quote #3

    V1.1
    Cleaned up the code a bit.
    Added all other infected except witch.
    MasterMind420 is offline
    edwinvega86
    Senior Member
    Join Date: Feb 2016
    Old 02-17-2018 , 03:14   Re: [L4D2] Infected Hud
    Reply With Quote #4

    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.

    Last edited by edwinvega86; 02-17-2018 at 03:32.
    edwinvega86 is offline
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 02-20-2018 , 14:37   Re: [L4D2] Infected Hud
    Reply With Quote #5

    Quote:
    Originally Posted by edwinvega86 View Post
    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.
    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...
    MasterMind420 is offline
    cravenge
    Veteran Member
    Join Date: Nov 2015
    Location: Chocolate Factory
    Old 02-21-2018 , 03:51   Re: [L4D2] Infected Hud
    Reply With Quote #6

    A simple solution would be to check if the tank is incapacitated and prevent the hud from displaying if that happens.
    cravenge is offline
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 03-15-2018 , 15:22   Re: [L4D2] Infected Hud
    Reply With Quote #7

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

    Last edited by MasterMind420; 03-15-2018 at 15:25.
    MasterMind420 is offline
    Krufftys Killers
    Senior Member
    Join Date: Jan 2014
    Old 03-31-2018 , 11:07   Re: [L4D2] Infected Hud
    Reply With Quote #8

    Some errors
    L 03/31/2018 - 099:55: SourceMod error session started
    L 03/31/2018 - 099:55: Info (map "c3m1_plankcountry") (file "errors_20180331.log")
    L 03/31/2018 - 099:55: [SM] Exception reported: Entity 718 (71 is invalid
    L 03/31/2018 - 099:55: [SM] Blaming: l4d2_infected_hud.smx
    L 03/31/2018 - 099:55: [SM] Call stack trace:
    L 03/31/2018 - 099:55: [SM] [0] DispatchKeyValue
    L 03/31/2018 - 099:55: [SM] [1] Line 175, /home/forums/content/files/9/7/2/5/7/168892.attach:isplayInstructorHint
    L 03/31/2018 - 099:55: [SM] [2] Line 90, /home/forums/content/files/9/7/2/5/7/168892.attach::OnTakeDamage
    L 03/31/2018 - 099:55: [SM] [4] AcceptEntityInput
    L 03/31/2018 - 099: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
    Krufftys Killers is offline
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 03-31-2018 , 12:13   Re: [L4D2] Infected Hud
    Reply With Quote #9

    Quote:
    Originally Posted by Krufftys Killers View Post
    Some errors
    L 03/31/2018 - 099:55: SourceMod error session started
    L 03/31/2018 - 099:55: Info (map "c3m1_plankcountry") (file "errors_20180331.log")
    L 03/31/2018 - 099:55: [SM] Exception reported: Entity 718 (71 is invalid
    L 03/31/2018 - 099:55: [SM] Blaming: l4d2_infected_hud.smx
    L 03/31/2018 - 099:55: [SM] Call stack trace:
    L 03/31/2018 - 099:55: [SM] [0] DispatchKeyValue
    L 03/31/2018 - 099:55: [SM] [1] Line 175, /home/forums/content/files/9/7/2/5/7/168892.attach:isplayInstructorHint
    L 03/31/2018 - 099:55: [SM] [2] Line 90, /home/forums/content/files/9/7/2/5/7/168892.attach::OnTakeDamage
    L 03/31/2018 - 099:55: [SM] [4] AcceptEntityInput
    L 03/31/2018 - 099: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.
    MasterMind420 is offline
    geipoe
    BANNED
    Join Date: Sep 2016
    Location: https://t.me/pump_upp
    Old 04-19-2018 , 21:20   Re: [L4D2] Infected Hud
    Reply With Quote #10

    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.
    geipoe is offline
    Send a message via ICQ to geipoe Send a message via AIM to geipoe Send a message via Yahoo to geipoe
    Reply



    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 22:41.


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