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

[L4D] Tank First Chapter [v1.4 | 24-Aug-2022]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Beatles
Senior Member
Join Date: Feb 2014
Plugin ID:
7737
Plugin Version:
1.4
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 07-30-2021 , 16:30   [L4D] Tank First Chapter [v1.4 | 24-Aug-2022]
    Reply With Quote #1

    Someone created a similar plugin, but this is the one I use on my server, besides it only adds a single tank in the first chapters.

    Convars
    PHP Code:
    // Enable tank in the first chapters.
    // -
    // Default: "1"
    l4d_tank_fc_enable "1"

    // Time the first tank on a normal map.
    // -
    // Default: "70.0"
    l4d_tank_fc_time "70.0" 
    CHANGES:
    HTML Code:
    1.4
    	- Fixed all log errors
    	- Works on local servers.
    1.3
    	- Fixed some functionality bugs.
    	- Fixed extra tank spawning on The Sacrifice map
    1.2
    	- Code cleanup.
    	- Now a single tank appears, without the possibility of changing the number of tanks.
    	- Change to spawn method thanks to Silver.
    
    1.1
    	- A tank will no longer spawn on maps with tanks already established, such as The sacrifice.
    NEEDED:

    Left4DHooks
    https://forums.alliedmods.net/showthread.php?p=2684862
    Attached Files
    File Type: sp Get Plugin or Get Source ([L4D]TankFirstChapter.sp - 174 views - 3.3 KB)
    File Type: smx [L4D]TankFirstChapter.smx (6.0 KB, 184 views)

    Last edited by Beatles; 08-24-2022 at 12:44.
    Beatles is offline
    ZBzibing
    Senior Member
    Join Date: Dec 2012
    Old 09-19-2021 , 20:40   Re: [L4D] Tank First Chapter (Update: 14/09/2021)
    Reply With Quote #2

    The first level of each map
    ZBzibing is offline
    Beatles
    Senior Member
    Join Date: Feb 2014
    Old 09-28-2021 , 17:44   Re: [L4D] Tank First Chapter (Update: 14/09/2021)
    Reply With Quote #3

    Quote:
    Originally Posted by ZBzibing View Post
    The first level of each map
    It doesn't matter if your map is official or custom, this plugin ensures you a tank in all the first chapters.
    Beatles is offline
    marki89
    Senior Member
    Join Date: Jun 2020
    Location: Argentina
    Old 10-01-2021 , 10:53   Re: [L4D] Tank First Chapter [v1.2 | 28-September-2021]
    Reply With Quote #4

    does it work for l4d2? or only for l4d?
    marki89 is offline
    Beatles
    Senior Member
    Join Date: Feb 2014
    Old 10-01-2021 , 11:04   Re: [L4D] Tank First Chapter [v1.2 | 28-September-2021]
    Reply With Quote #5

    Quote:
    Originally Posted by marki89 View Post
    does it work for l4d2? or only for l4d?
    Create it for L4D, I'm not sure if it works on L4D2, but in theory it should.
    Beatles is offline
    Shao
    Senior Member
    Join Date: Jan 2015
    Old 10-02-2021 , 15:00   Re: [L4D] Tank First Chapter [v1.2 | 28-September-2021]
    Reply With Quote #6

    Quote:
    Originally Posted by marki89 View Post
    does it work for l4d2? or only for l4d?
    Use VScript Replacer by Silvers to allow tanks on the first map.
    Shao is offline
    ZBzibing
    Senior Member
    Join Date: Dec 2012
    Old 11-13-2021 , 13:30   Re: [L4D] Tank First Chapter [v1.2 | 28-September-2021]
    Reply With Quote #7

    Can you control the coordinates of the tank's birth
    ZBzibing is offline
    HarryPotter
    Veteran Member
    Join Date: Sep 2017
    Location: Taiwan, Asia
    Old 11-15-2021 , 01:38   Re: [L4D] Tank First Chapter [v1.2 | 28-September-2021]
    Reply With Quote #8

    Quote:
    Originally Posted by ZBzibing View Post
    Can you control the coordinates of the tank's birth
    According to the code Beatles writes, the tank spawns after survivors has left the start saferoom for at least 70 seconds, so it can not control where to spawn tank.
    __________________

    Last edited by HarryPotter; 11-15-2021 at 01:39.
    HarryPotter is offline
    ZBzibing
    Senior Member
    Join Date: Dec 2012
    Old 11-21-2021 , 05:07   Re: [L4D] Tank First Chapter [v1.2 | 28-September-2021]
    Reply With Quote #9

    Quote:
    Originally Posted by HarryPotter View Post
    According to the code Beatles writes, the tank spawns after survivors has left the start saferoom for at least 70 seconds, so it can not control where to spawn tank.
    thank you
    __________________
    Please forgive, If I'm not describing it accurately. I use google translate
    Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
    ZBzibing is offline
    CosmicD
    Senior Member
    Join Date: Dec 2009
    Location: Hasselt, Belgium
    Old 02-11-2022 , 16:55   Re: [L4D] Tank First Chapter [v1.2 | 28-September-2021]
    Reply With Quote #10

    i wonder if it would also be possible to add "chance percentage", so that it's not 100%. Just because first maps are often small, it would add to the tension that it's not always guaranteed.
    __________________
    CosmicD 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 14:47.


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