View Single Post
Author Message
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 12-09-2011 , 10:48   [L4D2] Tank Fight Club: Expanded Edition [9 February 2014]
Reply With Quote #1

Description:

This is my 1st plugin woho! Fight and kill Tanks to move on the next round stage or rush to the safe room. Game starts in 60 seconds after round start, player connected or when happens the first panic event.
You can experiment with any gamemodes. Also, this mod looks great in Survival and I love it!


Thanks:

Silver - for some explanation of SourcePawn language.


Commands:

Player
  • !fc, !fightclub, !tankclub - Tank Fight Club information about round, tanks..
Admin
  • !ko, !knockout - Slay all tanks.


ConVar:

"tank_club_enable", "1" "Plugin: 0 - Disable, 1 - Enable"
"tank_club_zombie", "1" "Blocks Boss and zombie spawns: 0 - Disable, 1 - Enable"
"tank_club_info", "1", "Show info message: 0 - Disable, 1 - Type I, 2 - Type II, 3 - Type III"
Warm-Up! Round 0
"tank_club_count_zero", "2", "Tanks in the zero round."
"tank_club_hp_zero", "2000", "Default Tank health."
Round 1
"tank_club_count_one", "5", "Tanks in the 1st round."
"tank_club_hp_one", "4000", "Tank health in 1st round."
Round 2
"tank_club_count_two", "10", "Tanks in the 2 round."
"tank_club_hp_two", "6000[", "Tank health in 2 round."
Round 3
"tank_club_count_three", "12", "Tanks in the 3 round."
"tank_club_hp_three", "8000", "Tank health in 3 round."
Round 4
"tank_club_count_four", "15", "Tanks in the 4 round."
"tank_club_hp_four", "10000", "Tank health in 4 round."
Extra Rounds
"tank_club_extra", "1", "Extra 5, 6, 7 rounds: 0 - Disable, 1 - Enable"
Round 5
"tank_club_count_five", "20", "Tanks in the 5 round."
"tank_club_hp_five", "15000", "Tank health in 5 round."
Round 6
"tank_club_count_six", "28", "Tanks in the 6 round."
"tank_club_hp_six", "22000", "Tank health in 6 round."
Round 7
"tank_club_hp_seven", "30000", "Tank health in 7 round."
Expanded Edition (private version of TFC, which is now available)
"tank_club_st", "0", "Supports SuperTanks plugin. Tanks will be spawned at 3 and 6 rounds: 0 - Disable, 1 - Enable"
"tank_club_ko", "1", "Forced to slay all the tanks when the next round begins: 0 - Disable, 1 - Enable"
"tank_club_timer", "60", "Delay before game starts in sec"
"tank_club_bs", "1", "Tanks count will depend on player number and this convar. [Max Tanks = Player numbers - Convar Value]"
"tank_club_heal", "0", "Heal Survivors each round: 0 - Disable, 1 - Enable"


Note:

If you using Super Tanks and Tank Fight Club together you must enable support options "tank_club_st" "1". Otherwise, don't change it!


Plugin Conflicts:

Unload all plugins that spawn tanks, like - Tank Rush, Invincible Tank Survival etc.


Installation:

Grab and put .smx file into your sourcemod plugin folder.


Compiling:

1. You will need the colors.inc in your scripting\include folder.
2. Download source code from my GitHub repo.
2. Put the .sp file in your scripting folder and compile.
3. Look Installation


Source Code GitHub


Change Log:

1.5 (9 February 2014)
- Makes game convars reseted to their default value when the plugin was unloaded
- Renamed plugin from l4d2_TankFightClub_ExpEd to l4d2_tfc_exped
- Fixed a bug when tanks didn't spawn sometimes
- Fixed a bug when tanks spawns in bad area, since z_spawn command was renamed by Valve to z_spawn_old
- Added new plugin convars (tank_club_timer, tank_club_bs, tank_club_heal, tank_fight_club_version)
- Added L4D1 support (not tested!)
- Some code optimization
- Added semicolon :{D
1.2
- 463 views
- Fixed a bug with tank_club_ko
- Fixed a bug with tank_club_st
1.1
- 26 views
- Expanded Edition release
1.0
- Initial release
Attached Files
File Type: smx l4d2_tfc_exped.smx (15.4 KB, 676 views)
__________________

Last edited by disawar1; 08-30-2018 at 11:41. Reason: update source code link
disawar1 is offline