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

[L4D2] Tank Rush 2 v1.3.4


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Carl Sagan
Senior Member
Join Date: Jan 2014
Plugin ID:
4081
Plugin Version:
1.3.4
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    Spawns an endless amount of tanks.
    Old 02-04-2014 , 22:49   [L4D2] Tank Rush 2 v1.3.4
    Reply With Quote #1

    Tank Rush 2

    Version: 1.3.4
    Last updated: November 20, 2014


    Credit for the original plugin goes to (-DR-)GrammerNatzi.


    Click the logo above to join the steam group!

    Description:

    I'm taking over the development of Tank Rush since the original author abandoned it years ago.
    The original plugin had many issues and it was completely broken by the SteamPipe update and I've since fixed it and will continue maintain it.


    This version is a bare-bones version of the full plugin which is exclusive to Urbanly Adjusted servers.
    I'm going to keep this plugin updated and working, but it won't be receiving new features.
    Don't worry, if Valve breaks something again I'll fix it.

    Tank Rush is a fun game mode of survivors vs. tanks.
    There are no common infected, special infected, or witches... JUST TANKS!
    When a tank dies, the survivors are brought back to full health, even if they're incapped or hanging.
    The round ends just like any other versus: when the survivors reach the saferoom or when all survivors are incapped/dead.
    For finales, if the survivors are still alive x minutes after it was started, the tanks are killed and survivors have x minutes to rest before more tanks spawn.

    Optional auto-updating! Please install the cURL extension and Updater plugin!

    Cvars:

    You can edit tankrush2.cfg in left4dead2/cfg/sourcemod to permanently change these cvars (after the plugin is run once).
    • tr_version Version of the installed plugin
    • tr_enable 0 - Disable plugin, 1 - Enable plugin (Default 1)
    • tr_spawninterval Time in seconds between tank spawns (Default 6)
    • tr_tankhealth Amount of health tanks will spawn with (Default 4000)
    • tr_tankspeed Ratio for bot and player tank speed (Default 1.0
    • tr_tanklimit Maximum number of tanks allowed to spawn at a given time (Default 10)
    • tr_commonlimit Maximum number of common allowed to spawn at a given time (Default 0)
    • tr_givehealth 0 - Tank kills do not give health, 1 - Tank kills heal all players, 2 - Tank kills heal player with least health (Default 2)
    • tr_countdown Time in seconds the tanks have to kill the survivors (Default 240)
    • tr_cooldown Time in seconds for resting periods on finales (Default 30)
    • tr_hardcoremode 0 - Disable hardcore mode, 1 - Enable hardcore mode (Default 0)
    • tr_collision 0 - Disable player collision, 1 - Enable player collision (Default 0)
    • tr_incaplimit Maximum number of incaps before a player becomes black and white (Default 4)
    • tr_coopstart Time in seconds before tanks will spawn on coop mode (Default 60)
    • tr_debug 0 - Disable debug messages, 1 - Enable debug messages (Default 0)

    Installation:
    1. IMPORTANT: This version was compiled with MM 1.11.0-dev+937 and SM 1.7.0-dev+4661 so please use those builds to avoid problems!
    2. Place tankrush2.smx in your sourcemod plugins folder
    3. Place tankrush2.txt in your sourcemod gamedata folder
    4. Restart your server and enjoy!

    Known Bugs:
    • N/A

    Changelog:

    Code:
    1.3.4 (20-Nov-2014)
    	- Tank Rush 2 source is no longer private
    	- Added comments throughout the source
    	- Healed clients are now chosen by the percentage of static health plus temporary health over max health
    	- If all clients are at full health, they are all topped off (just in case)
    
    1.3.3 (31-Aug-2014)
    	- New player tank spawning method
    	- Convars now set more efficiently
    	- Initial bot tank will only spawn if tr_spawninterval >= 20
    	- Added cvar to enable or disable debugging
    	- Added cvar to change how many common infected spawn on the map
    	- Added cvar to change bot and player tank speed ratio
    	- Ability for player tanks to despawn by holding the walk button for five seconds
    	- Plugin will now check for updates at the beginning of a map
    	- Plugin will now load the new version at the end of a map
    	- Fixed issue with XPMod tank talents not loading on first spawn
    	- Bot tank will not be spawned if any infected players are currently dead (to prevent them from taking over)
    
    1.3.2 (11-Aug-2014)
    	- Tank Rush 2 releases are no longer private
    	- Moved some code around a bit to make it easier to follow
    	- Players will now spawn as ghost tanks at the beginning of a round instead of after survivors leave the start area
    	- Fixed an issue with survivors not being healed if they have temporary health but their health bar is "full" (i.e. 90% regular + 10% temporary = 100% health)
    	- An initial tank will now spawn once tanks are allowed to spawn
    	- Added workaround for bug causing rounds not to end after server is started (changes map to c1m1_hotel once the plugin loads)
    	- Added dynamic coop compatibility
    	- Added auto-update functionality
    
    1.3.1 (17-Jun-2014)
    	- Slight change in how hardcore mode works
    	- Added cvar for max number of incaps before player is permanently black and white
    	- Increased speed of ghost tanks
    	- Decreased distance before ghost tanks can spawn
    
    1.3.0 (11-Jun-2014)
    	- Players will now properly spawn as ghost tanks all the time
    	- Players can now press the "use" button as a ghost tank to teleport to survivors
    	- Finales will no longer drop below one minute for tanks to kill the survivors
    	- Random special infected will no longer spawn
    	- Fixed bug (again) on certain finales where players' screens would get stuck
    	- Message advertising the offical TR2 steam group
    
    1.2.2 (17-Apr-2014)
    	- Added public cvar for tracking the plugin
    	- Added ghost-mode for player tanks
    	- Built-in respawning for finale glitches
    
    1.2.1 (11-Apr-2014)
    	- Fix for z_common_limit not being set correctly
    	- Set z_frustration to 0 to prevent players losing control of tanks
    	- Added cvar for max number of tanks alive at a given time
    
    1.2.0 (06-Apr-2014)
    	- Tank Rush 2 releases are now private
    	- Added built-in collision functionality
    	- Condensed cvars
    	- Countdown time will now halve after each passing
    	- Refined finale time messages
    	- Makeshift fix for players glitching on finales
    	- Rewrote majority of code
    
    1.1.2 (14-Apr-2014)
    	- Added new "hardcore" mode
    
    1.1.1 (09-Apr-2014)
    	- Added time limits on finales
    
    1.1.0 (08-Apr-2014)
    	- Added cvar to allow only one survivor to be healed upon tank death
    
    1.0.0 (04-Feb-2014)
    	- Initial release.
    Recommended Plugins:
    • Tank Roar (make sure you download the .smx and gamedata.txt in my post!)

    Downloads:
    Source:

    Last edited by Carl Sagan; 11-20-2014 at 15:06.
    Carl Sagan is offline
    DestructDez1
    Junior Member
    Join Date: Jan 2011
    Old 02-04-2014 , 23:44   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #2

    I can confirm that it works. Running it on 2 servers.
    DestructDez1 is offline
    slamatl92
    Junior Member
    Join Date: Sep 2013
    Location: none ya
    Old 02-08-2014 , 13:04   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #3

    it's a dud it wont work on my server it works for the 1st map but on the 2nd map they wont spawn or nothing please fix this
    slamatl92 is offline
    Mr. Man
    Veteran Member
    Join Date: Mar 2011
    Location: Huh?
    Old 02-08-2014 , 13:33   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #4

    Good to see someone inherit a very fun game mode for L4D2. I'll be running this on a server as well.
    Mr. Man is offline
    Carl Sagan
    Senior Member
    Join Date: Jan 2014
    Old 02-08-2014 , 13:41   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #5

    Alright, there's another bug I've encountered and it was on the old Tank Rush as well.

    On The Parish finale on the first round, any survivors that make it to the helicopter will have a stuck screen at the beginning of the next round.

    I've tried a couple of things to fix it but they don't help. Only way to fix it is to use the sm_respawn plugin on the stuck players or have them leave and rejoin the game.

    I think it happens because spawning is disabled. If anyone has any ideas on how to fix this, let me know.

    Quote:
    Originally Posted by slamatl92 View Post
    it's a dud it wont work on my server it works for the 1st map but on the 2nd map they wont spawn or nothing please fix this
    I'll need more information. Are there any errors that showed up in the console?

    It's working fine on my own testing server and a friend's servers.

    Perhaps try updating to the latest dev version of sourcemod and metamod, that's what we're using.

    Quote:
    Originally Posted by Mr. Man View Post
    Good to see someone inherit a very fun game mode for L4D2. I'll be running this on a server as well.
    Yeah, it's been missed and a lot of people from our community are glad it's back.

    Last edited by Carl Sagan; 02-08-2014 at 13:51.
    Carl Sagan is offline
    slamatl92
    Junior Member
    Join Date: Sep 2013
    Location: none ya
    Old 02-08-2014 , 17:10   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #6

    what sourcemod got updated?
    slamatl92 is offline
    Carl Sagan
    Senior Member
    Join Date: Jan 2014
    Old 02-08-2014 , 17:14   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #7

    Quote:
    Originally Posted by slamatl92 View Post
    what sourcemod got updated?
    I don't understand what you're asking.

    Try updating Sourcemod and Metamod. Make sure you get the latest development branch snapshots.
    Carl Sagan is offline
    slamatl92
    Junior Member
    Join Date: Sep 2013
    Location: none ya
    Old 02-08-2014 , 17:35   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #8

    Quote:
    Originally Posted by Carl Sagan View Post
    I don't understand what you're asking.

    Try updating Sourcemod and Metamod. Make sure you get the latest development branch snapshots.

    ok i got this pluggin and put it into my server today and played it on a campgain with myself and bots and i was getting killed i nocliped to the safehouse i got a console message they will attack when all survivors are out of the saferoom and when we did none showed up
    slamatl92 is offline
    Carl Sagan
    Senior Member
    Join Date: Jan 2014
    Old 02-08-2014 , 17:39   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #9

    Quote:
    Originally Posted by slamatl92 View Post
    ok i got this pluggin and put it into my server today and played it on a campgain with myself and bots and i was getting killed i nocliped to the safehouse i got a console message they will attack when all survivors are out of the saferoom and when we did none showed up
    I'm talking about errors in the server console, not the chat box. Like I said, it's working fine for myself and other people so it's something wrong with your server.
    Carl Sagan is offline
    Cattom
    Junior Member
    Join Date: Nov 2012
    Old 02-23-2014 , 06:29   Re: [L4D2] Tank Rush 2 (02/04/14)
    Reply With Quote #10

    Hi Carl, first I like to say thanks for taking over this plugin it is a great addon for our clan.

    I am having the same problem as slamatl92, works ok for the 1st map but fails i.e. on 2nd, 3rd maps I still get the messages at the start of the 2nd and 3rd maps but no tanks and of course no infected.

    This is what I have done 1.) Updated the Sorcemod 1.6.0hg 4254 LINUX.tar.gz and Metamod 1.11.0hg 900 tar.gz 2.) Deleted the old tank rush smx and cfg. 3.) There are no errors logs in the log file on server, Could this problem be cause because this is a LINUX Server?
    Cattom 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 11:53.


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