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

[L4D1 & L4D2] Tank Show HP


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
7612
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    19 
    Plugin Description:
    Show tank's HP on the center screen when you are shooting him
    Old 04-23-2021 , 11:17   [L4D1 & L4D2] Tank Show HP
    Reply With Quote #1

    Author: Dragokas (idea by NiCo-op)

    Description:
    Show tank's HP on the center screen when you are shooting him.

    HP line is located at YOUR center screen, not above the tank. This is a partial re-done of "Infected HP" plugin by NiCo-op.

    Also, show tank kill message (can be disabled).


    Difference among the similar plugins:
    - Minimal CPU cycles & network usermessages consuming.
    Settings (ConVars):

    PHP Code:
    // Enable plugin (1 - Yes, 0 - No)
    l4d_showtankhp_enable "1"

    // HP line components (1 - label 'HP', 2 - Bar, 4 - Current HP, 8 - Max HP, 16 - Tank name. You can combine)
    l4d_showtankhp_components "31"

    // Show tank kill message? (1 - Yes, 0 - No)
    l4d_showtankhp_kill_msg "1" 
    Commands:
    - Nothing.
    Compatiblity:
    - L4D1.
    - L4D2
    ChangeLog
    Spoiler


    Donate
    Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
    - Patreon (Paypal)
    - BitCoin
    - Ю.Money
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_tank_showhp.sp - 2472 views - 6.1 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 04-25-2021 at 10:32.
    Dragokas is offline
    Kid_Bandes
    Member
    Join Date: May 2010
    Old 04-23-2021 , 22:53   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #2

    A screenshot should be great, I will try and take a screenshot later this day
    Kid_Bandes is offline
    finishlast
    Senior Member
    Join Date: Nov 2018
    Location: In Reno with the vitamin
    Old 04-24-2021 , 03:31   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #3

    Does it cover multiple tanks like in sac final?
    __________________
    finishlast is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-24-2021 , 11:32   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #4

    Quote:
    Originally Posted by Kid_Bandes View Post
    A screenshot should be great, I will try and take a screenshot later this day
    I feel myself like at an interview at a modeling agency

    Quote:
    Originally Posted by finishlast View Post
    Does it cover multiple tanks like in sac final?
    Yes.
    Center screen hp line is appearing for you as soon as you shooting some tank.
    It is very similar to one done by NiCo-op in his Infected HP plugin.
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 04-24-2021 at 11:34.
    Dragokas is offline
    Voevoda
    Senior Member
    Join Date: Aug 2016
    Old 04-24-2021 , 15:35   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #5

    Hi, and all the rest you can add
    Voevoda is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-24-2021 , 16:03   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #6

    Quote:
    Originally Posted by Voevoda View Post
    Hi, and all the rest you can add
    ?
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Kid_Bandes
    Member
    Join Date: May 2010
    Old 04-25-2021 , 02:09   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #7



    Here is a screenshot, can you create an option to only show the name and health number? Because some may already use HP Laser like me, need only the health number
    Example: Tank (1): 8000/8000
    Kid_Bandes is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-25-2021 , 10:32   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #8

    Updated.

    Quote:
    1.2 (25-Apr-2021)
    - Added late loading support.
    - Added ConVar "l4d_showtankhp_components" - HP line components (1 - label 'HP', 2 - Bar, 4 - Current HP, 8 - Max HP, 16 - Tank name. You can combine)
    - Added ConVar "l4d_showtankhp_kill_msg" - Show tank kill message? (1 - Yes, 0 - No)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    Voevoda
    Senior Member
    Join Date: Aug 2016
    Old 04-27-2021 , 08:52   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #9

    and other bosses can be added
    Voevoda is offline
    Dragokas
    Veteran Member
    Join Date: Nov 2017
    Location: Ukraine on fire
    Old 04-27-2021 , 10:03   Re: [L4D1 & L4D2] Tank Show HP
    Reply With Quote #10

    I prefer to leave this plugin as simple as possible.
    For other bosses, you can use the plugin by NiCo-op "Infected HP".
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
    Dragokas is offline
    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 21:47.


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