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

L4D2 tank automatically increases maximum health


Post New Thread Reply   
 
Thread Tools Display Modes
Author
joyist
Member
Join Date: Apr 2018
Plugin ID:
6099
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    The number of survivors changed, and the amount of Tank blood is now
    Unapprover:
    Reason for Unapproving:
    No source code, upload source and use the Report Post button for a new review.
    Old 04-17-2018 , 16:11   L4D2 tank automatically increases maximum health
    Reply With Quote #1

    I spoke in the community for the second time, I'm sorry, my ability is limited, my English is very poor
    This is a plugin that Tank automatically adds to life. I decompiled the extracted source code and can't compile it again. It helps to consult the professionals. If something goes wrong, please fix it.

    ps:The number of survivors changed, and the amount of Tank blood is now

    For 4 players, each additional player Tank increases the health (example: Normal: 7 is 7-4=3*1k+4k=7k; Expert: Value is *2 7k*2=1.4w)

    Upload .sp English translation
    Blocked Attachments
    File Type: sp l4d2_tank_hp.sp
    File Type: smx l4d2_tank_hp.smx
    File Type: sp l4d2_tank_hp_en.sp

    Last edited by joyist; 04-18-2018 at 01:12. Reason: Upload .sp English translation
    joyist is offline
    Mi.Cura
    Veteran Member
    Join Date: Dec 2016
    Location: Brazil
    Old 04-17-2018 , 17:46   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #2

    Hello this plugm could be useful.

    But I doubt it.

    I use two plugins by Crasher36_37 (Super tanks + and difficulty setting by the number of players)

    I have in my server.cfg: sm_cvar z_tank_health 15000

    The LF4D2 changes the HP of the TANKS automatically according to the difficulty, for example:

    When this is not easy: 11250 hp
    When it is Normal: 15000 hp
    When in Advanced or Expert: 30,000 (The system doubles automatically)

    In the super tanks plugin I disable the extra helt, for what works above.

    The plugin is in chinese or another language that is not English, this should be in English, agree.

    Last edited by Mi.Cura; 04-17-2018 at 17:48.
    Mi.Cura is offline
    joyist
    Member
    Join Date: Apr 2018
    Old 04-18-2018 , 01:17   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #3

    Quote:
    Originally Posted by Mi.Cura View Post
    Hello this plugm could be useful.

    But I doubt it.

    I use two plugins by Crasher36_37 (Super tanks + and difficulty setting by the number of players)

    I have in my server.cfg: sm_cvar z_tank_health 15000

    The LF4D2 changes the HP of the TANKS automatically according to the difficulty, for example:

    When this is not easy: 11250 hp
    When it is Normal: 15000 hp
    When in Advanced or Expert: 30,000 (The system doubles automatically)

    In the super tanks plugin I disable the extra helt, for what works above.

    The plugin is in chinese or another language that is not English, this should be in English, agree.
    Yes, it has been verified
    For servers that have installed plugins such as Super tanks, this sp will not really change the health of tank. This bug, I don't know how to fix it.

    In addition, I have uploaded the English translation of .sp
    joyist is offline
    Newbie_Sexy
    Member
    Join Date: Aug 2016
    Location: Vietnam
    Old 04-28-2018 , 08:50   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #4

    Seen like very useful plugin. Hope to test it <3
    __________________
    I am a noob so... hope you guys will help me up
    P/s .-. : My English is bad, i am good at Vietnamese
    Newbie_Sexy is offline
    rikka0w0
    Member
    Join Date: May 2018
    Location: Sydney, Australia / Beij
    Old 05-23-2018 , 07:36   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #5

    Quote:
    Originally Posted by joyist View Post
    I spoke in the community for the second time, I'm sorry, my ability is limited, my English is very poor
    This is a plugin that Tank automatically adds to life. I decompiled the extracted source code and can't compile it again. It helps to consult the professionals. If something goes wrong, please fix it.

    ps:The number of survivors changed, and the amount of Tank blood is now

    For 4 players, each additional player Tank increases the health (example: Normal: 7 is 7-4=3*1k+4k=7k; Expert: Value is *2 7k*2=1.4w)

    Upload .sp English translation
    Putting language-specified strings in separated text files is a better than hard coding them in the source.

    I'm going to add options of scale factors for different difficulties.

    Also I would like to have the permission to upload the modified source code to Github, which is a open-source code sharing and version-control system.
    rikka0w0 is offline
    Newbie_Sexy
    Member
    Join Date: Aug 2016
    Location: Vietnam
    Old 08-07-2018 , 05:58   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #6

    Hello,
    I can't compile it on Sourcemod 1.9.
    Picture.
    And i wonder does this plugin support =< 4 Player?
    __________________
    I am a noob so... hope you guys will help me up
    P/s .-. : My English is bad, i am good at Vietnamese

    Last edited by Newbie_Sexy; 08-07-2018 at 06:08.
    Newbie_Sexy is offline
    Psyk0tik
    Veteran Member
    Join Date: May 2012
    Location: Homeless
    Old 08-07-2018 , 06:03   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #7

    Quote:
    Originally Posted by Newbie_Sexy View Post
    Can't compile it on Sourcemod 1.9
    Pic
    The plugins won't compile on any version because the source code is just a decompiled version from Lysis... This plugin should be unapproved imo.
    __________________
    Psyk0tik is offline
    DarkDeviL
    SourceMod Moderator
    Join Date: Apr 2012
    Old 08-07-2018 , 08:39   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #8

    I agree that a Lysis decompile cannot be seen as a "source code" in terms of the requirement of providing the source.

    The attachments as well as the "plugin thread" has been unapproved due to the missing source code.

    As mentioned in the unapproval reason, once you have added the real plugin source code, you can use the Report Post button to request a new review.
    __________________
    Mostly known as "DarkDeviL".

    Dropbox FastDL: Public folder will no longer work after March 15, 2017!
    For more info, see the [SRCDS Thread], or the [HLDS Thread].
    DarkDeviL is offline
    Aya Supay
    Member
    Join Date: Nov 2015
    Old 06-09-2019 , 13:41   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #9

    Quote:
    Originally Posted by joyist View Post
    I spoke in the community for the second time, I'm sorry, my ability is limited, my English is very poor
    This is a plugin that Tank automatically adds to life. I decompiled the extracted source code and can't compile it again. It helps to consult the professionals. If something goes wrong, please fix it.

    ps:The number of survivors changed, and the amount of Tank blood is now

    For 4 players, each additional player Tank increases the health (example: Normal: 7 is 7-4=3*1k+4k=7k; Expert: Value is *2 7k*2=1.4w)

    Upload .sp English translation

    Optimized code
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_tank_hp.sp - 648 views - 4.2 KB)

    Last edited by Aya Supay; 06-09-2019 at 13:45.
    Aya Supay is offline
    beefjerky331
    Junior Member
    Join Date: Sep 2020
    Old 10-08-2020 , 10:26   Re: L4D2 tank automatically increases maximum health
    Reply With Quote #10

    Quote:
    Originally Posted by Aya Supay View Post
    Optimized code
    Wrong:
    SetTankHP = TankAddHP * iPlayersCount + TankBasicHP;

    should be changed to this:
    SetTankHP = (TankAddHP * (iPlayersCount-4)) + TankBasicHP;

    because request is after more than 4 players , for each more player increase tank hp

    a little bug,i dont know how to fix this,im coding noob
    more than 4 players will useless, tank hp still 4000 , until restart the campaign

    Last edited by beefjerky331; 10-08-2020 at 16:50. Reason: wrong words
    beefjerky331 is offline
    Reply


    Thread Tools
    Display Modes

    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 17:57.


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