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

[L4D] SuperTank


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Dragonshadow
BANNED
Join Date: Jun 2008
Plugin ID:
1163
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Amps Up Tank Health Based on Survivorcount
    Unapprover:
    Reason for Unapproving:
    Unapproved at author's request
    Old 09-15-2009 , 21:07   [L4D] SuperTank
    Reply With Quote #1

    I wrote this little plugin for a friend of mine to do a BETTER job of increasing the tank hp on his 16 player vs server. With 6k hp the tank was just getting shredded in under 10 seconds. Then I added hardmode & count dead survivors for you HardMode freaks ()

    It should support multiple tanks, as it does a check when a tank dies to see if any other clients are tanks.

    I commented it as well as I could with whatever terminology fit in my head at the time (container... lol...)

    Cvars:

    l4d_st_enable
    Description: Enable SuperTank | 1 = on, 0 = off
    Default: 1

    l4d_st_announce
    Description: Announce Increased Tank HP on Tank Spawn | 1 = on, 0 = off
    Default: 1

    l4d_st_hardmode
    Description: Increase Tank HP with Default Survivor Count (4) | 1 = on, 0 = off
    Default: 0

    l4d_st_countdead
    Description: Count Dead Survivors In HP Calculation? | 1 = on, 0 = off
    Default: 0

    l4d_st_aamount
    Description: HP To Add Per Extra Survivor | 2000.0 Will Add 2000 HP Per Extra Survivor
    Default: 1250.0

    l4d_st_mamount
    Description: HP Multiplier | .10 Gains a Tenth of Normal HP (1200) Per Extra Survivor)
    Default: 0.10

    l4d_st_hptype
    Description: Add = 1 | Multiply = 2
    Default: 1

    --

    It should autowrite its configs to supertank.cfg in the cfg/sourcemod/ folder.

    ToDo:

    Optionally reduce tank hp if there are less than 4 survivors alive

    Credits:

    Uhm... Uhh... Will fill in tomorrow

    --

    To be honest this does still need to be tested to make sure it works.
    Attached Files
    File Type: sp Get Plugin or Get Source (supertank.sp - 1316 views - 12.6 KB)

    Last edited by Dragonshadow; 10-01-2009 at 07:31.
    Dragonshadow is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 09-16-2009 , 11:28   Re: [L4D] SuperTank
    Reply With Quote #2

    114 views/19 downloads

    No replies? I need feedback.
    I hope I'm just being impatient.
    Dragonshadow is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-16-2009 , 12:20   Re: [L4D] SuperTank
    Reply With Quote #3

    This means its most probably working nice, or else someone already would have posted an error or bug
    __________________
    olj is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 09-16-2009 , 17:24   Re: [L4D] SuperTank
    Reply With Quote #4

    Thats a good and bad thing -.-
    Dragonshadow is offline
    GateKeeper420
    Member
    Join Date: Jul 2009
    Old 09-17-2009 , 04:28   Re: [L4D] SuperTank
    Reply With Quote #5

    Well Shadow, I appreciate the Plugin, and actually had the chance to test it today. From what I could gather:

    Tank HP Did Not Increase. (Although when I was Tank the server was only 4 vs 4) But when the server was pretty full with like 11 people, the Tanks did not seem to be that hard to kill. I will continue to test it, hopefully I'll get control of the Tank with a full server and see what the HP is.

    I had up to 3 Tanks spawn on a Map, not at the same time, When one died a few minutes later another spawned and another after that. On One Level, Two Tanks spawned at the same time for one team and the other team Two Tanks spawned but at Different Times. (Don't know if this Plugin did that or some of the other settings you had me do caused this)
    GateKeeper420 is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-17-2009 , 04:54   Re: [L4D] SuperTank
    Reply With Quote #6

    Tank system has many "underwater stones", sometimes it can surprise you if you dont even have SM at all...
    __________________
    olj is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 09-17-2009 , 08:53   Re: [L4D] SuperTank
    Reply With Quote #7

    Quote:
    Originally Posted by GateKeeper420 View Post
    Well Shadow, I appreciate the Plugin, and actually had the chance to test it today. From what I could gather:

    Tank HP Did Not Increase. (Although when I was Tank the server was only 4 vs 4) But when the server was pretty full with like 11 people, the Tanks did not seem to be that hard to kill. I will continue to test it, hopefully I'll get control of the Tank with a full server and see what the HP is.

    I had up to 3 Tanks spawn on a Map, not at the same time, When one died a few minutes later another spawned and another after that. On One Level, Two Tanks spawned at the same time for one team and the other team Two Tanks spawned but at Different Times. (Don't know if this Plugin did that or some of the other settings you had me do caused this)
    No this plugin didn't cause the multiple spawns, your server was doing that before (Yea I kinda forgot to tell you)

    It should announce the tank hp into chat though... hmm... Error logs?
    Dragonshadow is offline
    GateKeeper420
    Member
    Join Date: Jul 2009
    Old 09-17-2009 , 17:22   Re: [L4D] SuperTank
    Reply With Quote #8

    Im currently at work right now, when I get home at 10PM Eastern, if you are still on I will send you the Server Logs....

    I don't know why the Server Spawned Multiple Tanks then, Im not running any other Plugins other than L4D Toolz Metamod Plugin....
    GateKeeper420 is offline
    olj
    Veteran Member
    Join Date: Jun 2009
    Old 09-30-2009 , 10:55   Re: [L4D] SuperTank
    Reply With Quote #9

    What is player_killed event? I never find this in events lists.... Is it generic event for source games?
    __________________
    olj is offline
    Dragonshadow
    BANNED
    Join Date: Jun 2008
    Old 09-30-2009 , 13:10   Re: [L4D] SuperTank
    Reply With Quote #10

    Quote:
    Originally Posted by olj View Post
    What is player_killed event? I never find this in events lists.... Is it generic event for source games?
    yes it is
    Dragonshadow 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 07:27.


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